50 lines
925 B
Plaintext
50 lines
925 B
Plaintext
import { FormSchema } from '@/components/Form/index';
|
|
export const schemas: FormSchema[] = [
|
|
{
|
|
name: 'name',
|
|
component: 'Input',
|
|
label: '参数名称',
|
|
componentProps: {
|
|
placeholder: '请输入参数名称',
|
|
},
|
|
},
|
|
{
|
|
name: 'type',
|
|
component: 'Select',
|
|
label: '参数类型',
|
|
componentProps: {
|
|
placeholder: '请选择参数类型',
|
|
clearable: true,
|
|
options: [
|
|
{
|
|
label: '系统',
|
|
value: '0',
|
|
},
|
|
{
|
|
label: '业务',
|
|
value: '1',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
name: 'status',
|
|
component: 'Select',
|
|
label: '参数状态',
|
|
componentProps: {
|
|
placeholder: '请选择状态',
|
|
clearable: true,
|
|
options: [
|
|
{
|
|
label: '正常',
|
|
value: '1',
|
|
},
|
|
{
|
|
label: '禁用',
|
|
value: '2',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
];
|