From adf924e3be3e5d5e7a1f12ae2a2684f7d856f003 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 17 一月 2025 11:01:03 +0800 Subject: [PATCH] 数据分析 --- src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue b/src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue index a088b6d..fb5e780 100644 --- a/src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue +++ b/src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue @@ -469,7 +469,8 @@ TimeoutHandlerType, ASSIGN_EMPTY_HANDLER_TYPES, AssignEmptyHandlerType, - FieldPermissionType + FieldPermissionType, + ProcessVariableEnum } from '../consts' import { @@ -519,6 +520,13 @@ useFormFieldsPermission(FieldPermissionType.READ) // 表单内用户字段选项, 必须是必填和用户选择器 const userFieldOnFormOptions = computed(() => { + // 固定添加发起人 ID 字段 + formFieldOptions.unshift({ + field: ProcessVariableEnum.START_USER_ID, + title: '发起人', + type: 'UserSelect', + required: true + }) return formFieldOptions.filter((item) => item.type === 'UserSelect') }) // 表单内部门字段选项, 必须是必填和部门选择器 -- Gitblit v1.9.3