overlimitAlarm.data.ts 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. import { BasicColumn } from '/@/components/Table';
  2. import { FormSchema } from '/@/components/Table';
  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. align: 'center',
  30. customRender: ({ index }: { index: number }) => `${index + 1}`,
  31. },
  32. {
  33. title: '区域',
  34. dataIndex: 'enforcement',
  35. },
  36. {
  37. title: '煤矿名称',
  38. dataIndex: 'mineName',
  39. },
  40. {
  41. title: '密闭名称',
  42. dataIndex: 'devicePos',
  43. },
  44. {
  45. title: '所属煤层',
  46. dataIndex: 'coalSeam',
  47. },
  48. {
  49. title: '自燃倾向性',
  50. dataIndex: 'riskLevel',
  51. },
  52. {
  53. title: 'CO浓度(ppm)',
  54. dataIndex: 'COVal',
  55. },
  56. {
  57. title: 'CO日增率',
  58. dataIndex: 'coIncreaseRate',
  59. },
  60. {
  61. title: 'O2浓度(ppm)',
  62. dataIndex: 'O2Val',
  63. },
  64. {
  65. title: '温度(℃)',
  66. dataIndex: 'temperature',
  67. },
  68. {
  69. title: '温差(℃)',
  70. dataIndex: 'temperatureDiff',
  71. },
  72. {
  73. title: '风险分析',
  74. dataIndex: 'alarmName',
  75. },
  76. {
  77. title: '预警时间',
  78. dataIndex: 'alertTime',
  79. },
  80. {
  81. title: '是否解决',
  82. dataIndex: 'isResolved',
  83. },
  84. ];
  85. export const searchFormSchema: FormSchema[] = [
  86. {
  87. field: 'mineName',
  88. label: '所属执法处',
  89. component: 'Select',
  90. componentProps: {
  91. options: [
  92. { label: '执法一处', value: '0' },
  93. { label: '执法二处', value: '1' },
  94. { label: '执法三处', value: '2' },
  95. ],
  96. },
  97. colProps: { span: 6 },
  98. },
  99. {
  100. field: 'mineName',
  101. label: '所属区域',
  102. component: 'Select',
  103. componentProps: {
  104. options: [
  105. { label: '执法一处', value: '0' },
  106. { label: '执法二处', value: '1' },
  107. { label: '执法三处', value: '2' },
  108. ],
  109. },
  110. colProps: { span: 6 },
  111. },
  112. {
  113. field: 'mineName',
  114. label: '煤矿名称',
  115. component: 'Input',
  116. colProps: { span: 6 },
  117. },
  118. {
  119. field: 'mineNameAbbr',
  120. label: '煤矿简称',
  121. component: 'Input',
  122. colProps: { span: 6 },
  123. },
  124. {
  125. field: 'productStatus',
  126. label: '生产状态',
  127. component: 'Select',
  128. componentProps: {
  129. options: [
  130. { label: '拟建矿井', value: '0' },
  131. { label: '正常生产矿井', value: '1' },
  132. { label: '长期停产矿井', value: '2' },
  133. ],
  134. },
  135. colProps: { span: 6 },
  136. },
  137. {
  138. field: 'riskLevel',
  139. label: '自燃情况',
  140. component: 'Select',
  141. componentProps: {
  142. options: [
  143. { label: 'Ⅰ类容易自燃', value: '0' },
  144. { label: 'Ⅱ类自燃', value: '1' },
  145. { label: 'Ⅲ类不易自燃', value: '2' },
  146. ],
  147. },
  148. colProps: { span: 6 },
  149. },
  150. ];
  151. export const minesData = [
  152. {
  153. orderNo: 101, // 序号
  154. enforcement: '执法一处', // 区域
  155. mineName: '神木市三江', // 煤矿名称
  156. sealedName: '采空区密闭', // 密闭名称
  157. coalSeam: 'XX煤层', // 所属煤层
  158. riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
  159. COVal: 24, // CO浓度(ppm)
  160. CH4Val: 0, // CH4浓度(%)
  161. C2H2Val: 0, // C2H2浓度(ppm)
  162. O2Val: 20, // O2浓度(%)
  163. temperature: 35, // 温度(℃)
  164. pressureDiff: 50, // 压差(Pa)
  165. leakage: '气体涌出', // 是否漏风
  166. fireHazard: '低风险', // 自然发火隐患
  167. unsealing: '不可启封', // 密闭启封判定
  168. explosionHazard: '低风险', // 爆炸危险性
  169. updateTime: '2025-11-17 15:00:40', // 更新时间
  170. alertTime: '2025-11-17 15:00:40',
  171. interPressure: '10',
  172. outerPressure: '20',
  173. },
  174. {
  175. orderNo: 102, // 序号
  176. enforcement: '执法一处', // 区域
  177. mineName: '神木市三江', // 煤矿名称
  178. sealedName: '采空区密闭', // 密闭名称
  179. coalSeam: 'XX煤层', // 所属煤层
  180. riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
  181. COVal: 24, // CO浓度(ppm)
  182. CH4Val: 0, // CH4浓度(%)
  183. C2H2Val: 0, // C2H2浓度(ppm)
  184. O2Val: 20, // O2浓度(%)
  185. temperature: 35, // 温度(℃)
  186. pressureDiff: 50, // 压差(Pa)
  187. leakage: '气体涌出', // 是否漏风
  188. fireHazard: '低风险', // 自然发火隐患
  189. unsealing: '不可启封', // 密闭启封判定
  190. explosionHazard: '低风险', // 爆炸危险性
  191. updateTime: '2025-11-17 15:00:40', // 更新时间
  192. alertTime: '2025-11-17 15:00:40',
  193. interPressure: '10',
  194. outerPressure: '20',
  195. },
  196. {
  197. orderNo: 103, // 序号
  198. enforcement: '执法一处', // 区域
  199. mineName: '神木市三江', // 煤矿名称
  200. sealedName: '采空区密闭', // 密闭名称
  201. coalSeam: 'XX煤层', // 所属煤层
  202. riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
  203. COVal: 24, // CO浓度(ppm)
  204. CH4Val: 0, // CH4浓度(%)
  205. C2H2Val: 0, // C2H2浓度(ppm)
  206. O2Val: 20, // O2浓度(%)
  207. temperature: 35, // 温度(℃)
  208. pressureDiff: 50, // 压差(Pa)
  209. leakage: '气体涌出', // 是否漏风
  210. fireHazard: '低风险', // 自然发火隐患
  211. unsealing: '不可启封', // 密闭启封判定
  212. explosionHazard: '低风险', // 爆炸危险性
  213. updateTime: '2025-11-17 15:00:40', // 更新时间
  214. alertTime: '2025-11-17 15:00:40',
  215. interPressure: '10',
  216. outerPressure: '20',
  217. },
  218. ];
  219. export const historicalMinesData = [
  220. {
  221. orderNo: 101, // 序号
  222. enforcement: '执法一处', // 区域
  223. mineName: '神木市三江', // 煤矿名称
  224. sealedName: '采空区密闭', // 密闭名称
  225. coalSeam: 'XX煤层', // 所属煤层
  226. riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
  227. COVal: 24, // CO浓度(ppm)
  228. CH4Val: 0, // CH4浓度(%)
  229. C2H2Val: 0, // C2H2浓度(ppm)
  230. O2Val: 20, // O2浓度(%)
  231. temperature: 35, // 温度(℃)
  232. pressureDiff: 50, // 压差(Pa)
  233. leakage: '气体涌出', // 是否漏风
  234. fireHazard: '低风险', // 自然发火隐患
  235. unsealing: '不可启封', // 密闭启封判定
  236. explosionHazard: '低风险', // 爆炸危险性
  237. updateTime: '2025-12-22 15:00:40', // 更新时间
  238. alertTime: '2025-11-17 15:00:40',
  239. interPressure: '10',
  240. outerPressure: '20',
  241. },
  242. {
  243. orderNo: 102, // 序号
  244. enforcement: '执法一处', // 区域
  245. mineName: '神木市三江', // 煤矿名称
  246. sealedName: '采空区密闭', // 密闭名称
  247. coalSeam: 'XX煤层', // 所属煤层
  248. riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
  249. COVal: 24, // CO浓度(ppm)
  250. CH4Val: 0, // CH4浓度(%)
  251. C2H2Val: 0, // C2H2浓度(ppm)
  252. O2Val: 20, // O2浓度(%)
  253. temperature: 35, // 温度(℃)
  254. pressureDiff: 50, // 压差(Pa)
  255. leakage: '气体涌出', // 是否漏风
  256. fireHazard: '低风险', // 自然发火隐患
  257. unsealing: '不可启封', // 密闭启封判定
  258. explosionHazard: '低风险', // 爆炸危险性
  259. updateTime: '2025-12-22 15:00:40', // 更新时间
  260. alertTime: '2025-11-17 15:00:40',
  261. interPressure: '10',
  262. outerPressure: '20',
  263. },
  264. {
  265. orderNo: 103, // 序号
  266. enforcement: '执法一处', // 区域
  267. mineName: '神木市三江', // 煤矿名称
  268. sealedName: '采空区密闭', // 密闭名称
  269. coalSeam: 'XX煤层', // 所属煤层
  270. riskLevel: 'Ⅰ类容易自燃', // 自燃倾向性(与搜索框选项label一致)
  271. COVal: 24, // CO浓度(ppm)
  272. CH4Val: 0, // CH4浓度(%)
  273. C2H2Val: 0, // C2H2浓度(ppm)
  274. O2Val: 20, // O2浓度(%)
  275. temperature: 35, // 温度(℃)
  276. pressureDiff: 50, // 压差(Pa)
  277. leakage: '气体涌出', // 是否漏风
  278. fireHazard: '低风险', // 自然发火隐患
  279. unsealing: '不可启封', // 密闭启封判定
  280. explosionHazard: '低风险', // 爆炸危险性
  281. updateTime: '2025-12-22 15:00:40', // 更新时间
  282. alertTime: '2025-11-17 15:00:40',
  283. interPressure: '10',
  284. outerPressure: '20',
  285. },
  286. ];