internalManager.data.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { BasicColumn } from '/@/components/Table';
  2. //数据映射报表
  3. export const columnsMap: BasicColumn[] = [
  4. // 规程名称:regName
  5. // 规程类型:regType(字典:regType)
  6. // 设备种类:deviceKind
  7. // 关联监测数据id:dataId(无需显示)
  8. // 关联监测数据名称:monitorDataName
  9. // 规则路由:regRoute
  10. {
  11. title: '序号',
  12. width: 60,
  13. align: 'center',
  14. customRender: ({ index }: { index: number }) => `${index + 1}`,
  15. },
  16. {
  17. title: '规程名称',
  18. dataIndex: 'regName',
  19. align: 'center',
  20. },
  21. {
  22. title: '规程类型',
  23. dataIndex: 'regType',
  24. align: 'center',
  25. },
  26. {
  27. title: '设备种类',
  28. dataIndex: 'deviceKind',
  29. align: 'center',
  30. },
  31. {
  32. title: '关联监测数据名称',
  33. dataIndex: 'monitorDataName',
  34. align: 'center',
  35. },
  36. {
  37. title: '规则路由',
  38. dataIndex: 'regRoute',
  39. align: 'center',
  40. },
  41. {
  42. title: '操作',
  43. dataIndex: 'action',
  44. width: 200,
  45. align: 'center',
  46. slots: { customRender: 'action' },
  47. },
  48. ];