From 0731999e7da6ad386b57fd6fb25e411f0443d223 Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Mon, 1 Dec 2025 12:52:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[bpm][antd]=20bpmn=20=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom-config/components/UserTaskCustomConfig.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/web-antd/src/views/bpm/components/bpmn-process-designer/package/penal/custom-config/components/UserTaskCustomConfig.vue b/apps/web-antd/src/views/bpm/components/bpmn-process-designer/package/penal/custom-config/components/UserTaskCustomConfig.vue index b1c77400b..fc0fd0171 100644 --- a/apps/web-antd/src/views/bpm/components/bpmn-process-designer/package/penal/custom-config/components/UserTaskCustomConfig.vue +++ b/apps/web-antd/src/views/bpm/components/bpmn-process-designer/package/penal/custom-config/components/UserTaskCustomConfig.vue @@ -74,7 +74,6 @@ const assignEmptyUserIdsEl = ref(); const assignEmptyUserIds = ref(); // 操作按钮 -// TODO @puhui999:这块迁移有点问题,按钮不能操作;另外,label 也没展示。 const buttonsSettingEl = ref(); const { btnDisplayNameEdit, changeBtnDisplayName } = useButtonsSetting(); const btnDisplayNameBlurEvent = (index: number) => { @@ -179,7 +178,7 @@ const resetCustomConfigList = () => { }); // 操作按钮 - buttonsSettingEl.value = elExtensionElements.value.values?.find( + buttonsSettingEl.value = elExtensionElements.value.values?.filter( (ex: any) => ex.$type === `${prefix}:ButtonsSetting`, ); if (buttonsSettingEl.value.length === 0) { @@ -196,7 +195,7 @@ const resetCustomConfigList = () => { // 字段权限 if (formType.value === BpmModelFormType.NORMAL) { - const fieldsPermissionList = elExtensionElements.value.values?.find( + const fieldsPermissionList = elExtensionElements.value.values?.filter( (ex: any) => ex.$type === `${prefix}:FieldsPermission`, ); fieldsPermissionEl.value = []; @@ -373,7 +372,6 @@ function useButtonsSetting() { } /** 批量更新权限 */ -// TODO @lesan:这个页面,有一些 idea 红色报错,咱要不要 fix 下! const updatePermission = (type: string) => { fieldsPermissionEl.value.forEach((field: any) => { if (type === 'READ') { @@ -530,7 +528,10 @@ onMounted(async () => {
- +