From a853730c34392c43b324468466780617bd72fc1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 18 Jan 2024 11:05:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=91=E8=B5=B7=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E4=BD=8D=E7=BD=AE=E8=B0=83=E5=8F=96=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standardConsultationProcess/StandardConsultationProcess.vue | 2 +- .../StandardEntryOrChangeProcess.vue | 2 +- .../standardProcurementProcess/StandardProcurementProcess.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue index 9d25c290..db189132 100644 --- a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue +++ b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue @@ -1148,7 +1148,7 @@ export default { } this.loading = true let func - if (!this.currentNode || (this.currentNode.indexOf(ConsultationProcess.initiate.value) === 0 && !this.$route.query.processInstanceId)) { + if (!this.currentNode || (this.currentNode.indexOf(ConsultationProcess.initiate.value) === 0 && (!this.$route.query.processInstanceId || this.$route.query.draftId))) { func = initiateConsultationProcess const saveForm = this.dealFormData(true) if (saveForm) { diff --git a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue index dea45836..b116390f 100644 --- a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue +++ b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue @@ -991,7 +991,7 @@ export default { return } let submitFunc - if (this.currentNode === FGEntryChangeProcessNode.initiate.value && !this.$route.query.processInstanceId) { + if (this.currentNode === FGEntryChangeProcessNode.initiate.value && (!this.$route.query.processInstanceId || this.$route.query.draftId)) { submitFunc = initiateStandardECProcess const saveForm = this.dealSaveJsonData() if (saveForm) { diff --git a/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue b/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue index 1033b099..99106270 100644 --- a/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue +++ b/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue @@ -498,7 +498,7 @@ export default { return } let submitFunc - if (this.currentNode === ProcurementProcessNodes.initiate.value && !this.$route.query.processInstanceId) { + if (this.currentNode === ProcurementProcessNodes.initiate.value && (!this.$route.query.processInstanceId || this.$route.query.draftId)) { submitFunc = initProcurementProcess const saveForm = this.dealFormData(true) if (saveForm) {