feat:【ele】【crm】customer 的部分(limitConfig)
parent
63a4e1e901
commit
7baf8d7e06
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue