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.
54 lines
961 B
54 lines
961 B
import { BasicColumn } from '@/components/Table';
|
|
import { FormSchema } from '@/components/Form';
|
|
|
|
export const formSchemas: FormSchema[] = [
|
|
{
|
|
field: 'projectName',
|
|
label: '项目名称',
|
|
component: 'Select',
|
|
componentProps: {
|
|
options: [
|
|
{
|
|
value: '1',
|
|
label: '2323',
|
|
},
|
|
{
|
|
value: '2',
|
|
label: '2323',
|
|
},
|
|
{
|
|
value: '3',
|
|
label: '2323',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
field: 'checkTime',
|
|
label: '考核时间',
|
|
component: 'DatePicker',
|
|
componentProps: {
|
|
format: 'YYYY-MM-DD',
|
|
valueFormat: 'YYYY-MM-DD',
|
|
},
|
|
},
|
|
];
|
|
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '运维单位',
|
|
dataIndex: 'ioUnit',
|
|
},
|
|
{
|
|
title: '考核项目',
|
|
dataIndex: 'checkProject',
|
|
},
|
|
{
|
|
title: '考核时间',
|
|
dataIndex: 'checkTime',
|
|
},
|
|
{
|
|
title: '分值',
|
|
dataIndex: 'rating',
|
|
},
|
|
];
|
|
|