From f02211533bc55739f45494b69d5f2ea5c1655169 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 16 May 2022 09:30:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E8=B5=B7=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E7=AC=A6=E5=90=88=E6=80=A7=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processForm/handshakeProcess/index.vue | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/jero-web/src/views/processCenter/processForm/handshakeProcess/index.vue b/jero-web/src/views/processCenter/processForm/handshakeProcess/index.vue index 96df9d4b9..38752ffef 100644 --- a/jero-web/src/views/processCenter/processForm/handshakeProcess/index.vue +++ b/jero-web/src/views/processCenter/processForm/handshakeProcess/index.vue @@ -230,15 +230,27 @@ if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.loading = false - if (value.flag == 0) { - if (this.queryProject.verifyDeliverableType) { - this.startProcessDesign(this.queryBy, 4) - } - if (this.queryProject.prehomoDeliverableType) { - this.startProcessDesign(this.queryBy, 3) - } - if (this.queryProject.designDeliverableType) { - this.startProcessDesign(this.queryBy, 2) + if (this.$route.query.taskDefinitionKey == 'zrrjsrw' || this.$route.query.taskDefinitionKey == 'zrrqr') { + if (value.flag == 0) { + if (this.queryProject.verifyDeliverableType) { + this.startProcessDesign(this.queryBy, 4) + } + if (this.queryProject.prehomoDeliverableType) { + this.startProcessDesign(this.queryBy, 3) + } + if (this.queryProject.designDeliverableType) { + this.startProcessDesign(this.queryBy, 2) + } + if (!this.queryProject.verifyDeliverableType && !this.queryProject.prehomoDeliverableType && + !this.queryProject.designDeliverableType) { + this.$router.push({ + path: '/ProcessCenter' + }) + } + } else { + this.$router.push({ + path: '/ProcessCenter' + }) } } else { this.$router.push({