diff --git a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue index 3f0035ac..c8372d55 100644 --- a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue +++ b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue @@ -244,15 +244,15 @@ export default { // 同意按钮 this.btn = ['agree'] } - // 查询人员信息 - this.getPersonInfoStructure(this.processKey, () => { - this.initPersonInfoData(this.isInitiate) - }) // 快照回显 if (this.$route.query.snapshotId) { this.loadSnapshotPage() return } + // 查询人员信息 + this.getPersonInfoStructure(this.processKey, () => { + this.initPersonInfoData(this.isInitiate) + }) // 如果是待办或草稿进来,就获取详情数据 if (this.$route.query.projectId) { this.loadPage() @@ -472,7 +472,7 @@ export default { saveSnapShotInfo (prcParams) { // 没有taskId就不保存 if (!this.$route.query.taskId) { - return Promise.resolve() + return Promise.resolve({ success: true }) } const { processAll = {}, processApprovalRecord = {} } = prcParams const params = Object.assign({}, { diff --git a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue index 02dc7f7b..ce5cbfdf 100644 --- a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue +++ b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue @@ -215,15 +215,15 @@ export default { // 同意按钮 this.btn = ['agree'] } - // 查询人员信息 - this.getPersonInfoStructure(this.processKey, () => { - this.initPersonInfoData(this.isInitiate) - }) // 快照回显 if (this.$route.query.snapshotId) { this.loadSnapshotPage() return } + // 查询人员信息 + this.getPersonInfoStructure(this.processKey, () => { + this.initPersonInfoData(this.isInitiate) + }) // 如果是待办或草稿进来,就获取详情数据 if (this.$route.query.projectId) { this.loadPage() @@ -442,7 +442,7 @@ export default { saveSnapShotInfo (prcParams) { // 没有taskId就不保存 if (!this.$route.query.taskId) { - return Promise.resolve() + return Promise.resolve({ success: true }) } const { processAll = {}, processApprovalRecord = {} } = prcParams const params = Object.assign({}, { diff --git a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue index dd76501d..5a0a3ef6 100644 --- a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue +++ b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue @@ -1,7 +1,7 @@