pressureDiffAnalysis.data.ts 7.9 KB

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