comment.data.ts 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889
  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. export const dsutColumns: BasicColumn[] = [
  175. {
  176. title: '序号',
  177. width: 60,
  178. align: 'center',
  179. customRender: ({ index }: { index: number }) => `${index + 1}`,
  180. },
  181. {
  182. title: '工作场所',
  183. dataIndex: 'gzcs',
  184. key: 'gzcs',
  185. width: 130,
  186. align: 'center',
  187. },
  188. {
  189. title: '工种',
  190. dataIndex: 'gz',
  191. key: 'gz',
  192. width: 100,
  193. align: 'center',
  194. },
  195. {
  196. title: '监测地点',
  197. dataIndex: 'jcdd',
  198. key: 'jcdd',
  199. width: 100,
  200. align: 'center',
  201. },
  202. {
  203. title: '粉尘种类',
  204. dataIndex: 'fczl',
  205. key: 'fczl',
  206. width: 80,
  207. align: 'center',
  208. },
  209. {
  210. title: '总尘(短时间监测浓度,单位:mg/m³)',
  211. align: 'center',
  212. children: [
  213. {
  214. title: '作业工序-生产',
  215. dataIndex: 'sc_zcds',
  216. key: 'sc_zcds',
  217. width: 100,
  218. align: 'center',
  219. },
  220. {
  221. title: '作业工序-检修',
  222. dataIndex: 'jx_zcds',
  223. key: 'jx_zcds',
  224. width: 100,
  225. align: 'center',
  226. },
  227. ],
  228. },
  229. {
  230. title: '呼尘(短时间监测浓度,单位:mg/m³)',
  231. align: 'center',
  232. children: [
  233. {
  234. title: '作业工序-生产',
  235. dataIndex: 'sc_hcds',
  236. key: 'sc_hcds',
  237. width: 100,
  238. align: 'center',
  239. },
  240. {
  241. title: '作业工序-检修',
  242. dataIndex: 'jx_hcds',
  243. key: 'jx_hcds',
  244. width: 100,
  245. align: 'center',
  246. },
  247. ],
  248. },
  249. {
  250. title: '总尘(时间加权平均浓度,单位:mg/m³)',
  251. dataIndex: 'zcjqpj',
  252. key: 'zcjqpj',
  253. width: 100,
  254. align: 'center',
  255. },
  256. {
  257. title: '呼尘(时间加权平均浓度,单位:mg/m³)',
  258. dataIndex: 'hcjqpj',
  259. key: 'hcjqpj',
  260. width: 100,
  261. align: 'center',
  262. },
  263. {
  264. title: '总尘容许浓度(mg/m³)',
  265. children: [
  266. {
  267. title: '短时间监测浓度',
  268. dataIndex: 'zcrxd_ds',
  269. key: 'zcrxd_ds',
  270. width: 100,
  271. align: 'center',
  272. },
  273. {
  274. title: '时间加权平均浓度',
  275. dataIndex: 'zcrxd_jqpj',
  276. key: 'zcrxd_jqpj',
  277. width: 100,
  278. align: 'center',
  279. },
  280. ],
  281. },
  282. {
  283. title: '呼尘容许浓度(mg/m³)',
  284. children: [
  285. {
  286. title: '短时间监测浓度',
  287. dataIndex: 'hcrxd_ds',
  288. key: 'hcrxd_ds',
  289. width: 100,
  290. align: 'center',
  291. },
  292. {
  293. title: '时间加权平均浓度',
  294. dataIndex: 'hcrxd_jqpj',
  295. key: 'hcrxd_jqpj',
  296. width: 100,
  297. align: 'center',
  298. },
  299. ],
  300. },
  301. ];
  302. export const bundleColumns: BasicColumn[] = [
  303. {
  304. title: '序号',
  305. width: 60,
  306. align: 'center',
  307. dataIndex: 'xh',
  308. key: 'xh',
  309. },
  310. {
  311. title: '测点名称',
  312. dataIndex: 'jcdd',
  313. key: 'jcdd',
  314. width: 130,
  315. align: 'center',
  316. },
  317. {
  318. title: '分析次数',
  319. dataIndex: 'fxcs',
  320. key: 'fxcs',
  321. width: 60,
  322. align: 'center',
  323. },
  324. {
  325. title: 'CO(PPM)',
  326. children: [
  327. {
  328. title: '最大值',
  329. dataIndex: 'co_max',
  330. key: 'co_max',
  331. width: 60,
  332. align: 'center',
  333. },
  334. {
  335. title: '平均值',
  336. dataIndex: 'co_ave',
  337. key: 'co_ave',
  338. width: 60,
  339. align: 'center',
  340. },
  341. ],
  342. },
  343. {
  344. title: 'CO₂(%)',
  345. children: [
  346. {
  347. title: '最大值',
  348. dataIndex: 'co2_max',
  349. key: 'co2_max',
  350. width: 60,
  351. align: 'center',
  352. },
  353. {
  354. title: '平均值',
  355. dataIndex: 'co2_ave',
  356. key: 'co2_ave',
  357. width: 60,
  358. align: 'center',
  359. },
  360. ],
  361. },
  362. {
  363. title: 'O₂(%)',
  364. children: [
  365. {
  366. title: '最小值',
  367. dataIndex: 'o2_min',
  368. key: 'o2_min',
  369. width: 60,
  370. align: 'center',
  371. },
  372. {
  373. title: '平均值',
  374. dataIndex: 'o2_ave',
  375. key: 'o2_ave',
  376. width: 60,
  377. align: 'center',
  378. },
  379. ],
  380. },
  381. {
  382. title: 'CH₄(%)',
  383. children: [
  384. {
  385. title: '最大值',
  386. dataIndex: 'ch4_max',
  387. key: 'ch4_max',
  388. width: 60,
  389. align: 'center',
  390. },
  391. {
  392. title: '平均值',
  393. dataIndex: 'ch4_ave',
  394. key: 'ch4_ave',
  395. width: 60,
  396. align: 'center',
  397. },
  398. ],
  399. },
  400. {
  401. title: 'C₂H₂(PPM)',
  402. children: [
  403. {
  404. title: '最大值',
  405. dataIndex: 'c2h2_max',
  406. key: 'c2h2_max',
  407. width: 60,
  408. align: 'center',
  409. },
  410. {
  411. title: '平均值',
  412. dataIndex: 'c2h2_ave',
  413. key: 'c2h2_ave',
  414. width: 60,
  415. align: 'center',
  416. },
  417. ],
  418. },
  419. {
  420. title: 'C₂H₄(PPM)',
  421. children: [
  422. {
  423. title: '最大值',
  424. dataIndex: 'c2h4_max',
  425. key: 'c2h4_max',
  426. width: 60,
  427. align: 'center',
  428. },
  429. {
  430. title: '平均值',
  431. dataIndex: 'c2h4_ave',
  432. key: 'c2h4_ave',
  433. width: 60,
  434. align: 'center',
  435. },
  436. ],
  437. },
  438. {
  439. title: '煤自燃阶段',
  440. dataIndex: 'internalFireWarnLevel',
  441. width: 100,
  442. align: 'center',
  443. },
  444. ];
  445. export const bundleSpycolumns: BasicColumn[] = [
  446. {
  447. title: '序号',
  448. width: 60,
  449. align: 'center',
  450. dataIndex: 'xh',
  451. key: 'xh',
  452. },
  453. {
  454. title: '化验编号',
  455. dataIndex: 'hybh',
  456. key: 'hybh',
  457. width: 100,
  458. align: 'center',
  459. },
  460. {
  461. title: '采样地点',
  462. dataIndex: 'jcdd',
  463. key: 'jcdd',
  464. width: 100,
  465. align: 'center',
  466. },
  467. {
  468. title: '取样分析时间',
  469. dataIndex: 'qyfxsj',
  470. key: 'qyfxsj',
  471. width: 100,
  472. align: 'center',
  473. },
  474. {
  475. title: 'O₂(%)',
  476. dataIndex: 'o2_ave',
  477. key: 'o2_ave',
  478. width: 100,
  479. align: 'center',
  480. },
  481. {
  482. title: 'N₂(%)',
  483. dataIndex: 'n2_ave',
  484. key: 'n2_ave',
  485. width: 100,
  486. align: 'center',
  487. },
  488. {
  489. title: 'CO(%)',
  490. dataIndex: 'co_ave',
  491. key: 'co_ave',
  492. width: 100,
  493. align: 'center',
  494. },
  495. {
  496. title: 'CO₂(%)',
  497. dataIndex: 'co2_ave',
  498. key: 'co2_ave',
  499. width: 100,
  500. align: 'center',
  501. },
  502. {
  503. title: 'CH₄(%)',
  504. dataIndex: 'ch4_ave',
  505. key: 'ch4_ave',
  506. width: 100,
  507. align: 'center',
  508. },
  509. {
  510. title: 'C2H6(%)',
  511. dataIndex: 'c2h6_ave',
  512. key: 'c2h6_ave',
  513. width: 100,
  514. align: 'center',
  515. },
  516. {
  517. title: 'C₂H₄(%)',
  518. dataIndex: 'c2h4_ave',
  519. key: 'c2h4_ave',
  520. width: 100,
  521. align: 'center',
  522. },
  523. {
  524. title: 'C₂H₂(%)',
  525. dataIndex: 'c2h2_ave',
  526. key: 'c2h2_ave',
  527. width: 100,
  528. align: 'center',
  529. },
  530. {
  531. title: '总组分含量',
  532. dataIndex: 'zzfhl_ave',
  533. key: 'zzfhl_ave',
  534. width: 100,
  535. align: 'center',
  536. },
  537. {
  538. title: '煤自燃阶段',
  539. dataIndex: 'internalFireWarnLevel',
  540. width: 100,
  541. align: 'center',
  542. },
  543. ];
  544. export const ColumnsReport: BasicColumn[] = [
  545. {
  546. title: '序号',
  547. width: 60,
  548. align: 'center',
  549. customRender: ({ index }: { index: number }) => `${index + 1}`
  550. },
  551. {
  552. title: '监测地点',
  553. dataIndex: 'jcdd',
  554. key: 'jcdd',
  555. width: 260,
  556. align: 'center',
  557. },
  558. {
  559. title: 'O₂(%)',
  560. dataIndex: 'o2',
  561. key: 'o2',
  562. align: 'center',
  563. },
  564. {
  565. title: 'CO(ppm)',
  566. dataIndex: 'co',
  567. key: 'co',
  568. align: 'center',
  569. },
  570. {
  571. title: 'CO₂(%)',
  572. dataIndex: 'co2',
  573. key: 'co2',
  574. align: 'center',
  575. },
  576. {
  577. title: 'CH₄(%)',
  578. dataIndex: 'ch4',
  579. key: 'ch4',
  580. align: 'center',
  581. },
  582. {
  583. title: '巡检员',
  584. dataIndex: 'checkPerson',
  585. key: 'checkPerson',
  586. align: 'center',
  587. },
  588. {
  589. title: '操作',
  590. dataIndex: 'action',
  591. width: 120,
  592. align: 'center',
  593. slots: { customRender: 'action' },
  594. },
  595. ];
  596. export const columnsGas1: BasicColumn[] = [
  597. {
  598. title: '序号',
  599. width: 60,
  600. align: 'center',
  601. customRender: ({ index }: { index: number }) => `${index + 1}`
  602. },
  603. {
  604. title: '监测地点',
  605. dataIndex: 'jcdd',
  606. key: 'jcdd',
  607. width:180,
  608. align: 'center',
  609. },
  610. {
  611. title: '夜班',
  612. children: [
  613. {
  614. title: 'CH₄‌(%)',
  615. dataIndex: 'ch4Night',
  616. key: 'ch4Night',
  617. align: 'center',
  618. },
  619. {
  620. title: 'CO₂‌(%)',
  621. dataIndex: 'co2Night',
  622. key: 'co2Night',
  623. align: 'center',
  624. },
  625. {
  626. title: 'CO(ppm)',
  627. dataIndex: 'coNight',
  628. key: 'coNight',
  629. align: 'center',
  630. },
  631. {
  632. title: 'O₂‌(%)',
  633. dataIndex: 'o2Night',
  634. key: 'o2Night',
  635. align: 'center',
  636. },
  637. {
  638. title: 'T(°C)',
  639. dataIndex: 'tNight',
  640. key: 'tNight',
  641. align: 'center',
  642. },
  643. ]
  644. },
  645. {
  646. title: '早班',
  647. children: [
  648. {
  649. title: 'CH₄‌(%)',
  650. dataIndex: 'ch4Early',
  651. key: 'ch4Early',
  652. align: 'center',
  653. },
  654. {
  655. title: 'CO₂‌(%)',
  656. dataIndex: 'co2Early',
  657. key: 'co2Early',
  658. align: 'center',
  659. },
  660. {
  661. title: 'CO(ppm)',
  662. dataIndex: 'coEarly',
  663. key: 'coEarly',
  664. align: 'center',
  665. },
  666. {
  667. title: 'O₂‌(%)',
  668. dataIndex: 'o2Early',
  669. key: 'o2Early',
  670. align: 'center',
  671. },
  672. {
  673. title: 'T(°C)',
  674. dataIndex: 'tEarly',
  675. key: 'tEarly',
  676. align: 'center',
  677. },
  678. ]
  679. },
  680. {
  681. title: '中班',
  682. children: [
  683. {
  684. title: 'CH₄‌(%)',
  685. dataIndex: 'ch4Noon',
  686. key: 'ch4Noon',
  687. align: 'center',
  688. },
  689. {
  690. title: 'CO₂‌(%)',
  691. dataIndex: 'co2Noon',
  692. key: 'co2Noon',
  693. align: 'center',
  694. },
  695. {
  696. title: 'CO(ppm)',
  697. dataIndex: 'coNoon',
  698. key: 'coNoon',
  699. align: 'center',
  700. },
  701. {
  702. title: 'O₂‌(%)',
  703. dataIndex: 'o2Noon',
  704. key: 'o2Noon',
  705. align: 'center',
  706. },
  707. {
  708. title: 'T(°C)',
  709. dataIndex: 'tNoon',
  710. key: 'tNoon',
  711. align: 'center',
  712. },
  713. ]
  714. },
  715. {
  716. title: '操作',
  717. dataIndex: 'action',
  718. width: 120,
  719. align: 'center',
  720. slots: { customRender: 'action' },
  721. },
  722. ];
  723. export const columnsGas2: BasicColumn[] = [
  724. {
  725. title: '序号',
  726. width: 60,
  727. align: 'center',
  728. customRender: ({ index }: { index: number }) => `${index + 1}`
  729. },
  730. {
  731. title: '监测地点',
  732. dataIndex: 'jcdd',
  733. key: 'jcdd',
  734. width:130,
  735. align: 'center',
  736. },
  737. {
  738. title: '煤层',
  739. dataIndex: 'mc',
  740. width:80,
  741. key: 'mc',
  742. align: 'center',
  743. },
  744. {
  745. title: '夜班',
  746. children: [
  747. {
  748. title: 'CH₄‌(%)',
  749. dataIndex: 'ch4Night',
  750. key: 'ch4Night',
  751. align: 'center',
  752. },
  753. {
  754. title: 'CO₂‌(%)',
  755. dataIndex: 'co2Night',
  756. key: 'co2Night',
  757. align: 'center',
  758. },
  759. {
  760. title: 'CO(ppm)',
  761. dataIndex: 'coNight',
  762. key: 'coNight',
  763. width:80,
  764. align: 'center',
  765. },
  766. {
  767. title: 'O₂‌(%)',
  768. dataIndex: 'o2Night',
  769. key: 'o2Night',
  770. align: 'center',
  771. },
  772. {
  773. title: 'T(°C)',
  774. dataIndex: 'tNight',
  775. key: 'tNight',
  776. align: 'center',
  777. },
  778. {
  779. title: '巡检员',
  780. dataIndex: 'checkPersonNight',
  781. key: 'checkPersonNight',
  782. align: 'center',
  783. },
  784. ]
  785. },
  786. {
  787. title: '早班',
  788. children: [
  789. {
  790. title: 'CH₄‌(%)',
  791. dataIndex: 'ch4Early',
  792. key: 'ch4Early',
  793. align: 'center',
  794. },
  795. {
  796. title: 'CO₂‌(%)',
  797. dataIndex: 'co2Early',
  798. key: 'co2Early',
  799. align: 'center',
  800. },
  801. {
  802. title: 'CO(ppm)',
  803. dataIndex: 'coEarly',
  804. key: 'coEarly',
  805. width:80,
  806. align: 'center',
  807. },
  808. {
  809. title: 'O₂‌(%)',
  810. dataIndex: 'o2Early',
  811. key: 'o2Early',
  812. align: 'center',
  813. },
  814. {
  815. title: 'T(°C)',
  816. dataIndex: 'tEarly',
  817. key: 'tEarly',
  818. align: 'center',
  819. },
  820. {
  821. title: '巡检员',
  822. dataIndex: 'checkPersonEarly',
  823. key: 'checkPersonEarly',
  824. align: 'center',
  825. },
  826. ]
  827. },
  828. {
  829. title: '中班',
  830. children: [
  831. {
  832. title: 'CH₄‌(%)',
  833. dataIndex: 'ch4Noon',
  834. key: 'ch4Noon',
  835. align: 'center',
  836. },
  837. {
  838. title: 'CO₂‌(%)',
  839. dataIndex: 'co2Noon',
  840. key: 'co2Noon',
  841. align: 'center',
  842. },
  843. {
  844. title: 'CO(ppm)',
  845. dataIndex: 'coNoon',
  846. key: 'coNoon',
  847. width:80,
  848. align: 'center',
  849. },
  850. {
  851. title: 'O₂‌(%)',
  852. dataIndex: 'o2Noon',
  853. key: 'o2Noon',
  854. align: 'center',
  855. },
  856. {
  857. title: 'T(°C)',
  858. dataIndex: 'tNoon',
  859. key: 'tNoon',
  860. align: 'center',
  861. },
  862. {
  863. title: '巡检员',
  864. dataIndex: 'checkPersonNoon',
  865. key: 'checkPersonNoon',
  866. align: 'center',
  867. },
  868. ]
  869. },
  870. {
  871. title: '操作',
  872. dataIndex: 'action',
  873. width: 120,
  874. align: 'center',
  875. slots: { customRender: 'action' },
  876. },
  877. ];