From 0f58e968b1ce35d59bc94eeec4311f19e48953e9 Mon Sep 17 00:00:00 2001 From: Lesan <1960681385@qq.com> Date: Tue, 21 Jan 2025 08:25:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20BPM-=E6=9B=B4=E5=A4=9A=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E8=87=AA=E5=8A=A8=E5=8E=BB=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/constants.ts | 6 ++++++ src/views/bpm/model/form/ExtraSettings.vue | 21 +++++++++++++++++++++ src/views/bpm/model/form/index.vue | 3 ++- 3 files changed, 29 insertions(+), 1 deletion(-) 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 }) //流程数据