feat: There is no way the, bug #52414

This commit is contained in:
super_liu
2022-04-02 17:55:15 +08:00
parent bb8839e0f0
commit 74a3f2e3c0
@@ -2980,18 +2980,20 @@
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message)
this.submitLoading = false
this.isSubmit = false
// if (this.$route.query.bpnId !== '') {
// let taskId = {
// id: this.$route.query.bpnId
// }
// taskDel(taskId).then(res=>{
// return res
// })
// }
if (this.$route.query.bpnId !== '') {
let taskId = {
id: this.$route.query.bpnId
}
taskDel(taskId).then(res=>{
return res
})
}
// 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.data)
}
})
}