From f1e8ec4888c1b16e200abcb1ed73c91c6d8754b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Fri, 17 Nov 2023 11:11:47 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=A0=87=E5=87=86=E5=BE=81=E6=B1=82?= =?UTF-8?q?=E6=84=8F=E8=A7=81=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/enums/EsEnum.js | 2 +- .../StandardConsultationProcess.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/enums/EsEnum.js b/src/enums/EsEnum.js index 2afaed9e..d191fd1b 100644 --- a/src/enums/EsEnum.js +++ b/src/enums/EsEnum.js @@ -129,7 +129,7 @@ export default class EsEnum { } for (const i in this) { const e = this[i] - if (e.value !== undefined && e.value !== null && e.value.toString().indexOf(value.toString()) !== -1) { + if (e.value !== undefined && e.value !== null && value.toString().indexOf(e.value.toString()) !== -1) { return i } } diff --git a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue index 0ee1903d..48bdc969 100644 --- a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue +++ b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue @@ -775,7 +775,8 @@ export default { this.loading = true const params = { processInstanceId: this.$route.query.processInstanceId, - draftId: this.$route.query.draftId + draftId: this.$route.query.draftId, + taskId: this.$route.query.taskId } queryConsultationProcessDetail(params).then(res => { if (res.success) { @@ -784,6 +785,7 @@ export default { this.processInfo = Object.assign({}, result.basicProcessInfoDTO || {}) // 流程审批信息 this.approvalInfo = Object.assign({}, result.basicTaskInfoDTO || {}) + this.approvalInfo.taskId = this.approvalInfo.taskId || this.$route.query.taskId // 业务基本信息 this.basicServiceInfo = Object.assign({}, result.businessInfoDTO.processFbStandardConsultation || {}) // 业务分派信息