comment.data.ts 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297
  1. import { BasicColumn } from '/@/components/Table';
  2. //传感器监测-预警分析
  3. export const analysisColumns: BasicColumn[] = [
  4. {
  5. title: '序号',
  6. width: 60,
  7. align: 'center',
  8. customRender: ({ index }: { index: number }) => `${index + 1}`,
  9. },
  10. {
  11. title: '地点',
  12. dataIndex: 'strInstallPos',
  13. key: 'strInstallPos',
  14. align: 'center',
  15. },
  16. {
  17. title: '第一次',
  18. children: [
  19. {
  20. title: 'CH4(%)',
  21. dataIndex: 'ch4One',
  22. key: 'ch4One',
  23. align: 'center',
  24. },
  25. {
  26. title: 'CO2(%)',
  27. dataIndex: 'co2One',
  28. key: 'co2One',
  29. align: 'center',
  30. },
  31. {
  32. title: 'CO(ppm)',
  33. dataIndex: 'coOne',
  34. key: 'coOne',
  35. align: 'center',
  36. },
  37. {
  38. title: 'O2(%)',
  39. dataIndex: 'o2One',
  40. key: 'o2One',
  41. align: 'center',
  42. },
  43. {
  44. title: '温度(°C)',
  45. dataIndex: 'tOne',
  46. key: 'tOne',
  47. align: 'center',
  48. },
  49. {
  50. title: '时间',
  51. dataIndex: 'timeOne',
  52. key: 'timeOne',
  53. align: 'center',
  54. },
  55. ],
  56. },
  57. {
  58. title: '第二次',
  59. children: [
  60. {
  61. title: 'CH4(%)',
  62. dataIndex: 'ch4Two',
  63. key: 'ch4Two',
  64. align: 'center',
  65. },
  66. {
  67. title: 'CO2(%)',
  68. dataIndex: 'co2Two',
  69. key: 'co2Two',
  70. align: 'center',
  71. },
  72. {
  73. title: 'CO(ppm)',
  74. dataIndex: 'coTwo',
  75. key: 'coTwo',
  76. align: 'center',
  77. },
  78. {
  79. title: 'O2(%)',
  80. dataIndex: 'o2Two',
  81. key: 'o2Two',
  82. align: 'center',
  83. },
  84. {
  85. title: '温度(°C)',
  86. dataIndex: 'tTwo',
  87. key: 'tTwo',
  88. align: 'center',
  89. },
  90. {
  91. title: '时间',
  92. dataIndex: 'timeTwo',
  93. key: 'timeTwo',
  94. align: 'center',
  95. },
  96. ],
  97. },
  98. {
  99. title: '瓦检员',
  100. dataIndex: 'checkPerson',
  101. key: 'checkPerson',
  102. align: 'center',
  103. },
  104. {
  105. title: '操作',
  106. dataIndex: 'action',
  107. width: 120,
  108. align: 'center',
  109. slots: { customRender: 'action' },
  110. },
  111. ];
  112. export const gaspatrolColumnsTwo: BasicColumn[] = [
  113. {
  114. title: '序号',
  115. width: 60,
  116. align: 'center',
  117. customRender: ({ index }: { index: number }) => `${index + 1}`,
  118. },
  119. {
  120. title: '地点',
  121. dataIndex: 'strInstallPos',
  122. key: 'strInstallPos',
  123. align: 'center',
  124. },
  125. {
  126. title: '第一次',
  127. children: [
  128. {
  129. title: 'CH4(%)',
  130. dataIndex: 'ch4One',
  131. key: 'ch4One',
  132. align: 'center',
  133. },
  134. {
  135. title: 'CO2(%)',
  136. dataIndex: 'co2One',
  137. key: 'co2One',
  138. align: 'center',
  139. },
  140. {
  141. title: 'CO(ppm)',
  142. dataIndex: 'coOne',
  143. key: 'coOne',
  144. align: 'center',
  145. },
  146. {
  147. title: 'O2(%)',
  148. dataIndex: 'o2One',
  149. key: 'o2One',
  150. align: 'center',
  151. },
  152. {
  153. title: '温度(°C)',
  154. dataIndex: 'tOne',
  155. key: 'tOne',
  156. align: 'center',
  157. },
  158. {
  159. title: '时间',
  160. dataIndex: 'timeOne',
  161. key: 'timeOne',
  162. align: 'center',
  163. },
  164. ],
  165. },
  166. {
  167. title: '第二次',
  168. children: [
  169. {
  170. title: 'CH4(%)',
  171. dataIndex: 'ch4Two',
  172. key: 'ch4Two',
  173. align: 'center',
  174. },
  175. {
  176. title: 'CO2(%)',
  177. dataIndex: 'co2Two',
  178. key: 'co2Two',
  179. align: 'center',
  180. },
  181. {
  182. title: 'CO(ppm)',
  183. dataIndex: 'coTwo',
  184. key: 'coTwo',
  185. align: 'center',
  186. },
  187. {
  188. title: 'O2(%)',
  189. dataIndex: 'o2Two',
  190. key: 'o2Two',
  191. align: 'center',
  192. },
  193. {
  194. title: '温度(°C)',
  195. dataIndex: 'tTwo',
  196. key: 'tTwo',
  197. align: 'center',
  198. },
  199. {
  200. title: '时间',
  201. dataIndex: 'timeTwo',
  202. key: 'timeTwo',
  203. align: 'center',
  204. },
  205. ],
  206. },
  207. {
  208. title: '瓦检员',
  209. dataIndex: 'checkPerson',
  210. key: 'checkPerson',
  211. align: 'center',
  212. },
  213. {
  214. title: '操作',
  215. dataIndex: 'action',
  216. width: 120,
  217. align: 'center',
  218. slots: { customRender: 'action' },
  219. },
  220. ];
  221. export const gaspatrolColumnsOne: BasicColumn[] = [
  222. {
  223. title: '序号',
  224. width: 60,
  225. align: 'center',
  226. customRender: ({ index }: { index: number }) => `${index + 1}`,
  227. },
  228. {
  229. title: '地点',
  230. dataIndex: 'strInstallPos',
  231. key: 'strInstallPos',
  232. align: 'center',
  233. },
  234. {
  235. title: 'CH4(%)',
  236. dataIndex: 'ch4One',
  237. key: 'ch4One',
  238. align: 'center',
  239. },
  240. {
  241. title: 'CO2(%)',
  242. dataIndex: 'co2One',
  243. key: 'co2One',
  244. align: 'center',
  245. },
  246. {
  247. title: 'CO(ppm)',
  248. dataIndex: 'coOne',
  249. key: 'coOne',
  250. align: 'center',
  251. },
  252. {
  253. title: 'O2(%)',
  254. dataIndex: 'o2One',
  255. key: 'o2One',
  256. align: 'center',
  257. },
  258. {
  259. title: '温度(°C)',
  260. dataIndex: 'tOne',
  261. key: 'tOne',
  262. align: 'center',
  263. },
  264. {
  265. title: '时间',
  266. dataIndex: 'timeOne',
  267. key: 'timeOne',
  268. align: 'center',
  269. },
  270. {
  271. title: '瓦检员',
  272. dataIndex: 'checkPerson',
  273. key: 'checkPerson',
  274. align: 'center',
  275. },
  276. {
  277. title: '操作',
  278. dataIndex: 'action',
  279. width: 200,
  280. align: 'center',
  281. slots: { customRender: 'action' },
  282. },
  283. ];
  284. //设备分站
  285. export const stationColumns: BasicColumn[] = [
  286. {
  287. title: '序号',
  288. width: 60,
  289. align: 'center',
  290. customRender: ({ index }: { index: number }) => `${index + 1}`,
  291. },
  292. {
  293. title: '安装位置',
  294. dataIndex: 'strinstallpos',
  295. key: 'strinstallpos',
  296. align: 'center',
  297. },
  298. {
  299. title: 'Ip地址',
  300. dataIndex: 'strip',
  301. key: 'strip',
  302. align: 'center',
  303. },
  304. {
  305. title: '供电模式',
  306. dataIndex: 'gdmsC',
  307. key: 'gdmsC',
  308. align: 'center',
  309. },
  310. {
  311. title: '电池容量(%)',
  312. dataIndex: 'dcrl',
  313. key: 'dcrl',
  314. align: 'center',
  315. },
  316. // {
  317. // title: '启用状态',
  318. // dataIndex: 'linkId',
  319. // key: 'linkId',
  320. // align: 'center',
  321. // },
  322. {
  323. title: '通讯状态',
  324. dataIndex: 'linkstatusC',
  325. key: 'linkstatusC',
  326. align: 'center',
  327. },
  328. {
  329. title: '操作',
  330. dataIndex: 'action',
  331. width: 200,
  332. align: 'center',
  333. slots: { customRender: 'action' },
  334. },
  335. ];
  336. export const dsutColumns: BasicColumn[] = [
  337. {
  338. title: '序号',
  339. width: 60,
  340. align: 'center',
  341. customRender: ({ index }: { index: number }) => `${index + 1}`,
  342. },
  343. {
  344. title: '工作场所',
  345. dataIndex: 'gzcs',
  346. key: 'gzcs',
  347. width: 130,
  348. align: 'center',
  349. },
  350. {
  351. title: '工种',
  352. dataIndex: 'gz',
  353. key: 'gz',
  354. width: 100,
  355. align: 'center',
  356. },
  357. {
  358. title: '监测地点',
  359. dataIndex: 'jcdd',
  360. key: 'jcdd',
  361. width: 100,
  362. align: 'center',
  363. },
  364. {
  365. title: '粉尘种类',
  366. dataIndex: 'fczl',
  367. key: 'fczl',
  368. width: 80,
  369. align: 'center',
  370. },
  371. {
  372. title: '总尘(短时间监测浓度,单位:mg/m³)',
  373. align: 'center',
  374. children: [
  375. {
  376. title: '作业工序-生产',
  377. dataIndex: 'sc_zcds',
  378. key: 'sc_zcds',
  379. width: 100,
  380. align: 'center',
  381. },
  382. {
  383. title: '作业工序-检修',
  384. dataIndex: 'jx_zcds',
  385. key: 'jx_zcds',
  386. width: 100,
  387. align: 'center',
  388. },
  389. ],
  390. },
  391. {
  392. title: '呼尘(短时间监测浓度,单位:mg/m³)',
  393. align: 'center',
  394. children: [
  395. {
  396. title: '作业工序-生产',
  397. dataIndex: 'sc_hcds',
  398. key: 'sc_hcds',
  399. width: 100,
  400. align: 'center',
  401. },
  402. {
  403. title: '作业工序-检修',
  404. dataIndex: 'jx_hcds',
  405. key: 'jx_hcds',
  406. width: 100,
  407. align: 'center',
  408. },
  409. ],
  410. },
  411. {
  412. title: '总尘(时间加权平均浓度,单位:mg/m³)',
  413. dataIndex: 'zcjqpj',
  414. key: 'zcjqpj',
  415. width: 100,
  416. align: 'center',
  417. },
  418. {
  419. title: '呼尘(时间加权平均浓度,单位:mg/m³)',
  420. dataIndex: 'hcjqpj',
  421. key: 'hcjqpj',
  422. width: 100,
  423. align: 'center',
  424. },
  425. {
  426. title: '总尘容许浓度(mg/m³)',
  427. children: [
  428. {
  429. title: '短时间监测浓度',
  430. dataIndex: 'zcrxd_ds',
  431. key: 'zcrxd_ds',
  432. width: 100,
  433. align: 'center',
  434. },
  435. {
  436. title: '时间加权平均浓度',
  437. dataIndex: 'zcrxd_jqpj',
  438. key: 'zcrxd_jqpj',
  439. width: 100,
  440. align: 'center',
  441. },
  442. ],
  443. },
  444. {
  445. title: '呼尘容许浓度(mg/m³)',
  446. children: [
  447. {
  448. title: '短时间监测浓度',
  449. dataIndex: 'hcrxd_ds',
  450. key: 'hcrxd_ds',
  451. width: 100,
  452. align: 'center',
  453. },
  454. {
  455. title: '时间加权平均浓度',
  456. dataIndex: 'hcrxd_jqpj',
  457. key: 'hcrxd_jqpj',
  458. width: 100,
  459. align: 'center',
  460. },
  461. ],
  462. },
  463. ];
  464. export const dsutDltColumns: BasicColumn[] = [
  465. {
  466. title: '序号',
  467. width: 60,
  468. align: 'center',
  469. customRender: ({ index }: { index: number }) => `${index + 1}`,
  470. },
  471. {
  472. title: '监测地点',
  473. dataIndex: 'jcdd',
  474. key: 'jcdd',
  475. width: 100,
  476. align: 'center',
  477. },
  478. {
  479. title: '粉尘种类',
  480. dataIndex: 'fczl',
  481. key: 'fczl',
  482. width: 80,
  483. align: 'center',
  484. },
  485. {
  486. title: '总尘(短时间监测浓度,单位:mg/m³)',
  487. align: 'center',
  488. children: [
  489. {
  490. title: '作业工序-生产',
  491. dataIndex: 'sc_zcds',
  492. key: 'sc_zcds',
  493. width: 100,
  494. align: 'center',
  495. },
  496. {
  497. title: '作业工序-检修',
  498. dataIndex: 'jx_zcds',
  499. key: 'jx_zcds',
  500. width: 100,
  501. align: 'center',
  502. },
  503. ],
  504. },
  505. {
  506. title: '呼尘(短时间监测浓度,单位:mg/m³)',
  507. align: 'center',
  508. children: [
  509. {
  510. title: '作业工序-生产',
  511. dataIndex: 'sc_hcds',
  512. key: 'sc_hcds',
  513. width: 100,
  514. align: 'center',
  515. },
  516. {
  517. title: '作业工序-检修',
  518. dataIndex: 'jx_hcds',
  519. key: 'jx_hcds',
  520. width: 100,
  521. align: 'center',
  522. },
  523. ],
  524. },
  525. {
  526. title: '总尘(时间加权平均浓度,单位:mg/m³)',
  527. dataIndex: 'zcjqpj',
  528. key: 'zcjqpj',
  529. width: 100,
  530. align: 'center',
  531. },
  532. {
  533. title: '呼尘(时间加权平均浓度,单位:mg/m³)',
  534. dataIndex: 'hcjqpj',
  535. key: 'hcjqpj',
  536. width: 100,
  537. align: 'center',
  538. },
  539. ];
  540. export const dustSwColumns: BasicColumn[] = [
  541. {
  542. title: '序号',
  543. width: 60,
  544. align: 'center',
  545. customRender: ({ index }: { index: number }) => `${index + 1}`,
  546. },
  547. {
  548. title: '班次',
  549. dataIndex: 'class',
  550. key: 'class',
  551. width: 100,
  552. align: 'center',
  553. },
  554. {
  555. title: '工作场所',
  556. dataIndex: 'gzcs',
  557. key: 'gzcs',
  558. width: 100,
  559. align: 'center',
  560. },
  561. {
  562. title: '监测地点',
  563. dataIndex: 'jcdd',
  564. key: 'jcdd',
  565. width: 100,
  566. align: 'center',
  567. },
  568. {
  569. title: '粉尘种类',
  570. dataIndex: 'fczl',
  571. key: 'fczl',
  572. width: 80,
  573. align: 'center',
  574. },
  575. {
  576. title: '总尘(时间加权平均浓度,单位:mg/m³)',
  577. dataIndex: 'zcjqpj',
  578. key: 'zcjqpj',
  579. width: 100,
  580. align: 'center',
  581. },
  582. {
  583. title: '呼尘(时间加权平均浓度,单位:mg/m³)',
  584. dataIndex: 'hcjqpj',
  585. key: 'hcjqpj',
  586. width: 100,
  587. align: 'center',
  588. },
  589. ];
  590. export const bundleColumns: BasicColumn[] = [
  591. {
  592. title: '序号',
  593. width: 60,
  594. align: 'center',
  595. dataIndex: 'xh',
  596. key: 'xh',
  597. },
  598. {
  599. title: '测点名称',
  600. dataIndex: 'jcdd',
  601. key: 'jcdd',
  602. width: 130,
  603. align: 'center',
  604. },
  605. {
  606. title: '分析次数',
  607. dataIndex: 'fxcs',
  608. key: 'fxcs',
  609. width: 60,
  610. align: 'center',
  611. },
  612. {
  613. title: 'CO(PPM)',
  614. children: [
  615. {
  616. title: '最大值',
  617. dataIndex: 'co_max',
  618. key: 'co_max',
  619. width: 60,
  620. align: 'center',
  621. },
  622. {
  623. title: '平均值',
  624. dataIndex: 'co_ave',
  625. key: 'co_ave',
  626. width: 60,
  627. align: 'center',
  628. },
  629. ],
  630. },
  631. {
  632. title: 'CO₂(%)',
  633. children: [
  634. {
  635. title: '最大值',
  636. dataIndex: 'co2_max',
  637. key: 'co2_max',
  638. width: 60,
  639. align: 'center',
  640. },
  641. {
  642. title: '平均值',
  643. dataIndex: 'co2_ave',
  644. key: 'co2_ave',
  645. width: 60,
  646. align: 'center',
  647. },
  648. ],
  649. },
  650. {
  651. title: 'O₂(%)',
  652. children: [
  653. {
  654. title: '最小值',
  655. dataIndex: 'o2_min',
  656. key: 'o2_min',
  657. width: 60,
  658. align: 'center',
  659. },
  660. {
  661. title: '平均值',
  662. dataIndex: 'o2_ave',
  663. key: 'o2_ave',
  664. width: 60,
  665. align: 'center',
  666. },
  667. ],
  668. },
  669. {
  670. title: 'CH₄(%)',
  671. children: [
  672. {
  673. title: '最大值',
  674. dataIndex: 'ch4_max',
  675. key: 'ch4_max',
  676. width: 60,
  677. align: 'center',
  678. },
  679. {
  680. title: '平均值',
  681. dataIndex: 'ch4_ave',
  682. key: 'ch4_ave',
  683. width: 60,
  684. align: 'center',
  685. },
  686. ],
  687. },
  688. {
  689. title: 'C₂H₂(PPM)',
  690. children: [
  691. {
  692. title: '最大值',
  693. dataIndex: 'c2h2_max',
  694. key: 'c2h2_max',
  695. width: 60,
  696. align: 'center',
  697. },
  698. {
  699. title: '平均值',
  700. dataIndex: 'c2h2_ave',
  701. key: 'c2h2_ave',
  702. width: 60,
  703. align: 'center',
  704. },
  705. ],
  706. },
  707. {
  708. title: 'C₂H₄(PPM)',
  709. children: [
  710. {
  711. title: '最大值',
  712. dataIndex: 'c2h4_max',
  713. key: 'c2h4_max',
  714. width: 60,
  715. align: 'center',
  716. },
  717. {
  718. title: '平均值',
  719. dataIndex: 'c2h4_ave',
  720. key: 'c2h4_ave',
  721. width: 60,
  722. align: 'center',
  723. },
  724. ],
  725. },
  726. {
  727. title: '煤自燃阶段',
  728. dataIndex: 'internalFireWarnLevel',
  729. width: 100,
  730. align: 'center',
  731. },
  732. ];
  733. export const bundleSpycolumns: BasicColumn[] = [
  734. {
  735. title: '序号',
  736. width: 60,
  737. align: 'center',
  738. dataIndex: 'xh',
  739. key: 'xh',
  740. },
  741. {
  742. title: '采样地点',
  743. dataIndex: 'jcdd',
  744. key: 'jcdd',
  745. width: 100,
  746. align: 'center',
  747. },
  748. {
  749. title: '取样分析时间',
  750. dataIndex: 'qyfxsj',
  751. key: 'qyfxsj',
  752. width: 100,
  753. align: 'center',
  754. },
  755. {
  756. title: 'O₂(%)',
  757. dataIndex: 'o2_ave',
  758. key: 'o2_ave',
  759. width: 100,
  760. align: 'center',
  761. },
  762. {
  763. title: 'N₂(%)',
  764. dataIndex: 'n2_ave',
  765. key: 'n2_ave',
  766. width: 100,
  767. align: 'center',
  768. },
  769. {
  770. title: 'CO(%)',
  771. dataIndex: 'co_ave',
  772. key: 'co_ave',
  773. width: 100,
  774. align: 'center',
  775. },
  776. {
  777. title: 'CO₂(%)',
  778. dataIndex: 'co2_ave',
  779. key: 'co2_ave',
  780. width: 100,
  781. align: 'center',
  782. },
  783. {
  784. title: 'CH₄(%)',
  785. dataIndex: 'ch4_ave',
  786. key: 'ch4_ave',
  787. width: 100,
  788. align: 'center',
  789. },
  790. {
  791. title: 'C2H6(%)',
  792. dataIndex: 'c2h6_ave',
  793. key: 'c2h6_ave',
  794. width: 100,
  795. align: 'center',
  796. },
  797. {
  798. title: 'C₂H₄(%)',
  799. dataIndex: 'c2h4_ave',
  800. key: 'c2h4_ave',
  801. width: 100,
  802. align: 'center',
  803. },
  804. {
  805. title: 'C₂H₂(%)',
  806. dataIndex: 'c2h2_ave',
  807. key: 'c2h2_ave',
  808. width: 100,
  809. align: 'center',
  810. },
  811. {
  812. title: '总组分含量',
  813. dataIndex: 'zzfhl_ave',
  814. key: 'zzfhl_ave',
  815. width: 100,
  816. align: 'center',
  817. },
  818. {
  819. title: '煤自燃阶段',
  820. dataIndex: 'internalFireWarnLevel',
  821. width: 100,
  822. align: 'center',
  823. },
  824. ];
  825. export const ColumnsReport: BasicColumn[] = [
  826. {
  827. title: '序号',
  828. width: 60,
  829. align: 'center',
  830. customRender: ({ index }: { index: number }) => `${index + 1}`,
  831. },
  832. {
  833. title: '监测地点',
  834. dataIndex: 'jcdd',
  835. key: 'jcdd',
  836. width: 260,
  837. align: 'center',
  838. },
  839. {
  840. title: '检查次数',
  841. dataIndex: 'checkNum',
  842. key: 'checkNum',
  843. align: 'center',
  844. },
  845. {
  846. title: 'O₂(%)',
  847. dataIndex: 'o2',
  848. key: 'o2',
  849. align: 'center',
  850. },
  851. {
  852. title: 'CO(ppm)',
  853. dataIndex: 'co',
  854. key: 'co',
  855. align: 'center',
  856. },
  857. {
  858. title: 'CO₂(%)',
  859. dataIndex: 'co2',
  860. key: 'co2',
  861. align: 'center',
  862. },
  863. {
  864. title: 'CH₄(%)',
  865. dataIndex: 'ch4',
  866. key: 'ch4',
  867. align: 'center',
  868. },
  869. {
  870. title: '巡检员',
  871. dataIndex: 'checkPerson',
  872. key: 'checkPerson',
  873. align: 'center',
  874. },
  875. {
  876. title: '检查时间',
  877. dataIndex: 'checkTime',
  878. key: 'checkTime',
  879. align: 'center',
  880. },
  881. {
  882. title: '操作',
  883. dataIndex: 'action',
  884. width: 120,
  885. align: 'center',
  886. slots: { customRender: 'action' },
  887. },
  888. ];
  889. export const columnsGas1: BasicColumn[] = [
  890. {
  891. title: '序号',
  892. width: 60,
  893. align: 'center',
  894. customRender: ({ index }: { index: number }) => `${index + 1}`,
  895. },
  896. {
  897. title: '监测地点',
  898. dataIndex: 'jcdd',
  899. key: 'jcdd',
  900. width: 180,
  901. align: 'center',
  902. },
  903. {
  904. title: '夜班',
  905. children: [
  906. {
  907. title: 'CH₄‌(%)',
  908. dataIndex: 'ch4Night',
  909. key: 'ch4Night',
  910. align: 'center',
  911. },
  912. {
  913. title: 'CO₂‌(%)',
  914. dataIndex: 'co2Night',
  915. key: 'co2Night',
  916. align: 'center',
  917. },
  918. {
  919. title: 'CO(ppm)',
  920. dataIndex: 'coNight',
  921. key: 'coNight',
  922. align: 'center',
  923. },
  924. {
  925. title: 'O₂‌(%)',
  926. dataIndex: 'o2Night',
  927. key: 'o2Night',
  928. align: 'center',
  929. },
  930. {
  931. title: 'T(°C)',
  932. dataIndex: 'tNight',
  933. key: 'tNight',
  934. align: 'center',
  935. },
  936. ],
  937. },
  938. {
  939. title: '早班',
  940. children: [
  941. {
  942. title: 'CH₄‌(%)',
  943. dataIndex: 'ch4Early',
  944. key: 'ch4Early',
  945. align: 'center',
  946. },
  947. {
  948. title: 'CO₂‌(%)',
  949. dataIndex: 'co2Early',
  950. key: 'co2Early',
  951. align: 'center',
  952. },
  953. {
  954. title: 'CO(ppm)',
  955. dataIndex: 'coEarly',
  956. key: 'coEarly',
  957. align: 'center',
  958. },
  959. {
  960. title: 'O₂‌(%)',
  961. dataIndex: 'o2Early',
  962. key: 'o2Early',
  963. align: 'center',
  964. },
  965. {
  966. title: 'T(°C)',
  967. dataIndex: 'tEarly',
  968. key: 'tEarly',
  969. align: 'center',
  970. },
  971. ],
  972. },
  973. {
  974. title: '中班',
  975. children: [
  976. {
  977. title: 'CH₄‌(%)',
  978. dataIndex: 'ch4Noon',
  979. key: 'ch4Noon',
  980. align: 'center',
  981. },
  982. {
  983. title: 'CO₂‌(%)',
  984. dataIndex: 'co2Noon',
  985. key: 'co2Noon',
  986. align: 'center',
  987. },
  988. {
  989. title: 'CO(ppm)',
  990. dataIndex: 'coNoon',
  991. key: 'coNoon',
  992. align: 'center',
  993. },
  994. {
  995. title: 'O₂‌(%)',
  996. dataIndex: 'o2Noon',
  997. key: 'o2Noon',
  998. align: 'center',
  999. },
  1000. {
  1001. title: 'T(°C)',
  1002. dataIndex: 'tNoon',
  1003. key: 'tNoon',
  1004. align: 'center',
  1005. },
  1006. ],
  1007. },
  1008. {
  1009. title: '操作',
  1010. dataIndex: 'action',
  1011. width: 120,
  1012. align: 'center',
  1013. slots: { customRender: 'action' },
  1014. },
  1015. ];
  1016. export const columnsGas2: BasicColumn[] = [
  1017. {
  1018. title: '序号',
  1019. width: 60,
  1020. align: 'center',
  1021. customRender: ({ index }: { index: number }) => `${index + 1}`,
  1022. },
  1023. {
  1024. title: '监测地点',
  1025. dataIndex: 'jcdd',
  1026. key: 'jcdd',
  1027. width: 130,
  1028. align: 'center',
  1029. },
  1030. {
  1031. title: '煤层',
  1032. dataIndex: 'mc',
  1033. width: 80,
  1034. key: 'mc',
  1035. align: 'center',
  1036. },
  1037. {
  1038. title: '夜班',
  1039. children: [
  1040. {
  1041. title: 'CH₄‌(%)',
  1042. dataIndex: 'ch4Night',
  1043. key: 'ch4Night',
  1044. align: 'center',
  1045. },
  1046. {
  1047. title: 'CO₂‌(%)',
  1048. dataIndex: 'co2Night',
  1049. key: 'co2Night',
  1050. align: 'center',
  1051. },
  1052. {
  1053. title: 'CO(ppm)',
  1054. dataIndex: 'coNight',
  1055. key: 'coNight',
  1056. width: 80,
  1057. align: 'center',
  1058. },
  1059. {
  1060. title: 'O₂‌(%)',
  1061. dataIndex: 'o2Night',
  1062. key: 'o2Night',
  1063. align: 'center',
  1064. },
  1065. {
  1066. title: 'T(°C)',
  1067. dataIndex: 'tNight',
  1068. key: 'tNight',
  1069. align: 'center',
  1070. },
  1071. {
  1072. title: '巡检员',
  1073. dataIndex: 'checkPersonNight',
  1074. key: 'checkPersonNight',
  1075. align: 'center',
  1076. },
  1077. ],
  1078. },
  1079. {
  1080. title: '早班',
  1081. children: [
  1082. {
  1083. title: 'CH₄‌(%)',
  1084. dataIndex: 'ch4Early',
  1085. key: 'ch4Early',
  1086. align: 'center',
  1087. },
  1088. {
  1089. title: 'CO₂‌(%)',
  1090. dataIndex: 'co2Early',
  1091. key: 'co2Early',
  1092. align: 'center',
  1093. },
  1094. {
  1095. title: 'CO(ppm)',
  1096. dataIndex: 'coEarly',
  1097. key: 'coEarly',
  1098. width: 80,
  1099. align: 'center',
  1100. },
  1101. {
  1102. title: 'O₂‌(%)',
  1103. dataIndex: 'o2Early',
  1104. key: 'o2Early',
  1105. align: 'center',
  1106. },
  1107. {
  1108. title: 'T(°C)',
  1109. dataIndex: 'tEarly',
  1110. key: 'tEarly',
  1111. align: 'center',
  1112. },
  1113. {
  1114. title: '巡检员',
  1115. dataIndex: 'checkPersonEarly',
  1116. key: 'checkPersonEarly',
  1117. align: 'center',
  1118. },
  1119. ],
  1120. },
  1121. {
  1122. title: '中班',
  1123. children: [
  1124. {
  1125. title: 'CH₄‌(%)',
  1126. dataIndex: 'ch4Noon',
  1127. key: 'ch4Noon',
  1128. align: 'center',
  1129. },
  1130. {
  1131. title: 'CO₂‌(%)',
  1132. dataIndex: 'co2Noon',
  1133. key: 'co2Noon',
  1134. align: 'center',
  1135. },
  1136. {
  1137. title: 'CO(ppm)',
  1138. dataIndex: 'coNoon',
  1139. key: 'coNoon',
  1140. width: 80,
  1141. align: 'center',
  1142. },
  1143. {
  1144. title: 'O₂‌(%)',
  1145. dataIndex: 'o2Noon',
  1146. key: 'o2Noon',
  1147. align: 'center',
  1148. },
  1149. {
  1150. title: 'T(°C)',
  1151. dataIndex: 'tNoon',
  1152. key: 'tNoon',
  1153. align: 'center',
  1154. },
  1155. {
  1156. title: '巡检员',
  1157. dataIndex: 'checkPersonNoon',
  1158. key: 'checkPersonNoon',
  1159. align: 'center',
  1160. },
  1161. ],
  1162. },
  1163. {
  1164. title: '操作',
  1165. dataIndex: 'action',
  1166. width: 120,
  1167. align: 'center',
  1168. slots: { customRender: 'action' },
  1169. },
  1170. ];
  1171. export const gasPipeColumns: BasicColumn[] = [
  1172. {
  1173. title: '起点',
  1174. children: [
  1175. {
  1176. title: '管道位置',
  1177. dataIndex: 'strinstallpos',
  1178. key: 'strinstallpos',
  1179. },
  1180. {
  1181. title: '二氧化碳(%)',
  1182. dataIndex: 'co2val',
  1183. key: 'co2val',
  1184. },
  1185. {
  1186. title: '一氧化碳(%)',
  1187. dataIndex: 'coval',
  1188. key: 'coval',
  1189. },
  1190. // {
  1191. // title: '负压(Pa)',
  1192. // dataIndex: 'fyVal',
  1193. // key: 'fyVal',
  1194. // },
  1195. // {
  1196. // title: '瓦斯抽采浓度(%)',
  1197. // dataIndex: 'gasC',
  1198. // key: 'gasC',
  1199. // },
  1200. // {
  1201. // title: '瓦斯抽采混量',
  1202. // dataIndex: 'gasMixMass',
  1203. // key: 'gasMixMass',
  1204. // },
  1205. // {
  1206. // title: '瓦斯抽采纯量',
  1207. // dataIndex: 'gasMass',
  1208. // key: 'gasMass',
  1209. // },
  1210. {
  1211. title: '累计抽采量',
  1212. dataIndex: 'gasTotalMass',
  1213. key: 'gasTotalMass',
  1214. },
  1215. {
  1216. title: '管道流量',
  1217. dataIndex: 'gdlyVal',
  1218. key: 'gdlyVal',
  1219. },
  1220. {
  1221. title: '管道绝对温度',
  1222. dataIndex: 'gdjdwdVal',
  1223. key: 'gdjdwdVal',
  1224. },
  1225. ],
  1226. },
  1227. {
  1228. title: '终点',
  1229. children: [
  1230. {
  1231. title: '管道位置',
  1232. dataIndex: 'strinstallpos_end',
  1233. key: 'strinstallpos_end',
  1234. },
  1235. {
  1236. title: '二氧化碳(%)',
  1237. dataIndex: 'co2val_end',
  1238. key: 'co2val_end',
  1239. },
  1240. {
  1241. title: '一氧化碳(%)',
  1242. dataIndex: 'coval_end',
  1243. key: 'coval_end',
  1244. },
  1245. // {
  1246. // title: '负压(Pa)',
  1247. // dataIndex: 'fyVal_end',
  1248. // key: 'fyVal_end',
  1249. // },
  1250. // {
  1251. // title: '瓦斯抽采浓度(%)',
  1252. // dataIndex: 'gasC_end',
  1253. // key: 'gasC_end',
  1254. // },
  1255. // {
  1256. // title: '瓦斯抽采混量',
  1257. // dataIndex: 'gasMixMass_end',
  1258. // key: 'gasMixMass_end',
  1259. // },
  1260. // {
  1261. // title: '瓦斯抽采纯量',
  1262. // dataIndex: 'gasMass_end',
  1263. // key: 'gasMass_end',
  1264. // },
  1265. {
  1266. title: '累计抽采量',
  1267. dataIndex: 'gasTotalMass_end',
  1268. key: 'gasTotalMass_end',
  1269. },
  1270. {
  1271. title: '管道流量',
  1272. dataIndex: 'gdlyVal_end',
  1273. key: 'gdlyVal_end',
  1274. },
  1275. {
  1276. title: '管道绝对温度',
  1277. dataIndex: 'gdjdwdVal_end',
  1278. key: 'gdjdwdVal_end',
  1279. },
  1280. ],
  1281. },
  1282. {
  1283. title: '是否泄露',
  1284. dataIndex: 'isLeakage',
  1285. key: 'isLeakage',
  1286. },
  1287. ];