comment.data.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302
  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. {
  1288. title: '是否堵塞',
  1289. dataIndex: 'isBlock',
  1290. key: 'isBlock',
  1291. },
  1292. ];