mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vben.git
synced 2025-12-30 10:32:25 +00:00
feat:【ele】【crm】customer 的部分(limitConfig)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -114,7 +114,11 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
<FormModal @success="handleRefresh" />
|
||||
<Grid>
|
||||
<template #toolbar-actions>
|
||||
<ElTabs class="w-full" v-model:model-value="configType" @tab-change="handleChangeConfigType">
|
||||
<ElTabs
|
||||
class="w-full"
|
||||
@tab-change="handleChangeConfigType"
|
||||
v-model:model-value="configType"
|
||||
>
|
||||
<ElTabPane
|
||||
label="拥有客户数限制"
|
||||
:name="LimitConfType.CUSTOMER_QUANTITY_LIMIT"
|
||||
|
||||
Reference in New Issue
Block a user