diff --git a/src/views/classMessage/classMessage/components/edit.vue b/src/views/classMessage/classMessage/components/edit.vue index fe31e5a..826a42c 100644 --- a/src/views/classMessage/classMessage/components/edit.vue +++ b/src/views/classMessage/classMessage/components/edit.vue @@ -121,7 +121,7 @@ size="mini" @click="getUserInfo(row)">查看 - 更换头像 + 更换头像 - + - + @@ -52,7 +59,12 @@ - + - - - - - +
{{ '温馨提示:1、输入名称、电话、身份证号按回车或让输入框失去焦点即可搜索。2、双击人员列可直接添加' }}
搜索条件
- + + + + + + + + + + + + + + + +
@@ -102,59 +141,68 @@ tooltip-effect="dark" height="450px" border - fit highlight-current-row + @row-dblclick="clickAddSelect" @selection-change="updateSelect" - > - - - - + + + + + + + - - - - - + + - + @@ -162,44 +210,56 @@
- +
-
已选择人员数量:{{ ($refs.multipleTable && $refs.multipleTable.selection)?$refs.multipleTable.selection.length:0 }}
+
已选择人员数量:{{ + (selectPeopleList && selectPeopleList.length) ? selectPeopleList.length : 0 + }} +
已选择人员名称:
- + - - + + + + +
+
+ + diff --git a/src/views/classMessage/classMessage/components/list.vue b/src/views/classMessage/classMessage/components/list.vue index 2ef7dfd..42591ea 100644 --- a/src/views/classMessage/classMessage/components/list.vue +++ b/src/views/classMessage/classMessage/components/list.vue @@ -71,12 +71,19 @@ {{ row.CLASS_STATUS === '0'?'待开班':(row.CLASS_STATUS === '1'?'已开班':'完成') }} - + @@ -193,6 +200,11 @@ export default { this.isShow = true this.$refs.edit.init({ CLASS_MESSAGE_ID: ID }) }, + handleInit(ID) { + this.title = '详情' + this.isShow = false + this.$refs.initClass.init({ CLASS_MESSAGE_ID: ID }) + }, handleDelete(id) { this.$confirm('确定要删除吗?', { confirmButtonText: '确定', diff --git a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail_cfd.vue b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail_cfd.vue index 0422aaa..1549ecd 100644 --- a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail_cfd.vue +++ b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/detail_cfd.vue @@ -75,6 +75,22 @@ 动火作业实施时间 {{ pd.WORK_START_DATE }}至{{ pd.WORK_END_DATE }}止 + + 动火是否完成 + + 已完成 + + 动火是否完成 + + 已清理 + + + + 是否存在遗留火种 + + 无遗留火种 + + @@ -146,13 +162,25 @@ + + + + + + + + + +
接受交底人 -
- 签字: - - {{ item.ACCEPT_CONFESS_USER_SIGNER_TIME }} +
+
+ 签字: + + {{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }} +
监护人 @@ -175,7 +203,7 @@
-
作业负责人意见:{{ pd.CONFIRM_CONTENT }}
+
作业负责人意见:{{ pd.CONFIRM_CONTENT === '无' ? '同意' : pd.CONFIRM_CONTENT }}
签字: @@ -185,7 +213,7 @@
-
项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS }}
+
项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS === '' ? '同意' : pd.BELONGING_OPINIONS }}
签字: @@ -195,7 +223,7 @@
-
所在单位意见:{{ pd.LEADER_CONTENT }}
+
属地监管单位意见:{{ pd.LEADER_CONTENT === '无' ? '同意' : pd.LEADER_CONTENT }}
签字: @@ -205,7 +233,7 @@
-
安全管理部门意见:{{ pd.AUDIT_CONTENT }}
+
安全管理部门意见:{{ pd.AUDIT_CONTENT === '无' ? '同意' : pd.AUDIT_CONTENT }}
签字: @@ -215,7 +243,7 @@
-
动火审批人意见:{{ pd.APPROVE_CONTENT }}
+
动火审批人意见:{{ pd.APPROVE_CONTENT === '无' ? '同意' : pd.APPROVE_CONTENT }}
签字: @@ -225,7 +253,7 @@
-
动火前验票负责人:{{ pd.MONITOR_CONTENT }}
+
动火前验票负责人:{{ pd.MONITOR_CONTENT === '无' ? '同意' : pd.MONITOR_CONTENT }}
签字: @@ -235,7 +263,7 @@
-
完工验收:{{ pd.ACCEPT_CONTENT }}
+
完工验收:{{ pd.ACCEPT_CONTENT === '无' ? '同意' : pd.ACCEPT_CONTENT }}
签字: @@ -267,6 +295,7 @@ export default { imgList: [], imgList1: [], otherProtectiveMeasures: [], + acceptConfessList: [], confessList: [] } }, @@ -312,23 +341,37 @@ export default { this.confessList.push(item) } }) - for (let i = 0; i < data.measuresList.length; i++) { - // 将字符串转成数组 - const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('') - for (let j = 1; j <= 3; j++) { - // 判断字符串是否存在 - if (this.findCharIndex(PROTECTIVE_MEASURES, '(', j) !== -1) { - // 给字符串后面添加上需要的数据 - PROTECTIVE_MEASURES.splice( - this.findCharIndex(PROTECTIVE_MEASURES, '(', j) + 1, - 0, - data.measuresList[i]['ANSWER' + j] - ) - } + // data.pd.acceptConfessList.forEach(item => { + // if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') { + // this.acceptConfessList.push(item) + // } + // }) + data.pd.acceptConfessList.forEach(item => { + // 将 APPROVAL_SIGNATURE 转换为数组 + if (item.APPROVAL_SIGNATURE) { + item.APPROVAL_SIGNATURE = item.APPROVAL_SIGNATURE.split(';') } - // 将数组转回字符串 - data.measuresList[i].PROTECTIVE_MEASURES = PROTECTIVE_MEASURES.join('') - } + if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') { + this.acceptConfessList.push(item) + } + }) + // for (let i = 0; i < data.measuresList.length; i++) { + // // 将字符串转成数组 + // const PROTECTIVE_MEASURES = data.measuresList[i].PROTECTIVE_MEASURES.split('') + // for (let j = 1; j <= 3; j++) { + // // 判断字符串是否存在 + // if (this.findCharIndex(PROTECTIVE_MEASURES, '(', j) !== -1) { + // // 给字符串后面添加上需要的数据 + // PROTECTIVE_MEASURES.splice( + // this.findCharIndex(PROTECTIVE_MEASURES, '(', j) + 1, + // 0, + // data.measuresList[i]['ANSWER' + j] + // ) + // } + // } + // // 将数组转回字符串 + // data.measuresList[i].PROTECTIVE_MEASURES = PROTECTIVE_MEASURES.join('') + // } this.measuresList = data.measuresList // 参数map this.gasList = data.gasList // 参数map if (this.pd.WORK_LEVEL === '二级') { diff --git a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list_cfd.vue b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list_cfd.vue index 5196e0a..66d0292 100644 --- a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list_cfd.vue +++ b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list_cfd.vue @@ -52,14 +52,14 @@