comment.data.ts 19 KB

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