feat:【ele】【crm】customer 的部分(limitConfig)
This commit is contained in:
@@ -52,7 +52,9 @@ export function useFormSchema(confType: LimitConfType): VbenFormSchema[] {
|
|||||||
return handleTree(data);
|
return handleTree(data);
|
||||||
},
|
},
|
||||||
multiple: true,
|
multiple: true,
|
||||||
fieldNames: { label: 'name', value: 'id', children: 'children' },
|
labelField: 'name',
|
||||||
|
valueField: 'id',
|
||||||
|
childrenField: 'children',
|
||||||
placeholder: '请选择规则适用部门',
|
placeholder: '请选择规则适用部门',
|
||||||
treeDefaultExpandAll: true,
|
treeDefaultExpandAll: true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -114,7 +114,11 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
<FormModal @success="handleRefresh" />
|
<FormModal @success="handleRefresh" />
|
||||||
<Grid>
|
<Grid>
|
||||||
<template #toolbar-actions>
|
<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
|
<ElTabPane
|
||||||
label="拥有客户数限制"
|
label="拥有客户数限制"
|
||||||
:name="LimitConfType.CUSTOMER_QUANTITY_LIMIT"
|
:name="LimitConfType.CUSTOMER_QUANTITY_LIMIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user