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.
88 lines
1.4 KiB
88 lines
1.4 KiB
3 months ago
|
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: 'ioCompany',
|
||
|
label: '运维单位',
|
||
|
component: 'Select',
|
||
|
componentProps: {
|
||
|
options: [
|
||
|
{
|
||
|
value: '1',
|
||
|
label: '2323',
|
||
|
},
|
||
|
{
|
||
|
value: '2',
|
||
|
label: '2323',
|
||
|
},
|
||
|
{
|
||
|
value: '3',
|
||
|
label: '2323',
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
field: 'planDate',
|
||
|
label: '计划日期',
|
||
|
component: 'RangePicker',
|
||
|
},
|
||
|
];
|
||
|
|
||
|
export const columns: BasicColumn[] = [
|
||
|
{
|
||
|
title: '合同名称',
|
||
|
dataIndex: 'contractName',
|
||
|
},
|
||
|
{
|
||
|
title: '项目名称',
|
||
|
dataIndex: 'projectName',
|
||
|
},
|
||
|
{
|
||
|
title: '计划描述',
|
||
|
dataIndex: 'description',
|
||
|
},
|
||
|
{
|
||
|
title: '开始日期',
|
||
|
dataIndex: 'startDate',
|
||
|
},
|
||
|
{
|
||
|
title: '结束日期',
|
||
|
dataIndex: 'endDate',
|
||
|
},
|
||
|
{
|
||
|
title: '频次',
|
||
|
dataIndex: 'frequency',
|
||
|
},
|
||
|
{
|
||
|
title: '状态',
|
||
|
dataIndex: 'status',
|
||
|
},
|
||
|
{
|
||
|
title: '完成情况',
|
||
|
dataIndex: 'progress',
|
||
|
},
|
||
|
];
|