修改发起设计符合性流程

This commit is contained in:
qq787203167
2022-05-16 09:30:36 +08:00
parent b259bd63b4
commit f02211533b
@@ -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({