update 流程完善
This commit is contained in:
+3
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user