修改已知问题

This commit is contained in:
qq787203167
2022-05-26 11:13:08 +08:00
parent 9436086375
commit 2a5193a0d6
5 changed files with 34 additions and 19 deletions
@@ -190,7 +190,6 @@
postAction('/workFlow/completeTask', query).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.loading = false
if (this.$route.query.taskDefinitionKey == 'zrrjsrw' || this.$route.query.taskDefinitionKey == 'zrrqr') {
if (value.flag == 0) {
if (this.queryProject.verifyDeliverableType) {
@@ -204,21 +203,32 @@
}
if (!this.queryProject.verifyDeliverableType && !this.queryProject.prehomoDeliverableType &&
!this.queryProject.designDeliverableType) {
window.close()
setTimeout(() => {
this.loading = false
window.close()
}, 1000)
// this.$router.push({
// path: '/ProcessCenter'
// })
}
} else {
window.close()
setTimeout(() => {
this.loading = false
window.close()
}, 1000)
// this.$router.push({
// path: '/ProcessCenter'
// })
}
} else {
this.$router.push({
path: '/ProcessCenter'
})
setTimeout(() => {
this.loading = false
window.close()
}, 1000)
// this.$router.push({
// path: '/ProcessCenter'
// })
}
} else {
this.loading = false
@@ -252,13 +262,12 @@
if (res.success) {
this.visible = false
setTimeout(() => {
this.loading = false
window.close()
}, 2000)
}, 3000)
// this.$router.push({
// path: '/ProcessCenter'
// })
} else {
this.$message.warning(this.$t('operationFailed'))
}
})
},