From 9f5c1da7e69cf60576041dc3dead4e92bdf6dc93 Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 25 Jul 2024 18:04:54 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85]?= =?UTF-8?q?=20=E7=A8=BD=E6=9F=A5=E6=95=B4=E6=94=B9=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EnterpriseStandardInspectionPlanFlow.vue | 10 +- .../EnterpriseStandardInspectionProcess.vue | 10 +- ...erpriseStandardInspectionRectification.vue | 143 +++++++++++++++--- .../InspectionExtensionRequestProcess.vue | 10 +- 4 files changed, 134 insertions(+), 39 deletions(-) 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 @@