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.
42 lines
789 B
42 lines
789 B
import { BasicColumn } from '@/components/Table';
|
|
import { FormSchema } from '@/components/Form';
|
|
|
|
export const formSchemas: FormSchema[] = [
|
|
{
|
|
field: 'projectName',
|
|
label: '项目名称',
|
|
component: 'Select',
|
|
componentProps: {},
|
|
},
|
|
{
|
|
field: 'inspectionPeople',
|
|
label: '巡检人员',
|
|
component: 'Input',
|
|
componentProps: {
|
|
placeholder: '输入巡检人员',
|
|
},
|
|
},
|
|
];
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '项目名称',
|
|
dataIndex: 'projectName',
|
|
},
|
|
{
|
|
title: '巡检单位',
|
|
dataIndex: 'inspectionUnit',
|
|
},
|
|
{
|
|
title: '类型',
|
|
dataIndex: 'type',
|
|
},
|
|
{
|
|
title: '巡检时间',
|
|
dataIndex: 'inspectionTime',
|
|
},
|
|
{
|
|
title: '巡检人员',
|
|
dataIndex: 'inspectionPeople',
|
|
},
|
|
];
|
|
|
|
|