fix:【system 系统管理】ele、antd 的搜索清理属性不对的问题
							parent
							
								
									fcaa81ff3b
								
							
						
					
					
						commit
						0539aece1b
					
				|  | @ -225,7 +225,7 @@ defineExpose({ settingValues }); | |||
|       <Select | ||||
|         v-model:value="selectVersion" | ||||
|         class="!w-80" | ||||
|         clearable | ||||
|         allow-clear | ||||
|         placeholder="请选择版本" | ||||
|       > | ||||
|         <Select.Option | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|                 /> | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -54,7 +54,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         placeholder: '请选择活动状态', | ||||
|         clearable: true, | ||||
|         allowClear: true, | ||||
|         dictType: DICT_TYPE.COMMON_STATUS, | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -56,7 +56,7 @@ function useFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         clearable: true, | ||||
|         allowClear: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -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, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '用户编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入用户编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -29,7 +29,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.USER_TYPE, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择用户类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -38,7 +38,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '应用名', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入应用名', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -49,7 +49,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       // TODO @puhui999:时间范围不太对。结束时间不是 23:59:59 这种哈
 | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -57,7 +57,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '执行时长', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入执行时长', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -66,7 +66,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '结果码', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入结果码', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '用户编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入用户编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -30,7 +30,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.USER_TYPE, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择用户类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -39,7 +39,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '应用名', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入应用名', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -49,7 +49,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -61,7 +61,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|           DICT_TYPE.INFRA_API_ERROR_LOG_PROCESS_STATUS, | ||||
|           'number', | ||||
|         ), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择处理状态', | ||||
|       }, | ||||
|       defaultValue: InfraApiErrorLogProcessStatusEnum.INIT, | ||||
|  |  | |||
|  | @ -46,7 +46,7 @@ export function useImportTableFormSchema(): VbenFormSchema[] { | |||
|       label: '表名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入表名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -55,7 +55,7 @@ export function useImportTableFormSchema(): VbenFormSchema[] { | |||
|       label: '表描述', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入表描述', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -166,7 +166,7 @@ export function useGenerationInfoBaseFormSchema(): VbenFormSchema[] { | |||
|       help: '分配到指定菜单下,例如 系统管理', | ||||
|       component: 'ApiTreeSelect', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         api: async () => { | ||||
|           const data = await getMenuList(); | ||||
|           data.unshift({ | ||||
|  | @ -260,7 +260,7 @@ export function useGenerationInfoTreeFormSchema( | |||
|       help: '树显示的父编码字段名,例如 parent_Id', | ||||
|       componentProps: { | ||||
|         class: 'w-full', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择', | ||||
|         options: columns.map((column) => ({ | ||||
|           label: column.columnName, | ||||
|  | @ -276,7 +276,7 @@ export function useGenerationInfoTreeFormSchema( | |||
|       help: '树节点显示的名称字段,一般是 name', | ||||
|       componentProps: { | ||||
|         class: 'w-full', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择名称字段', | ||||
|         options: columns.map((column) => ({ | ||||
|           label: column.columnName, | ||||
|  | @ -312,7 +312,7 @@ export function useGenerationInfoSubTableFormSchema( | |||
|       help: '关联主表(父表)的表名, 如:system_user', | ||||
|       componentProps: { | ||||
|         class: 'w-full', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择', | ||||
|         options: tables.map((table) => ({ | ||||
|           label: `${table.tableName}:${table.tableComment}`, | ||||
|  | @ -328,7 +328,7 @@ export function useGenerationInfoSubTableFormSchema( | |||
|       help: '子表关联的字段, 如:user_id', | ||||
|       componentProps: { | ||||
|         class: 'w-full', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择', | ||||
|         options: columns.map((column) => ({ | ||||
|           label: `${column.columnName}:${column.columnComment}`, | ||||
|  | @ -344,7 +344,7 @@ export function useGenerationInfoSubTableFormSchema( | |||
|       help: '主表与子表的关联关系', | ||||
|       componentProps: { | ||||
|         class: 'w-full', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择', | ||||
|         options: [ | ||||
|           { | ||||
|  | @ -370,7 +370,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '表名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入表名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -379,7 +379,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '表描述', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入表描述', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -389,7 +389,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -109,7 +109,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.INFRA_CONFIG_TYPE, 'number'), | ||||
|         placeholder: '请选择系统内置', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -118,7 +118,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -71,7 +71,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -80,7 +80,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '性别', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_USER_SEX, 'number'), | ||||
|         placeholder: '请选择性别', | ||||
|       }, | ||||
|  | @ -91,7 +91,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -23,7 +23,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|       label: '上级示例分类', | ||||
|       component: 'ApiTreeSelect', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         api: async () => { | ||||
|           const data = await getDemo02CategoryList({}); | ||||
|           data.unshift({ | ||||
|  | @ -60,7 +60,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -69,7 +69,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '父级编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入父级编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -79,7 +79,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -66,7 +66,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -75,7 +75,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '性别', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_USER_SEX, 'number'), | ||||
|         placeholder: '请选择性别', | ||||
|       }, | ||||
|  | @ -85,7 +85,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '简介', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入简介', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -95,7 +95,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  | @ -192,7 +192,7 @@ export function useDemo03CourseGridFormSchema(): VbenFormSchema[] { | |||
|       label: '学生编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入学生编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -201,7 +201,7 @@ export function useDemo03CourseGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -210,7 +210,7 @@ export function useDemo03CourseGridFormSchema(): VbenFormSchema[] { | |||
|       label: '分数', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入分数', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -220,7 +220,7 @@ export function useDemo03CourseGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  | @ -307,7 +307,7 @@ export function useDemo03GradeGridFormSchema(): VbenFormSchema[] { | |||
|       label: '学生编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入学生编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -316,7 +316,7 @@ export function useDemo03GradeGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -325,7 +325,7 @@ export function useDemo03GradeGridFormSchema(): VbenFormSchema[] { | |||
|       label: '班主任', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入班主任', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -335,7 +335,7 @@ export function useDemo03GradeGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -66,7 +66,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -75,7 +75,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '性别', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_USER_SEX, 'number'), | ||||
|         placeholder: '请选择性别', | ||||
|       }, | ||||
|  | @ -85,7 +85,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '简介', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入简介', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -95,7 +95,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -66,7 +66,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -75,7 +75,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '性别', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_USER_SEX, 'number'), | ||||
|         placeholder: '请选择性别', | ||||
|       }, | ||||
|  | @ -85,7 +85,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '简介', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入简介', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -95,7 +95,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -50,7 +50,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -280,7 +280,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -97,7 +97,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '任务名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入任务名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -107,7 +107,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.INFRA_JOB_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择任务状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -116,7 +116,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '处理器的名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入处理器的名字', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '处理器的名字', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入处理器的名字', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -28,7 +28,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '开始执行时间', | ||||
|       component: 'DatePicker', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '选择开始执行时间', | ||||
|         valueFormat: 'YYYY-MM-DD HH:mm:ss', | ||||
|         showTime: { | ||||
|  | @ -42,7 +42,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '结束执行时间', | ||||
|       component: 'DatePicker', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '选择结束执行时间', | ||||
|         valueFormat: 'YYYY-MM-DD HH:mm:ss', | ||||
|         showTime: { | ||||
|  | @ -57,7 +57,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.INFRA_JOB_LOG_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择任务状态', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -82,7 +82,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -25,7 +25,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|       label: '上级分类', | ||||
|       component: 'ApiTreeSelect', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         api: async () => { | ||||
|           const data = await getCategoryList({ parentId: 0 }); | ||||
|           data.unshift({ | ||||
|  |  | |||
|  | @ -107,7 +107,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -37,7 +37,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -79,7 +79,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -140,7 +140,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -106,7 +106,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -54,7 +54,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -47,7 +47,7 @@ function handleReject(row: MallBrokerageWithdrawApi.BrokerageWithdraw) { | |||
|     component: () => { | ||||
|       return h(ElInput, { | ||||
|         placeholder: '请输入驳回原因', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         rules: [{ required: true, message: '请输入驳回原因' }], | ||||
|       }); | ||||
|     }, | ||||
|  |  | |||
|  | @ -76,7 +76,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -59,7 +59,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '计费方式', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.EXPRESS_CHARGE_MODE, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  |  | |||
|  | @ -135,7 +135,7 @@ export function useBindFormSchema(): VbenFormSchema[] { | |||
|         labelField: 'nickname', | ||||
|         valueField: 'id', | ||||
|         mode: 'tags', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -176,7 +176,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '门店状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -186,7 +186,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -49,7 +49,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  |  | |||
|  | @ -49,7 +49,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -87,7 +87,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -23,7 +23,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '业务类型', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.MEMBER_POINT_BIZ_TYPE, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -38,7 +38,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -26,7 +26,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -69,7 +69,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|     ], | ||||
|  |  | |||
|  | @ -46,7 +46,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|     ], | ||||
|  |  | |||
|  | @ -47,7 +47,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|     ], | ||||
|  |  | |||
|  | @ -25,7 +25,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '业务类型', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions( | ||||
|             DICT_TYPE.MEMBER_EXPERIENCE_BIZ_TYPE, | ||||
|             'number', | ||||
|  | @ -43,7 +43,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|     ], | ||||
|  |  | |||
|  | @ -46,7 +46,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '订单状态', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions(DICT_TYPE.TRADE_ORDER_STATUS, 'number'), | ||||
|           placeholder: '全部', | ||||
|         }, | ||||
|  | @ -56,7 +56,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '支付方式', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions(DICT_TYPE.PAY_CHANNEL_CODE, 'number'), | ||||
|           placeholder: '全部', | ||||
|         }, | ||||
|  | @ -67,7 +67,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|       { | ||||
|  | @ -75,7 +75,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '订单来源', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions(DICT_TYPE.TERMINAL, 'number'), | ||||
|           placeholder: '全部', | ||||
|         }, | ||||
|  | @ -85,7 +85,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '订单类型', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions(DICT_TYPE.TRADE_ORDER_TYPE, 'number'), | ||||
|           placeholder: '全部', | ||||
|         }, | ||||
|  | @ -95,7 +95,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '配送方式', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions(DICT_TYPE.TRADE_DELIVERY_TYPE, 'number'), | ||||
|           placeholder: '全部', | ||||
|         }, | ||||
|  | @ -105,7 +105,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '快递公司', | ||||
|         component: 'ApiSelect', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           api: getSimpleDeliveryExpressList, | ||||
|           labelField: 'name', | ||||
|           valueField: 'id', | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         label: '业务类型', | ||||
|         component: 'Select', | ||||
|         componentProps: { | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|           options: getDictOptions(DICT_TYPE.MEMBER_POINT_BIZ_TYPE, 'number'), | ||||
|         }, | ||||
|       }, | ||||
|  | @ -37,7 +37,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|     ], | ||||
|  |  | |||
|  | @ -25,7 +25,7 @@ const [Grid] = useVbenVxeGrid({ | |||
|         component: 'RangePicker', | ||||
|         componentProps: { | ||||
|           ...getRangePickerDefaultProps(), | ||||
|           allowClear: true, | ||||
|           clearable: true, | ||||
|         }, | ||||
|       }, | ||||
|     ], | ||||
|  |  | |||
|  | @ -32,7 +32,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '通知类型', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.PAY_NOTIFY_TYPE, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -46,7 +46,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '通知状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.PAY_NOTIFY_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -61,7 +61,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -39,7 +39,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '退款渠道', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.PAY_CHANNEL_CODE, 'string'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -68,7 +68,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '退款状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.PAY_REFUND_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -78,7 +78,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '转账单号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入转账单号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -32,7 +32,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.PAY_CHANNEL_CODE), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择支付渠道', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -41,7 +41,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '商户单号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入商户单号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -51,7 +51,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.PAY_TRANSFER_TYPE), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -61,7 +61,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.PAY_TRANSFER_STATUS), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择转账状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -70,7 +70,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '收款人姓名', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入收款人姓名', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -79,7 +79,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '收款人账号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入收款人账号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -88,7 +88,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '渠道单号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入渠道单号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -98,7 +98,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -29,7 +29,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '创建时间', | ||||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         ...getRangePickerDefaultProps(), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -62,7 +62,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -71,7 +71,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '创建时间', | ||||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         ...getRangePickerDefaultProps(), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -26,7 +26,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|       label: '上级部门', | ||||
|       component: 'ApiTreeSelect', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         api: async () => { | ||||
|           const data = await getDeptList(); | ||||
|           data.unshift({ | ||||
|  | @ -72,7 +72,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|         labelField: 'nickname', | ||||
|         valueField: 'id', | ||||
|         placeholder: '请选择负责人', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|       rules: z.number().optional(), | ||||
|     }, | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '用户名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入用户名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -22,7 +22,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '登录地址', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入登录地址', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -32,7 +32,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -28,7 +28,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '用户编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入用户编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -38,7 +38,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.USER_TYPE, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择用户类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -48,7 +48,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_MAIL_SEND_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择发送状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -60,7 +60,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|         api: async () => await getSimpleMailAccountList(), | ||||
|         labelField: 'mail', | ||||
|         valueField: 'id', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择邮箱账号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -69,7 +69,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板编号', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -161,7 +161,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择开启状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -170,7 +170,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板编码', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板编码', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -179,7 +179,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -191,7 +191,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|         api: async () => await getSimpleMailAccountList(), | ||||
|         labelField: 'mail', | ||||
|         valueField: 'id', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择邮箱账号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -201,7 +201,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -39,7 +39,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|       label: '上级菜单', | ||||
|       component: 'ApiTreeSelect', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         api: async () => { | ||||
|           const data = await getMenuList(); | ||||
|           data.unshift({ | ||||
|  | @ -170,7 +170,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|       label: '组件名称', | ||||
|       component: 'AutoComplete', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         filterOption(input: string, option: { value: string }) { | ||||
|           return option.value.toLowerCase().includes(input.toLowerCase()); | ||||
|         }, | ||||
|  |  | |||
|  | @ -71,7 +71,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         placeholder: '请输入公告标题', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -81,7 +81,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         placeholder: '请选择公告状态', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '用户编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入用户编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -27,7 +27,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '用户类型', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.USER_TYPE, 'number'), | ||||
|         placeholder: '请选择用户类型', | ||||
|       }, | ||||
|  | @ -37,7 +37,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板编码', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板编码', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -50,7 +50,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|           DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE, | ||||
|           'number', | ||||
|         ), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择模版类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -60,7 +60,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择是否已读', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -30,7 +30,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '发送时间', | ||||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         ...getRangePickerDefaultProps(), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -102,7 +102,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -111,7 +111,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板编码', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板编码', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -121,7 +121,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -134,7 +134,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|           DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE, | ||||
|           'number', | ||||
|         ), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择模板类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -144,7 +144,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -184,7 +184,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入状态', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|           label: 'nickname', | ||||
|           value: 'id', | ||||
|         }, | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择操作人员', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -31,7 +31,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '操作模块', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入操作模块', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -40,7 +40,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '操作名', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入操作名', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -49,7 +49,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '操作内容', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入操作内容', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -59,7 +59,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -67,7 +67,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '业务编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入业务编号', | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -79,7 +79,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '岗位状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  |  | |||
|  | @ -172,7 +172,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '角色状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -182,7 +182,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -96,7 +96,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '短信签名', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入短信签名', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -105,7 +105,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '渠道编码', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE, 'string'), | ||||
|         placeholder: '请选择短信渠道', | ||||
|       }, | ||||
|  | @ -115,7 +115,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -125,7 +125,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '手机号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入手机号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -31,7 +31,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|         api: async () => await getSimpleSmsChannelList(), | ||||
|         labelField: 'signature', | ||||
|         valueField: 'id', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择短信渠道', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -40,7 +40,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板编号', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板编号', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -50,7 +50,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_SMS_SEND_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择发送状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -60,7 +60,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -69,7 +69,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_SMS_RECEIVE_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择接收状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -79,7 +79,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -112,7 +112,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择短信类型', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -122,7 +122,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择开启状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -131,7 +131,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板编码', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板编码', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -140,7 +140,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '模板名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入模板名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -152,7 +152,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|         api: async () => await getSimpleSmsChannelList(), | ||||
|         labelField: 'signature', | ||||
|         valueField: 'id', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择短信渠道', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -162,7 +162,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -117,7 +117,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE, 'number'), | ||||
|         placeholder: '请选择社交平台', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -127,7 +127,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.USER_TYPE, 'number'), | ||||
|         placeholder: '请选择用户类型', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -145,7 +145,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         placeholder: '请选择状态', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE, 'number'), | ||||
|         placeholder: '请选择社交平台', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -29,7 +29,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         placeholder: '请输入用户昵称', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -38,7 +38,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         placeholder: '请输入社交 openid', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -47,7 +47,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -97,7 +97,7 @@ export function useFormSchema(): VbenFormSchema[] { | |||
|       componentProps: { | ||||
|         placeholder: '请输入绑定域名,多个域名请换行分隔', | ||||
|         rows: 3, | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -122,7 +122,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '租户名', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -130,7 +130,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '联系人', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -138,7 +138,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '联系手机', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -146,7 +146,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '状态', | ||||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|       }, | ||||
|     }, | ||||
|  | @ -156,7 +156,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -61,7 +61,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       label: '套餐名称', | ||||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请输入套餐名称', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -71,7 +71,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Select', | ||||
|       componentProps: { | ||||
|         options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|         placeholder: '请选择状态', | ||||
|       }, | ||||
|     }, | ||||
|  | @ -81,7 +81,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
|  | @ -250,7 +250,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         placeholder: '请输入用户名称', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -259,7 +259,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'Input', | ||||
|       componentProps: { | ||||
|         placeholder: '请输入手机号码', | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|     { | ||||
|  | @ -268,7 +268,7 @@ export function useGridFormSchema(): VbenFormSchema[] { | |||
|       component: 'RangePicker', | ||||
|       componentProps: { | ||||
|         ...getRangePickerDefaultProps(), | ||||
|         allowClear: true, | ||||
|         clearable: true, | ||||
|       }, | ||||
|     }, | ||||
|   ]; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 YunaiV
						YunaiV