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) } } }