update 流程完善

This commit is contained in:
danshihao
2023-12-12 14:03:16 +08:00
parent f24673868a
commit 7f9791c67c
10 changed files with 58 additions and 36 deletions
@@ -131,7 +131,7 @@ import { EsInspectionPlan, ProcessKey } from '@/enums/commonEnums'
import {
approvalInspectPlan,
getInspectPlanDetail,
getInspectPlanProjectId,
getInspectPlanProjectId, rejectInspectPlan,
saveInspectPlan,
startInspectPlan, transferInspectPlan
} from '@api/workCenter'
@@ -354,6 +354,7 @@ export default {
// 流程信息
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
})
@@ -493,7 +494,7 @@ export default {
this.loading = true
this.getPageParams().then(res => {
res.map.pass = false
return approvalInspectPlan(res)
return rejectInspectPlan(res)
}).then(res => {
if (res.success) {
this.$message.success(res.message)