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

@@ -0,0 +1,35 @@
import type { FormSchemaGetter } from '#/adapter';
export const querySchema: FormSchemaGetter = () => [
{
component: 'Select',
componentProps: {
allowClear: false,
placeholder: '请选择',
},
defaultValue: '',
fieldName: 'dataName',
label: '数据源',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'tableName',
label: '表名称',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'tableComment',
label: '表描述',
},
{
component: 'RangePicker',
fieldName: 'createTime',
label: '创建时间',
},
];