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
@@ -110,7 +110,7 @@ import UserSelectModal from '@comp/selection/UserSelectModal'
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
import {
approvalInspectRectify, getInspectRectifyDataById,
getInspectRectifyDetail, saveInspectRectify, transferInspectRectify
getInspectRectifyDetail, rejectInspectRectify, saveInspectRectify, transferInspectRectify
} from '@api/workCenter'
import { EsInspectionRectification, ProcessKey } from '@/enums/commonEnums'
@@ -309,6 +309,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
})
@@ -438,7 +439,7 @@ export default {
this.loading = true
this.getPageParams().then(res => {
res.map.pass = false
return approvalInspectRectify(res)
return rejectInspectRectify(res)
}).then(res => {
if (res.success) {
this.$message.success(res.message)