gasReportInspect.data.ts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columnsType: BasicColumn[] = [
  3. {
  4. title: '序号',
  5. width: 60,
  6. align: 'center',
  7. customRender: ({ index }: { index: number }) => `${index + 1}`
  8. },
  9. {
  10. title: '监测地点',
  11. dataIndex: 'jcdd',
  12. key: 'jcdd',
  13. width:260,
  14. align: 'center',
  15. },
  16. {
  17. title: '检测次数',
  18. dataIndex: 'checkNum',
  19. key: 'checkNum',
  20. align: 'center',
  21. },
  22. {
  23. title: 'O₂(%)',
  24. dataIndex: 'o2',
  25. key: 'o2',
  26. align: 'center',
  27. },
  28. {
  29. title: 'CO(ppm)',
  30. dataIndex: 'co',
  31. key: 'co',
  32. align: 'center',
  33. },
  34. {
  35. title: 'CO₂(%)',
  36. dataIndex: 'co2',
  37. key: 'co2',
  38. align: 'center',
  39. },
  40. {
  41. title: 'CH₄(%)',
  42. dataIndex: 'ch4',
  43. key: 'ch4',
  44. align: 'center',
  45. },
  46. {
  47. title: '巡检员',
  48. dataIndex: 'checkPerson',
  49. key: 'checkPerson',
  50. align: 'center',
  51. },
  52. // {
  53. // title: '检查时间',
  54. // dataIndex: 'checkTime',
  55. // key: 'checkTime',
  56. // align: 'center',
  57. // },
  58. ];
  59. //宝德
  60. export const columnBd: BasicColumn[] = [
  61. {
  62. title: '序号',
  63. width: 60,
  64. align: 'center',
  65. customRender: ({ index }: { index: number }) => `${index + 1}`
  66. },
  67. {
  68. title: '监测地点',
  69. dataIndex: 'jcdd',
  70. key: 'jcdd',
  71. width:260,
  72. align: 'center',
  73. },
  74. {
  75. title: 'CH₄(%)',
  76. dataIndex: 'ch4',
  77. key: 'ch4',
  78. align: 'center',
  79. },
  80. {
  81. title: 'CO₂(%)',
  82. dataIndex: 'co2',
  83. key: 'co2',
  84. align: 'center',
  85. },
  86. ];
  87. //石圪台
  88. export const columnSgt: BasicColumn[] = [
  89. {
  90. title: '序号',
  91. width: 60,
  92. align: 'center',
  93. customRender: ({ index }: { index: number }) => `${index + 1}`
  94. },
  95. {
  96. title: '监测地点',
  97. dataIndex: 'jcdd',
  98. key: 'jcdd',
  99. width:260,
  100. align: 'center',
  101. },
  102. {
  103. title: 'CH₄(%)',
  104. dataIndex: 'ch4',
  105. key: 'ch4',
  106. align: 'center',
  107. },
  108. {
  109. title: 'CO₂(%)',
  110. dataIndex: 'co2',
  111. key: 'co2',
  112. align: 'center',
  113. },
  114. {
  115. title: 'CO(ppm)',
  116. dataIndex: 'co',
  117. key: 'co',
  118. align: 'center',
  119. },
  120. {
  121. title: 'O₂(%)',
  122. dataIndex: 'o2',
  123. key: 'o2',
  124. align: 'center',
  125. },
  126. {
  127. title: '温度(°C)',
  128. dataIndex: 't',
  129. key: 't',
  130. align: 'center',
  131. },
  132. {
  133. title: '瓦检员',
  134. dataIndex: 'checkPerson',
  135. key: 'checkPerson',
  136. align: 'center',
  137. },
  138. ];
  139. //寸草塔二矿
  140. export const columnCctr: BasicColumn[] = [
  141. {
  142. title: '序号',
  143. width: 60,
  144. align: 'center',
  145. customRender: ({ index }: { index: number }) => `${index + 1}`
  146. },
  147. {
  148. title: '监测地点',
  149. dataIndex: 'jcdd',
  150. key: 'jcdd',
  151. width:260,
  152. align: 'center',
  153. },
  154. {
  155. title: 'CH₄(%)',
  156. dataIndex: 'ch4',
  157. key: 'ch4',
  158. align: 'center',
  159. },
  160. {
  161. title: 'CO₂(%)',
  162. dataIndex: 'co2',
  163. key: 'co2',
  164. align: 'center',
  165. },
  166. {
  167. title: 'CO(ppm)',
  168. dataIndex: 'co',
  169. key: 'co',
  170. align: 'center',
  171. },
  172. {
  173. title: 'O₂(%)',
  174. dataIndex: 'o2',
  175. key: 'o2',
  176. align: 'center',
  177. },
  178. {
  179. title: 'T(°C)',
  180. dataIndex: 't',
  181. key: 't',
  182. align: 'center',
  183. },
  184. ];
  185. //寸草塔矿
  186. export const columnCct: BasicColumn[] = [
  187. {
  188. title: '序号',
  189. width: 60,
  190. align: 'center',
  191. customRender: ({ index }: { index: number }) => `${index + 1}`
  192. },
  193. {
  194. title: '检查地点',
  195. dataIndex: 'jcdd',
  196. key: 'jcdd',
  197. align: 'center',
  198. },
  199. {
  200. title: '检查次数',
  201. dataIndex: 'checkNum',
  202. key: 'checkNum',
  203. align: 'center',
  204. },
  205. {
  206. title: '检查时间',
  207. dataIndex: 'jcsj',
  208. key: 'jcsj',
  209. align: 'center',
  210. },
  211. {
  212. title: 'CH₄(%)',
  213. children:[
  214. {
  215. title: '光瓦测量值(%)',
  216. dataIndex: 'ch4gw',
  217. key: 'ch4gw',
  218. align: 'center',
  219. },
  220. {
  221. title: '便携仪/传感器测量值(%)',
  222. dataIndex: 'ch4bxy',
  223. key: 'ch4bxy',
  224. align: 'center',
  225. },
  226. ]
  227. },
  228. {
  229. title: 'CO₂(%)',
  230. dataIndex: 'co2',
  231. key: 'co2',
  232. align: 'center',
  233. },
  234. {
  235. title: 'CO(ppm)',
  236. dataIndex: 'co',
  237. key: 'co',
  238. align: 'center',
  239. },
  240. {
  241. title: 'O₂(%)',
  242. dataIndex: 'o2',
  243. key: 'o2',
  244. align: 'center',
  245. },
  246. {
  247. title: 'T(°C)',
  248. dataIndex: 't',
  249. key: 't',
  250. align: 'center',
  251. },
  252. {
  253. title: '瓦检员',
  254. dataIndex: 'checkPerson',
  255. key: 'checkPerson',
  256. align: 'center',
  257. },
  258. ];
  259. //乌兰木伦
  260. export const columnWlml: BasicColumn[] = [
  261. {
  262. title: '序号',
  263. width: 60,
  264. align: 'center',
  265. customRender: ({ index }: { index: number }) => `${index + 1}`
  266. },
  267. {
  268. title: '检查地点',
  269. dataIndex: 'jcdd',
  270. key: 'jcdd',
  271. width:260,
  272. align: 'center',
  273. },
  274. {
  275. title: 'CH₄(%)',
  276. dataIndex: 'ch4',
  277. key: 'ch4',
  278. align: 'center',
  279. },
  280. {
  281. title: 'CO₂(%)',
  282. dataIndex: 'co2',
  283. key: 'co2',
  284. align: 'center',
  285. },
  286. {
  287. title: 'CO(ppm)',
  288. dataIndex: 'co',
  289. key: 'co',
  290. align: 'center',
  291. },
  292. {
  293. title: 'O₂(%)',
  294. dataIndex: 'o2',
  295. key: 'o2',
  296. align: 'center',
  297. },
  298. {
  299. title: 'T(°C)',
  300. dataIndex: 't',
  301. key: 't',
  302. align: 'center',
  303. },
  304. {
  305. title: '检查人',
  306. dataIndex: 'checkPerson',
  307. key: 'checkPerson',
  308. align: 'center',
  309. },
  310. ];
  311. //榆家梁
  312. export const columnYjl: BasicColumn[] = [
  313. {
  314. title: '序号',
  315. width: 60,
  316. align: 'center',
  317. customRender: ({ index }: { index: number }) => `${index + 1}`
  318. },
  319. {
  320. title: '监测地点',
  321. dataIndex: 'jcdd',
  322. key: 'jcdd',
  323. width:260,
  324. align: 'center',
  325. },
  326. {
  327. title: 'CH₄(%)',
  328. dataIndex: 'ch4',
  329. key: 'ch4',
  330. align: 'center',
  331. },
  332. {
  333. title: 'CO₂(%)',
  334. dataIndex: 'co2',
  335. key: 'co2',
  336. align: 'center',
  337. },
  338. {
  339. title: 'CO(ppm)',
  340. dataIndex: 'co',
  341. key: 'co',
  342. align: 'center',
  343. },
  344. {
  345. title: 'O₂(%)',
  346. dataIndex: 'o2',
  347. key: 'o2',
  348. align: 'center',
  349. },
  350. {
  351. title: 'T(°C)',
  352. dataIndex: 't',
  353. key: 't',
  354. align: 'center',
  355. },
  356. {
  357. title: '检查人',
  358. dataIndex: 'checkPerson',
  359. key: 'checkPerson',
  360. align: 'center',
  361. },
  362. ];
  363. //补连塔
  364. export const columnBlt: BasicColumn[] = [
  365. {
  366. title: '序号',
  367. width: 60,
  368. align: 'center',
  369. customRender: ({ index }: { index: number }) => `${index + 1}`
  370. },
  371. {
  372. title: '监测地点',
  373. dataIndex: 'jcdd',
  374. key: 'jcdd',
  375. width:260,
  376. align: 'center',
  377. },
  378. {
  379. title: 'CH₄(%)',
  380. children:[
  381. {
  382. title: '传感器显示值',
  383. dataIndex: 'ch4cgq',
  384. key: 'ch4cgq',
  385. align: 'center',
  386. },
  387. {
  388. title: '光瓦测量值',
  389. dataIndex: 'ch4gw',
  390. key: 'ch4gw',
  391. align: 'center',
  392. },
  393. {
  394. title: '便携仪测量值',
  395. dataIndex: 'ch4bxy',
  396. key: 'ch4bxy',
  397. align: 'center',
  398. },
  399. ]
  400. },
  401. {
  402. title: 'CO₂(%)',
  403. dataIndex: 'co2',
  404. key: 'co2',
  405. align: 'center',
  406. },
  407. {
  408. title: 'CO(ppm)',
  409. dataIndex: 'co',
  410. key: 'co',
  411. align: 'center',
  412. },
  413. {
  414. title: 'O₂(%)',
  415. dataIndex: 'o2',
  416. key: 'o2',
  417. align: 'center',
  418. },
  419. {
  420. title: '温度(°C)',
  421. dataIndex: 't',
  422. key: 't',
  423. align: 'center',
  424. },
  425. {
  426. title: '检查人',
  427. dataIndex: 'checkPerson',
  428. key: 'checkPerson',
  429. align: 'center',
  430. },
  431. ];
  432. export const columnsGas1: BasicColumn[] = [
  433. {
  434. title: '序号',
  435. width: 60,
  436. align: 'center',
  437. customRender: ({ index }: { index: number }) => `${index + 1}`
  438. },
  439. {
  440. title: '监测地点',
  441. dataIndex: 'jcdd',
  442. key: 'jcdd',
  443. width:180,
  444. align: 'center',
  445. },
  446. {
  447. title: '夜班',
  448. children: [
  449. {
  450. title: 'CH₄‌(%)',
  451. dataIndex: 'ch4Night',
  452. key: 'ch4Night',
  453. align: 'center',
  454. },
  455. {
  456. title: 'CO₂‌(%)',
  457. dataIndex: 'co2Night',
  458. key: 'co2Night',
  459. align: 'center',
  460. },
  461. {
  462. title: 'CO(ppm)',
  463. dataIndex: 'coNight',
  464. key: 'coNight',
  465. align: 'center',
  466. },
  467. {
  468. title: 'O₂‌(%)',
  469. dataIndex: 'o2Night',
  470. key: 'o2Night',
  471. align: 'center',
  472. },
  473. {
  474. title: 'T(°C)',
  475. dataIndex: 'tNight',
  476. key: 'tNight',
  477. align: 'center',
  478. },
  479. ]
  480. },
  481. {
  482. title: '早班',
  483. children: [
  484. {
  485. title: 'CH₄‌(%)',
  486. dataIndex: 'ch4Early',
  487. key: 'ch4Early',
  488. align: 'center',
  489. },
  490. {
  491. title: 'CO₂‌(%)',
  492. dataIndex: 'co2Early',
  493. key: 'co2Early',
  494. align: 'center',
  495. },
  496. {
  497. title: 'CO(ppm)',
  498. dataIndex: 'coEarly',
  499. key: 'coEarly',
  500. align: 'center',
  501. },
  502. {
  503. title: 'O₂‌(%)',
  504. dataIndex: 'o2Early',
  505. key: 'o2Early',
  506. align: 'center',
  507. },
  508. {
  509. title: 'T(°C)',
  510. dataIndex: 'tEarly',
  511. key: 'tEarly',
  512. align: 'center',
  513. },
  514. ]
  515. },
  516. {
  517. title: '中班',
  518. children: [
  519. {
  520. title: 'CH₄‌(%)',
  521. dataIndex: 'ch4Noon',
  522. key: 'ch4Noon',
  523. align: 'center',
  524. },
  525. {
  526. title: 'CO₂‌(%)',
  527. dataIndex: 'co2Noon',
  528. key: 'co2Noon',
  529. align: 'center',
  530. },
  531. {
  532. title: 'CO(ppm)',
  533. dataIndex: 'coNoon',
  534. key: 'coNoon',
  535. align: 'center',
  536. },
  537. {
  538. title: 'O₂‌(%)',
  539. dataIndex: 'o2Noon',
  540. key: 'o2Noon',
  541. align: 'center',
  542. },
  543. {
  544. title: 'T(°C)',
  545. dataIndex: 'tNoon',
  546. key: 'tNoon',
  547. align: 'center',
  548. },
  549. ]
  550. },
  551. ];
  552. export const columnsGas2: BasicColumn[] = [
  553. {
  554. title: '序号',
  555. width: 60,
  556. align: 'center',
  557. customRender: ({ index }: { index: number }) => `${index + 1}`
  558. },
  559. {
  560. title: '监测地点',
  561. dataIndex: 'jcdd',
  562. key: 'jcdd',
  563. width:130,
  564. align: 'center',
  565. },
  566. {
  567. title: '煤层',
  568. dataIndex: 'mc',
  569. width:80,
  570. key: 'mc',
  571. align: 'center',
  572. },
  573. {
  574. title: '夜班',
  575. children: [
  576. {
  577. title: 'CH₄‌(%)',
  578. dataIndex: 'ch4Night',
  579. key: 'ch4Night',
  580. align: 'center',
  581. },
  582. {
  583. title: 'CO₂‌(%)',
  584. dataIndex: 'co2Night',
  585. key: 'co2Night',
  586. align: 'center',
  587. },
  588. {
  589. title: 'CO(ppm)',
  590. dataIndex: 'coNight',
  591. key: 'coNight',
  592. width:80,
  593. align: 'center',
  594. },
  595. {
  596. title: 'O₂‌(%)',
  597. dataIndex: 'o2Night',
  598. key: 'o2Night',
  599. align: 'center',
  600. },
  601. {
  602. title: 'T(°C)',
  603. dataIndex: 'tNight',
  604. key: 'tNight',
  605. align: 'center',
  606. },
  607. {
  608. title: '巡检员',
  609. dataIndex: 'checkPersonNight',
  610. key: 'checkPersonNight',
  611. align: 'center',
  612. },
  613. ]
  614. },
  615. {
  616. title: '早班',
  617. children: [
  618. {
  619. title: 'CH₄‌(%)',
  620. dataIndex: 'ch4Early',
  621. key: 'ch4Early',
  622. align: 'center',
  623. },
  624. {
  625. title: 'CO₂‌(%)',
  626. dataIndex: 'co2Early',
  627. key: 'co2Early',
  628. align: 'center',
  629. },
  630. {
  631. title: 'CO(ppm)',
  632. dataIndex: 'coEarly',
  633. key: 'coEarly',
  634. width:80,
  635. align: 'center',
  636. },
  637. {
  638. title: 'O₂‌(%)',
  639. dataIndex: 'o2Early',
  640. key: 'o2Early',
  641. align: 'center',
  642. },
  643. {
  644. title: 'T(°C)',
  645. dataIndex: 'tEarly',
  646. key: 'tEarly',
  647. align: 'center',
  648. },
  649. {
  650. title: '巡检员',
  651. dataIndex: 'checkPersonEarly',
  652. key: 'checkPersonEarly',
  653. align: 'center',
  654. },
  655. ]
  656. },
  657. {
  658. title: '中班',
  659. children: [
  660. {
  661. title: 'CH₄‌(%)',
  662. dataIndex: 'ch4Noon',
  663. key: 'ch4Noon',
  664. align: 'center',
  665. },
  666. {
  667. title: 'CO₂‌(%)',
  668. dataIndex: 'co2Noon',
  669. key: 'co2Noon',
  670. align: 'center',
  671. },
  672. {
  673. title: 'CO(ppm)',
  674. dataIndex: 'coNoon',
  675. key: 'coNoon',
  676. width:80,
  677. align: 'center',
  678. },
  679. {
  680. title: 'O₂‌(%)',
  681. dataIndex: 'o2Noon',
  682. key: 'o2Noon',
  683. align: 'center',
  684. },
  685. {
  686. title: 'T(°C)',
  687. dataIndex: 'tNoon',
  688. key: 'tNoon',
  689. align: 'center',
  690. },
  691. {
  692. title: '巡检员',
  693. dataIndex: 'checkPersonNoon',
  694. key: 'checkPersonNoon',
  695. align: 'center',
  696. },
  697. ]
  698. },
  699. ];