fix:【system 系统管理】ele、antd 的搜索清理属性不对的问题

This commit is contained in:
YunaiV
2025-09-06 10:24:59 +08:00
parent fcaa81ff3b
commit 0539aece1b
90 changed files with 259 additions and 259 deletions

View File

@@ -145,7 +145,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入活动名称',
clearable: true,
allowClear: true,
},
},
{
@@ -154,7 +154,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择活动状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},

View File

@@ -15,7 +15,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择砍价状态',
clearable: true,
allowClear: true,
options: getDictOptions(
DICT_TYPE.PROMOTION_BARGAIN_RECORD_STATUS,
'number',
@@ -28,7 +28,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -123,7 +123,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入活动名称',
clearable: true,
allowClear: true,
},
},
{
@@ -132,7 +132,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择活动状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},

View File

@@ -13,7 +13,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择拼团状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},
@@ -23,7 +23,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
placeholder: ['开始时间', '结束时间'],
clearable: true,
allowClear: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
},

View File

@@ -17,7 +17,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入会员昵称',
clearable: true,
allowClear: true,
},
},
{
@@ -26,7 +26,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -118,7 +118,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入优惠券名称',
clearable: true,
allowClear: true,
},
},
{
@@ -127,7 +127,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择优惠类型',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.PROMOTION_DISCOUNT_TYPE, 'number'),
},
},
@@ -137,7 +137,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择优惠券状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},
@@ -147,7 +147,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -81,7 +81,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入活动名称',
clearable: true,
allowClear: true,
},
},
{
@@ -90,7 +90,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择活动状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},
@@ -100,7 +100,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
placeholder: ['开始时间', '结束时间'],
clearable: true,
allowClear: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
},

View File

@@ -51,7 +51,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入页面名称',
clearable: true,
allowClear: true,
},
},
{
@@ -60,7 +60,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
placeholder: ['开始时间', '结束时间'],
clearable: true,
allowClear: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
},

View File

@@ -53,7 +53,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入模板名称',
clearable: true,
allowClear: true,
},
},
{
@@ -62,7 +62,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
placeholder: ['开始时间', '结束时间'],
clearable: true,
allowClear: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
},

View File

@@ -54,7 +54,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择活动状态',
clearable: true,
allowClear: true,
dictType: DICT_TYPE.COMMON_STATUS,
},
},

View File

@@ -87,7 +87,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入活动名称',
clearable: true,
allowClear: true,
},
},
{
@@ -96,7 +96,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择活动状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},
@@ -106,7 +106,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
placeholder: ['活动开始日期', '活动结束日期'],
clearable: true,
allowClear: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
},

View File

@@ -13,7 +13,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入活动名称',
clearable: true,
allowClear: true,
},
},
{
@@ -22,7 +22,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择活动状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
},
},