From 5bbe79885f03805b15aa5ce828cd81d99870ed1c Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Wed, 19 Jun 2024 17:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=97=E4=BA=A4=E5=BA=95=E4=BA=BA?= =?UTF-8?q?=EF=BC=8C=E5=AE=8C=E5=B7=A5=E9=AA=8C=E6=94=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=A4=9A=E5=BC=A0=E7=AD=BE=E5=AD=97=E5=9B=BE=E7=89=87=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hotwork_list/components/detail_cfd.vue | 19 ++++++++--- src/views/map/dialog/hotworkFirst.vue | 33 ++++++++++++------- 2 files changed, 37 insertions(+), 15 deletions(-) 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 4aedc93..bc16956 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 @@ -162,10 +162,12 @@ 接受交底人 -
- 签字: - - {{ item.APPROVAL_SIGNATURE_TIME }} +
+
+ 签字: + + {{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }} +
@@ -339,7 +341,16 @@ export default { this.confessList.push(item) } }) + // 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(';') + } if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') { this.acceptConfessList.push(item) } diff --git a/src/views/map/dialog/hotworkFirst.vue b/src/views/map/dialog/hotworkFirst.vue index 15da57a..5b79a4e 100644 --- a/src/views/map/dialog/hotworkFirst.vue +++ b/src/views/map/dialog/hotworkFirst.vue @@ -145,10 +145,12 @@ 接受交底人 -
- 签字: - - {{ item.APPROVAL_SIGNATURE_TIME }} +
+
+ 签字: + + {{ item.APPROVAL_SIGNATURE_TIME.split(',')[0] }} +
@@ -184,7 +186,7 @@ -
作业负责人意见:{{ pd.CONFIRM_CONTENT }}
+
作业负责人意见:{{ pd.CONFIRM_CONTENT === '无' ? '同意' : pd.CONFIRM_CONTENT }}
签字: @@ -194,7 +196,7 @@ -
项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS }}
+
项目主管部门负责人意见:{{ pd.BELONGING_OPINIONS === '' ? '同意' : pd.BELONGING_OPINIONS }}
签字: @@ -204,7 +206,7 @@ -
属地监管单位意见:{{ pd.LEADER_CONTENT }}
+
属地监管单位意见:{{ pd.LEADER_CONTENT === '无' ? '同意' : pd.LEADER_CONTENT }}
签字: @@ -214,7 +216,7 @@ -
安全管理部门意见:{{ pd.AUDIT_CONTENT }}
+
安全管理部门意见:{{ pd.AUDIT_CONTENT === '无' ? '同意' : pd.AUDIT_CONTENT}}
签字: @@ -224,7 +226,7 @@ -
动火审批人意见:{{ pd.APPROVE_CONTENT }}
+
动火审批人意见:{{ pd.APPROVE_CONTENT === '无' ? '同意' : pd.APPROVE_CONTENT}}
签字: @@ -234,7 +236,7 @@ -
动火前验票负责人:{{ pd.MONITOR_CONTENT }}
+
动火前验票负责人:{{ pd.MONITOR_CONTENT === '无' ? '同意' : pd.MONITOR_CONTENT}}
签字: @@ -244,7 +246,7 @@ -
完工验收:{{ pd.ACCEPT_CONTENT }}
+
完工验收:{{ pd.ACCEPT_CONTENT === '无' ? '同意' : pd.ACCEPT_CONTENT}}
签字: @@ -335,7 +337,16 @@ export default { this.confessList.push(item) } }) + // 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(';') + } if (item.APPROVAL_SIGNATURE_TIME !== undefined && item.APPROVAL_SIGNATURE_TIME.trim() !== '') { this.acceptConfessList.push(item) }