From 71db7a2284b61bc8b68e1097e9b8ee819cb6f32f Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期四, 16 一月 2025 13:47:20 +0800 Subject: [PATCH] 修改指标分类为选择tree,增加选择框可编辑 --- 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