| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import { BasicColumn } from '/@/components/Table';
- //数据映射报表
- export const columnsMap: BasicColumn[] = [
- // 规程名称:regName
- // 规程类型:regType(字典:regType)
- // 设备种类:deviceKind
- // 关联监测数据id:dataId(无需显示)
- // 关联监测数据名称:monitorDataName
- // 规则路由:regRoute
- {
- title: '序号',
- width: 60,
- align: 'center',
- customRender: ({ index }: { index: number }) => `${index + 1}`,
- },
- {
- title: '规程名称',
- dataIndex: 'regName',
- align: 'center',
- },
- {
- title: '规程类型',
- dataIndex: 'regType',
- align: 'center',
- },
- {
- title: '设备种类',
- dataIndex: 'deviceKind',
- align: 'center',
- },
- {
- title: '关联监测数据名称',
- dataIndex: 'monitorDataName',
- align: 'center',
- },
- {
- title: '规则路由',
- dataIndex: 'regRoute',
- align: 'center',
- },
- {
- title: '操作',
- dataIndex: 'action',
- width: 200,
- align: 'center',
- slots: { customRender: 'action' },
- },
- ];
|