From 24fe34f2d06afdf6a5c326259e0245b594d46b61 Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 12 Jan 2024 10:31:14 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=A8=BD=E6=9F=A5=E8=AE=A1=E5=88=92-?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E6=92=A4=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EnterpriseStandardInspectionPlanFlow.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue index bff2f0db..e552b224 100644 --- a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue +++ b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue @@ -304,15 +304,15 @@ export default { // 草稿状态回显 if (draftId) { - const { draftData, personInfo } = JSON.parse(data.infoJsonStr || '{}') - console.log('草稿回显', JSON.parse(data.infoJsonStr || '{}'), draftData, personInfo) + const infoJson = JSON.parse(data.infoJsonStr || '{}') + console.log('草稿回显', JSON.parse(data.infoJsonStr || '{}'), infoJson.draftData, infoJson.personInfo) // 节点1 回显人员信息 if (this.isInitiate) { - this.draftInitPersonInfo(personInfo) + this.draftInitPersonInfo(infoJson.personInfo) } // 回显业务信息,如果有标识属性就是强制撤回 - if (Object.hasOwnProperty.call(draftData, 'revocation')) { - this.$refs.inspectionPlanTable.setData(draftData) + if (Object.hasOwnProperty.call(infoJson, 'revocation')) { + this.$refs.inspectionPlanTable.setData(infoJson.draftData) } } }