From 7baf8d7e0607f60b7a2a5caa77c20bf40e0b4b47 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 19 Nov 2025 09:01:30 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90ele=E3=80=91=E3=80=90crm?= =?UTF-8?q?=E3=80=91customer=20=E7=9A=84=E9=83=A8=E5=88=86=EF=BC=88limitCo?= =?UTF-8?q?nfig=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-ele/src/views/crm/customer/limitConfig/data.ts | 4 +++- apps/web-ele/src/views/crm/customer/limitConfig/index.vue | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/web-ele/src/views/crm/customer/limitConfig/data.ts b/apps/web-ele/src/views/crm/customer/limitConfig/data.ts index 66bff25b1..3b05ebfc2 100644 --- a/apps/web-ele/src/views/crm/customer/limitConfig/data.ts +++ b/apps/web-ele/src/views/crm/customer/limitConfig/data.ts @@ -52,7 +52,9 @@ export function useFormSchema(confType: LimitConfType): VbenFormSchema[] { return handleTree(data); }, multiple: true, - fieldNames: { label: 'name', value: 'id', children: 'children' }, + labelField: 'name', + valueField: 'id', + childrenField: 'children', placeholder: '请选择规则适用部门', treeDefaultExpandAll: true, }, diff --git a/apps/web-ele/src/views/crm/customer/limitConfig/index.vue b/apps/web-ele/src/views/crm/customer/limitConfig/index.vue index c745fb7dc..a4cedb13f 100644 --- a/apps/web-ele/src/views/crm/customer/limitConfig/index.vue +++ b/apps/web-ele/src/views/crm/customer/limitConfig/index.vue @@ -114,7 +114,11 @@ const [Grid, gridApi] = useVbenVxeGrid({