fire.data.ts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. import { reactive, markRaw, defineAsyncComponent } from 'vue';
  2. import { getAssetURL } from '/@/utils/ui';
  3. //内外因火灾菜单列表
  4. export const typeMenuList = [{ name: '内因火灾' }, { name: '外因火灾' }];
  5. //当前加载组件
  6. export const componentName = {
  7. fireWork: markRaw(defineAsyncComponent(() => import('./fire/fireWork.vue'))),
  8. closeWall: markRaw(defineAsyncComponent(() => import('./fire/closeWall.vue'))),
  9. mainWell: markRaw(defineAsyncComponent(() => import('./fire/mainWell.vue'))),
  10. dustPage: markRaw(defineAsyncComponent(() => import('./fire/dustPage.vue'))),
  11. gasPage: markRaw(defineAsyncComponent(() => import('./fire/gasPage.vue'))),
  12. ventilate: markRaw(defineAsyncComponent(() => import('./fire/ventilate.vue'))),
  13. };
  14. //工作面
  15. //顶部区域数据
  16. export const topList = [
  17. {
  18. id: 0,
  19. label: '最高温度(°C)',
  20. imgSrc: true,
  21. value: '--',
  22. text: '',
  23. list: [],
  24. },
  25. {
  26. id: 1,
  27. label: '最低温度(°C)',
  28. imgSrc: true,
  29. value: '--',
  30. text: '',
  31. list: [],
  32. },
  33. {
  34. id: 2,
  35. label: '平均温度(°C)',
  36. imgSrc: true,
  37. value: '--',
  38. text: '',
  39. list: [],
  40. },
  41. { id: 3, imgSrc: false, label: '', value: null, text: '--', list: [] },
  42. {
  43. id: 4,
  44. imgSrc: false,
  45. label: '回风隅角',
  46. value: null,
  47. text: '',
  48. list: [
  49. { id: 0, label: 'O₂', value: 0 },
  50. { id: 1, label: 'CO', value: 0 },
  51. ],
  52. },
  53. ];
  54. //光钎图表数据
  55. export const echartDataGq = {
  56. maxData: [],
  57. minData: [],
  58. aveValue: [],
  59. xData: [],
  60. };
  61. //束管监测选项列表
  62. export const contentList = [
  63. {
  64. id: 0,
  65. list: [
  66. {
  67. id: '0-0',
  68. title: 'O₂',
  69. dw: '(%)',
  70. label: '浓度 : ',
  71. value: '--',
  72. label1: '时间 : ',
  73. time: '--',
  74. },
  75. {
  76. id: '0-1',
  77. title: 'C₂H₄',
  78. dw: '(ppm)',
  79. label: '浓度 : ',
  80. value: '--',
  81. label1: '时间 : ',
  82. time: '--',
  83. },
  84. ],
  85. },
  86. {
  87. id: 1,
  88. list: [
  89. {
  90. id: '1-0',
  91. title: 'CO',
  92. dw: '(ppm)',
  93. label: '浓度 : ',
  94. value: '--',
  95. label1: '时间 : ',
  96. time: '--',
  97. },
  98. {
  99. id: '1-1',
  100. title: 'CH₄',
  101. dw: '(ppm)',
  102. label: '浓度 : ',
  103. value: '--',
  104. label1: '时间 : ',
  105. time: '--',
  106. },
  107. ],
  108. },
  109. {
  110. id: 2,
  111. list: [
  112. {
  113. id: '2-0',
  114. title: 'CO₂',
  115. dw: '(%)',
  116. label: '浓度 : ',
  117. value: '--',
  118. label1: '时间 : ',
  119. time: '--',
  120. },
  121. {
  122. id: '2-1',
  123. title: 'C₂H₂',
  124. dw: '(ppm)',
  125. label: '浓度 : ',
  126. value: '--',
  127. label1: '时间 : ',
  128. time: '--',
  129. },
  130. ],
  131. },
  132. ];
  133. //其他工作面table列
  134. export const columnsOther = [
  135. { rowIndex: 1, dataIndex: 'info', title: '监测位置', type: '1', align: 'center' },
  136. { rowIndex: 2, dataIndex: 'wd', title: '甲烷浓度(℃)', type: '1', align: 'center' },
  137. { rowIndex: 3, dataIndex: 'tempmax', title: '一氧化碳(℃)', type: '1', align: 'center' },
  138. { rowIndex: 4, dataIndex: 'tempmin', title: '二氧化碳(℃)', type: '1', align: 'center' },
  139. { rowIndex: 5, dataIndex: 'info.netStatus', title: '氧气', type: '1', align: 'center' },
  140. { rowIndex: 6, dataIndex: 'info.warnStatus', title: '温度', type: '1', align: 'center' },
  141. { rowIndex: 7, dataIndex: 'createTime', title: '检测人', type: '1', align: 'center' },
  142. { rowIndex: 8, dataIndex: 'createTime1', title: '日期', type: '1', align: 'center' },
  143. ];
  144. //外因火灾-工作面顶部区域数据
  145. export const topOutList = [
  146. {
  147. id: 0,
  148. imgSrc: true,
  149. label: '最高温度(°C)',
  150. value: '0',
  151. text: '',
  152. },
  153. {
  154. id: 1,
  155. imgSrc: true,
  156. label: '最低温度(°C)',
  157. value: '0',
  158. text: '',
  159. },
  160. {
  161. id: 2,
  162. imgSrc: true,
  163. label: '平均温度(°C)',
  164. value: '0',
  165. text: '',
  166. },
  167. { id: 3, imgSrc: false, label: '', value: null, text: '' },
  168. // {
  169. // id: 4,
  170. // imgSrc: false,
  171. // label: '',
  172. // value: null,
  173. // text: '井下消防材料库',
  174. // },
  175. ];
  176. //外因火灾-中间区域标题数据
  177. export const tabList = [
  178. { id: 0, label: '烟雾传感器监测', details: '设备类型名称' },
  179. { id: 1, label: '火焰传感器监测', details: '设备类型名称' },
  180. { id: 2, label: '自动喷淋灭火装置监测', details: '设备类型名称' },
  181. ];
  182. export const tabLists = [
  183. { id: 0, label: '烟雾传感器监测', details: '设备类型名称' },
  184. { id: 1, label: '火焰传感器监测', details: '设备类型名称' },
  185. { id: 2, label: '自动喷淋灭火装置监测', details: '设备类型名称' },
  186. { id: 2, label: '温度传感器监测', details: '设备类型名称' },
  187. ];
  188. //外因火灾-传感器table列
  189. export const columns = [
  190. { rowIndex: 1, dataIndex: 'strinstallpos', title: '名称', type: '1', align: 'center' },
  191. { rowIndex: 2, dataIndex: 'warnLevel_str', title: '状态', type: '1', align: 'center' },
  192. { rowIndex: 3, dataIndex: 'readTime', title: '时间', type: '1', align: 'center' },
  193. ];
  194. //井下消防材料库列表
  195. export const dataList = [
  196. {
  197. fq: '1防区',
  198. btnText: '开启灭火器',
  199. label: '喷气',
  200. value: '正常',
  201. contentList: [
  202. {
  203. id: 0,
  204. imgSrc: getAssetURL('fire/fire.svg'),
  205. label: '喷气',
  206. value: '正常',
  207. },
  208. {
  209. id: 1,
  210. imgSrc: getAssetURL('fire/smoke.svg'),
  211. label: '喷气1',
  212. value: '正常',
  213. },
  214. {
  215. id: 2,
  216. imgSrc: getAssetURL('fire/fire.svg'),
  217. label: '喷气2',
  218. value: '正常',
  219. },
  220. {
  221. id: 3,
  222. imgSrc: getAssetURL('fire/warn.svg'),
  223. label: '喷气3',
  224. value: '正常',
  225. },
  226. ],
  227. },
  228. {
  229. fq: '2防区',
  230. btnText: '开启灭火器',
  231. label: '喷气',
  232. value: '正常',
  233. contentList: [
  234. {
  235. id: 0,
  236. imgSrc: getAssetURL('fire/fire.svg'),
  237. label: '喷气',
  238. value: '正常',
  239. },
  240. {
  241. id: 1,
  242. imgSrc: getAssetURL('fire/smoke.svg'),
  243. label: '喷气1',
  244. value: '正常',
  245. },
  246. {
  247. id: 2,
  248. imgSrc: getAssetURL('fire/fire.svg'),
  249. label: '喷气2',
  250. value: '正常',
  251. },
  252. {
  253. id: 3,
  254. imgSrc: getAssetURL('fire/warn.svg'),
  255. label: '喷气3',
  256. value: '正常',
  257. },
  258. ],
  259. },
  260. {
  261. fq: '3防区',
  262. btnText: '开启灭火器',
  263. label: '喷气',
  264. value: '正常',
  265. contentList: [
  266. {
  267. id: 0,
  268. imgSrc: getAssetURL('fire/fire.svg'),
  269. label: '喷气',
  270. value: '正常',
  271. },
  272. {
  273. id: 1,
  274. imgSrc: getAssetURL('fire/smoke.svg'),
  275. label: '喷气1',
  276. value: '正常',
  277. },
  278. {
  279. id: 2,
  280. imgSrc: getAssetURL('fire/fire.svg'),
  281. label: '喷气2',
  282. value: '正常',
  283. },
  284. {
  285. id: 3,
  286. imgSrc: getAssetURL('fire/warn.svg'),
  287. label: '喷气3',
  288. value: '正常',
  289. },
  290. ],
  291. },
  292. {
  293. fq: '1防区',
  294. btnText: '开启灭火器',
  295. label: '喷气',
  296. value: '正常',
  297. contentList: [
  298. {
  299. id: 0,
  300. imgSrc: getAssetURL('fire/fire.svg'),
  301. label: '喷气',
  302. value: '正常',
  303. },
  304. {
  305. id: 1,
  306. imgSrc: getAssetURL('fire/smoke.svg'),
  307. label: '喷气1',
  308. value: '正常',
  309. },
  310. {
  311. id: 2,
  312. imgSrc: getAssetURL('fire/fire.svg'),
  313. label: '喷气2',
  314. value: '正常',
  315. },
  316. {
  317. id: 3,
  318. imgSrc: getAssetURL('fire/warn.svg'),
  319. label: '喷气3',
  320. value: '正常',
  321. },
  322. ],
  323. },
  324. {
  325. fq: '2防区',
  326. btnText: '开启灭火器',
  327. label: '喷气',
  328. value: '正常',
  329. contentList: [
  330. {
  331. id: 0,
  332. imgSrc: getAssetURL('fire/fire.svg'),
  333. label: '喷气',
  334. value: '正常',
  335. },
  336. {
  337. id: 1,
  338. imgSrc: getAssetURL('fire/smoke.svg'),
  339. label: '喷气1',
  340. value: '正常',
  341. },
  342. {
  343. id: 2,
  344. imgSrc: getAssetURL('fire/fire.svg'),
  345. label: '喷气2',
  346. value: '正常',
  347. },
  348. {
  349. id: 3,
  350. imgSrc: getAssetURL('fire/warn.svg'),
  351. label: '喷气3',
  352. value: '正常',
  353. },
  354. ],
  355. },
  356. {
  357. fq: '3防区',
  358. btnText: '开启灭火器',
  359. label: '喷气',
  360. value: '正常',
  361. contentList: [
  362. {
  363. id: 0,
  364. imgSrc: getAssetURL('fire/fire.svg'),
  365. label: '喷气',
  366. value: '正常',
  367. },
  368. {
  369. id: 1,
  370. imgSrc: getAssetURL('fire/smoke.svg'),
  371. label: '喷气1',
  372. value: '正常',
  373. },
  374. {
  375. id: 2,
  376. imgSrc: getAssetURL('fire/fire.svg'),
  377. label: '喷气2',
  378. value: '正常',
  379. },
  380. {
  381. id: 3,
  382. imgSrc: getAssetURL('fire/warn.svg'),
  383. label: '喷气3',
  384. value: '正常',
  385. },
  386. ],
  387. },
  388. {
  389. fq: '1防区',
  390. btnText: '开启灭火器',
  391. label: '喷气',
  392. value: '正常',
  393. contentList: [
  394. {
  395. id: 0,
  396. imgSrc: getAssetURL('fire/fire.svg'),
  397. label: '喷气',
  398. value: '正常',
  399. },
  400. {
  401. id: 1,
  402. imgSrc: getAssetURL('fire/smoke.svg'),
  403. label: '喷气1',
  404. value: '正常',
  405. },
  406. {
  407. id: 2,
  408. imgSrc: getAssetURL('fire/fire.svg'),
  409. label: '喷气2',
  410. value: '正常',
  411. },
  412. {
  413. id: 3,
  414. imgSrc: getAssetURL('fire/warn.svg'),
  415. label: '喷气3',
  416. value: '正常',
  417. },
  418. ],
  419. },
  420. {
  421. fq: '2防区',
  422. btnText: '开启灭火器',
  423. label: '喷气',
  424. value: '正常',
  425. contentList: [
  426. {
  427. id: 0,
  428. imgSrc: getAssetURL('fire/fire.svg'),
  429. label: '喷气',
  430. value: '正常',
  431. },
  432. {
  433. id: 1,
  434. imgSrc: getAssetURL('fire/smoke.svg'),
  435. label: '喷气1',
  436. value: '正常',
  437. },
  438. {
  439. id: 2,
  440. imgSrc: getAssetURL('fire/fire.svg'),
  441. label: '喷气2',
  442. value: '正常',
  443. },
  444. {
  445. id: 3,
  446. imgSrc: getAssetURL('fire/warn.svg'),
  447. label: '喷气3',
  448. value: '正常',
  449. },
  450. ],
  451. },
  452. {
  453. fq: '3防区',
  454. btnText: '开启灭火器',
  455. label: '喷气',
  456. value: '正常',
  457. contentList: [
  458. {
  459. id: 0,
  460. imgSrc: getAssetURL('fire/fire.svg'),
  461. label: '喷气',
  462. value: '正常',
  463. },
  464. {
  465. id: 1,
  466. imgSrc: getAssetURL('fire/smoke.svg'),
  467. label: '喷气1',
  468. value: '正常',
  469. },
  470. {
  471. id: 2,
  472. imgSrc: getAssetURL('fire/fire.svg'),
  473. label: '喷气2',
  474. value: '正常',
  475. },
  476. {
  477. id: 3,
  478. imgSrc: getAssetURL('fire/warn.svg'),
  479. label: '喷气3',
  480. value: '正常',
  481. },
  482. ],
  483. },
  484. ];
  485. //外应火灾井下消防材料库标题列表1
  486. export const tabList1 = [
  487. { id: 0, label: '综采工作面温度监测', details: '设备类型名称' },
  488. { id: 1, label: '掘进工作面监测', details: '设备类型名称' },
  489. { id: 2, label: '运输系统烟雾传感器监测', details: '设备类型名称' },
  490. { id: 3, label: '机电硐室及配电点温度监测', details: '设备类型名称' },
  491. ];
  492. //综采温度table列
  493. export const columnWd = [
  494. { rowIndex: 1, dataIndex: 'nodePlacement', title: '测点位置', align: 'center', width: '210px', type: '1' },
  495. { rowIndex: 2, dataIndex: 'detectValue', title: '温度(℃)', align: 'center', type: '1' },
  496. { rowIndex: 3, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
  497. { rowIndex: 4, dataIndex: 'dateTime', title: '时间', align: 'center', type: '1' },
  498. ];
  499. //掘进监测table列
  500. export const columnsJj = [
  501. { rowIndex: 1, dataIndex: 'name', title: '测点位置', align: 'center', width: '180px', type: '1' },
  502. { rowIndex: 2, dataIndex: 'co', title: 'CO浓度(%)', align: 'center', type: '1' },
  503. { rowIndex: 3, dataIndex: 'wd', title: '温度(℃)', align: 'center', type: '1' },
  504. { rowIndex: 4, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
  505. { rowIndex: 5, dataIndex: 'dateTime', title: '时间', align: 'center', width: '180px', type: '1' },
  506. ];
  507. //运输烟雾table列
  508. export const columnsYw = [
  509. { rowIndex: 1, dataIndex: 'nodePlacement', title: '测点位置', align: 'center', width: '180px', type: '1' },
  510. { rowIndex: 2, dataIndex: 'detectValue', title: '温度(℃)', align: 'center', type: '1' },
  511. { rowIndex: 3, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
  512. { rowIndex: 4, dataIndex: 'dateTime', title: '时间', align: 'center', width: '180px', type: '1' },
  513. ];
  514. //机电硐室table列
  515. export const columnsJd = [
  516. { rowIndex: 1, dataIndex: 'nodePlacement', title: '测点位置', align: 'center', width: '180px', type: '1' },
  517. { rowIndex: 2, dataIndex: 'detectValue', title: '温度(℃)', align: 'center', type: '1' },
  518. { rowIndex: 3, dataIndex: 'warningMsg', title: '预警级别', align: 'center', type: '1' },
  519. { rowIndex: 4, dataIndex: 'dateTime', title: '时间', align: 'center', width: '180px', type: '1' },
  520. ];
  521. //粉尘
  522. //中间区域数据-粉尘
  523. export const centerAreaListT = [
  524. { id: 0, label: '粉尘浓度(mg/m³)' },
  525. { id: 1, label: '总尘浓度(%)' },
  526. { id: 2, label: '呼尘加权容许浓度(mg/m³)' },
  527. { id: 3, label: '喷雾状态' },
  528. ];
  529. //中间区域数据-通风
  530. export const centerAreaListT1 = [
  531. { id: 0, label: '进风量(m³/min)' },
  532. { id: 1, label: '回风量(m³/min)' },
  533. { id: 2, label: '需风量(m³/min)' },
  534. ];
  535. //中间区域底部数据-通风
  536. export const centerAreaListB1 = [
  537. {
  538. id: 0,
  539. content: '',
  540. },
  541. {
  542. id: 1,
  543. content: '',
  544. },
  545. {
  546. id: 2,
  547. content: '',
  548. },
  549. ];