overlimitAlarm.data.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. import { BasicColumn } from '/@/components/Table';
  2. import { alarmCellRender } from '/@/views/monitor/sealedMonitor/monitor.data';
  3. export const boardData = [
  4. {
  5. label: '存在风险情况数量',
  6. value: '10',
  7. },
  8. {
  9. label: '低风险',
  10. value: '27',
  11. },
  12. {
  13. label: '一般风险',
  14. value: '27',
  15. },
  16. {
  17. label: '较高风险',
  18. value: '27',
  19. },
  20. {
  21. label: '高风险',
  22. value: '27',
  23. },
  24. ];
  25. // 实时数据相关
  26. export const columns: BasicColumn[] = [
  27. {
  28. title: '区域',
  29. dataIndex: 'areaName',
  30. width: 100,
  31. },
  32. {
  33. title: '煤矿名称',
  34. dataIndex: 'mineName',
  35. width: 200,
  36. },
  37. {
  38. title: '密闭名称',
  39. dataIndex: 'devicePos',
  40. width: 100,
  41. },
  42. {
  43. title: '所属煤层',
  44. dataIndex: 'coalSeamName',
  45. width: 100,
  46. },
  47. {
  48. title: '自燃倾向性',
  49. dataIndex: 'coalSeamLevel',
  50. width: 100,
  51. },
  52. {
  53. title: 'CO浓度(ppm)',
  54. dataIndex: 'coVal',
  55. width: 100,
  56. },
  57. {
  58. title: 'CO日增率(%)',
  59. dataIndex: 'coRzl',
  60. width: 100,
  61. },
  62. {
  63. title: 'O2浓度(%)',
  64. dataIndex: 'o2Val',
  65. width: 100,
  66. },
  67. {
  68. title: '温度(℃)',
  69. dataIndex: 'temperature',
  70. width: 100,
  71. },
  72. {
  73. title: '温差(℃)',
  74. dataIndex: 'temperatureDiff',
  75. width: 100,
  76. },
  77. {
  78. title: '风险分析',
  79. dataIndex: 'alarmName',
  80. width: 100,
  81. customRender({ record }) {
  82. return alarmCellRender(record);
  83. },
  84. },
  85. {
  86. title: '预警时间',
  87. dataIndex: 'createTime',
  88. width: 100,
  89. },
  90. {
  91. title: '是否解决',
  92. customRender: () => '未解决',
  93. width: 100,
  94. },
  95. ];