Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
a40306a3
Commit
a40306a3
authored
Dec 15, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into jzl
parents
c79960b4
9d39387e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
51 changed files
with
1736 additions
and
333 deletions
+1736
-333
TDeviceInfoController.java
...eb/controller/deviceManagement/TDeviceInfoController.java
+1
-0
TTrainCourseBankController.java
...ong/web/controller/system/TTrainCourseBankController.java
+103
-0
application-dev.yml
danger-manage-admin/src/main/resources/application-dev.yml
+2
-2
TDeviceInfo.java
...m/src/main/java/com/zehong/system/domain/TDeviceInfo.java
+19
-0
TEmergencyDrill.java
...c/main/java/com/zehong/system/domain/TEmergencyDrill.java
+51
-25
TEnterpriseInfo.java
...c/main/java/com/zehong/system/domain/TEnterpriseInfo.java
+12
-0
TMaterialInfo.java
...src/main/java/com/zehong/system/domain/TMaterialInfo.java
+44
-29
TRiskManager.java
.../src/main/java/com/zehong/system/domain/TRiskManager.java
+29
-29
TSpecialDeviceRecord.java
...n/java/com/zehong/system/domain/TSpecialDeviceRecord.java
+11
-0
TTrainCourseBank.java
.../main/java/com/zehong/system/domain/TTrainCourseBank.java
+81
-0
TTrainCourseBankMapper.java
...java/com/zehong/system/mapper/TTrainCourseBankMapper.java
+61
-0
ITTrainCourseBankService.java
...a/com/zehong/system/service/ITTrainCourseBankService.java
+61
-0
TMaintainPlanServiceImpl.java
.../zehong/system/service/impl/TMaintainPlanServiceImpl.java
+1
-0
TRepairOrderServiceImpl.java
...m/zehong/system/service/impl/TRepairOrderServiceImpl.java
+1
-0
TTrainCourseBankServiceImpl.java
...hong/system/service/impl/TTrainCourseBankServiceImpl.java
+96
-0
TDeviceInfoMapper.xml
...em/src/main/resources/mapper/system/TDeviceInfoMapper.xml
+6
-3
TEmergencyDrillMapper.xml
...rc/main/resources/mapper/system/TEmergencyDrillMapper.xml
+8
-6
TEnterpriseInfoMapper.xml
...rc/main/resources/mapper/system/TEnterpriseInfoMapper.xml
+5
-1
TEnterpriseSystemMapper.xml
.../main/resources/mapper/system/TEnterpriseSystemMapper.xml
+2
-3
TMaterialInfoMapper.xml
.../src/main/resources/mapper/system/TMaterialInfoMapper.xml
+12
-9
TRiskManagerMapper.xml
...m/src/main/resources/mapper/system/TRiskManagerMapper.xml
+7
-7
TSpecialDeviceRecordMapper.xml
...in/resources/mapper/system/TSpecialDeviceRecordMapper.xml
+4
-1
TStaffMapper.xml
...-system/src/main/resources/mapper/system/TStaffMapper.xml
+2
-1
TStaningBookMapper.xml
...m/src/main/resources/mapper/system/TStaningBookMapper.xml
+2
-2
TTrainCourseBankMapper.xml
...c/main/resources/mapper/system/TTrainCourseBankMapper.xml
+80
-0
TWorkPermitMapper.xml
...em/src/main/resources/mapper/system/TWorkPermitMapper.xml
+1
-1
questionBank.js
danger-manage-web/src/api/system/questionBank.js
+53
-0
NewWorkPermitDetail.vue
...-web/src/components/DangerousMark/NewWorkPermitDetail.vue
+9
-8
BlindPlate.vue
danger-manage-web/src/components/NewSaftyWork/BlindPlate.vue
+19
-18
BreakGround.vue
...er-manage-web/src/components/NewSaftyWork/BreakGround.vue
+19
-18
FlareUp.vue
danger-manage-web/src/components/NewSaftyWork/FlareUp.vue
+22
-21
HeightWork.vue
danger-manage-web/src/components/NewSaftyWork/HeightWork.vue
+19
-18
NewEsign.vue
danger-manage-web/src/components/SaftyWork/NewEsign.vue
+5
-5
index.vue
...-manage-web/src/views/contractor/contractorInfo/index.vue
+18
-4
index.vue
...anage-web/src/views/deviceManagement/deviceInfo/index.vue
+64
-20
index.vue
...nage-web/src/views/deviceManagement/repairOrder/index.vue
+7
-2
index.vue
...eb/src/views/deviceManagement/specialDeviceInfo/index.vue
+523
-0
index.vue
.../src/views/deviceManagement/specialDeviceRecord/index.vue
+14
-6
index.vue
danger-manage-web/src/views/emergency/crew/index.vue
+0
-6
index.vue
danger-manage-web/src/views/newWorkPermit/index.vue
+17
-15
index.vue
danger-manage-web/src/views/riskManager/riskMsg/index.vue
+13
-1
index.vue
...e-web/src/views/safetyManagement/enterpriseInfo/index.vue
+53
-21
index.vue
...anage-web/src/views/safetyManagement/investment/index.vue
+37
-2
index.vue
danger-manage-web/src/views/safetyManagement/laws/index.vue
+16
-2
index.vue
danger-manage-web/src/views/safetyManagement/staff/index.vue
+2
-1
index.vue
danger-manage-web/src/views/system/drill/index.vue
+55
-2
index.vue
danger-manage-web/src/views/system/info/index.vue
+61
-33
index.vue
danger-manage-web/src/views/system/library/index.vue
+2
-2
index.vue
danger-manage-web/src/views/system/plan/index.vue
+0
-6
index.vue
danger-manage-web/src/views/system/workinfo/index.vue
+5
-1
vue.config.js
danger-manage-web/vue.config.js
+1
-2
No files found.
danger-manage-admin/src/main/java/com/zehong/web/controller/deviceManagement/TDeviceInfoController.java
View file @
a40306a3
...
@@ -60,6 +60,7 @@ public class TDeviceInfoController extends BaseController
...
@@ -60,6 +60,7 @@ public class TDeviceInfoController extends BaseController
public
AjaxResult
listSpecial
(
TDeviceInfo
tDeviceInfo
)
public
AjaxResult
listSpecial
(
TDeviceInfo
tDeviceInfo
)
{
{
tDeviceInfo
.
setIsSpecial
(
"1"
);
tDeviceInfo
.
setIsSpecial
(
"1"
);
tDeviceInfo
.
setIsCancel
(
"0"
);
List
<
TDeviceInfo
>
list
=
tDeviceInfoService
.
selectTDeviceInfoList
(
tDeviceInfo
);
List
<
TDeviceInfo
>
list
=
tDeviceInfoService
.
selectTDeviceInfoList
(
tDeviceInfo
);
return
AjaxResult
.
success
(
list
);
return
AjaxResult
.
success
(
list
);
}
}
...
...
danger-manage-admin/src/main/java/com/zehong/web/controller/system/TTrainCourseBankController.java
0 → 100644
View file @
a40306a3
package
com
.
zehong
.
web
.
controller
.
system
;
import
java.util.List
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.TTrainCourseBank
;
import
com.zehong.system.service.ITTrainCourseBankService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* bankController
*
* @author zehong
* @date 2022-12-14
*/
@RestController
@RequestMapping
(
"/system/bank"
)
public
class
TTrainCourseBankController
extends
BaseController
{
@Autowired
private
ITTrainCourseBankService
tTrainCourseBankService
;
/**
* 查询bank列表
*/
//@PreAuthorize("@ss.hasPermi('system:bank:list')")
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TTrainCourseBank
tTrainCourseBank
)
{
startPage
();
List
<
TTrainCourseBank
>
list
=
tTrainCourseBankService
.
selectTTrainCourseBankList
(
tTrainCourseBank
);
return
getDataTable
(
list
);
}
/**
* 导出bank列表
*/
//@PreAuthorize("@ss.hasPermi('system:bank:export')")
@Log
(
title
=
"bank"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TTrainCourseBank
tTrainCourseBank
)
{
List
<
TTrainCourseBank
>
list
=
tTrainCourseBankService
.
selectTTrainCourseBankList
(
tTrainCourseBank
);
ExcelUtil
<
TTrainCourseBank
>
util
=
new
ExcelUtil
<
TTrainCourseBank
>(
TTrainCourseBank
.
class
);
return
util
.
exportExcel
(
list
,
"bank数据"
);
}
/**
* 获取bank详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:bank:query')")
@GetMapping
(
value
=
"/{bankId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"bankId"
)
Long
bankId
)
{
return
AjaxResult
.
success
(
tTrainCourseBankService
.
selectTTrainCourseBankById
(
bankId
));
}
/**
* 新增bank
*/
//@PreAuthorize("@ss.hasPermi('system:bank:add')")
@Log
(
title
=
"bank"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TTrainCourseBank
tTrainCourseBank
)
{
return
toAjax
(
tTrainCourseBankService
.
insertTTrainCourseBank
(
tTrainCourseBank
));
}
/**
* 修改bank
*/
//@PreAuthorize("@ss.hasPermi('system:bank:edit')")
@Log
(
title
=
"bank"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TTrainCourseBank
tTrainCourseBank
)
{
return
toAjax
(
tTrainCourseBankService
.
updateTTrainCourseBank
(
tTrainCourseBank
));
}
/**
* 删除bank
*/
//@PreAuthorize("@ss.hasPermi('system:bank:remove')")
@Log
(
title
=
"bank"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{bankIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
bankIds
)
{
return
toAjax
(
tTrainCourseBankService
.
deleteTTrainCourseBankByIds
(
bankIds
));
}
}
danger-manage-admin/src/main/resources/application-dev.yml
View file @
a40306a3
...
@@ -21,9 +21,9 @@ spring:
...
@@ -21,9 +21,9 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://36.138.181.113:3306/danger_manage_area_a?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.138.181.113:3306
0
/danger_manage_area_a?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
username
:
root
password
:
root@123
password
:
zehong_/sjz!D
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
...
...
danger-manage-system/src/main/java/com/zehong/system/domain/TDeviceInfo.java
View file @
a40306a3
...
@@ -61,6 +61,10 @@ public class TDeviceInfo extends BaseEntity
...
@@ -61,6 +61,10 @@ public class TDeviceInfo extends BaseEntity
@Excel
(
name
=
"备注信息"
)
@Excel
(
name
=
"备注信息"
)
private
String
remarks
;
private
String
remarks
;
/** 是否作废(0正常,1作废) */
@Excel
(
name
=
"是否作废(0正常,1作废)"
)
private
String
isCancel
;
/** 是否删除(0正常,1删除) */
/** 是否删除(0正常,1删除) */
private
String
isDel
;
private
String
isDel
;
...
@@ -173,4 +177,19 @@ public class TDeviceInfo extends BaseEntity
...
@@ -173,4 +177,19 @@ public class TDeviceInfo extends BaseEntity
return
isDel
;
return
isDel
;
}
}
public
String
getRemarks
()
{
return
remarks
;
}
public
void
setRemarks
(
String
remarks
)
{
this
.
remarks
=
remarks
;
}
public
String
getIsCancel
()
{
return
isCancel
;
}
public
void
setIsCancel
(
String
isCancel
)
{
this
.
isCancel
=
isCancel
;
}
}
}
danger-manage-system/src/main/java/com/zehong/system/domain/TEmergencyDrill.java
View file @
a40306a3
...
@@ -9,7 +9,7 @@ import com.zehong.common.core.domain.BaseEntity;
...
@@ -9,7 +9,7 @@ import com.zehong.common.core.domain.BaseEntity;
/**
/**
* 应急演练对象 t_emergency_drill
* 应急演练对象 t_emergency_drill
*
*
* @author zehong
* @author zehong
* @date 2022-06-29
* @date 2022-06-29
*/
*/
...
@@ -61,114 +61,140 @@ public class TEmergencyDrill extends BaseEntity
...
@@ -61,114 +61,140 @@ public class TEmergencyDrill extends BaseEntity
@Excel
(
name
=
"评估"
)
@Excel
(
name
=
"评估"
)
private
String
assessment
;
private
String
assessment
;
/**评价*/
private
String
evaluate
;
/**措施*/
private
String
measures
;
/** 删除 0否 1是 */
/** 删除 0否 1是 */
private
Integer
isDel
;
private
Integer
isDel
;
public
void
setDrillId
(
Long
drillId
)
public
static
long
getSerialVersionUID
()
{
return
serialVersionUID
;
}
public
String
getEvaluate
()
{
return
evaluate
;
}
public
void
setEvaluate
(
String
evaluate
)
{
this
.
evaluate
=
evaluate
;
}
public
String
getMeasures
()
{
return
measures
;
}
public
void
setMeasures
(
String
measures
)
{
this
.
measures
=
measures
;
}
public
void
setDrillId
(
Long
drillId
)
{
{
this
.
drillId
=
drillId
;
this
.
drillId
=
drillId
;
}
}
public
Long
getDrillId
()
public
Long
getDrillId
()
{
{
return
drillId
;
return
drillId
;
}
}
public
void
setDrillName
(
String
drillName
)
public
void
setDrillName
(
String
drillName
)
{
{
this
.
drillName
=
drillName
;
this
.
drillName
=
drillName
;
}
}
public
String
getDrillName
()
public
String
getDrillName
()
{
{
return
drillName
;
return
drillName
;
}
}
public
void
setDrillAddress
(
String
drillAddress
)
public
void
setDrillAddress
(
String
drillAddress
)
{
{
this
.
drillAddress
=
drillAddress
;
this
.
drillAddress
=
drillAddress
;
}
}
public
String
getDrillAddress
()
public
String
getDrillAddress
()
{
{
return
drillAddress
;
return
drillAddress
;
}
}
public
void
setDrillUnit
(
String
drillUnit
)
public
void
setDrillUnit
(
String
drillUnit
)
{
{
this
.
drillUnit
=
drillUnit
;
this
.
drillUnit
=
drillUnit
;
}
}
public
String
getDrillUnit
()
public
String
getDrillUnit
()
{
{
return
drillUnit
;
return
drillUnit
;
}
}
public
void
setDrillTime
(
Date
drillTime
)
public
void
setDrillTime
(
Date
drillTime
)
{
{
this
.
drillTime
=
drillTime
;
this
.
drillTime
=
drillTime
;
}
}
public
Date
getDrillTime
()
public
Date
getDrillTime
()
{
{
return
drillTime
;
return
drillTime
;
}
}
public
void
setDrillType
(
Integer
drillType
)
public
void
setDrillType
(
Integer
drillType
)
{
{
this
.
drillType
=
drillType
;
this
.
drillType
=
drillType
;
}
}
public
Integer
getDrillType
()
public
Integer
getDrillType
()
{
{
return
drillType
;
return
drillType
;
}
}
public
void
setDrillForm
(
Integer
drillForm
)
public
void
setDrillForm
(
Integer
drillForm
)
{
{
this
.
drillForm
=
drillForm
;
this
.
drillForm
=
drillForm
;
}
}
public
Integer
getDrillForm
()
public
Integer
getDrillForm
()
{
{
return
drillForm
;
return
drillForm
;
}
}
public
void
setDrillObjective
(
String
drillObjective
)
public
void
setDrillObjective
(
String
drillObjective
)
{
{
this
.
drillObjective
=
drillObjective
;
this
.
drillObjective
=
drillObjective
;
}
}
public
String
getDrillObjective
()
public
String
getDrillObjective
()
{
{
return
drillObjective
;
return
drillObjective
;
}
}
public
void
setDrillPeople
(
String
drillPeople
)
public
void
setDrillPeople
(
String
drillPeople
)
{
{
this
.
drillPeople
=
drillPeople
;
this
.
drillPeople
=
drillPeople
;
}
}
public
String
getDrillPeople
()
public
String
getDrillPeople
()
{
{
return
drillPeople
;
return
drillPeople
;
}
}
public
void
setDrillContent
(
String
drillContent
)
public
void
setDrillContent
(
String
drillContent
)
{
{
this
.
drillContent
=
drillContent
;
this
.
drillContent
=
drillContent
;
}
}
public
String
getDrillContent
()
public
String
getDrillContent
()
{
{
return
drillContent
;
return
drillContent
;
}
}
public
void
setAssessment
(
String
assessment
)
public
void
setAssessment
(
String
assessment
)
{
{
this
.
assessment
=
assessment
;
this
.
assessment
=
assessment
;
}
}
public
String
getAssessment
()
public
String
getAssessment
()
{
{
return
assessment
;
return
assessment
;
}
}
public
void
setIsDel
(
Integer
isDel
)
public
void
setIsDel
(
Integer
isDel
)
{
{
this
.
isDel
=
isDel
;
this
.
isDel
=
isDel
;
}
}
public
Integer
getIsDel
()
public
Integer
getIsDel
()
{
{
return
isDel
;
return
isDel
;
}
}
...
...
danger-manage-system/src/main/java/com/zehong/system/domain/TEnterpriseInfo.java
View file @
a40306a3
...
@@ -50,6 +50,10 @@ public class TEnterpriseInfo extends BaseEntity
...
@@ -50,6 +50,10 @@ public class TEnterpriseInfo extends BaseEntity
@Excel
(
name
=
"营业期限"
)
@Excel
(
name
=
"营业期限"
)
private
String
businessTerm
;
private
String
businessTerm
;
/** 值班电话 */
@Excel
(
name
=
"值班电话"
)
private
String
dutyPhone
;
/** 经度 */
/** 经度 */
@Excel
(
name
=
"经度"
)
@Excel
(
name
=
"经度"
)
private
BigDecimal
longitude
;
private
BigDecimal
longitude
;
...
@@ -292,6 +296,14 @@ public class TEnterpriseInfo extends BaseEntity
...
@@ -292,6 +296,14 @@ public class TEnterpriseInfo extends BaseEntity
return
remarks
;
return
remarks
;
}
}
public
String
getDutyPhone
()
{
return
dutyPhone
;
}
public
void
setDutyPhone
(
String
dutyPhone
)
{
this
.
dutyPhone
=
dutyPhone
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
danger-manage-system/src/main/java/com/zehong/system/domain/TMaterialInfo.java
View file @
a40306a3
...
@@ -9,7 +9,7 @@ import com.zehong.common.core.domain.BaseEntity;
...
@@ -9,7 +9,7 @@ import com.zehong.common.core.domain.BaseEntity;
/**
/**
* 应急物资管理对象 t_material_info
* 应急物资管理对象 t_material_info
*
*
* @author zehong
* @author zehong
* @date 2022-07-01
* @date 2022-07-01
*/
*/
...
@@ -69,132 +69,147 @@ public class TMaterialInfo extends BaseEntity
...
@@ -69,132 +69,147 @@ public class TMaterialInfo extends BaseEntity
@Excel
(
name
=
"手机号"
)
@Excel
(
name
=
"手机号"
)
private
String
phone
;
private
String
phone
;
/**责任部门*/
private
String
deptName
;
/** 0未删除 1已删除 */
/** 0未删除 1已删除 */
private
Integer
isDelete
;
private
Integer
isDelete
;
public
void
setId
(
Long
id
)
public
static
long
getSerialVersionUID
()
{
return
serialVersionUID
;
}
public
String
getDeptName
()
{
return
deptName
;
}
public
void
setDeptName
(
String
deptName
)
{
this
.
deptName
=
deptName
;
}
public
void
setId
(
Long
id
)
{
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
Long
getId
()
public
Long
getId
()
{
{
return
id
;
return
id
;
}
}
public
void
setMaterialName
(
String
materialName
)
public
void
setMaterialName
(
String
materialName
)
{
{
this
.
materialName
=
materialName
;
this
.
materialName
=
materialName
;
}
}
public
String
getMaterialName
()
public
String
getMaterialName
()
{
{
return
materialName
;
return
materialName
;
}
}
public
void
setMaterialType
(
Integer
materialType
)
public
void
setMaterialType
(
Integer
materialType
)
{
{
this
.
materialType
=
materialType
;
this
.
materialType
=
materialType
;
}
}
public
Integer
getMaterialType
()
public
Integer
getMaterialType
()
{
{
return
materialType
;
return
materialType
;
}
}
public
void
setNum
(
Integer
num
)
public
void
setNum
(
Integer
num
)
{
{
this
.
num
=
num
;
this
.
num
=
num
;
}
}
public
Integer
getNum
()
public
Integer
getNum
()
{
{
return
num
;
return
num
;
}
}
public
void
setPerformance
(
String
performance
)
public
void
setPerformance
(
String
performance
)
{
{
this
.
performance
=
performance
;
this
.
performance
=
performance
;
}
}
public
String
getPerformance
()
public
String
getPerformance
()
{
{
return
performance
;
return
performance
;
}
}
public
void
setPurpose
(
String
purpose
)
public
void
setPurpose
(
String
purpose
)
{
{
this
.
purpose
=
purpose
;
this
.
purpose
=
purpose
;
}
}
public
String
getPurpose
()
public
String
getPurpose
()
{
{
return
purpose
;
return
purpose
;
}
}
public
void
setValidityTime
(
Date
validityTime
)
public
void
setValidityTime
(
Date
validityTime
)
{
{
this
.
validityTime
=
validityTime
;
this
.
validityTime
=
validityTime
;
}
}
public
Date
getValidityTime
()
public
Date
getValidityTime
()
{
{
return
validityTime
;
return
validityTime
;
}
}
public
void
setDeptId
(
Long
deptId
)
public
void
setDeptId
(
Long
deptId
)
{
{
this
.
deptId
=
deptId
;
this
.
deptId
=
deptId
;
}
}
public
Long
getDeptId
()
public
Long
getDeptId
()
{
{
return
deptId
;
return
deptId
;
}
}
public
void
setLongitude
(
String
longitude
)
public
void
setLongitude
(
String
longitude
)
{
{
this
.
longitude
=
longitude
;
this
.
longitude
=
longitude
;
}
}
public
String
getLongitude
()
public
String
getLongitude
()
{
{
return
longitude
;
return
longitude
;
}
}
public
void
setLatitude
(
String
latitude
)
public
void
setLatitude
(
String
latitude
)
{
{
this
.
latitude
=
latitude
;
this
.
latitude
=
latitude
;
}
}
public
String
getLatitude
()
public
String
getLatitude
()
{
{
return
latitude
;
return
latitude
;
}
}
public
void
setAddress
(
String
address
)
public
void
setAddress
(
String
address
)
{
{
this
.
address
=
address
;
this
.
address
=
address
;
}
}
public
String
getAddress
()
public
String
getAddress
()
{
{
return
address
;
return
address
;
}
}
public
void
setContacts
(
String
contacts
)
public
void
setContacts
(
String
contacts
)
{
{
this
.
contacts
=
contacts
;
this
.
contacts
=
contacts
;
}
}
public
String
getContacts
()
public
String
getContacts
()
{
{
return
contacts
;
return
contacts
;
}
}
public
void
setPhone
(
String
phone
)
public
void
setPhone
(
String
phone
)
{
{
this
.
phone
=
phone
;
this
.
phone
=
phone
;
}
}
public
String
getPhone
()
public
String
getPhone
()
{
{
return
phone
;
return
phone
;
}
}
public
void
setIsDelete
(
Integer
isDelete
)
public
void
setIsDelete
(
Integer
isDelete
)
{
{
this
.
isDelete
=
isDelete
;
this
.
isDelete
=
isDelete
;
}
}
public
Integer
getIsDelete
()
public
Integer
getIsDelete
()
{
{
return
isDelete
;
return
isDelete
;
}
}
...
...
danger-manage-system/src/main/java/com/zehong/system/domain/TRiskManager.java
View file @
a40306a3
...
@@ -6,10 +6,10 @@ import com.zehong.common.annotation.Excel;
...
@@ -6,10 +6,10 @@ import com.zehong.common.annotation.Excel;
import
com.zehong.common.core.domain.BaseEntity
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
/**
*
【请填写功能名称】
对象 t_risk_manager
*
风险信息
对象 t_risk_manager
*
*
* @author zehong
* @author zehong
* @date 2022-
07-01
* @date 2022-
11-24
*/
*/
public
class
TRiskManager
extends
BaseEntity
public
class
TRiskManager
extends
BaseEntity
{
{
...
@@ -40,81 +40,81 @@ public class TRiskManager extends BaseEntity
...
@@ -40,81 +40,81 @@ public class TRiskManager extends BaseEntity
/** 责任部门 */
/** 责任部门 */
@Excel
(
name
=
"责任部门"
)
@Excel
(
name
=
"责任部门"
)
private
int
riskDept
;
private
Long
riskDept
;
/** 责任人 */
/** 责任人 */
@Excel
(
name
=
"责任人"
)
@Excel
(
name
=
"责任人"
)
private
String
riskPerson
;
private
String
riskPerson
;
public
void
setId
(
Long
id
)
public
void
setId
(
Long
id
)
{
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
Long
getId
()
public
Long
getId
()
{
{
return
id
;
return
id
;
}
}
public
void
setRiskPart
(
String
riskPart
)
public
void
setRiskPart
(
String
riskPart
)
{
{
this
.
riskPart
=
riskPart
;
this
.
riskPart
=
riskPart
;
}
}
public
String
getRiskPart
()
public
String
getRiskPart
()
{
{
return
riskPart
;
return
riskPart
;
}
}
public
void
setRiskContent
(
String
riskContent
)
public
void
setRiskContent
(
String
riskContent
)
{
{
this
.
riskContent
=
riskContent
;
this
.
riskContent
=
riskContent
;
}
}
public
String
getRiskContent
()
public
String
getRiskContent
()
{
{
return
riskContent
;
return
riskContent
;
}
}
public
void
setRiskLevel
(
String
riskLevel
)
public
void
setRiskLevel
(
String
riskLevel
)
{
{
this
.
riskLevel
=
riskLevel
;
this
.
riskLevel
=
riskLevel
;
}
}
public
String
getRiskLevel
()
public
String
getRiskLevel
()
{
{
return
riskLevel
;
return
riskLevel
;
}
}
public
void
setRiskType
(
String
riskType
)
public
void
setRiskType
(
String
riskType
)
{
{
this
.
riskType
=
riskType
;
this
.
riskType
=
riskType
;
}
}
public
String
getRiskType
()
public
String
getRiskType
()
{
{
return
riskType
;
return
riskType
;
}
}
public
void
setRiskControl
(
String
riskControl
)
public
void
setRiskControl
(
String
riskControl
)
{
{
this
.
riskControl
=
riskControl
;
this
.
riskControl
=
riskControl
;
}
}
public
String
getRiskControl
()
public
String
getRiskControl
()
{
{
return
riskControl
;
return
riskControl
;
}
}
public
void
setRiskDept
(
int
riskDept
)
public
void
setRiskDept
(
Long
riskDept
)
{
{
this
.
riskDept
=
riskDept
;
this
.
riskDept
=
riskDept
;
}
}
public
int
getRiskDept
()
public
Long
getRiskDept
()
{
{
return
riskDept
;
return
riskDept
;
}
}
public
void
setRiskPerson
(
String
riskPerson
)
public
void
setRiskPerson
(
String
riskPerson
)
{
{
this
.
riskPerson
=
riskPerson
;
this
.
riskPerson
=
riskPerson
;
}
}
public
String
getRiskPerson
()
public
String
getRiskPerson
()
{
{
return
riskPerson
;
return
riskPerson
;
}
}
...
@@ -122,14 +122,14 @@ public class TRiskManager extends BaseEntity
...
@@ -122,14 +122,14 @@ public class TRiskManager extends BaseEntity
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"id"
,
getId
())
.
append
(
"riskPart"
,
getRiskPart
())
.
append
(
"riskPart"
,
getRiskPart
())
.
append
(
"riskContent"
,
getRiskContent
())
.
append
(
"riskContent"
,
getRiskContent
())
.
append
(
"riskLevel"
,
getRiskLevel
())
.
append
(
"riskLevel"
,
getRiskLevel
())
.
append
(
"riskType"
,
getRiskType
())
.
append
(
"riskType"
,
getRiskType
())
.
append
(
"riskControl"
,
getRiskControl
())
.
append
(
"riskControl"
,
getRiskControl
())
.
append
(
"riskDept"
,
getRiskDept
())
.
append
(
"riskDept"
,
getRiskDept
())
.
append
(
"riskPerson"
,
getRiskPerson
())
.
append
(
"riskPerson"
,
getRiskPerson
())
.
toString
();
.
toString
();
}
}
}
}
danger-manage-system/src/main/java/com/zehong/system/domain/TSpecialDeviceRecord.java
View file @
a40306a3
...
@@ -31,6 +31,9 @@ public class TSpecialDeviceRecord extends BaseEntity
...
@@ -31,6 +31,9 @@ public class TSpecialDeviceRecord extends BaseEntity
@Excel
(
name
=
"设备编号"
)
@Excel
(
name
=
"设备编号"
)
private
String
deviceCode
;
private
String
deviceCode
;
/** 设备id */
private
Long
deviceId
;
/** 登记有效日期 */
/** 登记有效日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"登记有效日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"登记有效日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
...
@@ -71,6 +74,14 @@ public class TSpecialDeviceRecord extends BaseEntity
...
@@ -71,6 +74,14 @@ public class TSpecialDeviceRecord extends BaseEntity
return
deviceCode
;
return
deviceCode
;
}
}
public
Long
getDeviceId
()
{
return
deviceId
;
}
public
void
setDeviceId
(
Long
deviceId
)
{
this
.
deviceId
=
deviceId
;
}
public
String
getOperateType
()
{
public
String
getOperateType
()
{
return
operateType
;
return
operateType
;
}
}
...
...
danger-manage-system/src/main/java/com/zehong/system/domain/TTrainCourseBank.java
0 → 100644
View file @
a40306a3
package
com
.
zehong
.
system
.
domain
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* bank对象 t_train_course_bank
*
* @author zehong
* @date 2022-12-14
*/
public
class
TTrainCourseBank
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键id */
private
Long
bankId
;
/** 所属部门 */
private
Long
deptId
;
/** 题库名称 */
@Excel
(
name
=
"题库名称"
)
private
String
bankName
;
/** 是否删除 0未删除 1删除 */
private
Integer
isDel
;
public
void
setBankId
(
Long
bankId
)
{
this
.
bankId
=
bankId
;
}
public
Long
getBankId
()
{
return
bankId
;
}
public
void
setDeptId
(
Long
deptId
)
{
this
.
deptId
=
deptId
;
}
public
Long
getDeptId
()
{
return
deptId
;
}
public
void
setBankName
(
String
bankName
)
{
this
.
bankName
=
bankName
;
}
public
String
getBankName
()
{
return
bankName
;
}
public
void
setIsDel
(
Integer
isDel
)
{
this
.
isDel
=
isDel
;
}
public
Integer
getIsDel
()
{
return
isDel
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"bankId"
,
getBankId
())
.
append
(
"deptId"
,
getDeptId
())
.
append
(
"bankName"
,
getBankName
())
.
append
(
"isDel"
,
getIsDel
())
.
append
(
"createBy"
,
getCreateBy
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
danger-manage-system/src/main/java/com/zehong/system/mapper/TTrainCourseBankMapper.java
0 → 100644
View file @
a40306a3
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.TTrainCourseBank
;
/**
* bankMapper接口
*
* @author zehong
* @date 2022-12-14
*/
public
interface
TTrainCourseBankMapper
{
/**
* 查询bank
*
* @param bankId bankID
* @return bank
*/
public
TTrainCourseBank
selectTTrainCourseBankById
(
Long
bankId
);
/**
* 查询bank列表
*
* @param tTrainCourseBank bank
* @return bank集合
*/
public
List
<
TTrainCourseBank
>
selectTTrainCourseBankList
(
TTrainCourseBank
tTrainCourseBank
);
/**
* 新增bank
*
* @param tTrainCourseBank bank
* @return 结果
*/
public
int
insertTTrainCourseBank
(
TTrainCourseBank
tTrainCourseBank
);
/**
* 修改bank
*
* @param tTrainCourseBank bank
* @return 结果
*/
public
int
updateTTrainCourseBank
(
TTrainCourseBank
tTrainCourseBank
);
/**
* 删除bank
*
* @param bankId bankID
* @return 结果
*/
public
int
deleteTTrainCourseBankById
(
Long
bankId
);
/**
* 批量删除bank
*
* @param bankIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteTTrainCourseBankByIds
(
Long
[]
bankIds
);
}
danger-manage-system/src/main/java/com/zehong/system/service/ITTrainCourseBankService.java
0 → 100644
View file @
a40306a3
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.TTrainCourseBank
;
/**
* bankService接口
*
* @author zehong
* @date 2022-12-14
*/
public
interface
ITTrainCourseBankService
{
/**
* 查询bank
*
* @param bankId bankID
* @return bank
*/
public
TTrainCourseBank
selectTTrainCourseBankById
(
Long
bankId
);
/**
* 查询bank列表
*
* @param tTrainCourseBank bank
* @return bank集合
*/
public
List
<
TTrainCourseBank
>
selectTTrainCourseBankList
(
TTrainCourseBank
tTrainCourseBank
);
/**
* 新增bank
*
* @param tTrainCourseBank bank
* @return 结果
*/
public
int
insertTTrainCourseBank
(
TTrainCourseBank
tTrainCourseBank
);
/**
* 修改bank
*
* @param tTrainCourseBank bank
* @return 结果
*/
public
int
updateTTrainCourseBank
(
TTrainCourseBank
tTrainCourseBank
);
/**
* 批量删除bank
*
* @param bankIds 需要删除的bankID
* @return 结果
*/
public
int
deleteTTrainCourseBankByIds
(
Long
[]
bankIds
);
/**
* 删除bank信息
*
* @param bankId bankID
* @return 结果
*/
public
int
deleteTTrainCourseBankById
(
Long
bankId
);
}
danger-manage-system/src/main/java/com/zehong/system/service/impl/TMaintainPlanServiceImpl.java
View file @
a40306a3
...
@@ -69,6 +69,7 @@ public class TMaintainPlanServiceImpl implements ITMaintainPlanService
...
@@ -69,6 +69,7 @@ public class TMaintainPlanServiceImpl implements ITMaintainPlanService
TSpecialDeviceRecord
tSpecialDeviceRecord
=
new
TSpecialDeviceRecord
();
TSpecialDeviceRecord
tSpecialDeviceRecord
=
new
TSpecialDeviceRecord
();
tSpecialDeviceRecord
.
setDeviceCode
(
tDeviceInfo
.
getDeviceCode
());
tSpecialDeviceRecord
.
setDeviceCode
(
tDeviceInfo
.
getDeviceCode
());
tSpecialDeviceRecord
.
setDeviceId
(
tDeviceInfo
.
getId
());
tSpecialDeviceRecord
.
setOperateCode
(
planCode
);
tSpecialDeviceRecord
.
setOperateCode
(
planCode
);
tSpecialDeviceRecord
.
setOperateType
(
"1"
);
tSpecialDeviceRecord
.
setOperateType
(
"1"
);
tSpecialDeviceRecord
.
setEffectiveDate
(
tMaintainPlan
.
getPlanEndTime
());
tSpecialDeviceRecord
.
setEffectiveDate
(
tMaintainPlan
.
getPlanEndTime
());
...
...
danger-manage-system/src/main/java/com/zehong/system/service/impl/TRepairOrderServiceImpl.java
View file @
a40306a3
...
@@ -67,6 +67,7 @@ public class TRepairOrderServiceImpl implements ITRepairOrderService
...
@@ -67,6 +67,7 @@ public class TRepairOrderServiceImpl implements ITRepairOrderService
TSpecialDeviceRecord
tSpecialDeviceRecord
=
new
TSpecialDeviceRecord
();
TSpecialDeviceRecord
tSpecialDeviceRecord
=
new
TSpecialDeviceRecord
();
tSpecialDeviceRecord
.
setDeviceCode
(
tDeviceInfo
.
getDeviceCode
());
tSpecialDeviceRecord
.
setDeviceCode
(
tDeviceInfo
.
getDeviceCode
());
tSpecialDeviceRecord
.
setDeviceId
(
tDeviceInfo
.
getId
());
tSpecialDeviceRecord
.
setOperateCode
(
repairCode
);
tSpecialDeviceRecord
.
setOperateCode
(
repairCode
);
tSpecialDeviceRecord
.
setOperateType
(
"2"
);
tSpecialDeviceRecord
.
setOperateType
(
"2"
);
tSpecialDeviceRecord
.
setRecordStatus
(
tRepairOrder
.
getOrderStatus
());
tSpecialDeviceRecord
.
setRecordStatus
(
tRepairOrder
.
getOrderStatus
());
...
...
danger-manage-system/src/main/java/com/zehong/system/service/impl/TTrainCourseBankServiceImpl.java
0 → 100644
View file @
a40306a3
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TTrainCourseBankMapper
;
import
com.zehong.system.domain.TTrainCourseBank
;
import
com.zehong.system.service.ITTrainCourseBankService
;
/**
* bankService业务层处理
*
* @author zehong
* @date 2022-12-14
*/
@Service
public
class
TTrainCourseBankServiceImpl
implements
ITTrainCourseBankService
{
@Autowired
private
TTrainCourseBankMapper
tTrainCourseBankMapper
;
/**
* 查询bank
*
* @param bankId bankID
* @return bank
*/
@Override
public
TTrainCourseBank
selectTTrainCourseBankById
(
Long
bankId
)
{
return
tTrainCourseBankMapper
.
selectTTrainCourseBankById
(
bankId
);
}
/**
* 查询bank列表
*
* @param tTrainCourseBank bank
* @return bank
*/
@Override
public
List
<
TTrainCourseBank
>
selectTTrainCourseBankList
(
TTrainCourseBank
tTrainCourseBank
)
{
return
tTrainCourseBankMapper
.
selectTTrainCourseBankList
(
tTrainCourseBank
);
}
/**
* 新增bank
*
* @param tTrainCourseBank bank
* @return 结果
*/
@Override
public
int
insertTTrainCourseBank
(
TTrainCourseBank
tTrainCourseBank
)
{
tTrainCourseBank
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
tTrainCourseBankMapper
.
insertTTrainCourseBank
(
tTrainCourseBank
);
}
/**
* 修改bank
*
* @param tTrainCourseBank bank
* @return 结果
*/
@Override
public
int
updateTTrainCourseBank
(
TTrainCourseBank
tTrainCourseBank
)
{
tTrainCourseBank
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
tTrainCourseBankMapper
.
updateTTrainCourseBank
(
tTrainCourseBank
);
}
/**
* 批量删除bank
*
* @param bankIds 需要删除的bankID
* @return 结果
*/
@Override
public
int
deleteTTrainCourseBankByIds
(
Long
[]
bankIds
)
{
return
tTrainCourseBankMapper
.
deleteTTrainCourseBankByIds
(
bankIds
);
}
/**
* 删除bank信息
*
* @param bankId bankID
* @return 结果
*/
@Override
public
int
deleteTTrainCourseBankById
(
Long
bankId
)
{
return
tTrainCourseBankMapper
.
deleteTTrainCourseBankById
(
bankId
);
}
}
danger-manage-system/src/main/resources/mapper/system/TDeviceInfoMapper.xml
View file @
a40306a3
...
@@ -19,11 +19,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -19,11 +19,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"isCancel"
column=
"is_cancel"
/>
<result
property=
"remarks"
column=
"remarks"
/>
<result
property=
"remarks"
column=
"remarks"
/>
</resultMap>
</resultMap>
<sql
id=
"selectTDeviceInfoVo"
>
<sql
id=
"selectTDeviceInfoVo"
>
select id, device_name, device_code, device_status, device_type, tag_number, device_grade, install_location, is_special, responsible_person, responsible_phone, create_time, update_time, is_del, remarks from t_device_info
select id, device_name, device_code, device_status, device_type, tag_number, device_grade, install_location, is_special, responsible_person, responsible_phone, create_time, update_time, is_
cancel, is_
del, remarks from t_device_info
</sql>
</sql>
<select
id=
"selectTDeviceInfoList"
parameterType=
"TDeviceInfo"
resultMap=
"TDeviceInfoResult"
>
<select
id=
"selectTDeviceInfoList"
parameterType=
"TDeviceInfo"
resultMap=
"TDeviceInfoResult"
>
...
@@ -36,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -36,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"tagNumber != null and tagNumber != ''"
>
and tag_number = #{tagNumber}
</if>
<if
test=
"tagNumber != null and tagNumber != ''"
>
and tag_number = #{tagNumber}
</if>
<if
test=
"deviceGrade != null and deviceGrade != ''"
>
and device_grade = #{deviceGrade}
</if>
<if
test=
"deviceGrade != null and deviceGrade != ''"
>
and device_grade = #{deviceGrade}
</if>
<if
test=
"isSpecial != null and isSpecial != ''"
>
and is_special = #{isSpecial}
</if>
<if
test=
"isSpecial != null and isSpecial != ''"
>
and is_special = #{isSpecial}
</if>
<if
test=
"isCancel != null and isCancel != ''"
>
and is_cancel = #{isCancel}
</if>
<if
test=
"responsiblePhone != null and responsiblePhone != ''"
>
and responsible_phone = #{responsiblePhone}
</if>
<if
test=
"responsiblePhone != null and responsiblePhone != ''"
>
and responsible_phone = #{responsiblePhone}
</if>
<if
test=
"params.beginTime != null and params.beginTime != ''"
>
<!-- 开始时间检索 -->
<if
test=
"params.beginTime != null and params.beginTime != ''"
>
<!-- 开始时间检索 -->
AND date_format(create_time,'%y%m%d')
>
= date_format(#{params.beginTime},'%y%m%d')
AND date_format(create_time,'%y%m%d')
>
= date_format(#{params.beginTime},'%y%m%d')
...
@@ -103,9 +105,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -103,9 +105,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
<if
test=
"remarks != null"
>
is_del = #{remarks},
</if>
<if
test=
"isCancel != null"
>
is_cancel = #{isCancel},
</if>
<if
test=
"remarks != null"
>
remarks = #{remarks},
</if>
</trim>
</trim>
where
device_code = #{deviceCode
} and is_del = '0'
where
id = #{id
} and is_del = '0'
</update>
</update>
<delete
id=
"deleteTDeviceInfoById"
parameterType=
"Long"
>
<delete
id=
"deleteTDeviceInfoById"
parameterType=
"Long"
>
...
...
danger-manage-system/src/main/resources/mapper/system/TEmergencyDrillMapper.xml
View file @
a40306a3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TEmergencyDrillMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.TEmergencyDrillMapper"
>
<resultMap
type=
"TEmergencyDrill"
id=
"TEmergencyDrillResult"
>
<resultMap
type=
"TEmergencyDrill"
id=
"TEmergencyDrillResult"
>
<result
property=
"drillId"
column=
"drill_id"
/>
<result
property=
"drillId"
column=
"drill_id"
/>
<result
property=
"drillName"
column=
"drill_name"
/>
<result
property=
"drillName"
column=
"drill_name"
/>
...
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
</resultMap>
<sql
id=
"selectTEmergencyDrillVo"
>
<sql
id=
"selectTEmergencyDrillVo"
>
select drill_id, drill_name, drill_address, drill_unit, drill_time, drill_type, drill_form, drill_objective, drill_people, drill_content, assessment, create_time, create_by, is_del from t_emergency_drill
select drill_id, drill_name, drill_address, drill_unit, drill_time, drill_type, drill_form, drill_objective, drill_people, drill_content, assessment,
evaluate,measures,
create_time, create_by, is_del from t_emergency_drill
</sql>
</sql>
<select
id=
"selectTEmergencyDrillList"
parameterType=
"TEmergencyDrill"
resultMap=
"TEmergencyDrillResult"
>
<select
id=
"selectTEmergencyDrillList"
parameterType=
"TEmergencyDrill"
resultMap=
"TEmergencyDrillResult"
>
...
@@ -34,12 +34,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -34,12 +34,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"drillForm != null "
>
and drill_form = #{drillForm}
</if>
<if
test=
"drillForm != null "
>
and drill_form = #{drillForm}
</if>
</where>
</where>
</select>
</select>
<select
id=
"selectTEmergencyDrillById"
parameterType=
"Long"
resultMap=
"TEmergencyDrillResult"
>
<select
id=
"selectTEmergencyDrillById"
parameterType=
"Long"
resultMap=
"TEmergencyDrillResult"
>
<include
refid=
"selectTEmergencyDrillVo"
/>
<include
refid=
"selectTEmergencyDrillVo"
/>
where drill_id = #{drillId}
where drill_id = #{drillId}
</select>
</select>
<insert
id=
"insertTEmergencyDrill"
parameterType=
"TEmergencyDrill"
useGeneratedKeys=
"true"
keyProperty=
"drillId"
>
<insert
id=
"insertTEmergencyDrill"
parameterType=
"TEmergencyDrill"
useGeneratedKeys=
"true"
keyProperty=
"drillId"
>
insert into t_emergency_drill
insert into t_emergency_drill
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -89,6 +89,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -89,6 +89,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"assessment != null"
>
assessment = #{assessment},
</if>
<if
test=
"assessment != null"
>
assessment = #{assessment},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"createBy != null"
>
create_by = #{createBy},
</if>
<if
test=
"createBy != null"
>
create_by = #{createBy},
</if>
<if
test=
"evaluate != null"
>
evaluate = #{evaluate},
</if>
<if
test=
"measures != null"
>
measures = #{measures},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
</trim>
</trim>
where drill_id = #{drillId}
where drill_id = #{drillId}
...
@@ -99,9 +101,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -99,9 +101,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
</delete>
<delete
id=
"deleteTEmergencyDrillByIds"
parameterType=
"String"
>
<delete
id=
"deleteTEmergencyDrillByIds"
parameterType=
"String"
>
delete from t_emergency_drill where drill_id in
delete from t_emergency_drill where drill_id in
<foreach
item=
"drillId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"drillId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{drillId}
#{drillId}
</foreach>
</foreach>
</delete>
</delete>
</mapper>
</mapper>
\ No newline at end of file
danger-manage-system/src/main/resources/mapper/system/TEnterpriseInfoMapper.xml
View file @
a40306a3
...
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"regulationType"
column=
"regulation_type"
/>
<result
property=
"regulationType"
column=
"regulation_type"
/>
<result
property=
"regDate"
column=
"reg_date"
/>
<result
property=
"regDate"
column=
"reg_date"
/>
<result
property=
"businessTerm"
column=
"business_term"
/>
<result
property=
"businessTerm"
column=
"business_term"
/>
<result
property=
"dutyPhone"
column=
"duty_phone"
/>
<result
property=
"longitude"
column=
"longitude"
/>
<result
property=
"longitude"
column=
"longitude"
/>
<result
property=
"latitude"
column=
"latitude"
/>
<result
property=
"latitude"
column=
"latitude"
/>
<result
property=
"businessScope"
column=
"business_scope"
/>
<result
property=
"businessScope"
column=
"business_scope"
/>
...
@@ -31,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -31,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
</resultMap>
<sql
id=
"selectTEnterpriseInfoVo"
>
<sql
id=
"selectTEnterpriseInfoVo"
>
select id, unit_name, org_code, run_address, reg_address, regulation_type, reg_date, business_term, longitude, latitude, business_scope, employee_num, legal_person, legal_person_phone, key_person, key_person_phone, safety_person, safety_person_phone, create_user_id, update_user_id, update_time, create_time, remarks from t_enterprise_info
select id, unit_name, org_code, run_address, reg_address, regulation_type, reg_date, business_term,
duty_phone,
longitude, latitude, business_scope, employee_num, legal_person, legal_person_phone, key_person, key_person_phone, safety_person, safety_person_phone, create_user_id, update_user_id, update_time, create_time, remarks from t_enterprise_info
</sql>
</sql>
<select
id=
"selectTEnterpriseInfoList"
parameterType=
"TEnterpriseInfo"
resultMap=
"TEnterpriseInfoResult"
>
<select
id=
"selectTEnterpriseInfoList"
parameterType=
"TEnterpriseInfo"
resultMap=
"TEnterpriseInfoResult"
>
...
@@ -75,6 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -75,6 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"regulationType != null"
>
regulation_type,
</if>
<if
test=
"regulationType != null"
>
regulation_type,
</if>
<if
test=
"regDate != null"
>
reg_date,
</if>
<if
test=
"regDate != null"
>
reg_date,
</if>
<if
test=
"businessTerm != null"
>
business_term,
</if>
<if
test=
"businessTerm != null"
>
business_term,
</if>
<if
test=
"dutyPhone != null"
>
duty_phone,
</if>
<if
test=
"longitude != null"
>
longitude,
</if>
<if
test=
"longitude != null"
>
longitude,
</if>
<if
test=
"latitude != null"
>
latitude,
</if>
<if
test=
"latitude != null"
>
latitude,
</if>
<if
test=
"businessScope != null"
>
business_scope,
</if>
<if
test=
"businessScope != null"
>
business_scope,
</if>
...
@@ -100,6 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -100,6 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"regulationType != null"
>
#{regulationType},
</if>
<if
test=
"regulationType != null"
>
#{regulationType},
</if>
<if
test=
"regDate != null"
>
#{regDate},
</if>
<if
test=
"regDate != null"
>
#{regDate},
</if>
<if
test=
"businessTerm != null"
>
#{businessTerm},
</if>
<if
test=
"businessTerm != null"
>
#{businessTerm},
</if>
<if
test=
"dutyPhone != null"
>
#{dutyPhone},
</if>
<if
test=
"longitude != null"
>
#{longitude},
</if>
<if
test=
"longitude != null"
>
#{longitude},
</if>
<if
test=
"latitude != null"
>
#{latitude},
</if>
<if
test=
"latitude != null"
>
#{latitude},
</if>
<if
test=
"businessScope != null"
>
#{businessScope},
</if>
<if
test=
"businessScope != null"
>
#{businessScope},
</if>
...
@@ -128,6 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -128,6 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"regulationType != null"
>
regulation_type = #{regulationType},
</if>
<if
test=
"regulationType != null"
>
regulation_type = #{regulationType},
</if>
<if
test=
"regDate != null"
>
reg_date = #{regDate},
</if>
<if
test=
"regDate != null"
>
reg_date = #{regDate},
</if>
<if
test=
"businessTerm != null"
>
business_term = #{businessTerm},
</if>
<if
test=
"businessTerm != null"
>
business_term = #{businessTerm},
</if>
duty_phone = #{dutyPhone},
longitude = #{longitude},
longitude = #{longitude},
latitude = #{latitude},
latitude = #{latitude},
business_scope = #{businessScope},
business_scope = #{businessScope},
...
...
danger-manage-system/src/main/resources/mapper/system/TEnterpriseSystemMapper.xml
View file @
a40306a3
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
<select
id=
"selectTEnterpriseSystemList"
parameterType=
"TEnterpriseSystem"
resultMap=
"TEnterpriseSystemResult"
>
<select
id=
"selectTEnterpriseSystemList"
parameterType=
"TEnterpriseSystem"
resultMap=
"TEnterpriseSystemResult"
>
<include
refid=
"selectTEnterpriseSystemVo"
/>
<include
refid=
"selectTEnterpriseSystemVo"
/>
<where>
<where>
is_del = '0'
<if
test=
"systemTitle != null and systemTitle != ''"
>
and system_title
= #{systemTitle}
</if>
<if
test=
"systemTitle != null and systemTitle != ''"
>
and system_title
like concat('%', #{systemTitle}, '%')
</if>
<if
test=
"systemType != null and systemType != ''"
>
and system_type = #{systemType}
</if>
<if
test=
"systemType != null and systemType != ''"
>
and system_type = #{systemType}
</if>
<if
test=
"hierarchy != null and hierarchy != ''"
>
and hierarchy = #{hierarchy}
</if>
<if
test=
"hierarchy != null and hierarchy != ''"
>
and hierarchy = #{hierarchy}
</if>
<if
test=
"referenceNum != null and referenceNum != ''"
>
and reference_num = #{referenceNum}
</if>
<if
test=
"referenceNum != null and referenceNum != ''"
>
and reference_num = #{referenceNum}
</if>
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
<if
test=
"fileName != null and fileName != ''"
>
and file_name like concat('%', #{fileName}, '%')
</if>
<if
test=
"fileName != null and fileName != ''"
>
and file_name like concat('%', #{fileName}, '%')
</if>
<if
test=
"fileUrl != null and fileUrl != ''"
>
and file_url = #{fileUrl}
</if>
<if
test=
"fileUrl != null and fileUrl != ''"
>
and file_url = #{fileUrl}
</if>
<if
test=
"status != null and status != ''"
>
and status = #{status}
</if>
<if
test=
"status != null and status != ''"
>
and status = #{status}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
</where>
</where>
</select>
</select>
...
...
danger-manage-system/src/main/resources/mapper/system/TMaterialInfoMapper.xml
View file @
a40306a3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TMaterialInfoMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.TMaterialInfoMapper"
>
<resultMap
type=
"TMaterialInfo"
id=
"TMaterialInfoResult"
>
<resultMap
type=
"TMaterialInfo"
id=
"TMaterialInfoResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"id"
column=
"id"
/>
<result
property=
"materialName"
column=
"material_name"
/>
<result
property=
"materialName"
column=
"material_name"
/>
...
@@ -21,6 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -21,6 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"deptName"
column=
"dept_name"
/>
</resultMap>
</resultMap>
<sql
id=
"selectTMaterialInfoVo"
>
<sql
id=
"selectTMaterialInfoVo"
>
...
@@ -28,18 +29,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -28,18 +29,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
</sql>
<select
id=
"selectTMaterialInfoList"
parameterType=
"TMaterialInfo"
resultMap=
"TMaterialInfoResult"
>
<select
id=
"selectTMaterialInfoList"
parameterType=
"TMaterialInfo"
resultMap=
"TMaterialInfoResult"
>
<include
refid=
"selectTMaterialInfoVo"
/>
select d.dept_name,a.id, a.material_name, a.material_type, a.num, a.performance, a.purpose, a.validity_time, a.dept_id, a.longitude, a.latitude, a.address, a.contacts, a.phone, a.create_time, a.update_time, a.is_delete
<where>
from t_material_info a
<if
test=
"materialName != null and materialName != ''"
>
and material_name like concat('%', #{materialName}, '%')
</if>
LEFT JOIN sys_dept d ON d.`dept_id` = a.`dept_id`
<if
test=
"materialType != null "
>
and material_type = #{materialType}
</if>
<where>
<if
test=
"materialName != null and materialName != ''"
>
and a.material_name like concat('%', #{materialName}, '%')
</if>
<if
test=
"materialType != null "
>
and a.material_type = #{materialType}
</if>
</where>
</where>
</select>
</select>
<select
id=
"selectTMaterialInfoById"
parameterType=
"Long"
resultMap=
"TMaterialInfoResult"
>
<select
id=
"selectTMaterialInfoById"
parameterType=
"Long"
resultMap=
"TMaterialInfoResult"
>
<include
refid=
"selectTMaterialInfoVo"
/>
<include
refid=
"selectTMaterialInfoVo"
/>
where id = #{id}
where id = #{id}
</select>
</select>
<insert
id=
"insertTMaterialInfo"
parameterType=
"TMaterialInfo"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertTMaterialInfo"
parameterType=
"TMaterialInfo"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into t_material_info
insert into t_material_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -105,9 +108,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -105,9 +108,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
</delete>
<delete
id=
"deleteTMaterialInfoByIds"
parameterType=
"String"
>
<delete
id=
"deleteTMaterialInfoByIds"
parameterType=
"String"
>
delete from t_material_info where id in
delete from t_material_info where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
</delete>
</delete>
</mapper>
</mapper>
\ No newline at end of file
danger-manage-system/src/main/resources/mapper/system/TRiskManagerMapper.xml
View file @
a40306a3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TRiskManagerMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.TRiskManagerMapper"
>
<resultMap
type=
"TRiskManager"
id=
"TRiskManagerResult"
>
<resultMap
type=
"TRiskManager"
id=
"TRiskManagerResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"id"
column=
"id"
/>
<result
property=
"riskPart"
column=
"risk_part"
/>
<result
property=
"riskPart"
column=
"risk_part"
/>
...
@@ -21,22 +21,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -21,22 +21,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectTRiskManagerList"
parameterType=
"TRiskManager"
resultMap=
"TRiskManagerResult"
>
<select
id=
"selectTRiskManagerList"
parameterType=
"TRiskManager"
resultMap=
"TRiskManagerResult"
>
<include
refid=
"selectTRiskManagerVo"
/>
<include
refid=
"selectTRiskManagerVo"
/>
<where>
<where>
<if
test=
"riskPart != null and riskPart != ''"
>
and risk_part
= #{riskPart}
</if>
<if
test=
"riskPart != null and riskPart != ''"
>
and risk_part
LIKE concat('%',#{riskPart},'%')
</if>
<if
test=
"riskContent != null and riskContent != ''"
>
and risk_content = #{riskContent}
</if>
<if
test=
"riskContent != null and riskContent != ''"
>
and risk_content = #{riskContent}
</if>
<if
test=
"riskLevel != null and riskLevel != ''"
>
and risk_level = #{riskLevel}
</if>
<if
test=
"riskLevel != null and riskLevel != ''"
>
and risk_level = #{riskLevel}
</if>
<if
test=
"riskType != null and riskType != ''"
>
and risk_type = #{riskType}
</if>
<if
test=
"riskType != null and riskType != ''"
>
and risk_type = #{riskType}
</if>
<if
test=
"riskControl != null and riskControl != ''"
>
and risk_control = #{riskControl}
</if>
<if
test=
"riskControl != null and riskControl != ''"
>
and risk_control = #{riskControl}
</if>
<if
test=
"riskDept != null
and riskDept != ''
"
>
and risk_dept = #{riskDept}
</if>
<if
test=
"riskDept != null"
>
and risk_dept = #{riskDept}
</if>
<if
test=
"riskPerson != null and riskPerson != ''"
>
and risk_person = #{riskPerson}
</if>
<if
test=
"riskPerson != null and riskPerson != ''"
>
and risk_person = #{riskPerson}
</if>
</where>
</where>
</select>
</select>
<select
id=
"selectTRiskManagerById"
parameterType=
"Long"
resultMap=
"TRiskManagerResult"
>
<select
id=
"selectTRiskManagerById"
parameterType=
"Long"
resultMap=
"TRiskManagerResult"
>
<include
refid=
"selectTRiskManagerVo"
/>
<include
refid=
"selectTRiskManagerVo"
/>
where id = #{id}
where id = #{id}
</select>
</select>
<insert
id=
"insertTRiskManager"
parameterType=
"TRiskManager"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertTRiskManager"
parameterType=
"TRiskManager"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into t_risk_manager
insert into t_risk_manager
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
@@ -78,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -78,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
</delete>
<delete
id=
"deleteTRiskManagerByIds"
parameterType=
"String"
>
<delete
id=
"deleteTRiskManagerByIds"
parameterType=
"String"
>
delete from t_risk_manager where id in
delete from t_risk_manager where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
...
...
danger-manage-system/src/main/resources/mapper/system/TSpecialDeviceRecordMapper.xml
View file @
a40306a3
...
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select t.id, t.operate_code, t.operate_type, t.device_code, t.effective_date, t.record_status, t.create_time, t.update_time, t.is_del,
select t.id, t.operate_code, t.operate_type, t.device_code, t.effective_date, t.record_status, t.create_time, t.update_time, t.is_del,
d.device_name, d.device_type
d.device_name, d.device_type
from t_special_device_record t
from t_special_device_record t
left join t_device_info d on t.device_
code = d.device_code
left join t_device_info d on t.device_
id = d.id
</sql>
</sql>
<select
id=
"selectTSpecialDeviceRecordList"
parameterType=
"TSpecialDeviceRecord"
resultMap=
"TSpecialDeviceRecordResult"
>
<select
id=
"selectTSpecialDeviceRecordList"
parameterType=
"TSpecialDeviceRecord"
resultMap=
"TSpecialDeviceRecordResult"
>
...
@@ -54,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -54,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"operateCode != null"
>
operate_code,
</if>
<if
test=
"operateCode != null"
>
operate_code,
</if>
<if
test=
"operateType != null"
>
operate_type,
</if>
<if
test=
"operateType != null"
>
operate_type,
</if>
<if
test=
"deviceCode != null"
>
device_code,
</if>
<if
test=
"deviceCode != null"
>
device_code,
</if>
<if
test=
"deviceId != null"
>
device_id,
</if>
<if
test=
"effectiveDate != null"
>
effective_date,
</if>
<if
test=
"effectiveDate != null"
>
effective_date,
</if>
<if
test=
"recordStatus != null"
>
record_status,
</if>
<if
test=
"recordStatus != null"
>
record_status,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
...
@@ -65,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -65,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"operateCode != null"
>
#{operateCode},
</if>
<if
test=
"operateCode != null"
>
#{operateCode},
</if>
<if
test=
"operateType != null"
>
#{operateType},
</if>
<if
test=
"operateType != null"
>
#{operateType},
</if>
<if
test=
"deviceCode != null"
>
#{deviceCode},
</if>
<if
test=
"deviceCode != null"
>
#{deviceCode},
</if>
<if
test=
"deviceId != null"
>
#{deviceId},
</if>
<if
test=
"effectiveDate != null"
>
#{effectiveDate},
</if>
<if
test=
"effectiveDate != null"
>
#{effectiveDate},
</if>
<if
test=
"recordStatus != null"
>
#{recordStatus},
</if>
<if
test=
"recordStatus != null"
>
#{recordStatus},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
...
@@ -78,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -78,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim
prefix=
"SET"
suffixOverrides=
","
>
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"operateType != null"
>
operate_type = #{operateType},
</if>
<if
test=
"operateType != null"
>
operate_type = #{operateType},
</if>
<if
test=
"deviceCode != null"
>
device_code = #{deviceCode},
</if>
<if
test=
"deviceCode != null"
>
device_code = #{deviceCode},
</if>
<if
test=
"deviceId != null"
>
device_id = #{deviceId},
</if>
<if
test=
"effectiveDate != null"
>
effective_date = #{effectiveDate},
</if>
<if
test=
"effectiveDate != null"
>
effective_date = #{effectiveDate},
</if>
<if
test=
"recordStatus != null"
>
record_status = #{recordStatus},
</if>
<if
test=
"recordStatus != null"
>
record_status = #{recordStatus},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
...
...
danger-manage-system/src/main/resources/mapper/system/TStaffMapper.xml
View file @
a40306a3
...
@@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_post p on t.post_id = p.post_id
left join sys_post p on t.post_id = p.post_id
<where>
t.is_del = '0' and t.user_staff='1'
<where>
t.is_del = '0' and t.user_staff='1'
<if
test=
"staffName != null and staffName != ''"
>
and t.staff_name like concat('%', #{staffName}, '%')
</if>
<if
test=
"staffName != null and staffName != ''"
>
and t.staff_name like concat('%', #{staffName}, '%')
</if>
<if
test=
"staffCode != null and staffCode != ''"
>
and t.staff_code
= #{staffCode}
</if>
<if
test=
"staffCode != null and staffCode != ''"
>
and t.staff_code
like concat('%', #{staffCode}, '%')
</if>
<if
test=
"sex != null and sex != ''"
>
and t.sex = #{sex}
</if>
<if
test=
"sex != null and sex != ''"
>
and t.sex = #{sex}
</if>
<if
test=
"deptId != null "
>
and t.dept_id = #{deptId}
</if>
<if
test=
"deptId != null "
>
and t.dept_id = #{deptId}
</if>
<if
test=
"phonenumber != null and phonenumber != ''"
>
<if
test=
"phonenumber != null and phonenumber != ''"
>
...
@@ -63,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -63,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND date_format(t.create_time,'%y%m%d')
<
= date_format(#{params.endTime},'%y%m%d')
AND date_format(t.create_time,'%y%m%d')
<
= date_format(#{params.endTime},'%y%m%d')
</if>
</if>
</where>
</where>
group by t.user_id desc
</select>
</select>
<select
id=
"selectTStaffById"
parameterType=
"Long"
resultMap=
"TStaffResult"
>
<select
id=
"selectTStaffById"
parameterType=
"Long"
resultMap=
"TStaffResult"
>
...
...
danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml
View file @
a40306a3
...
@@ -56,8 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -56,8 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN t_staff s3 ON b.`person_liable` = s3.`staff_id`
LEFT JOIN t_staff s3 ON b.`person_liable` = s3.`staff_id`
LEFT JOIN sys_dept d ON d.`dept_id` = b.`dept_id`
LEFT JOIN sys_dept d ON d.`dept_id` = b.`dept_id`
<where>
<where>
AND s1.dept_id in
<foreach
collection=
"deptList"
item=
"deptId"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"deptList"
item=
"deptId"
open=
"
AND s1.dept_id in
("
separator=
","
close=
")"
>
#{deptId}
#{deptId}
</foreach>
</foreach>
<if
test=
"troubleName != null and troubleName != ''"
>
and b.trouble_name like concat('%', #{troubleName}, '%')
</if>
<if
test=
"troubleName != null and troubleName != ''"
>
and b.trouble_name like concat('%', #{troubleName}, '%')
</if>
...
...
danger-manage-system/src/main/resources/mapper/system/TTrainCourseBankMapper.xml
0 → 100644
View file @
a40306a3
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.TTrainCourseBankMapper"
>
<resultMap
type=
"TTrainCourseBank"
id=
"TTrainCourseBankResult"
>
<result
property=
"bankId"
column=
"bank_id"
/>
<result
property=
"deptId"
column=
"dept_id"
/>
<result
property=
"bankName"
column=
"bank_name"
/>
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
</resultMap>
<sql
id=
"selectTTrainCourseBankVo"
>
select bank_id, dept_id, bank_name, is_del, create_by, create_time, update_by, update_time from t_train_course_bank
</sql>
<select
id=
"selectTTrainCourseBankList"
parameterType=
"TTrainCourseBank"
resultMap=
"TTrainCourseBankResult"
>
<include
refid=
"selectTTrainCourseBankVo"
/>
<where>
<if
test=
"bankName != null and bankName != ''"
>
and bank_name like concat('%', #{bankName}, '%')
</if>
</where>
</select>
<select
id=
"selectTTrainCourseBankById"
parameterType=
"Long"
resultMap=
"TTrainCourseBankResult"
>
<include
refid=
"selectTTrainCourseBankVo"
/>
where bank_id = #{bankId}
</select>
<insert
id=
"insertTTrainCourseBank"
parameterType=
"TTrainCourseBank"
useGeneratedKeys=
"true"
keyProperty=
"bankId"
>
insert into t_train_course_bank
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"deptId != null"
>
dept_id,
</if>
<if
test=
"bankName != null"
>
bank_name,
</if>
<if
test=
"isDel != null"
>
is_del,
</if>
<if
test=
"createBy != null"
>
create_by,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"deptId != null"
>
#{deptId},
</if>
<if
test=
"bankName != null"
>
#{bankName},
</if>
<if
test=
"isDel != null"
>
#{isDel},
</if>
<if
test=
"createBy != null"
>
#{createBy},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"updateBy != null"
>
#{updateBy},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
</trim>
</insert>
<update
id=
"updateTTrainCourseBank"
parameterType=
"TTrainCourseBank"
>
update t_train_course_bank
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"deptId != null"
>
dept_id = #{deptId},
</if>
<if
test=
"bankName != null"
>
bank_name = #{bankName},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
<if
test=
"createBy != null"
>
create_by = #{createBy},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
</trim>
where bank_id = #{bankId}
</update>
<delete
id=
"deleteTTrainCourseBankById"
parameterType=
"Long"
>
delete from t_train_course_bank where bank_id = #{bankId}
</delete>
<delete
id=
"deleteTTrainCourseBankByIds"
parameterType=
"String"
>
delete from t_train_course_bank where bank_id in
<foreach
item=
"bankId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{bankId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
danger-manage-system/src/main/resources/mapper/system/TWorkPermitMapper.xml
View file @
a40306a3
...
@@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<where>
(
(
permit.link_man = #{currentLoginUser}
permit.link_man = #{currentLoginUser}
OR sign.s
ign
_id = #{currentLoginUser}
OR sign.s
taff
_id = #{currentLoginUser}
)
)
<if
test=
"applyDept != null and applyDept != ''"
>
and apply_dept like concat('%', #{applyDept}, '%')
</if>
<if
test=
"applyDept != null and applyDept != ''"
>
and apply_dept like concat('%', #{applyDept}, '%')
</if>
<if
test=
"linkMan != null and linkMan != ''"
>
and link_man = #{linkMan}
</if>
<if
test=
"linkMan != null and linkMan != ''"
>
and link_man = #{linkMan}
</if>
...
...
danger-manage-web/src/api/system/questionBank.js
0 → 100644
View file @
a40306a3
import
request
from
'@/utils/request'
// 查询bank列表
export
function
listBank
(
query
)
{
return
request
({
url
:
'/system/bank/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询bank详细
export
function
getBank
(
bankId
)
{
return
request
({
url
:
'/system/bank/'
+
bankId
,
method
:
'get'
})
}
// 新增bank
export
function
addBank
(
data
)
{
return
request
({
url
:
'/system/bank'
,
method
:
'post'
,
data
:
data
})
}
// 修改bank
export
function
updateBank
(
data
)
{
return
request
({
url
:
'/system/bank'
,
method
:
'put'
,
data
:
data
})
}
// 删除bank
export
function
delBank
(
bankId
)
{
return
request
({
url
:
'/system/bank/'
+
bankId
,
method
:
'delete'
})
}
// 导出bank
export
function
exportBank
(
query
)
{
return
request
({
url
:
'/system/bank/export'
,
method
:
'get'
,
params
:
query
})
}
\ No newline at end of file
danger-manage-web/src/components/DangerousMark/NewWorkPermitDetail.vue
View file @
a40306a3
...
@@ -50,17 +50,18 @@
...
@@ -50,17 +50,18 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
rowspan=
"
4
"
colspan=
"2"
>
批准人填写
</td>
<td
rowspan=
"
3
"
colspan=
"2"
>
批准人填写
</td>
<td
rowspan=
"
4
"
colspan=
"2"
>
许可证
</td>
<td
rowspan=
"
3
"
colspan=
"2"
>
许可证
</td>
<td
colspan=
"6"
style=
"text-align: left"
>
是否需要进一步的JSA:
<input
disabled
type=
"checkbox"
v-model=
"licenceInfo.jsa.yes"
/>
否
<input
type=
"checkbox"
disabled
v-model=
"licenceInfo.jsa.no"
/>
是 JSA[
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.jsa.num"
style=
"width: 250px"
placeholder=
"填写JSA编号"
/>
]
</td>
<td
colspan=
"6"
style=
"text-align: left"
>
是否需要进一步的JSA:
<input
disabled
type=
"checkbox"
v-model=
"licenceInfo.jsa.yes"
/>
否
<input
type=
"checkbox"
disabled
v-model=
"licenceInfo.jsa.no"
/>
是 JSA[
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.jsa.num"
style=
"width: 250px"
placeholder=
"填写JSA编号"
/>
]
</td>
</tr>
</tr>
<tr>
<
!--
<
tr>
<td
colspan=
"6"
style=
"text-align: left"
><input
disabled
type=
"checkbox"
v-model=
"licenceInfo.specialLicence"
/>
0无需特殊工作许可
</td>
<td
colspan=
"6"
style=
"text-align: left"
><input
disabled
type=
"checkbox"
v-model=
"licenceInfo.specialLicence"
/>
0无需特殊工作许可
</td>
</tr>
</tr>
-->
<tr>
<tr>
<td
colspan=
"6"
style=
"text-align: left"
>
<td
colspan=
"6"
style=
"text-align: left"
>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.lockListing.isChecked"
/>
1-1锁定挂牌记录表 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.lockListing.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<!--
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.lockListing.isChecked"
/>
1-1锁定挂牌记录表 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.lockListing.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.blindPlate.isChecked"
/>
1-2盲板抽堵作业许可 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.blindPlate.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.blindPlate.isChecked"
/>
1-2盲板抽堵作业许可 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.blindPlate.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
-->
<input
type=
"checkbox"
disabled
v-model=
"licenceInfo.blindPlate.isChecked"
/>
1盲板抽堵作业许可 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.blindPlate.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -68,10 +69,10 @@
...
@@ -68,10 +69,10 @@
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.flareUp.isChecked"
/>
2动火作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.flareUp.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.flareUp.isChecked"
/>
2动火作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.flareUp.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.heightWork.isChecked"
/>
3高处作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.heightWork.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.heightWork.isChecked"
/>
3高处作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.heightWork.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.breakGround.isChecked"
/>
4动土作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.breakGround.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.breakGround.isChecked"
/>
4动土作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.breakGround.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.hoisting.isChecked"
/>
5吊装作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.hoisting.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<
!--
<
div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.hoisting.isChecked"
/>
5吊装作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.hoisting.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.limitSpace.isChecked"
/>
6受限空间作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.limitSpace.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.limitSpace.isChecked"
/>
6受限空间作业许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.limitSpace.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.electricityUse.isChecked"
/>
7临时用电许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.electricityUse.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.electricityUse.isChecked"
/>
7临时用电许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.electricityUse.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.ray.isChecked"
/>
8射线探伤许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.ray.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
<div><input
type=
"checkbox"
disabled
v-model=
"licenceInfo.ray.isChecked"
/>
8射线探伤许可证 [
<input
class=
"editInput"
disabled
v-model=
"licenceInfo.ray.num"
style=
"width: 250px"
placeholder=
"填写编号"
/>
]
</div>
-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
danger-manage-web/src/components/NewSaftyWork/BlindPlate.vue
View file @
a40306a3
...
@@ -229,7 +229,7 @@
...
@@ -229,7 +229,7 @@
<td
colspan=
"3"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"3"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"3"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"3"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"1"
>
签字:
</td>
<td
colspan=
"1"
>
签字:
</td>
<td
colspan=
"2"
><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1
"
:width=
"918"
:height=
"10
0"
/></td>
<td
colspan=
"2"
><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1
&& item.staffId == $store.state.user.userId"
:width=
"918"
:height=
"18
0"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) ==1"
>
<td
colspan=
"2"
v-if=
"(applyStatus-0) ==1"
>
<el-date-picker
clearable
size=
"small"
<el-date-picker
clearable
size=
"small"
v-model=
"item.signDate"
v-model=
"item.signDate"
...
@@ -267,9 +267,9 @@
...
@@ -267,9 +267,9 @@
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in leaderUserList"
v-for=
"item in leaderUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -295,9 +295,9 @@
...
@@ -295,9 +295,9 @@
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in workUserList"
v-for=
"item in workUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -323,9 +323,9 @@
...
@@ -323,9 +323,9 @@
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in auditUserList"
v-for=
"item in auditUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -351,9 +351,9 @@
...
@@ -351,9 +351,9 @@
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in approvalUserList"
v-for=
"item in approvalUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -379,9 +379,9 @@
...
@@ -379,9 +379,9 @@
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in completeUserList"
v-for=
"item in completeUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -403,7 +403,8 @@
...
@@ -403,7 +403,8 @@
<
script
>
<
script
>
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listUser
}
from
"@/api/system/user"
;
//import { listUser } from "@/api/system/user";
import
{
listStaff
}
from
"@/api/safetyManagement/staff"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
...
@@ -529,7 +530,7 @@
...
@@ -529,7 +530,7 @@
},
},
//部门切换
//部门切换
switchDept
(
deptId
,
type
){
switchDept
(
deptId
,
type
){
list
User
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
list
Staff
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
if
(
type
==
1
){
if
(
type
==
1
){
this
.
leaderUserList
=
response
.
rows
;
this
.
leaderUserList
=
response
.
rows
;
}
}
...
...
danger-manage-web/src/components/NewSaftyWork/BreakGround.vue
View file @
a40306a3
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
<td
colspan=
"2"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td>
签字:
</td>
<td>
签字:
</td>
<td><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1"
:width=
"918"
:height=
"100"
/></td>
<td><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1
&& item.staffId == $store.state.user.userId
"
:width=
"918"
:height=
"100"
/></td>
<td
v-if=
"(applyStatus-0) ==1"
>
<td
v-if=
"(applyStatus-0) ==1"
>
<el-date-picker
clearable
size=
"small"
<el-date-picker
clearable
size=
"small"
v-model=
"item.signDate"
v-model=
"item.signDate"
...
@@ -277,9 +277,9 @@
...
@@ -277,9 +277,9 @@
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in leaderUserList"
v-for=
"item in leaderUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -305,9 +305,9 @@
...
@@ -305,9 +305,9 @@
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in workUserList"
v-for=
"item in workUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -333,9 +333,9 @@
...
@@ -333,9 +333,9 @@
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in auditUserList"
v-for=
"item in auditUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -361,9 +361,9 @@
...
@@ -361,9 +361,9 @@
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in approvalUserList"
v-for=
"item in approvalUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -389,9 +389,9 @@
...
@@ -389,9 +389,9 @@
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in completeUserList"
v-for=
"item in completeUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -413,7 +413,8 @@
...
@@ -413,7 +413,8 @@
<
script
>
<
script
>
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listUser
}
from
"@/api/system/user"
;
//import { listUser } from "@/api/system/user";
import
{
listStaff
}
from
"@/api/safetyManagement/staff"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
...
@@ -536,7 +537,7 @@
...
@@ -536,7 +537,7 @@
},
},
//部门切换
//部门切换
switchDept
(
deptId
,
type
){
switchDept
(
deptId
,
type
){
list
User
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
list
Staff
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
if
(
type
==
1
){
if
(
type
==
1
){
this
.
leaderUserList
=
response
.
rows
;
this
.
leaderUserList
=
response
.
rows
;
}
}
...
...
danger-manage-web/src/components/NewSaftyWork/FlareUp.vue
View file @
a40306a3
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
<td
colspan=
"6"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"6"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"6"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"6"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
>
签字:
</td>
<td
colspan=
"2"
>
签字:
</td>
<td
colspan=
"4"
><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1"
:width=
"918"
:height=
"100"
/></td>
<td
colspan=
"4"
><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1
&& item.staffId == $store.state.user.userId
"
:width=
"918"
:height=
"100"
/></td>
<td
colspan=
"4"
v-if=
"(applyStatus-0) ==1"
>
<td
colspan=
"4"
v-if=
"(applyStatus-0) ==1"
>
<el-date-picker
clearable
size=
"small"
<el-date-picker
clearable
size=
"small"
v-model=
"item.signDate"
v-model=
"item.signDate"
...
@@ -373,9 +373,9 @@
...
@@ -373,9 +373,9 @@
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in leaderUserList"
v-for=
"item in leaderUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -401,9 +401,9 @@
...
@@ -401,9 +401,9 @@
<el-select
v-model=
"beyondUnitAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"beyondUnitAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in beyondUnitUserList"
v-for=
"item in beyondUnitUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -429,9 +429,9 @@
...
@@ -429,9 +429,9 @@
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in auditDeptUserList"
v-for=
"item in auditDeptUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -457,9 +457,9 @@
...
@@ -457,9 +457,9 @@
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in approvalUserList"
v-for=
"item in approvalUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -485,9 +485,9 @@
...
@@ -485,9 +485,9 @@
<el-select
v-model=
"fireBeforeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"fireBeforeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in fireBeforeUserList"
v-for=
"item in fireBeforeUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -513,9 +513,9 @@
...
@@ -513,9 +513,9 @@
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in completeUserList"
v-for=
"item in completeUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -537,7 +537,8 @@
...
@@ -537,7 +537,8 @@
<
script
>
<
script
>
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listUser
}
from
"@/api/system/user"
;
//import { listUser } from "@/api/system/user";
import
{
listStaff
}
from
"@/api/safetyManagement/staff"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
...
@@ -731,7 +732,7 @@
...
@@ -731,7 +732,7 @@
},
},
//部门切换
//部门切换
switchDept
(
deptId
,
type
){
switchDept
(
deptId
,
type
){
list
User
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
list
Staff
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
if
(
type
==
1
){
if
(
type
==
1
){
this
.
leaderUserList
=
response
.
rows
;
this
.
leaderUserList
=
response
.
rows
;
}
}
...
...
danger-manage-web/src/components/NewSaftyWork/HeightWork.vue
View file @
a40306a3
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
<td
colspan=
"2"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) ==1"
><input
:disabled=
"item.staffId != $store.state.user.userId"
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td
colspan=
"2"
v-if=
"(applyStatus-0) !=1"
><input
disabled
v-model=
"item.opinion"
class=
"editInput"
/></td>
<td>
签字:
</td>
<td>
签字:
</td>
<td><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1"
:width=
"918"
:height=
"100"
/></td>
<td><NewEsign
:resultImg
.
sync =
"item.signName"
:isDisabled=
"item.staffId != $store.state.user.userId"
:isReWrite=
"(applyStatus-0) ==1
&& item.staffId == $store.state.user.userId
"
:width=
"918"
:height=
"100"
/></td>
<td
v-if=
"(applyStatus-0) ==1"
>
<td
v-if=
"(applyStatus-0) ==1"
>
<el-date-picker
clearable
size=
"small"
<el-date-picker
clearable
size=
"small"
v-model=
"item.signDate"
v-model=
"item.signDate"
...
@@ -292,9 +292,9 @@
...
@@ -292,9 +292,9 @@
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"leaderAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in leaderUserList"
v-for=
"item in leaderUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -320,9 +320,9 @@
...
@@ -320,9 +320,9 @@
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"workAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in workUserList"
v-for=
"item in workUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -348,9 +348,9 @@
...
@@ -348,9 +348,9 @@
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"auditDeptAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in auditUserList"
v-for=
"item in auditUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -376,9 +376,9 @@
...
@@ -376,9 +376,9 @@
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"approvalAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in approvalUserList"
v-for=
"item in approvalUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -404,9 +404,9 @@
...
@@ -404,9 +404,9 @@
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-select
v-model=
"completeAuditor"
filterable
placeholder=
"请选择审核人"
>
<el-option
<el-option
v-for=
"item in completeUserList"
v-for=
"item in completeUserList"
:key=
"item.
user
Id"
:key=
"item.
staff
Id"
:label=
"item.
nick
Name"
:label=
"item.
staff
Name"
:value=
"item.
user
Id"
:value=
"item.
staff
Id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -429,7 +429,8 @@
...
@@ -429,7 +429,8 @@
<
script
>
<
script
>
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
listUser
}
from
"@/api/system/user"
;
//import { listUser } from "@/api/system/user";
import
{
listStaff
}
from
"@/api/safetyManagement/staff"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSpecialPermit
,
getSpecialWorkPermitByWorkPermitId
}
from
"@/api/workPermit/specialPermit"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
addSign
,
listSign
,
batchUpdateSignWorkPermit
}
from
"@/api/workPermit/workPermitSign"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
import
{
judgeSignUpdateTWorkPermit
}
from
"@/api/workPermit/permit"
;
...
@@ -557,7 +558,7 @@
...
@@ -557,7 +558,7 @@
},
},
//部门切换
//部门切换
switchDept
(
deptId
,
type
){
switchDept
(
deptId
,
type
){
list
User
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
list
Staff
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
deptId
}).
then
(
response
=>
{
if
(
type
==
1
){
if
(
type
==
1
){
this
.
leaderUserList
=
response
.
rows
;
this
.
leaderUserList
=
response
.
rows
;
}
}
...
...
danger-manage-web/src/components/SaftyWork/NewEsign.vue
View file @
a40306a3
<
template
>
<
template
>
<div>
<div>
<input
class=
"editInput"
placeholder=
"请签名"
:disabled=
"isDisabled"
v-if=
"resultImg == '' || resultImg == null"
@
click=
"signName"
/>
<input
class=
"editInput"
placeholder=
"请签名"
:disabled=
"isDisabled"
v-if=
"resultImg == '' || resultImg == null"
@
click=
"signName"
/>
<el-dialog
title=
"签名"
:visible
.
sync=
"signOpen"
:close-on-click-modal=
"false"
:z-index=
"20
00"
>
<el-dialog
title=
"签名"
:visible
.
sync=
"signOpen"
:close-on-click-modal=
"false"
append-to-body
:z-index=
"18
00"
>
<div
style=
"border: 1px solid #cccccc"
>
<div
style=
"border: 1px solid #cccccc"
>
<vue-esign
ref=
"esign"
:width=
"width"
:height=
"height"
:isCrop=
"isCrop"
:lineWidth=
"lineWidth"
:lineColor=
"lineColor"
:bgColor
.
sync=
"bgColor"
/>
<vue-esign
ref=
"esign"
:width=
"width"
:height=
"height"
:isCrop=
"isCrop"
:lineWidth=
"lineWidth"
:lineColor=
"lineColor"
:bgColor
.
sync=
"bgColor"
/>
<div
style=
"text-align: right"
>
</div
>
<button
@
click=
"handleReset"
style=
"margin-right: 2px"
>
清空
</button
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
@
click=
"handleGenerate"
>
确定
</
button>
<el-button
type=
"primary"
@
click=
"handleGenerate"
>
确定
</el-
button>
<
/div
>
<
el-button
@
click=
"handleReset"
style=
"margin-right: 2px"
>
清空
</el-button
>
</div>
</div>
</el-dialog>
</el-dialog>
<div>
<div>
...
...
danger-manage-web/src/views/contractor/contractorInfo/index.vue
View file @
a40306a3
...
@@ -51,13 +51,27 @@
...
@@ -51,13 +51,27 @@
<el-table
v-loading=
"loading"
:data=
"contractorInfoList"
>
<el-table
v-loading=
"loading"
:data=
"contractorInfoList"
>
<el-table-column
label=
"单位名称"
align=
"center"
prop=
"contractorName"
/>
<el-table-column
label=
"单位名称"
align=
"center"
prop=
"contractorName"
/>
<el-table-column
label=
"主要负责人"
align=
"center"
prop=
"keyPerson"
/>
<el-table-column
label=
"主要负责人"
align=
"center"
prop=
"keyPerson"
>
<el-table-column
label=
"主要负责人手机"
align=
"center"
prop=
"keyPersonPhone"
/>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.keyPerson != null && scope.row.keyPerson != ''"
>
{{
scope
.
row
.
keyPerson
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"主要负责人手机"
align=
"center"
prop=
"keyPersonPhone"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.keyPersonPhone != null && scope.row.keyPersonPhone != ''"
>
{{
scope
.
row
.
keyPersonPhone
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"单位资质"
align=
"center"
prop=
"certificateUrl"
style=
"text-align:center;"
>
<el-table-column
label=
"单位资质"
align=
"center"
prop=
"certificateUrl"
style=
"text-align:center;"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.certificateUrl != null && scope.row.certificateUrl != ''"
>
<span
v-if=
"scope.row.certificateUrl != null && scope.row.certificateUrl != ''"
>
<img
:src=
"scope.row.certificateUrl"
style=
"width: 20%;vertical-align:middle;cursor:pointer;"
@
click=
"showPicture(scope.row)"
/>
<img
:src=
"scope.row.certificateUrl"
style=
"width: 20%;vertical-align:middle;cursor:pointer;"
@
click=
"showPicture(scope.row)"
/>
<el-image
:ref=
"'a'+scope.row.id"
:src=
"scope.row.certificateUrl"
v-show=
"false"
:preview-src-list=
"[scope.row.certificateUrl]"
v-if=
"scope.row.certificateUrl != '' && scope.row.certificateUrl != null"
></el-image>
<el-image
:ref=
"'a'+scope.row.id"
:src=
"scope.row.certificateUrl"
v-show=
"false"
:preview-src-list=
"[scope.row.certificateUrl]"
v-if=
"scope.row.certificateUrl != '' && scope.row.certificateUrl != null"
></el-image>
</span>
</span>
<span
v-else
>
<span
v-else
>
-
-
...
...
danger-manage-web/src/views/deviceManagement/deviceInfo/index.vue
View file @
a40306a3
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否
特种设备"
prop=
"isSpecia
l"
>
<el-form-item
label=
"是否
报废"
prop=
"isCance
l"
>
<el-select
v-model=
"queryParams.is
Special"
placeholder=
"请选择是否特种设备
"
clearable
size=
"small"
>
<el-select
v-model=
"queryParams.is
Cancel"
placeholder=
"请选择是否报废
"
clearable
size=
"small"
>
<el-option
label=
"否"
value=
"0"
/>
<el-option
label=
"否"
value=
"0"
/>
<el-option
label=
"是"
value=
"1"
/>
<el-option
label=
"是"
value=
"1"
/>
</el-select>
</el-select>
...
@@ -74,25 +74,52 @@
...
@@ -74,25 +74,52 @@
</el-row>
</el-row>
<el-table
v-loading=
"loading"
:data=
"deviceInfoList"
>
<el-table
v-loading=
"loading"
:data=
"deviceInfoList"
>
<el-table-column
label=
"设备编码"
align=
"center"
prop=
"deviceCode"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备类型"
align=
"center"
prop=
"deviceType"
:formatter=
"typeFormat"
/>
<el-table-column
label=
"设备编码"
align=
"center"
prop=
"deviceCode"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.deviceCode == '' || scope.row.deviceCode == null"
>
-
</span>
<span
v-else
>
{{
scope
.
row
.
deviceCode
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"设备类型"
align=
"center"
prop=
"deviceType"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.deviceType == '' || scope.row.deviceType == null"
>
-
</span>
<span
v-if=
"scope.row.deviceType == '1'"
>
液位探测器
</span>
<span
v-if=
"scope.row.deviceType == '2'"
>
气体探测器
</span>
<span
v-if=
"scope.row.deviceType == '3'"
>
液压力探测器
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"设备等级"
align=
"center"
prop=
"deviceGrade"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.deviceGrade == '' || scope.row.deviceGrade == null"
>
-
</span>
<span
v-if=
"scope.row.deviceGrade == '1'"
>
一级危险源
</span>
<span
v-if=
"scope.row.deviceGrade == '2'"
>
二级危险源
</span>
<span
v-if=
"scope.row.deviceGrade == '3'"
>
三级危险源
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"设备状态"
align=
"center"
prop=
"deviceStatus"
:formatter=
"statusFormat"
/>
<el-table-column
label=
"设备状态"
align=
"center"
prop=
"deviceStatus"
:formatter=
"statusFormat"
/>
<el-table-column
label=
"设备等级"
align=
"center"
prop=
"deviceGrade"
:formatter=
"gradeFormat"
/>
<el-table-column
label=
"是否报废"
align=
"center"
prop=
"isCancel"
>
<el-table-column
label=
"是否特种设备"
align=
"center"
prop=
"isSpecial"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.is
Specia
l == '0'"
>
否
</span>
<span
v-if=
"scope.row.is
Cance
l == '0'"
>
否
</span>
<span
v-if=
"scope.row.is
Specia
l == '1'"
>
是
</span>
<span
v-if=
"scope.row.is
Cance
l == '1'"
>
是
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
v-if=
"scope.row.isCancel=='0'"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
>
修改
</el-button>
<el-button
v-if=
"scope.row.isCancel=='0'"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleCancel(scope.row)"
>
报废
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -153,22 +180,22 @@
...
@@ -153,22 +180,22 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"11"
>
<
!--<
el-col :span="11">
<el-form-item label="是否特种设备" prop="isSpecial">
<el-form-item label="是否特种设备" prop="isSpecial">
<el-select v-model="form.isSpecial" placeholder="请选择是否特种设备" clearable size="small" style="width: 100%">
<el-select v-model="form.isSpecial" placeholder="请选择是否特种设备" clearable size="small" style="width: 100%">
<el-option label="否" value="0" />
<el-option label="否" value="0" />
<el-option label="是" value="1" />
<el-option label="是" value="1" />
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>-->
<el-col
:span=
"12"
>
</el-row>
<el-row>
<el-col
:span=
"11"
>
<el-form-item
label=
"位号"
prop=
"tagNumber"
>
<el-form-item
label=
"位号"
prop=
"tagNumber"
>
<el-input
v-model=
"form.tagNumber"
placeholder=
"请输入位号"
/>
<el-input
v-model=
"form.tagNumber"
placeholder=
"请输入位号"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"23"
>
<el-form-item
label=
"安装位置"
prop=
"installLocation"
>
<el-form-item
label=
"安装位置"
prop=
"installLocation"
>
<el-input
v-model=
"form.installLocation"
placeholder=
"请输入安装位置"
/>
<el-input
v-model=
"form.installLocation"
placeholder=
"请输入安装位置"
/>
</el-form-item>
</el-form-item>
...
@@ -272,7 +299,8 @@ export default {
...
@@ -272,7 +299,8 @@ export default {
deviceType
:
null
,
deviceType
:
null
,
tagNumber
:
null
,
tagNumber
:
null
,
deviceGrade
:
null
,
deviceGrade
:
null
,
isSpecial
:
null
,
isSpecial
:
"0"
,
isCancel
:
null
,
responsiblePhone
:
null
,
responsiblePhone
:
null
,
},
},
// 设备导入参数
// 设备导入参数
...
@@ -297,7 +325,7 @@ export default {
...
@@ -297,7 +325,7 @@ export default {
deviceName
:
[
deviceName
:
[
{
required
:
true
,
message
:
"请输入设备名称"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请输入设备名称"
,
trigger
:
"blur"
}
],
],
deviceCode
:
[
/*
deviceCode: [
{ required: true, message: "请输入设备编号", trigger: "blur" }
{ required: true, message: "请输入设备编号", trigger: "blur" }
],
],
deviceType: [
deviceType: [
...
@@ -305,10 +333,10 @@ export default {
...
@@ -305,10 +333,10 @@ export default {
],
],
deviceGrade: [
deviceGrade: [
{ required: true, message: "请选择设备等级", trigger: "blur" }
{ required: true, message: "请选择设备等级", trigger: "blur" }
],
],
*/
isSpecial
:
[
/*
isSpecial: [
{ required: true, message: "请选择是否特种装备", trigger: "blur" }
{ required: true, message: "请选择是否特种装备", trigger: "blur" }
],
],
*/
}
}
};
};
},
},
...
@@ -362,7 +390,7 @@ export default {
...
@@ -362,7 +390,7 @@ export default {
tagNumber
:
null
,
tagNumber
:
null
,
deviceGrade
:
null
,
deviceGrade
:
null
,
installLocation
:
null
,
installLocation
:
null
,
isSpecial
:
null
,
isSpecial
:
"0"
,
responsiblePerson
:
null
,
responsiblePerson
:
null
,
responsiblePhone
:
null
,
responsiblePhone
:
null
,
createTime
:
null
,
createTime
:
null
,
...
@@ -408,6 +436,7 @@ export default {
...
@@ -408,6 +436,7 @@ export default {
this
.
getList
();
this
.
getList
();
});
});
}
else
{
}
else
{
this
.
form
.
isSpecial
=
"0"
;
addDeviceInfo
(
this
.
form
).
then
(
response
=>
{
addDeviceInfo
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
...
@@ -417,6 +446,21 @@ export default {
...
@@ -417,6 +446,21 @@ export default {
}
}
});
});
},
},
/** 报废报废按钮操作 */
handleCancel
(
row
)
{
// const ids = row.id || this.ids;
this
.
$confirm
(
'是否确认将"'
+
row
.
deviceName
+
'"报废?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
row
.
isCancel
=
'1'
;
return
updateDeviceInfo
(
row
);
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"报废成功"
);
}).
catch
(()
=>
{});
},
/** 删除按钮操作 */
/** 删除按钮操作 */
handleDelete
(
row
)
{
handleDelete
(
row
)
{
// const ids = row.id || this.ids;
// const ids = row.id || this.ids;
...
...
danger-manage-web/src/views/deviceManagement/repairOrder/index.vue
View file @
a40306a3
...
@@ -67,8 +67,13 @@
...
@@ -67,8 +67,13 @@
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"deviceCode"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"deviceCode"
/>
<el-table-column
label=
"现场照片"
align=
"center"
prop=
"fileUrl"
>
<el-table-column
label=
"现场照片"
align=
"center"
prop=
"fileUrl"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<img
:src=
"scope.row.fileUrl"
style=
"width: 20%;vertical-align:middle;cursor:pointer;"
@
click=
"showPicture(scope.row)"
/>
<span
v-if=
"scope.row.fileUrl != null && scope.row.fileUrl != ''"
>
<el-image
:ref=
"'a'+scope.row.id"
:src=
"scope.row.fileUrl"
v-show=
"false"
:preview-src-list=
"[scope.row.fileUrl]"
v-if=
"scope.row.fileUrl != '' && scope.row.fileUrl != null"
></el-image>
<img
:src=
"scope.row.fileUrl"
style=
"width: 20%;vertical-align:middle;cursor:pointer;"
@
click=
"showPicture(scope.row)"
/>
<el-image
:ref=
"'a'+scope.row.id"
:src=
"scope.row.fileUrl"
v-show=
"false"
:preview-src-list=
"[scope.row.fileUrl]"
v-if=
"scope.row.fileUrl != '' && scope.row.fileUrl != null"
></el-image>
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"故障描述"
align=
"center"
prop=
"troubleDescribe"
/>
<el-table-column
label=
"故障描述"
align=
"center"
prop=
"troubleDescribe"
/>
...
...
danger-manage-web/src/views/deviceManagement/specialDeviceInfo/index.vue
0 → 100644
View file @
a40306a3
This diff is collapsed.
Click to expand it.
danger-manage-web/src/views/deviceManagement/specialDeviceRecord/index.vue
View file @
a40306a3
...
@@ -41,15 +41,23 @@
...
@@ -41,15 +41,23 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"deviceCode"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"deviceCode"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.deviceCode == '' || scope.row.deviceCode == null"
>
-
</span>
<span
v-else
>
{{
scope
.
row
.
deviceCode
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"登记有效日期"
align=
"center"
prop=
"effectiveDate"
width=
"180"
>
<el-table-column
label=
"登记有效日期"
align=
"center"
prop=
"effectiveDate"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.effectiveDate != null && scope.row.effectiveDate != '' && getDays(scope.row.effectiveDate, new Date())
<30
"
style=
"color: red;"
>
<span
v-if=
"scope.row.effectiveDate != null && scope.row.effectiveDate != '' && getDays(scope.row.effectiveDate, new Date())
<30
&&
getDays
(
scope
.
row
.
effectiveDate
,
new
Date
())
>
0" style="color: red;">
{{
scope
.
row
.
effectiveDate
}}
(即将到期)
{{
scope
.
row
.
effectiveDate
}}
(即将到期)
</span>
</span>
<span
v-if=
"scope.row.effectiveDate != null && scope.row.effectiveDate != '' && getDays(scope.row.effectiveDate, new Date())
<0
"
style=
"color: red;"
>
{{
scope
.
row
.
effectiveDate
}}
(已逾期)
</span>
<span
v-if=
"scope.row.effectiveDate != null && scope.row.effectiveDate != '' && getDays(scope.row.effectiveDate, new Date())>30"
>
<span
v-if=
"scope.row.effectiveDate != null && scope.row.effectiveDate != '' && getDays(scope.row.effectiveDate, new Date())>30"
>
{{
scope
.
row
.
effectiveDate
}}
{{
scope
.
row
.
effectiveDate
}}
</span>
</span>
<span
v-if=
"scope.row.effectiveDate == null || scope.row.effectiveDate == ''"
>
-
</span>
<span
v-if=
"scope.row.effectiveDate == null || scope.row.effectiveDate == ''"
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
danger-manage-web/src/views/emergency/crew/index.vue
View file @
a40306a3
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
icon=
"el-icon-plus"
icon=
"el-icon-plus"
size=
"mini"
size=
"mini"
@
click=
"handleAdd"
@
click=
"handleAdd"
v-hasPermi=
"['emergency:crew:add']"
>
新增
</el-button>
>
新增
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
...
@@ -54,7 +53,6 @@
...
@@ -54,7 +53,6 @@
size=
"mini"
size=
"mini"
:disabled=
"single"
:disabled=
"single"
@
click=
"handleUpdate"
@
click=
"handleUpdate"
v-hasPermi=
"['emergency:crew:edit']"
>
修改
</el-button>
>
修改
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
...
@@ -65,7 +63,6 @@
...
@@ -65,7 +63,6 @@
size=
"mini"
size=
"mini"
:disabled=
"multiple"
:disabled=
"multiple"
@
click=
"handleDelete"
@
click=
"handleDelete"
v-hasPermi=
"['emergency:crew:remove']"
>
删除
</el-button>
>
删除
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
...
@@ -76,7 +73,6 @@
...
@@ -76,7 +73,6 @@
size=
"mini"
size=
"mini"
:loading=
"exportLoading"
:loading=
"exportLoading"
@
click=
"handleExport"
@
click=
"handleExport"
v-hasPermi=
"['emergency:crew:export']"
>
导出
</el-button>
>
导出
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
@@ -96,14 +92,12 @@
...
@@ -96,14 +92,12 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['emergency:crew:edit']"
>
修改
</el-button>
>
修改
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-delete"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['emergency:crew:remove']"
>
删除
</el-button>
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
danger-manage-web/src/views/newWorkPermit/index.vue
View file @
a40306a3
...
@@ -206,17 +206,18 @@
...
@@ -206,17 +206,18 @@
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
<
tr
>
<
tr
>
<
td
rowspan
=
"
4
"
colspan
=
"2"
>
批准人填写
<
/td
>
<
td
rowspan
=
"
3
"
colspan
=
"2"
>
批准人填写
<
/td
>
<
td
rowspan
=
"
4
"
colspan
=
"2"
>
许可证
<
/td
>
<
td
rowspan
=
"
3
"
colspan
=
"2"
>
许可证
<
/td
>
<
td
colspan
=
"6"
style
=
"text-align: left"
>
是否需要进一步的
JSA
:
<
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.jsa.yes"
/>
否
<
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.jsa.no"
/>
是
JSA
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.jsa.num"
style
=
"width: 250px"
placeholder
=
"填写JSA编号"
/>
]
<
/td
>
<
td
colspan
=
"6"
style
=
"text-align: left"
>
是否需要进一步的
JSA
:
<
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.jsa.yes"
/>
否
<
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.jsa.no"
/>
是
JSA
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.jsa.num"
style
=
"width: 250px"
placeholder
=
"填写JSA编号"
/>
]
<
/td
>
<
/tr
>
<
/tr
>
<
tr
>
<
!--
<
tr
>
<
td
colspan
=
"6"
style
=
"text-align: left"
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.specialLicence"
/>
0
无需特殊工作许可
<
/td
>
<
td
colspan
=
"6"
style
=
"text-align: left"
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.specialLicence"
/>
0
无需特殊工作许可
<
/td
>
<
/tr
>
<
/tr>
--
>
<
tr
>
<
tr
>
<
td
colspan
=
"6"
style
=
"text-align: left"
>
<
td
colspan
=
"6"
style
=
"text-align: left"
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.lockListing.isChecked"
/>
1
-
1
锁定挂牌记录表
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.lockListing.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<!--
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.lockListing.isChecked"
/>
1
-
1
锁定挂牌记录表
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.lockListing.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.blindPlate.isChecked"
/>
1
-
2
盲板抽堵作业许可
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.blindPlate.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.blindPlate.isChecked"
/>
1
-
2
盲板抽堵作业许可
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.blindPlate.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div>--
>
<
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.blindPlate.isChecked"
/>
1
盲板抽堵作业许可
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.blindPlate.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
<
tr
>
<
tr
>
...
@@ -224,10 +225,10 @@
...
@@ -224,10 +225,10 @@
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.flareUp.isChecked"
/>
2
动火作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.flareUp.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.flareUp.isChecked"
/>
2
动火作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.flareUp.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.heightWork.isChecked"
/>
3
高处作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.heightWork.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.heightWork.isChecked"
/>
3
高处作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.heightWork.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.breakGround.isChecked"
/>
4
动土作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.breakGround.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.breakGround.isChecked"
/>
4
动土作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.breakGround.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.hoisting.isChecked"
/>
5
吊装作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.hoisting.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<!--
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.hoisting.isChecked"
/>
5
吊装作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.hoisting.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.limitSpace.isChecked"
/>
6
受限空间作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.limitSpace.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.limitSpace.isChecked"
/>
6
受限空间作业许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.limitSpace.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.electricityUse.isChecked"
/>
7
临时用电许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.electricityUse.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.electricityUse.isChecked"
/>
7
临时用电许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.electricityUse.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.ray.isChecked"
/>
8
射线探伤许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.ray.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div
>
<
div
><
input
type
=
"checkbox"
v
-
model
=
"licenceInfo.ray.isChecked"
/>
8
射线探伤许可证
[
<
input
class
=
"editInput"
v
-
model
=
"licenceInfo.ray.num"
style
=
"width: 250px"
placeholder
=
"填写编号"
/>
]
<
/div>
--
>
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
<
tr
>
<
tr
>
...
@@ -269,9 +270,9 @@
...
@@ -269,9 +270,9 @@
<
el
-
select
v
-
model
=
"produceComfirm.monitorId"
filterable
placeholder
=
"请选择生产组当班班长"
>
<
el
-
select
v
-
model
=
"produceComfirm.monitorId"
filterable
placeholder
=
"请选择生产组当班班长"
>
<
el
-
option
<
el
-
option
v
-
for
=
"item in userList"
v
-
for
=
"item in userList"
:
key
=
"item.
user
Id"
:
key
=
"item.
staff
Id"
:
label
=
"item.
nick
Name"
:
label
=
"item.
staff
Name"
:
value
=
"item.
user
Id"
:
value
=
"item.
staff
Id"
>
>
<
/el-option
>
<
/el-option
>
<
/el-select
>
<
/el-select
>
...
@@ -284,7 +285,7 @@
...
@@ -284,7 +285,7 @@
<
/el-dialog
>
<
/el-dialog
>
<!--
作业单申请
-->
<!--
作业单申请
-->
<
el
-
dialog
title
=
"作业单申请"
:
visible
.
sync
=
"certificateApprovalApplyOpen"
append
-
to
-
body
:
close
-
on
-
click
-
modal
=
"false"
@
close
=
"cancelCertificateApply"
>
<
el
-
dialog
title
=
"作业单申请"
:
visible
.
sync
=
"certificateApprovalApplyOpen"
append
-
to
-
body
:
close
-
on
-
click
-
modal
=
"false"
@
close
=
"cancelCertificateApply"
:
z
-
index
=
"2000"
>
<
div
class
=
"tags_box"
>
<
div
class
=
"tags_box"
>
<
div
v
-
for
=
"item in tags"
class
=
"tags"
>
<
div
v
-
for
=
"item in tags"
class
=
"tags"
>
<
div
:
class
=
"{isActive:item.name==active
}
"
@
click
=
"handelToogel(item.name,'1')"
>
{{
item
.
name
}}
<
/div
>
<
div
:
class
=
"{isActive:item.name==active
}
"
@
click
=
"handelToogel(item.name,'1')"
>
{{
item
.
name
}}
<
/div
>
...
@@ -322,7 +323,7 @@
...
@@ -322,7 +323,7 @@
<
/el-dialog
>
<
/el-dialog
>
<!--
作业单审核
-->
<!--
作业单审核
-->
<
el
-
dialog
title
=
"作业单审核"
:
visible
.
sync
=
"certificateApprovalOpen"
append
-
to
-
body
:
close
-
on
-
click
-
modal
=
"false"
>
<
el
-
dialog
title
=
"作业单审核"
:
visible
.
sync
=
"certificateApprovalOpen"
append
-
to
-
body
:
close
-
on
-
click
-
modal
=
"false"
:
z
-
index
=
"1000"
>
<
div
class
=
"tags_box"
>
<
div
class
=
"tags_box"
>
<
div
v
-
for
=
"item in specialWorkPermits"
class
=
"tags"
>
<
div
v
-
for
=
"item in specialWorkPermits"
class
=
"tags"
>
<
div
:
class
=
"{isActive:item.specialWorkType==approvalActive
}
"
@
click
=
"handelToogel(item.specialWorkType,'2')"
>
{{
getTagName
(
item
.
specialWorkType
)
}}
<
/div
>
<
div
:
class
=
"{isActive:item.specialWorkType==approvalActive
}
"
@
click
=
"handelToogel(item.specialWorkType,'2')"
>
{{
getTagName
(
item
.
specialWorkType
)
}}
<
/div
>
...
@@ -356,7 +357,7 @@
...
@@ -356,7 +357,7 @@
<
/el-dialog
>
<
/el-dialog
>
<!--
事前检查
-->
<!--
事前检查
-->
<
el
-
dialog
title
=
"事前检查"
:
visible
.
sync
=
"checkOpen"
width
=
"900px"
append
-
to
-
body
@
close
=
"checkCancel"
>
<
el
-
dialog
title
=
"事前检查"
:
visible
.
sync
=
"checkOpen"
width
=
"900px"
append
-
to
-
body
@
close
=
"checkCancel"
:
z
-
index
=
"1000"
>
<
table
>
<
table
>
<
tr
>
<
tr
>
<
td
rowspan
=
"4"
colspan
=
"2"
>
作业许可申请人
<
/td
>
<
td
rowspan
=
"4"
colspan
=
"2"
>
作业许可申请人
<
/td
>
...
@@ -477,6 +478,7 @@
...
@@ -477,6 +478,7 @@
import
{
listPermit
,
selectTWorkPermitListByLoginUser
,
getPermit
,
delPermit
,
addPermit
,
updatePermit
,
exportPermit
}
from
"@/api/workPermit/permit"
;
import
{
listPermit
,
selectTWorkPermitListByLoginUser
,
getPermit
,
delPermit
,
addPermit
,
updatePermit
,
exportPermit
}
from
"@/api/workPermit/permit"
;
import
{
getSpecialWorkPermitByWorkPermitId
,
addBatchSpecialPermit
}
from
"@/api/workPermit/specialPermit"
;
import
{
getSpecialWorkPermitByWorkPermitId
,
addBatchSpecialPermit
}
from
"@/api/workPermit/specialPermit"
;
import
{
listUser
,
getAllUserName
}
from
"@/api/system/user"
;
import
{
listUser
,
getAllUserName
}
from
"@/api/system/user"
;
import
{
listStaff
}
from
"@/api/safetyManagement/staff"
;
import
{
listAll
}
from
"@/api/contractor/contractorInfo"
;
import
{
listAll
}
from
"@/api/contractor/contractorInfo"
;
import
FlareUp
from
"@/components/NewSaftyWork/FlareUp"
;
import
FlareUp
from
"@/components/NewSaftyWork/FlareUp"
;
import
BlindPlate
from
"@/components/NewSaftyWork/BlindPlate"
;
import
BlindPlate
from
"@/components/NewSaftyWork/BlindPlate"
;
...
@@ -1011,7 +1013,7 @@
...
@@ -1011,7 +1013,7 @@
//部门切换
//部门切换
switchDept
(){
switchDept
(){
this
.
produceComfirm
.
monitorId
=
""
;
this
.
produceComfirm
.
monitorId
=
""
;
list
User
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
this
.
produceComfirm
.
leaderDeptId
}
).
then
(
response
=>
{
list
Staff
({
pageNum
:
1
,
pageSize
:
99999
,
deptId
:
this
.
produceComfirm
.
leaderDeptId
}
).
then
(
response
=>
{
this
.
userList
=
response
.
rows
;
this
.
userList
=
response
.
rows
;
}
);
}
);
}
,
}
,
...
...
danger-manage-web/src/views/riskManager/riskMsg/index.vue
View file @
a40306a3
...
@@ -104,7 +104,13 @@
...
@@ -104,7 +104,13 @@
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"辨识部位"
width=
"135"
align=
"center"
prop=
"riskPart"
/>
<el-table-column
label=
"辨识部位"
width=
"135"
align=
"center"
prop=
"riskPart"
/>
<el-table-column
label=
"存在风险"
align=
"center"
prop=
"riskContent"
/>
<el-table-column
label=
"存在风险"
align=
"center"
prop=
"riskContent"
>
<template
slot-scope=
"scope"
>
<dl
v-html=
"scope.row.riskContent"
>
{{
scope
.
row
.
riskContent
}}
</dl>
</
template
>
</el-table-column>
<el-table-column
label=
"风险等级"
width=
"75"
align=
"center"
prop=
"riskLevel"
:formatter=
"riskLevelFormat"
/>
<el-table-column
label=
"风险等级"
width=
"75"
align=
"center"
prop=
"riskLevel"
:formatter=
"riskLevelFormat"
/>
<el-table-column
label=
"事故类型"
width=
"95"
align=
"center"
prop=
"riskType"
:formatter=
"riskTypeFormat"
/>
<el-table-column
label=
"事故类型"
width=
"95"
align=
"center"
prop=
"riskType"
:formatter=
"riskTypeFormat"
/>
<el-table-column
label=
"管控措施"
align=
"center"
prop=
"riskControl"
/>
<el-table-column
label=
"管控措施"
align=
"center"
prop=
"riskControl"
/>
...
@@ -240,6 +246,12 @@ export default {
...
@@ -240,6 +246,12 @@ export default {
form
:
{},
form
:
{},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
riskPart
:
[
{
required
:
true
,
message
:
"辨识部位不能为空"
,
trigger
:
"blur"
}
],
riskDept
:
[
{
required
:
true
,
message
:
"责任部门不能为空"
,
trigger
:
"blur"
}
],
}
}
};
};
},
},
...
...
danger-manage-web/src/views/safetyManagement/enterpriseInfo/index.vue
View file @
a40306a3
...
@@ -43,15 +43,23 @@
...
@@ -43,15 +43,23 @@
<th>
<th>
经营范围
经营范围
</th>
</th>
<td>
<td
colspan=
"3"
>
{{
form
.
businessScope
}}
{{
form
.
businessScope
}}
</td>
</td>
</tr>
<tr>
<th>
<th>
营业期限
营业期限
</th>
</th>
<td>
<td>
{{
form
.
businessTerm
}}
{{
form
.
businessTerm
}}
</td>
</td>
<th>
值班电话
</th>
<td>
{{
form
.
dutyPhone
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
<th>
...
@@ -101,6 +109,20 @@
...
@@ -101,6 +109,20 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</td>
</td>
</tr>
</tr>
<tr>
<th>
经度
</th>
<td>
{{
form
.
longitude
}}
</td>
<th>
纬度
</th>
<td>
{{
form
.
latitude
}}
</td>
</tr>
<tr>
<tr>
<th>
<th>
生产经营地址
生产经营地址
...
@@ -188,30 +210,37 @@
...
@@ -188,30 +210,37 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"11"
>
<el-col
:span=
"23"
>
<el-form-item
label=
"经营范围"
prop=
"businessScope"
>
<el-form-item
label=
"经营范围"
prop=
"businessScope"
>
<el-input
v-model=
"form.businessScope"
placeholder=
"请输入经营范围"
/>
<el-input
v-model=
"form.businessScope"
placeholder=
"请输入经营范围"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"营业期限"
prop=
"businessTerm"
>
<el-input
v-model=
"form.businessTerm"
placeholder=
"请输入营业期限"
/>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"23"
>
<el-col
:span=
"11"
>
<el-form-item
label=
"生产经营地址"
prop=
"runAddress"
>
<el-form-item
label=
"营业期限"
prop=
"businessTerm"
>
<el-input
v-model=
"form.runAddress"
placeholder=
"请输入生产经营地址"
/>
<el-input
v-model=
"form.businessTerm"
placeholder=
"请输入营业期限"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"值班电话"
prop=
"dutyPhone"
>
<el-input
v-model=
"form.dutyPhone"
placeholder=
"请输入值班电话"
/>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"23"
>
<el-col
:span=
"23"
>
<el-form-item
label=
"注册地址"
prop=
"regAddress"
>
<el-form-item
label=
"生产经营地址"
prop=
"runAddress"
>
<el-input
v-model=
"form.regAddress"
placeholder=
"请输入注册地址"
/>
<el-input
v-model=
"form.runAddress"
placeholder=
"请输入生产经营地址"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"23"
>
<el-form-item
label=
"注册地址"
prop=
"regAddress"
>
<el-input
v-model=
"form.regAddress"
placeholder=
"请输入注册地址"
/>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"23"
>
<el-col
:span=
"23"
>
...
@@ -365,6 +394,9 @@ export default {
...
@@ -365,6 +394,9 @@ export default {
businessTerm
:
[
businessTerm
:
[
{
required
:
true
,
message
:
"请输入营业期限"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请输入营业期限"
,
trigger
:
"blur"
}
],
],
dutyPhone
:
[
{
required
:
true
,
message
:
"请输入值班电话"
,
trigger
:
"blur"
}
],
runAddress
:
[
runAddress
:
[
{
required
:
true
,
message
:
"请输入生产经营地址"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请输入生产经营地址"
,
trigger
:
"blur"
}
],
],
...
...
danger-manage-web/src/views/safetyManagement/investment/index.vue
View file @
a40306a3
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
<!-- 添加或修改投入台账对话框 -->
<!-- 添加或修改投入台账对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
0
0px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
2
0px"
>
<el-row>
<el-row>
<el-col
:span=
"23"
>
<el-col
:span=
"23"
>
<el-form-item
label=
"投入台账名称"
prop=
"investmentName"
>
<el-form-item
label=
"投入台账名称"
prop=
"investmentName"
>
...
@@ -254,7 +254,10 @@ export default {
...
@@ -254,7 +254,10 @@ export default {
{
required
:
true
,
message
:
"请选择投入年度"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请选择投入年度"
,
trigger
:
"blur"
}
],
],
investmentFunds
:
[
investmentFunds
:
[
{
required
:
true
,
message
:
"请输入投入资金"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"投入资金数字总共不超过11位,小数点不超过2位"
,
validator
:
this
.
investmentFundsValidate
}
],
income
:
[
{
required
:
true
,
message
:
"同期收入数字总共不超过11位,小数点不超过2位"
,
validator
:
this
.
incomeValidate
}
],
],
investmentType
:
[
investmentType
:
[
{
required
:
true
,
message
:
"请选择投入类型"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请选择投入类型"
,
trigger
:
"blur"
}
...
@@ -278,6 +281,38 @@ export default {
...
@@ -278,6 +281,38 @@ export default {
});
});
},
},
methods
:
{
methods
:
{
investmentFundsValidate
(
rule
,
value
,
callback
){
let
reg
=
/^
([
1-9
]\d
*
\.?\d{0,2}
|0
\.\d{1,2}
|0
)
$/
;
if
(
value
!=
''
&&
value
!=
null
){
if
(
value
.
replace
(
"."
,
""
).
length
>
11
){
console
.
log
(
value
,
"value"
);
callback
(
new
Error
(
'数字不能超过11位'
));
}
if
(
reg
.
test
(
value
)){
callback
();
}
else
{
callback
(
new
Error
(
'请输入正确投入资金(小数点不超过2位)'
));
}
}
else
{
callback
(
new
Error
(
'请输入投入资金(小数点不超过2位)'
));
}
},
incomeValidate
(
rule
,
value
,
callback
){
let
reg
=
/^
([
1-9
]\d
*
\.?\d{0,2}
|0
\.\d{1,2}
|0
)
$/
;
if
(
value
!=
''
&&
value
!=
null
){
if
(
value
.
replace
(
"."
,
""
).
length
>
11
){
console
.
log
(
value
,
"value"
);
callback
(
new
Error
(
'数字不能超过11位'
));
}
if
(
reg
.
test
(
value
)){
callback
();
}
else
{
callback
(
new
Error
(
'请输入正确同期收入(小数点不超过2位)'
));
}
}
else
{
callback
();
}
},
// 投入类型
// 投入类型
investmentFormat
(
row
,
column
)
{
investmentFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
investmentOptions
,
row
.
investmentType
);
return
this
.
selectDictLabel
(
this
.
investmentOptions
,
row
.
investmentType
);
...
...
danger-manage-web/src/views/safetyManagement/laws/index.vue
View file @
a40306a3
...
@@ -53,8 +53,22 @@
...
@@ -53,8 +53,22 @@
<el-table
v-loading=
"loading"
:data=
"enterpriseSystemList"
>
<el-table
v-loading=
"loading"
:data=
"enterpriseSystemList"
>
<el-table-column
label=
"法律法规标题"
align=
"center"
prop=
"systemTitle"
width=
"260px"
/>
<el-table-column
label=
"法律法规标题"
align=
"center"
prop=
"systemTitle"
width=
"260px"
/>
<el-table-column
label=
"颁布部门"
align=
"center"
prop=
"issueDept"
/>
<el-table-column
label=
"颁布部门"
align=
"center"
prop=
"issueDept"
>
<el-table-column
label=
"文号"
align=
"center"
prop=
"referenceNum"
/>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.issueDept != null && scope.row.issueDept!=''"
>
{{
scope
.
row
.
issueDept
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"文号"
align=
"center"
prop=
"referenceNum"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.referenceNum != null && scope.row.referenceNum!=''"
>
{{
scope
.
row
.
referenceNum
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"层级"
align=
"center"
prop=
"hierarchy"
:formatter=
"hierarchyFormat"
/>
<el-table-column
label=
"层级"
align=
"center"
prop=
"hierarchy"
:formatter=
"hierarchyFormat"
/>
<el-table-column
label=
"有效性"
align=
"center"
prop=
"availability"
:formatter=
"availabilityFormat"
/>
<el-table-column
label=
"有效性"
align=
"center"
prop=
"availability"
:formatter=
"availabilityFormat"
/>
<el-table-column
label=
"附件"
align=
"center"
prop=
"fileUrl"
width=
"260px"
>
<el-table-column
label=
"附件"
align=
"center"
prop=
"fileUrl"
width=
"260px"
>
...
...
danger-manage-web/src/views/safetyManagement/staff/index.vue
View file @
a40306a3
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
:props=
"defaultProps"
:props=
"defaultProps"
:expand-on-click-node=
"false"
:expand-on-click-node=
"false"
:filter-node-method=
"filterNode"
:filter-node-method=
"filterNode"
highlight-current
ref=
"tree"
ref=
"tree"
default-expand-all
default-expand-all
@
node-click=
"handleNodeClick"
@
node-click=
"handleNodeClick"
...
@@ -171,7 +172,7 @@
...
@@ -171,7 +172,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
v-if=
"form.staffName==null"
>
<el-row
>
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-form-item
label=
"账号"
prop=
"userName"
>
<el-form-item
label=
"账号"
prop=
"userName"
>
<el-input
v-model=
"form.userName"
placeholder=
"请输账号"
/>
<el-input
v-model=
"form.userName"
placeholder=
"请输账号"
/>
...
...
danger-manage-web/src/views/system/drill/index.vue
View file @
a40306a3
...
@@ -91,12 +91,15 @@
...
@@ -91,12 +91,15 @@
<el-table-column
label=
"演练地址"
align=
"center"
prop=
"drillAddress"
/>
<el-table-column
label=
"演练地址"
align=
"center"
prop=
"drillAddress"
/>
<el-table-column
label=
"主办单位"
align=
"center"
prop=
"drillUnit"
/>
<el-table-column
label=
"主办单位"
align=
"center"
prop=
"drillUnit"
/>
<el-table-column
label=
"演练时间"
align=
"center"
prop=
"drillTime"
width=
"180"
/>
<el-table-column
label=
"演练时间"
align=
"center"
prop=
"drillTime"
width=
"180"
/>
<!--
<el-table-column
label=
"演练目的"
align=
"center"
prop=
"drillObjective"
/>
-->
<!--
<el-table-column
label=
"演练目的"
align=
"center"
prop=
"drillObjective"
/>
-->
<!--
<el-table-column
label=
"参演人员"
align=
"center"
prop=
"drillPeople"
/>
-->
<!--
<el-table-column
label=
"参演人员"
align=
"center"
prop=
"drillPeople"
/>
-->
<!--
<el-table-column
label=
"演练内容"
align=
"center"
prop=
"drillContent"
/>
-->
<!--
<el-table-column
label=
"演练内容"
align=
"center"
prop=
"drillContent"
/>
-->
<!--
<el-table-column
label=
"评估"
align=
"center"
prop=
"assessment"
/>
-->
<!--
<el-table-column
label=
"评估"
align=
"center"
prop=
"assessment"
/>
-->
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"evaluate"
>
<span
slot-scope=
"scope"
v-if=
"scope.row.evaluate"
>
已完成
</span>
<span
v-else
>
待评估
</span>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -112,6 +115,13 @@
...
@@ -112,6 +115,13 @@
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit-outline"
v-if=
"!scope.row.evaluate"
@
click=
"assessment(scope.row)"
>
评估
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -233,6 +243,14 @@
...
@@ -233,6 +243,14 @@
<editor
v-model=
"form.drillContent"
:min-height=
"240"
:readOnly=
"readOnly"
/>
<editor
v-model=
"form.drillContent"
:min-height=
"240"
:readOnly=
"readOnly"
/>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"div-kuang"
style=
"width: 50%;margin-left: 2%"
>
<el-form-item
label=
"总结评价:"
>
<span>
{{form.evaluate}}
</span>
</el-form-item>
<el-form-item
label=
"整改措施:"
>
<span>
{{form.measures}}
</span>
</el-form-item>
</div>
</div>
</div>
...
@@ -241,6 +259,22 @@
...
@@ -241,6 +259,22 @@
<!--</el-form-item>-->
<!--</el-form-item>-->
</el-form>
</el-form>
</el-dialog>
</el-dialog>
<!--评估-->
<el-dialog
title=
"评估"
:visible
.
sync=
"dialogFormVisible"
>
<el-form
ref=
"form"
:model=
"form"
>
<el-form-item
label=
"演练效果和总结评价:"
>
<el-input
maxlength=
"2000"
v-model=
"form.evaluate"
type=
"textarea"
:rows=
"4"
autocomplete=
"off"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"演练存在的问题及整改措施:"
>
<el-input
maxlength=
"2000"
v-model=
"form.measures"
type=
"textarea"
:rows=
"4"
autocomplete=
"off"
show-word-limit
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"dialogFormVisible = false"
>
取 消
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -277,6 +311,8 @@ export default {
...
@@ -277,6 +311,8 @@ export default {
// 是否显示弹出层
// 是否显示弹出层
open
:
false
,
open
:
false
,
open2
:
false
,
open2
:
false
,
//评估
dialogFormVisible
:
false
,
// 演练类型字典
// 演练类型字典
drillTypeOptions
:
[],
drillTypeOptions
:
[],
// 演练形式字典
// 演练形式字典
...
@@ -359,7 +395,9 @@ export default {
...
@@ -359,7 +395,9 @@ export default {
assessment
:
null
,
assessment
:
null
,
createTime
:
null
,
createTime
:
null
,
createBy
:
null
,
createBy
:
null
,
isDel
:
null
isDel
:
null
,
evaluate
:
null
,
measures
:
null
,
};
};
this
.
resetForm
(
"form"
);
this
.
resetForm
(
"form"
);
},
},
...
@@ -394,15 +432,30 @@ export default {
...
@@ -394,15 +432,30 @@ export default {
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"修改应急演练"
;
this
.
title
=
"修改应急演练"
;
});
});
},
/** 评估按钮操作 */
assessment
(
row
)
{
this
.
reset
();
const
drillId
=
row
.
drillId
||
this
.
ids
getDrill
(
drillId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
dialogFormVisible
=
true
;
});
},
/*评估提交*/
submitAssessment
(){
},
},
/** 提交按钮 */
/** 提交按钮 */
submitForm
()
{
submitForm
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
console
.
log
(
this
.
form
.
drillId
)
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
form
.
drillId
!=
null
)
{
if
(
this
.
form
.
drillId
!=
null
)
{
updateDrill
(
this
.
form
).
then
(
response
=>
{
updateDrill
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
dialogFormVisible
=
false
;
this
.
getList
();
this
.
getList
();
});
});
}
else
{
}
else
{
...
...
danger-manage-web/src/views/system/info/index.vue
View file @
a40306a3
...
@@ -86,8 +86,9 @@
...
@@ -86,8 +86,9 @@
<!--
<el-table-column
label=
"经度"
align=
"center"
prop=
"longitude"
/>
-->
<!--
<el-table-column
label=
"经度"
align=
"center"
prop=
"longitude"
/>
-->
<!--
<el-table-column
label=
"维度"
align=
"center"
prop=
"latitude"
/>
-->
<!--
<el-table-column
label=
"维度"
align=
"center"
prop=
"latitude"
/>
-->
<el-table-column
label=
"地址信息"
align=
"center"
prop=
"address"
/>
<el-table-column
label=
"地址信息"
align=
"center"
prop=
"address"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"contacts"
width=
"100"
/>
<el-table-column
label=
"责任部门"
align=
"center"
prop=
"deptName"
/>
<el-table-column
label=
"手机号"
align=
"center"
prop=
"phone"
width=
"180"
/>
<!--
<el-table-column
label=
"联系人"
align=
"center"
prop=
"contacts"
width=
"100"
/>
-->
<!--
<el-table-column
label=
"手机号"
align=
"center"
prop=
"phone"
width=
"180"
/>
-->
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"210"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"210"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -141,9 +142,6 @@
...
@@ -141,9 +142,6 @@
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"物资数量"
prop=
"num"
>
<el-input
v-model=
"form.num"
placeholder=
"请输入物资数量"
/>
</el-form-item>
</div>
</div>
<div
style=
"width: 50%"
>
<div
style=
"width: 50%"
>
<el-form-item
label=
"有效时间"
prop=
"validityTime"
>
<el-form-item
label=
"有效时间"
prop=
"validityTime"
>
...
@@ -155,25 +153,41 @@
...
@@ -155,25 +153,41 @@
placeholder=
"选择有效时间"
>
placeholder=
"选择有效时间"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"联系人"
prop=
"contacts"
>
<el-form-item
label=
"物资数量"
prop=
"num"
>
<el-input
v-model=
"form.contacts"
placeholder=
"请输入联系人"
/>
<el-input
v-model=
"form.num"
placeholder=
"请输入物资数量"
/>
</el-form-item>
<el-form-item
label=
"手机号"
prop=
"phone"
>
<el-input
v-model=
"form.phone"
placeholder=
"请输入手机号"
/>
</el-form-item>
</el-form-item>
<el-col
:span=
"12"
>
<el-form-item
label=
"责任部门"
prop=
"deptId"
>
<!--<el-input v-model="form.deptId" placeholder="请输入部门id" />-->
<el-select
v-model=
"form.deptId"
filterable
placeholder=
"请选择责任部门"
>
<el-option
v-for=
"dict in deptList"
:key=
"dict.deptId"
:label=
"dict.deptName"
:value=
"parseInt(dict.deptId)"
></el-option>
</el-select>
</el-form-item>
</el-col>
<!-- <el-form-item label="联系人" prop="contacts">-->
<!-- <el-input v-model="form.contacts" placeholder="请输入联系人" />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="手机号" prop="phone">-->
<!-- <el-input v-model="form.phone" placeholder="请输入手机号" />-->
<!-- </el-form-item>-->
</div>
</div>
</div>
</div>
<div
class=
"division"
style=
"width: 100%"
>
<!-- <div class="division" style="width: 100%">--
>
<el-form-item
label=
"经纬度"
prop=
"longitude"
>
<!-- <el-form-item label="经纬度" prop="longitude">--
>
<div
class=
"division"
>
<!-- <div class="division">--
>
<el-input
v-model=
"form.longitude"
placeholder=
"请输入经度"
/
>
<!-- <el-input v-model="form.longitude" placeholder="请输入经度" />--
>
<el-input
style=
"margin-left: 10px"
v-model=
"form.latitude"
placeholder=
"请输入维度"
/
>
<!-- <el-input style="margin-left: 10px" v-model="form.latitude" placeholder="请输入维度" />--
>
</div
>
<!-- </div>--
>
</el-form-item
>
<!-- </el-form-item>--
>
<el-button
style=
" height: 36px;margin-left: 10px"
type=
"primary"
plain
@
click=
"MapdialogFun"
>
选择经纬度
</el-button
>
<!-- <el-button style=" height: 36px;margin-left: 10px" type="primary" plain @click="MapdialogFun">选择经纬度</el-button>--
>
<!--<div class="btn">选择经纬度</div>
-->
<!-- <!–<div class="btn">选择经纬度</div>–>
-->
</div
>
<!-- </div>--
>
<el-form-item
label=
"地址信息"
prop=
"address"
>
<el-form-item
label=
"地址信息"
prop=
"address"
>
<el-input
v-model=
"form.address"
placeholder=
"请输入地址信息"
/>
<el-input
v-model=
"form.address"
placeholder=
"请输入地址信息"
/>
</el-form-item>
</el-form-item>
...
@@ -211,11 +225,20 @@
...
@@ -211,11 +225,20 @@
<el-form-item
label=
"有效时间:"
prop=
"validityTime"
>
<el-form-item
label=
"有效时间:"
prop=
"validityTime"
>
<span>
{{form.validityTime}}
</span>
<span>
{{form.validityTime}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"联系人:"
prop=
"contacts"
>
<!-- <el-form-item label="联系人:" prop="contacts">-->
<span>
{{form.contacts}}
</span>
<!-- <span>{{form.contacts}}</span>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="手机号:" prop="phone">-->
<!-- <span>{{form.phone}}</span>-->
<!-- </el-form-item>-->
<el-form-item
label=
"地址信息:"
prop=
"address"
>
<span>
{{form.address}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号:"
prop=
"phone"
>
<el-form-item
label=
"性能:"
prop=
"performance"
>
<span>
{{form.phone}}
</span>
<span>
{{form.performance}}
</span>
</el-form-item>
<el-form-item
label=
"用途:"
prop=
"purpose"
>
<span>
{{form.purpose}}
</span>
</el-form-item>
</el-form-item>
</div>
</div>
<div
style=
"width: 60%;height: 340px;background: #99a9bf"
id=
"enterpriseContainer"
>
<div
style=
"width: 60%;height: 340px;background: #99a9bf"
id=
"enterpriseContainer"
>
...
@@ -229,15 +252,7 @@
...
@@ -229,15 +252,7 @@
<!--<!–<div class="btn">选择经纬度</div>–>-->
<!--<!–<div class="btn">选择经纬度</div>–>-->
<!--</div>-->
<!--</div>-->
<el-form-item
label=
"地址信息:"
prop=
"address"
>
<span>
{{form.address}}
</span>
</el-form-item>
<el-form-item
label=
"性能:"
prop=
"performance"
>
<span>
{{form.performance}}
</span>
</el-form-item>
<el-form-item
label=
"用途:"
prop=
"purpose"
>
<span>
{{form.purpose}}
</span>
</el-form-item>
</el-form>
</el-form>
...
@@ -255,6 +270,7 @@
...
@@ -255,6 +270,7 @@
<
script
>
<
script
>
import
{
listInfo
,
getInfo
,
delInfo
,
addInfo
,
updateInfo
,
exportInfo
}
from
"@/api/system/info"
;
import
{
listInfo
,
getInfo
,
delInfo
,
addInfo
,
updateInfo
,
exportInfo
}
from
"@/api/system/info"
;
import
GetPos
from
'@/components/GetPos'
;
import
GetPos
from
'@/components/GetPos'
;
import
{
listDept
}
from
"@/api/system/dept"
;
import
{
EditorMap
}
from
"@/utils/mapClass/getPath.js"
;
import
{
EditorMap
}
from
"@/utils/mapClass/getPath.js"
;
export
default
{
export
default
{
...
@@ -280,6 +296,7 @@ export default {
...
@@ -280,6 +296,7 @@ export default {
total
:
0
,
total
:
0
,
// 应急物资管理表格数据
// 应急物资管理表格数据
infoList
:
[],
infoList
:
[],
deptList
:[],
// 弹出层标题
// 弹出层标题
title
:
""
,
title
:
""
,
// 是否显示弹出层
// 是否显示弹出层
...
@@ -331,6 +348,7 @@ export default {
...
@@ -331,6 +348,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
this
.
getDeptList
();
this
.
getDicts
(
"t_material_type"
).
then
(
response
=>
{
this
.
getDicts
(
"t_material_type"
).
then
(
response
=>
{
this
.
materialTypeOptions
=
response
.
data
;
this
.
materialTypeOptions
=
response
.
data
;
});
});
...
@@ -345,6 +363,12 @@ export default {
...
@@ -345,6 +363,12 @@ export default {
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
getDeptList
()
{
listDept
({
status
:
undefined
}).
then
(
response
=>
{
this
.
deptList
=
response
.
data
;
console
.
log
(
this
.
deptList
)
});
},
// 分类字典翻译
// 分类字典翻译
materialTypeFormat
(
row
,
column
)
{
materialTypeFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
materialTypeOptions
,
row
.
materialType
);
return
this
.
selectDictLabel
(
this
.
materialTypeOptions
,
row
.
materialType
);
...
@@ -394,6 +418,9 @@ export default {
...
@@ -394,6 +418,9 @@ export default {
},
},
MapdialogFun
()
{
MapdialogFun
()
{
this
.
dialogTableVisible
=
true
;
this
.
dialogTableVisible
=
true
;
if
(
this
.
form
.
longitude
!=
null
&&
this
.
form
.
longitude
!=
''
){
this
.
devicePos
=
[
this
.
form
.
longitude
,
this
.
form
.
latitude
];
}
},
},
dialogcancelFun
()
{
dialogcancelFun
()
{
this
.
dialogTableVisible
=
false
;
this
.
dialogTableVisible
=
false
;
...
@@ -407,6 +434,7 @@ export default {
...
@@ -407,6 +434,7 @@ export default {
},
},
/** 新增按钮操作 */
/** 新增按钮操作 */
handleAdd
()
{
handleAdd
()
{
this
.
devicePos
=
[];
this
.
reset
();
this
.
reset
();
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"添加应急物资管理"
;
this
.
title
=
"添加应急物资管理"
;
...
...
danger-manage-web/src/views/system/library/index.vue
View file @
a40306a3
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<!-- 添加或修改隐患排查库对话框 -->
<!-- 添加或修改隐患排查库对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
0
0px"
style=
"width: 95%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
1
0px"
style=
"width: 95%"
>
<el-form-item
label=
"排查库标题"
prop=
"libraryName"
>
<el-form-item
label=
"排查库标题"
prop=
"libraryName"
>
<el-input
v-model=
"form.libraryName"
placeholder=
"请输入排查库标题"
/>
<el-input
v-model=
"form.libraryName"
placeholder=
"请输入排查库标题"
/>
</el-form-item>
</el-form-item>
...
@@ -290,6 +290,6 @@ export default {
...
@@ -290,6 +290,6 @@ export default {
margin
:
0
;
margin
:
0
;
}
}
::v-deep
.el-form-item__label
{
::v-deep
.el-form-item__label
{
width
:
9
0px
!
important
;
width
:
11
0px
!
important
;
}
}
</
style
>
</
style
>
danger-manage-web/src/views/system/plan/index.vue
View file @
a40306a3
...
@@ -325,12 +325,6 @@
...
@@ -325,12 +325,6 @@
planTitle
:
[
planTitle
:
[
{
required
:
true
,
message
:
"标题不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"标题不能为空"
,
trigger
:
"blur"
}
],
],
planType
:
[
{
required
:
true
,
message
:
"预案类型不能为空"
,
trigger
:
"blur"
}
],
planLevel
:
[
{
required
:
true
,
message
:
"预案等级不能为空"
,
trigger
:
"blur"
}
]
}
}
};
};
},
},
...
...
danger-manage-web/src/views/system/workinfo/index.vue
View file @
a40306a3
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
<el-form-item
label=
"任务描述"
prop=
"workDescribe"
>
<el-form-item
label=
"任务描述"
prop=
"workDescribe"
>
<el-input
type=
"textarea"
v-model=
"form.workDescribe"
placeholder=
"请输入任务描述"
/>
<el-input
type=
"textarea"
v-model=
"form.workDescribe"
placeholder=
"请输入任务描述"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"巡检点多个"
prop=
"pantrolId"
>
<el-form-item
label=
"巡检点多个"
prop=
"pantrolId"
>
<el-checkbox
v-model=
"menuExpand"
@
change=
"handleCheckedTreeExpand($event, 'menu')"
>
展开/折叠
</el-checkbox>
<el-checkbox
v-model=
"menuExpand"
@
change=
"handleCheckedTreeExpand($event, 'menu')"
>
展开/折叠
</el-checkbox>
<el-checkbox
v-model=
"menuNodeAll"
@
change=
"handleCheckedTreeNodeAll($event, 'menu')"
>
全选/全不选
</el-checkbox>
<el-checkbox
v-model=
"menuNodeAll"
@
change=
"handleCheckedTreeNodeAll($event, 'menu')"
>
全选/全不选
</el-checkbox>
<!--<el-checkbox v-model="form.menuCheckStrictly" @change="handleCheckedTreeConnect($event, 'menu')" >父子联动</el-checkbox>-->
<!--<el-checkbox v-model="form.menuCheckStrictly" @change="handleCheckedTreeConnect($event, 'menu')" >父子联动</el-checkbox>-->
...
@@ -867,5 +867,9 @@ export default {
...
@@ -867,5 +867,9 @@ export default {
::v-deep
.el-dialog
{
::v-deep
.el-dialog
{
background
:
#f7f7f7
;
background
:
#f7f7f7
;
}
}
::v-deep
.el-tree
{
height
:
250px
;
overflow
:auto
;
}
/*el-pagination*/
/*el-pagination*/
</
style
>
</
style
>
danger-manage-web/vue.config.js
View file @
a40306a3
...
@@ -35,8 +35,7 @@ module.exports = {
...
@@ -35,8 +35,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
process
.
env
.
VUE_APP_TARGET
,
target
:
process
.
env
.
VUE_APP_TARGET
,
// target: `http://192.168.2.16:8908/dangerManage`,
//target: `http://192.168.31.87:8908/dangerManage`,
// target: `http://192.168.2.17:8908/dangerManage`,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment