fire.data.ts 14 KB

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