From 5efdd937898d2377c7343bd7dcffb62931e9b592 Mon Sep 17 00:00:00 2001 From: Lesan <1960681385@qq.com> Date: Mon, 20 Jan 2025 11:02:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20BPM-=E6=9B=B4=E5=A4=9A=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E6=B5=81=E7=A8=8B=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bpm/model/form/ExtraSettings.vue | 124 ++++++++++++++++++++- src/views/bpm/model/form/index.vue | 14 ++- 2 files changed, 133 insertions(+), 5 deletions(-) diff --git a/src/views/bpm/model/form/ExtraSettings.vue b/src/views/bpm/model/form/ExtraSettings.vue index af32516f6..7c03b439c 100644 --- a/src/views/bpm/model/form/ExtraSettings.vue +++ b/src/views/bpm/model/form/ExtraSettings.vue @@ -4,14 +4,132 @@ - -
- 第一个审批节点通过后,提交人仍可撤销申请 +
+ +
+ 第一个审批节点通过后,提交人仍可撤销申请 +
+
+ + + +
+
+ + + + + + + + +
+
+ 编码示例:{{ numberExample }} +
diff --git a/src/views/bpm/model/form/index.vue b/src/views/bpm/model/form/index.vue index d9d399e50..7c401c1a1 100644 --- a/src/views/bpm/model/form/index.vue +++ b/src/views/bpm/model/form/index.vue @@ -70,7 +70,7 @@ -
+
@@ -103,6 +103,7 @@ const userStore = useUserStoreWithOut() const basicInfoRef = ref() const formDesignRef = ref() const processDesignRef = ref() +const extraSettingsRef = ref() /** 步骤校验函数 */ const validateBasic = async () => { @@ -145,7 +146,14 @@ const formData: any = ref({ startUserType: undefined, startUserIds: [], managerUserIds: [], - allowCancelRunningProcess: true + allowCancelRunningProcess: true, + processIdRule: { + enable: false, + prefix: '', + infix: '', + postfix: '', + length: 5 + } }) //流程数据 @@ -187,6 +195,8 @@ const initData = async () => { // 最终,设置 currentStep 切换到第一步 currentStep.value = 0 + + extraSettingsRef.value.initData() } /** 根据类型切换流程数据 */ -- Gitee