fire.data.ts 13 KB

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