From 9495c2c63a237d77b8815ff0890805c6224819c2 Mon Sep 17 00:00:00 2001 From: LesanOuO <1960681385@qq.com> Date: Thu, 23 Jan 2025 12:05:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20BPM-=E6=9B=B4=E5=A4=9A=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E6=A0=87=E9=A2=98=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SimpleProcessDesignerV2/src/consts.ts | 10 ++- src/views/bpm/model/form/ExtraSettings.vue | 85 +++++++++++++++++++ src/views/bpm/model/form/index.vue | 6 +- 3 files changed, 99 insertions(+), 2 deletions(-) diff --git a/src/components/SimpleProcessDesignerV2/src/consts.ts b/src/components/SimpleProcessDesignerV2/src/consts.ts index acf9409a4..2ba4fb3f0 100644 --- a/src/components/SimpleProcessDesignerV2/src/consts.ts +++ b/src/components/SimpleProcessDesignerV2/src/consts.ts @@ -653,7 +653,15 @@ export enum ProcessVariableEnum { /** * 发起用户 ID */ - START_USER_ID = 'PROCESS_START_USER_ID' + START_USER_ID = 'PROCESS_START_USER_ID', + /** + * 发起时间 + */ + START_TIME = 'PROCESS_START_TIME', + /** + * 流程定义名称 + */ + PROCESS_DEFINITION_NAME = 'PROCESS_DEFINITION_NAME' } /** diff --git a/src/views/bpm/model/form/ExtraSettings.vue b/src/views/bpm/model/form/ExtraSettings.vue index 42bbd4acd..8321d131d 100644 --- a/src/views/bpm/model/form/ExtraSettings.vue +++ b/src/views/bpm/model/form/ExtraSettings.vue @@ -75,12 +75,48 @@ + + +
+ +
+ 系统默认 展示流程名称 + + 自定义标题 + + + + + + +
+
+ +
+
diff --git a/src/views/bpm/model/form/index.vue b/src/views/bpm/model/form/index.vue index 84e74d890..2f90b3c0f 100644 --- a/src/views/bpm/model/form/index.vue +++ b/src/views/bpm/model/form/index.vue @@ -154,7 +154,11 @@ const formData: any = ref({ postfix: '', length: 5 }, - autoApprovalType: BpmAutoApproveType.NONE + autoApprovalType: BpmAutoApproveType.NONE, + customTitleSetting: { + enable: false, + title: '' + } }) //流程数据 -- Gitee