From bf2bd7bafe4055bb4850762b90e12bbbc62d4780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 28 Nov 2023 17:59:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StandardConsultationProcess.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue index e48b5e6b..383815e6 100644 --- a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue +++ b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue @@ -792,10 +792,13 @@ export default { initProcessDetailData () { this.loading = true const params = { - processInstanceId: this.$route.query.processInstanceId, - draftId: this.$route.query.draftId, taskId: this.$route.query.taskId } + if (this.$route.query.draftId) { + params.draftId = this.$route.query.draftId + } else { + params.processInstanceId = this.$route.query.processInstanceId + } queryConsultationProcessDetail(params).then(async res => { if (res.success) { const { result } = res @@ -825,7 +828,7 @@ export default { this.dispatchInfoForm.setFieldsValue(this.dispatchInfo) }) } else { - this.$messagee.warning(res.message) + this.$message.warning(res.message) } }).finally(() => { this.loading = false