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

@@ -225,7 +225,7 @@ defineExpose({ settingValues });
<Select
v-model:value="selectVersion"
class="!w-80"
clearable
allow-clear
placeholder="请选择版本"
>
<Select.Option

View File

@@ -112,7 +112,7 @@ defineExpose({ validate });
name="formId"
class="mb-5"
>
<Select v-model:value="modelData.formId" clearable>
<Select v-model:value="modelData.formId" allow-clear>
<SelectOption
v-for="form in props.formList"
:key="form.id"

View File

@@ -991,7 +991,7 @@ defineExpose({ loadTodoTask });
<FormItem label="审批意见" name="reason">
<Textarea
v-model:value="transferForm.reason"
clearable
allow-clear
placeholder="请输入审批意见"
:rows="3"
/>
@@ -1064,7 +1064,7 @@ defineExpose({ loadTodoTask });
<FormItem label="审批意见" name="reason">
<Textarea
v-model:value="delegateForm.reason"
clearable
allow-clear
placeholder="请输入审批意见"
:rows="3"
/>
@@ -1138,7 +1138,7 @@ defineExpose({ loadTodoTask });
<FormItem label="审批意见" name="reason">
<Textarea
v-model:value="addSignForm.reason"
clearable
allow-clear
placeholder="请输入审批意见"
:rows="3"
/>
@@ -1217,7 +1217,7 @@ defineExpose({ loadTodoTask });
<FormItem label="审批意见" name="reason">
<Textarea
v-model:value="deleteSignForm.reason"
clearable
allow-clear
placeholder="请输入审批意见"
:rows="3"
/>
@@ -1288,7 +1288,7 @@ defineExpose({ loadTodoTask });
<FormItem label="退回理由" name="returnReason">
<Textarea
v-model:value="returnForm.returnReason"
clearable
allow-clear
placeholder="请输入退回理由"
:rows="3"
/>
@@ -1354,7 +1354,7 @@ defineExpose({ loadTodoTask });
/>
<Textarea
v-model:value="cancelForm.cancelReason"
clearable
allow-clear
placeholder="请输入取消理由"
:rows="3"
/>

View File

@@ -85,7 +85,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入参数名称',
clearable: true,
allowClear: true,
},
},
{
@@ -94,7 +94,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入参数键名',
clearable: true,
allowClear: true,
},
},
{

View File

@@ -27,7 +27,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入文件路径',
clearable: true,
allowClear: true,
},
},
{
@@ -36,7 +36,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入文件类型',
clearable: true,
allowClear: true,
},
},
{

View File

@@ -256,7 +256,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入配置名',
clearable: true,
allowClear: true,
},
},
{
@@ -266,7 +266,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
componentProps: {
options: getDictOptions(DICT_TYPE.INFRA_FILE_STORAGE, 'number'),
placeholder: '请选择存储器',
clearable: true,
allowClear: true,
},
},
{

View File

@@ -45,7 +45,7 @@ export function usePropertyGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入名称',
clearable: true,
allowClear: true,
},
},
];
@@ -138,7 +138,7 @@ export function useValueGridFormSchema(): VbenFormSchema[] {
label: '名称',
component: 'Input',
componentProps: {
clearable: true,
allowClear: true,
},
},
];

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'),
},
},

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: 'Select',
componentProps: {
placeholder: '请选择业务类型',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.BROKERAGE_RECORD_BIZ_TYPE, 'number'),
},
},
@@ -36,7 +36,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.BROKERAGE_RECORD_STATUS, 'number'),
},
},
@@ -46,7 +46,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -14,7 +14,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入推广员编号',
clearable: true,
allowClear: true,
},
},
{
@@ -23,7 +23,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择推广资格',
clearable: true,
allowClear: true,
options: [
{ label: '有', value: true },
{ label: '无', value: false },
@@ -36,7 +36,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -66,7 +66,7 @@ function useFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.BROKERAGE_RECORD_STATUS, 'number'),
},
},
@@ -76,7 +76,7 @@ function useFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -56,7 +56,7 @@ function useFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -15,7 +15,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入用户编号',
clearable: true,
allowClear: true,
},
},
{
@@ -24,7 +24,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择提现类型',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE, 'number'),
},
},
@@ -34,7 +34,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入账号',
clearable: true,
allowClear: true,
},
},
{
@@ -43,7 +43,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入真实名字',
clearable: true,
allowClear: true,
},
},
{
@@ -52,7 +52,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择提现银行',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.BROKERAGE_BANK_NAME, 'string'),
},
},
@@ -62,7 +62,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Select',
componentProps: {
placeholder: '请选择状态',
clearable: true,
allowClear: true,
options: getDictOptions(DICT_TYPE.BROKERAGE_WITHDRAW_STATUS, 'number'),
},
},
@@ -72,7 +72,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
clearable: true,
allowClear: true,
},
},
];

View File

@@ -75,7 +75,7 @@ export function useTypeGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入字典名称',
clearable: true,
allowClear: true,
},
},
{
@@ -84,7 +84,7 @@ export function useTypeGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入字典类型',
clearable: true,
allowClear: true,
},
},
{
@@ -94,7 +94,7 @@ export function useTypeGridFormSchema(): VbenFormSchema[] {
componentProps: {
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
placeholder: '请选择状态',
clearable: true,
allowClear: true,
},
},
];
@@ -276,7 +276,7 @@ export function useDataGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入字典标签',
clearable: true,
allowClear: true,
},
},
{
@@ -286,7 +286,7 @@ export function useDataGridFormSchema(): VbenFormSchema[] {
componentProps: {
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
placeholder: '请选择状态',
clearable: true,
allowClear: true,
},
},
];

View File

@@ -106,7 +106,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入邮箱',
clearable: true,
allowClear: true,
},
},
{
@@ -115,7 +115,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'Input',
componentProps: {
placeholder: '请输入用户名',
clearable: true,
allowClear: true,
},
},
];