pressureDiffAnalysis.data.ts 8.0 KB

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