sealRiskJudgeAnalysis.data.ts 8.3 KB

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