diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 692a45fb..75bf765a 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -457,3 +457,9 @@ export const BpmProcessInstanceStatus = { REJECT: 3, // 审批不通过 CANCEL: 4 // 已取消 } + +export const BpmAutoApproveType = { + NONE: 1, // 不自动通过 + APPROVE_ALL: 2, // 仅审批一次,后续重复的审批节点均自动通过 + APPROVE_SEQUENT: 3, // 仅针对连续审批的节点自动通过 +} diff --git a/src/views/bpm/model/form/ExtraSettings.vue b/src/views/bpm/model/form/ExtraSettings.vue index e512cffe..d2e6d2cc 100644 --- a/src/views/bpm/model/form/ExtraSettings.vue +++ b/src/views/bpm/model/form/ExtraSettings.vue @@ -58,11 +58,29 @@ + + + 自动去重 + + + + 同一审批人在流程中重复出现时: + + + + 不自动通过 + 仅审批一次,后续重复的审批节点均自动通过 + 仅针对连续审批的节点自动通过 + + + + diff --git a/src/views/bpm/model/form/index.vue b/src/views/bpm/model/form/index.vue index 4bc1cfc0..17953818 100644 --- a/src/views/bpm/model/form/index.vue +++ b/src/views/bpm/model/form/index.vue @@ -153,7 +153,8 @@ const formData: any = ref({ infix: '', postfix: '', length: 5 - } + }, + autoApprovalType: 1 }) //流程数据