You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.0 KiB
60 lines
1.0 KiB
import type { BasicColumn, FormSchema } from '@/components/Table' |
|
|
|
export const columns: BasicColumn[] = [ |
|
{ |
|
title: '参数名称', |
|
dataIndex: 'paramName', |
|
}, |
|
{ |
|
title: '参数键名', |
|
dataIndex: 'paramKey', |
|
}, |
|
{ |
|
title: '参数键值', |
|
dataIndex: 'paramValue', |
|
}, |
|
] |
|
|
|
export const searchFormSchema: FormSchema[] = [ |
|
{ |
|
label: '参数名称', |
|
field: 'paramName', |
|
component: 'Input', |
|
colProps: { |
|
span: 6, |
|
}, |
|
}, |
|
{ |
|
label: '参数键名', |
|
field: 'paramKey', |
|
component: 'Input', |
|
colProps: { |
|
span: 6, |
|
}, |
|
}, |
|
] |
|
|
|
export const formSchema: FormSchema[] = [ |
|
{ |
|
label: '参数名称', |
|
field: 'paramName', |
|
fields: ['id'], |
|
required: true, |
|
component: 'Input', |
|
}, |
|
{ |
|
label: '参数键名', |
|
field: 'paramKey', |
|
required: true, |
|
component: 'Input', |
|
}, |
|
{ |
|
label: '参数键值', |
|
field: 'paramValue', |
|
required: true, |
|
component: 'InputTextArea', |
|
componentProps: { |
|
rows: 8, |
|
}, |
|
}, |
|
]
|
|
|