import { BasicColumn } from '@/components/Table'; import { FormSchema } from '@/components/Form'; export const formSchemas: FormSchema[] = [ { label: '编号', field: 'id', component: 'Input', componentProps: { placeholder: '输入编号', }, }, { field: '[startDate, endDate]', label: '报修范围', component: 'RangePicker', componentProps: { format: 'YYYY-MM-DD', valueFormat:'YYYY-MM-DD' }, }, ]; export const columns: BasicColumn[] = [ { title: '编号', dataIndex: 'id', }, { title: '报修时间', dataIndex: 'repairTime', }, { title: '响应级别', dataIndex: 'responseLevel', }, { title: '故障描述', dataIndex: 'faultDescription', }, { title: '故障地点', dataIndex: 'faultLocation', }, { title: '处理时限', dataIndex: 'handleTime', }, { title: '当前状态', dataIndex: 'status', }, ];