[update] 修改企标流程节点1发起和驳回后调不同接口
This commit is contained in:
@@ -346,7 +346,15 @@ export default {
|
||||
paramObj.common = { ...values, ...approvalValues }
|
||||
paramObj.flowUser = personnelObj
|
||||
paramObj.data = data.formInline
|
||||
enStandardStartUseApproval(paramObj).then(res => {
|
||||
let func
|
||||
if (this.$route.query.taskId) {
|
||||
// 有taskId说明是驳回的提交
|
||||
func = enStandardStartUseAgree
|
||||
paramObj.common.taskId = this.$route.query.taskId
|
||||
} else {
|
||||
func = enStandardStartUseApproval
|
||||
}
|
||||
func(paramObj).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
this.goBack()
|
||||
|
||||
Reference in New Issue
Block a user