import { BasicColumn } from '@/components/Table'; import { FormSchema } from '@/components/Form'; export const columns: BasicColumn[] = [ { title: '项目名称', dataIndex: 'projectName', }, { title: '巡检单位', dataIndex: 'inspectionUnit', }, { title: '类型', dataIndex: 'type', }, { title: '巡检时间', dataIndex: 'inspectionTime', }, { title: '巡检人员', dataIndex: 'inspectionPeople', }, ]; export const formSchemas: FormSchema[] = [ { field: 'projectName', label: '项目名称', component: 'Select', componentProps: { options: [ { value: '1', label: '2323', }, { value: '2', label: '2323', }, { value: '3', label: '2323', }, ], }, }, { field: 'inspectionPeople', label: '巡检人员', component: 'Input', componentProps: { placeholder: '输入巡检人员', }, }, ];