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.
81 lines
1.6 KiB
81 lines
1.6 KiB
import { BasicColumn } from '@/components/Table';
|
|
import { FormSchema } from '@/components/Form';
|
|
export const formSchemas: FormSchema[] = [
|
|
{
|
|
label: '合同审核配置表ID',
|
|
field: 'configId',
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '名称',
|
|
field: 'name',
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '型号',
|
|
field: 'model',
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '版本号',
|
|
field: 'versionStr',
|
|
component: 'Input',
|
|
},
|
|
];
|
|
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '主键ID',
|
|
dataIndex: 'id',
|
|
},
|
|
{
|
|
title: '合同审核配置表ID',
|
|
dataIndex: 'configId',
|
|
},
|
|
{
|
|
title: '名称',
|
|
dataIndex: 'name',
|
|
},
|
|
{
|
|
title: '型号',
|
|
dataIndex: 'model',
|
|
},
|
|
{
|
|
title: '版本号',
|
|
dataIndex: 'versionStr',
|
|
},
|
|
];
|
|
|
|
export const modalSchemas: FormSchema[] = [
|
|
{
|
|
label: '主键ID',
|
|
field: 'id',
|
|
required: false,
|
|
component: 'Input',
|
|
show: false,
|
|
},
|
|
{
|
|
label: '合同审核配置表ID',
|
|
field: 'configId',
|
|
required: true,
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '名称',
|
|
field: 'name',
|
|
required: true,
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '型号',
|
|
field: 'model',
|
|
required: false,
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '版本号',
|
|
field: 'versionStr',
|
|
required: false,
|
|
component: 'Input',
|
|
},
|
|
];
|
|
|