diff --git a/src/views/dangerousWork/blindboard/components/corpInfo.vue b/src/views/dangerousWork/blindboard/components/corpInfo.vue index 44db46b..c36d20a 100644 --- a/src/views/dangerousWork/blindboard/components/corpInfo.vue +++ b/src/views/dangerousWork/blindboard/components/corpInfo.vue @@ -10,7 +10,7 @@ - 搜索222 + 搜索 重置 diff --git a/src/views/dangerousWork/blindboard/components/detail.vue b/src/views/dangerousWork/blindboard/components/detail.vue index 225a315..da67618 100644 --- a/src/views/dangerousWork/blindboard/components/detail.vue +++ b/src/views/dangerousWork/blindboard/components/detail.vue @@ -5,47 +5,54 @@ - - + - - - - - - - - + + - - + + + + - - + + + + + + + + + + + + + + + + - - - + + + + + + - - + + - + + + +
+
-

盲板作业票

-
编号:{{ pd.CHECK_NO }}
+

盲板抽堵安全作业票

+
编号:{{ pd.CHECK_NO }}
申请单位{{ pd.APPLY_DEPARTMENT_NAME }}{{ pd.APPLY_DEPARTMENT_NAME }} 作业单位{{ pd.CONSTRUCTION_DEPARTMENT_NAME }}作业负责人{{ pd.CONSTRUCTION_USER_NAME }}
涉及相关单位(部门){{ pd.OTHER_DEPT }}监护人{{ pd.CONSTRUCTION_DEPARTMENT_NAME }}作业类别 -
- 签字: - - {{ pd.GUARDIAN_USER_SIGNER_TIME }} -
+ 堵盲板 + 抽盲板
断路原因{{ pd.WORK_REASON }}设备、管道名称管道参数盲板参数实际作业开始时间
关联的其他特殊作业及安全作业票编号{{ pd.SPECIAL_WORK }}介质温度压力材质规格编号
{{ pd.NAME }}{{ pd.MEDIUM }}{{ pd.TEMPERATURE }}{{ pd.PRESSURE }}{{ item.BOARD_MATERIAL }}{{ item.BOARD_SPECIFICATION }}{{ item.BOARD_NO }}{{ pd.BOARD_INSTALL_TIME }}
-
断路地段示意图(可另附图)及相关说明:{{ pd.WORK_CONTENT }}
+
+
盲板位置图(可另附图)及编号:
- +
编制人: @@ -55,15 +62,29 @@
风险辨识结果{{ pd.HAZARD_IDENTIFICATION.split(";_;")[0] }}作业负责人{{ pd.CONSTRUCTION_USER_NAME }}作业人{{ pd.WORK_USER }}监护人 +
+ 签字: + + {{ pd.GUARDIAN_USER_SIGNER_TIME }} +
+
作业实施时间{{ pd.WORK_START_DATE }}至{{ pd.WORK_END_DATE }}止关联的其他特殊作业及安全作业票编号{{ pd.SPECIAL_WORK }}
+ 风险辨识结果{{ pd.BOARD_HARM }}
@@ -82,7 +103,7 @@ {{ item.CONFIRM_NAME }} - + - - - - - - - - @@ -16,14 +16,18 @@ - - - - + + + + + + + + + + - - - - - - + + @@ -43,7 +45,7 @@ - +
序号
{{ measuresList.length + 1 }}
@@ -93,15 +114,7 @@ 其他安全措施:{{ pd.CONSTRUCTION_USER_MEASURES }} 编制人:{{ pd.CONSTRUCTION_USER_NAME }}
-
- 其他安全措施:{{ pd.PRODUCTION_USER_MEASURES }} - 编制人:{{ pd.PRODUCTION_USER_NAME }} -
-
- 其他安全措施:{{ pd.SAFETY_USER_MEASURES }} - 编制人:{{ pd.SAFETY_USER_NAME }} -
-
+
其他安全措施:{{ pd.LEADER_USER_MEASURES }} 编制人:{{ pd.LEADER_USER_NAME }}
@@ -131,7 +144,7 @@
+
作业负责人意见:{{ pd.CONSTRUCTION_CONTENT }}
签字: @@ -140,29 +153,9 @@
-
所在单位意见:{{ pd.PRODUCTION_CONTENT }}
-
- 签字: - - {{ pd.PRODUCTION_USER_SIGNER_TIME }} -
-
-
消防、安全管理部门意见:{{ pd.SAFETY_CONTENT }}
-
- 签字: - - {{ pd.SAFETY_USER_SIGNER_TIME }} -
-
-
审批部门意见:{{ pd.LEADER_CONTENT }}
+
+
所在单位意见:{{ pd.LEADER_CONTENT }}
签字: @@ -196,23 +189,18 @@ export default { data() { return { config: config, - CUTROAD_ID: this.$parent.CUTROAD_ID, // 主键ID + BLINDBOARD_ID: this.$parent.BLINDBOARD_ID, // 主键ID pd: [], // 存放字段参数 - measuresList: [], - otherProtectiveMeasures: [], + boardList: [], imgList: [], imgList1: [], - hazardIdentification: [] + measuresList: [] } }, created() { this.getData() }, methods: { - validStr(str) { - if (str != null && str != '' && typeof (str) != 'undefined' && str != 0) { return true } - return false - }, formatTime(date, column) { if (date) { return dateformat(date, 'YYYY年MM月DD日HH时mm分') @@ -228,32 +216,31 @@ export default { } }, getRowKey(row) { - return row.CUTROAD_ID + return row.BLINDBOARD_ID }, getData() { this.listLoading = true requestFN( - '/dangerousWork/gfcutroad/goEdit', + '/dangerousWork/gfBlindBoard/goEdit', { - CUTROAD_ID: this.CUTROAD_ID + BLINDBOARD_ID: this.BLINDBOARD_ID } ).then((data) => { this.listLoading = false this.pd = data.pd // 参数map - this.measuresList = data.measuresList // 参数map this.imgList = data.imgList + this.imgList1 = data.imgList + this.boardList = data.boardList // 参数map + this.measuresList = data.measuresList // 参数map this.pd.APPLY_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[0] this.pd.CONSTRUCTION_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[1] - this.pd.PRODUCTION_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[2] - this.pd.SAFETY_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[3] - this.pd.LEADER_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[4] + this.pd.LEADER_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[2] }).catch((e) => { this.listLoading = false }) }, goBack() { - this.$parent.activeName = 'circuit_list' - this.$parent.CUTROAD_ID = '' + this.$parent.activeName = 'Blindboard' } } @@ -265,15 +252,14 @@ export default { padding: 20px 0 span vertical-align: middle -.bbg - width: 270px -.print-approval-img - width: 200px - height: 97px - display: inline-block - img - width: 100% - height: 100% + + .print-approval-img + width: 200px + height: 97px + display: inline-block + img + width: 100% + height: 100% .level-code margin-left: auto diff --git a/src/views/dangerousWork/blindboard/components/list.vue b/src/views/dangerousWork/blindboard/components/list.vue index aa90270..68a27f8 100644 --- a/src/views/dangerousWork/blindboard/components/list.vue +++ b/src/views/dangerousWork/blindboard/components/list.vue @@ -27,47 +27,43 @@ - + + - - - + + + - + - + - @@ -78,92 +74,6 @@
- - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- 监护人:{{ pd.GUARDIAN_USER_NAME }}已签字 -
-
-
-
- 监护人:{{ pd.GUARDIAN_USER_NAME }}未签字 -
-
-
-
- 安全交底人:{{ pd.CONFESS_USER_NAME }}已签字 -
-
-
-
- 安全交底人:{{ pd.CONFESS_USER_NAME }}未签字 -
-
-
-
- 接受交底人:{{ pd.ACCEPT_CONFESS_USER_NAME }}已签字 -
-
-
-
- 接受交底人:{{ pd.ACCEPT_CONFESS_USER_NAME }}未签字 -
-
-
- -
返 回 @@ -206,18 +116,14 @@ export default { dialogFormHuifuShow: false, statusList: [ { ID: '', NAME: '请选择' }, - { ID: '0', NAME: '断路安全作业待提交' }, + { ID: '0', NAME: '待提交' }, { ID: '1', NAME: '作业负责人待审核' }, - { ID: '2', NAME: '所在单位待审核' }, - { ID: '3', NAME: '消防、安全管理部门待审核' }, - { ID: '4', NAME: '审批部门待审核' }, + { ID: '4', NAME: '所在单位领导人待审核' }, { ID: '5', NAME: '待验收' }, { ID: '6', NAME: '验收归档' }, - { ID: '-2', NAME: '作业负责人审核打回' }, - { ID: '-3', NAME: '所在单位审核打回' }, - { ID: '-4', NAME: '消防、安全管理部门审核打回' }, - { ID: '-5', NAME: '审批部门审核打回' }, - { ID: '-6', NAME: '验收打回' } + { ID: '-2', NAME: '作业负责人待审核打回' }, + { ID: '-5', NAME: '所在单位领导人待审核打回' }, + { ID: '-6', NAME: '待验收打回' } ], STATUS: '', DEPTIDS: '' @@ -244,36 +150,22 @@ export default { getList() { this.listLoading = true requestFN( - '/gfCutRoad/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, + '/dangerousWork/gfBlindBoard/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, { KEYWORDS: this.KEYWORDS, APPLY_STATUS: this.STATUS, - DEPTIDS: this.DEPTIDS, tm: new Date().getTime() + DEPTIDS: this.DEPTIDS, tm: new Date().getTime(), + CORPINFO_ID: this.$parent.CORPINFO_ID, + ticketType: this.$parent.ticketType } ).then((data) => { this.listLoading = false this.varList = data.varList this.total = data.page.totalResult - this.hasButton() - }).catch((e) => { - this.listLoading = false - }) - }, - // 判断按钮权限,用于是否显示按钮 - hasButton() { - var keys = 'cutroad:add,cutroad:del,cutroad:edit,toExcel' - requestFN( - '/head/hasButton', - { - keys: keys - } - ).then((data) => { - this.add = data.cutroadfhadminadd // 新增权限 - this.del = data.cutroadfhadmindel // 删除权限 - this.edit = data.cutroadfhadminedit // 修改权限 }).catch((e) => { this.listLoading = false }) }, + goChart(row) { this.pd = row this.dialogFormShow = true @@ -285,20 +177,14 @@ export default { if (this.pd.APPLY_STATUS == '1') { return 1 } - if (this.pd.APPLY_STATUS == '2') { + if (this.pd.APPLY_STATUS == '4') { return 2 } - if (this.pd.APPLY_STATUS == '3') { + if (this.pd.APPLY_STATUS == '5') { return 3 } - if (this.pd.APPLY_STATUS == '4') { - return 4 - } - if (this.pd.APPLY_STATUS == '5') { - return 5 - } if (this.pd.APPLY_STATUS == '6') { - return 7 + return 5 } }, getProcessStatus() { @@ -324,23 +210,9 @@ export default { OPERATTIME: this.pd.OPERATTIME } } - if (this.pd.APPLY_STATUS == '-3') { - obj = { - title: '所在单位审核打回', - USER_NAME: this.pd.PRODUCTION_USER_NAME, - OPERATTIME: this.pd.OPERATTIME - } - } - if (this.pd.APPLY_STATUS == '-4') { - obj = { - title: '消防、安全管理部门审核打回', - USER_NAME: this.pd.SAFETY_USER_NAME, - OPERATTIME: this.pd.OPERATTIME - } - } if (this.pd.APPLY_STATUS == '-5') { obj = { - title: '审批部门审核打回', + title: '所在单位审核打回', USER_NAME: this.pd.LEADER_USER_NAME, OPERATTIME: this.pd.OPERATTIME } @@ -361,7 +233,10 @@ export default { }, goDetail(id) { this.$parent.activeName = 'Detail' - this.$parent.CUTROAD_ID = id + this.$parent.BLINDBOARD_ID = id + }, + goBack(){ + this.$parent.activeName = 'CorpInfo' } } } diff --git a/src/views/dangerousWork/blindboard/index.vue b/src/views/dangerousWork/blindboard/index.vue index 17f8ac2..060b772 100644 --- a/src/views/dangerousWork/blindboard/index.vue +++ b/src/views/dangerousWork/blindboard/index.vue @@ -16,7 +16,7 @@ export default { activeName: 'CorpInfo', CORPINFO_ID: '', ticketType: '', - CUTROAD_ID: '' + BLINDBOARD_ID: '' } } } diff --git a/src/views/dangerousWork/breakground/components/corpInfo.vue b/src/views/dangerousWork/breakground/components/corpInfo.vue index b082343..975c20a 100644 --- a/src/views/dangerousWork/breakground/components/corpInfo.vue +++ b/src/views/dangerousWork/breakground/components/corpInfo.vue @@ -33,22 +33,22 @@ diff --git a/src/views/dangerousWork/breakground/components/detail.vue b/src/views/dangerousWork/breakground/components/detail.vue index ead3fbf..e408759 100644 --- a/src/views/dangerousWork/breakground/components/detail.vue +++ b/src/views/dangerousWork/breakground/components/detail.vue @@ -8,7 +8,7 @@

动土安全作业票

-
编号:{{ pd.CHECK_NO }}
+
编号:{{ pd.CHECK_NO }}
申请单位 {{ pd.APPLY_DEPARTMENT_NAME }}作业单位{{ pd.CONSTRUCTION_DEPARTMENT_NAME }}作业负责人{{ pd.CONSTRUCTION_USER_NAME }}作业申请时间{{ pd.CREATTIME }}
作业单位{{ pd.CONSTRUCTION_DEPARTMENT_NAME }}作业地点{{ pd.WORK_PLACE }}作业内容{{ pd.JOB_CONTENT }}
涉及相关单位(部门){{ pd.OTHER_DEPT }} 监护人
@@ -32,10 +36,8 @@ {{ pd.GUARDIAN_USER_SIGNER_TIME }}
断路原因{{ pd.WORK_REASON }}作业负责人{{ pd.CONSTRUCTION_USER_NAME }}
关联的其他特殊作业及安全作业票编号
-
断路地段示意图(可另附图)及相关说明:{{ pd.WORK_CONTENT }}
+
作业内容、范围、方式(包括深度、面积,并附简图):{{ pd.WORK_CONTENT }}
@@ -82,7 +84,7 @@ {{ item.CONFIRM_NAME }}
{{ measuresList.length + 1 }}
@@ -152,7 +154,7 @@
-
消防、安全管理部门意见:{{ pd.SAFETY_CONTENT }}
+
有关水、电、汽、工艺、设备、消防、安全等部门会签意见:{{ pd.SAFETY_CONTENT }}
签字: @@ -196,12 +198,12 @@ export default { data() { return { config: config, - CUTROAD_ID: this.$parent.CUTROAD_ID, // 主键ID + BREAKGROUND_ID: this.$parent.BREAKGROUND_ID, // 主键ID pd: [], // 存放字段参数 measuresList: [], - otherProtectiveMeasures: [], imgList: [], imgList1: [], + otherProtectiveMeasures: [], hazardIdentification: [] } }, @@ -228,20 +230,21 @@ export default { } }, getRowKey(row) { - return row.CUTROAD_ID + return row.BREAKGROUND_ID }, getData() { this.listLoading = true requestFN( '/gfBreakGround/goEdit', { - CUTROAD_ID: this.CUTROAD_ID + BREAKGROUND_ID: this.BREAKGROUND_ID } ).then((data) => { this.listLoading = false this.pd = data.pd // 参数map - this.measuresList = data.measuresList // 参数map this.imgList = data.imgList + this.imgList1 = data.imgList + this.measuresList = data.measuresList // 参数map this.pd.APPLY_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[0] this.pd.CONSTRUCTION_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[1] this.pd.PRODUCTION_USER_MEASURES = this.pd.OTHER_PROTECTIVE_MEASURES.split(';_;')[2] @@ -252,8 +255,7 @@ export default { }) }, goBack() { - this.$parent.activeName = 'circuit_list' - this.$parent.CUTROAD_ID = '' + this.$parent.activeName = 'Breakground' } } diff --git a/src/views/dangerousWork/breakground/components/list.vue b/src/views/dangerousWork/breakground/components/list.vue index 82cfb2e..1099372 100644 --- a/src/views/dangerousWork/breakground/components/list.vue +++ b/src/views/dangerousWork/breakground/components/list.vue @@ -30,16 +30,18 @@ - + + + - + @@ -50,16 +52,16 @@ @@ -67,7 +69,7 @@ @@ -78,92 +80,6 @@
- - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- 监护人:{{ pd.GUARDIAN_USER_NAME }}已签字 -
-
-
-
- 监护人:{{ pd.GUARDIAN_USER_NAME }}未签字 -
-
-
-
- 安全交底人:{{ pd.CONFESS_USER_NAME }}已签字 -
-
-
-
- 安全交底人:{{ pd.CONFESS_USER_NAME }}未签字 -
-
-
-
- 接受交底人:{{ pd.ACCEPT_CONFESS_USER_NAME }}已签字 -
-
-
-
- 接受交底人:{{ pd.ACCEPT_CONFESS_USER_NAME }}未签字 -
-
-
- -
返 回 @@ -206,16 +122,16 @@ export default { dialogFormHuifuShow: false, statusList: [ { ID: '', NAME: '请选择' }, - { ID: '0', NAME: '断路安全作业待提交' }, + { ID: '0', NAME: '动土作业待提交' }, { ID: '1', NAME: '作业负责人待审核' }, { ID: '2', NAME: '所在单位待审核' }, - { ID: '3', NAME: '消防、安全管理部门待审核' }, + { ID: '3', NAME: '有关部门待审核' }, { ID: '4', NAME: '审批部门待审核' }, { ID: '5', NAME: '待验收' }, { ID: '6', NAME: '验收归档' }, { ID: '-2', NAME: '作业负责人审核打回' }, { ID: '-3', NAME: '所在单位审核打回' }, - { ID: '-4', NAME: '消防、安全管理部门审核打回' }, + { ID: '-4', NAME: '有关部门审核打回' }, { ID: '-5', NAME: '审批部门审核打回' }, { ID: '-6', NAME: '验收打回' } ], @@ -247,7 +163,9 @@ export default { '/gfBreakGround/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, { KEYWORDS: this.KEYWORDS, APPLY_STATUS: this.STATUS, - DEPTIDS: this.DEPTIDS, tm: new Date().getTime() + DEPTIDS: this.DEPTIDS, tm: new Date().getTime(), + CORPINFO_ID: this.$parent.CORPINFO_ID, + ticketType: this.$parent.ticketType } ).then((data) => { this.listLoading = false @@ -258,7 +176,7 @@ export default { this.listLoading = false }) }, - + goChart(row) { this.pd = row this.dialogFormShow = true @@ -318,7 +236,7 @@ export default { } if (this.pd.APPLY_STATUS == '-4') { obj = { - title: '消防、安全管理部门审核打回', + title: '有关部门审核打回', USER_NAME: this.pd.SAFETY_USER_NAME, OPERATTIME: this.pd.OPERATTIME } @@ -346,7 +264,11 @@ export default { }, goDetail(id) { this.$parent.activeName = 'Detail' - this.$parent.CUTROAD_ID = id + this.$parent.BREAKGROUND_ID = id + }, + goBack(){ + this.$parent.activeName = 'CorpInfo' + this.$parent.BREAKGROUND_ID = '' } } } diff --git a/src/views/dangerousWork/breakground/index.vue b/src/views/dangerousWork/breakground/index.vue index 17f8ac2..d2b781b 100644 --- a/src/views/dangerousWork/breakground/index.vue +++ b/src/views/dangerousWork/breakground/index.vue @@ -1,22 +1,22 @@