[update] 修改企标流程节点1发起和驳回后调不同接口

This commit is contained in:
lideqin
2023-11-23 17:26:46 +08:00
parent 2a8ba6c47c
commit 8ccd87a3f9
9 changed files with 80 additions and 24 deletions
@@ -423,7 +423,6 @@ export default {
enStandardEditSave(paramObj).then(res => {
if (res.success) {
this.$message.success(res.message)
this.goBack()
} else {
this.$message.warning(res.message)
}
@@ -453,7 +452,15 @@ export default {
} else {
param.dataList = [data.formInline]
}
enStandardEditApproval(param).then(res => {
let func
if (this.$route.query.taskId) {
// 有taskId说明是驳回的提交
func = enStandardEditAgree
param.common.taskId = this.$route.query.taskId
} else {
func = enStandardEditApproval
}
func(param).then(res => {
if (res.success) {
this.$message.success(res.message)
this.goBack()