diff --git a/src/components/SimpleProcessDesignerV2/src/consts.ts b/src/components/SimpleProcessDesignerV2/src/consts.ts index acf9409a..2ba4fb3f 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 42bbd4ac..8321d131 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 84e74d89..2f90b3c0 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: '' + } }) //流程数据