feat: search form

This commit is contained in:
dap
2024-09-24 11:23:02 +08:00
parent c5971e4407
commit c1e58831e1
32 changed files with 924 additions and 49 deletions

View File

@@ -9,6 +9,34 @@ const accessPolicyOptions = [
{ color: 'blue', label: '自定义', value: '2' },
];
export const querySchema: FormSchemaGetter = () => [
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'configKey',
label: '配置名称',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'bucketName',
label: '桶名称',
},
{
component: 'Select',
componentProps: {
options: getDictOptions(DictEnum.SYS_YES_NO),
placeholder: '请选择',
},
fieldName: 'status',
label: '是否默认',
},
];
export const drawerSchema: FormSchemaGetter = () => [
{
component: 'Input',