comment.data.ts 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  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. ];