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({