update 流程完善
This commit is contained in:
@@ -157,7 +157,7 @@ import { PermissionApply, ProcessKey } from '@/enums/commonEnums'
|
||||
import {
|
||||
approvalPermissionApply, getPermissionApplyDataById,
|
||||
getPermissionApplyDetail,
|
||||
getPermissionApplyProjectId,
|
||||
getPermissionApplyProjectId, rejectPermissionApply,
|
||||
savePermissionApply, startPermissionApply,
|
||||
transferPermissionApply
|
||||
} from '@api/workCenter'
|
||||
@@ -396,6 +396,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
|
||||
})
|
||||
|
||||
@@ -535,7 +536,7 @@ export default {
|
||||
this.loading = true
|
||||
this.getPageParams().then(res => {
|
||||
res.map.pass = false
|
||||
return approvalPermissionApply(res)
|
||||
return rejectPermissionApply(res)
|
||||
}).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
|
||||
Reference in New Issue
Block a user