| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- import { BasicColumn } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- {
- title: '序号',
- width: 60,
- align: 'center',
- customRender: ({ index }: { index: number }) => `${index + 1}`
- },
- {
- title: '时间',
- dataIndex: 'reportTime',
- key: 'reportTime',
- align: 'center',
- },
- {
- title: '班次',
- dataIndex: 'bc',
- key: 'bc',
- align: 'center',
- },
- {
- title: '巡检类别',
- dataIndex: 'insType',
- key: 'insType',
- align: 'center',
- },
- {
- title: '巡检总数',
- dataIndex: 'xjzs',
- key: 'xjzs',
- align: 'center',
- },
- {
- title: '已巡检数',
- dataIndex: 'yxjs',
- key: 'yxjs',
- align: 'center',
- },
- {
- title: '未巡检数',
- dataIndex: 'wxjs',
- key: 'wxjs',
- align: 'center',
- },
- {
- title: '漏检率',
- dataIndex: 'ljv',
- key: 'ljv',
- align: 'center',
- },
- {
- title: '漏检详情',
- dataIndex: 'ljxq',
- key: 'ljxq',
- align: 'center',
- },
- {
- title: '班总漏检率',
- dataIndex: 'bzljv',
- key: 'bzljv',
- align: 'center',
- },
- {
- title: '日总漏检率',
- dataIndex: 'totalLossDay',
- key: 'totalLossDay',
- align: 'center',
- },
- ];
- //分页参数
- export const pagination = {
- current: 1, // 当前页码
- pageSize: 20, // 每页显示条数
- total: 0, // 总条目数,后端返回
- // showTotal: (total, range) => `${range[0]}-${range[1]} 条,总共 ${total} 条`, // 分页右下角显示信息
- showSizeChanger: true, // 是否可改变每页显示条数
- pageSizeOptions: ['10', '20', '50'], // 可选的每页显示条数
- };
|