fire.data.ts 14 KB

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