gasReportInspect.data.ts 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  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. export const columnsGas1: BasicColumn[] = [
  60. {
  61. title: '序号',
  62. width: 60,
  63. align: 'center',
  64. customRender: ({ index }: { index: number }) => `${index + 1}`
  65. },
  66. {
  67. title: '监测地点',
  68. dataIndex: 'jcdd',
  69. key: 'jcdd',
  70. width:180,
  71. align: 'center',
  72. },
  73. {
  74. title: '夜班',
  75. children: [
  76. {
  77. title: 'CH₄‌(%)',
  78. dataIndex: 'ch4Night',
  79. key: 'ch4Night',
  80. align: 'center',
  81. },
  82. {
  83. title: 'CO₂‌(%)',
  84. dataIndex: 'co2Night',
  85. key: 'co2Night',
  86. align: 'center',
  87. },
  88. {
  89. title: 'CO(ppm)',
  90. dataIndex: 'coNight',
  91. key: 'coNight',
  92. align: 'center',
  93. },
  94. {
  95. title: 'O₂‌(%)',
  96. dataIndex: 'o2Night',
  97. key: 'o2Night',
  98. align: 'center',
  99. },
  100. {
  101. title: 'T(°C)',
  102. dataIndex: 'tNight',
  103. key: 'tNight',
  104. align: 'center',
  105. },
  106. ]
  107. },
  108. {
  109. title: '早班',
  110. children: [
  111. {
  112. title: 'CH₄‌(%)',
  113. dataIndex: 'ch4Early',
  114. key: 'ch4Early',
  115. align: 'center',
  116. },
  117. {
  118. title: 'CO₂‌(%)',
  119. dataIndex: 'co2Early',
  120. key: 'co2Early',
  121. align: 'center',
  122. },
  123. {
  124. title: 'CO(ppm)',
  125. dataIndex: 'coEarly',
  126. key: 'coEarly',
  127. align: 'center',
  128. },
  129. {
  130. title: 'O₂‌(%)',
  131. dataIndex: 'o2Early',
  132. key: 'o2Early',
  133. align: 'center',
  134. },
  135. {
  136. title: 'T(°C)',
  137. dataIndex: 'tEarly',
  138. key: 'tEarly',
  139. align: 'center',
  140. },
  141. ]
  142. },
  143. {
  144. title: '中班',
  145. children: [
  146. {
  147. title: 'CH₄‌(%)',
  148. dataIndex: 'ch4Noon',
  149. key: 'ch4Noon',
  150. align: 'center',
  151. },
  152. {
  153. title: 'CO₂‌(%)',
  154. dataIndex: 'co2Noon',
  155. key: 'co2Noon',
  156. align: 'center',
  157. },
  158. {
  159. title: 'CO(ppm)',
  160. dataIndex: 'coNoon',
  161. key: 'coNoon',
  162. align: 'center',
  163. },
  164. {
  165. title: 'O₂‌(%)',
  166. dataIndex: 'o2Noon',
  167. key: 'o2Noon',
  168. align: 'center',
  169. },
  170. {
  171. title: 'T(°C)',
  172. dataIndex: 'tNoon',
  173. key: 'tNoon',
  174. align: 'center',
  175. },
  176. ]
  177. },
  178. ];
  179. export const columnsGas2: BasicColumn[] = [
  180. {
  181. title: '序号',
  182. width: 60,
  183. align: 'center',
  184. customRender: ({ index }: { index: number }) => `${index + 1}`
  185. },
  186. {
  187. title: '监测地点',
  188. dataIndex: 'jcdd',
  189. key: 'jcdd',
  190. width:130,
  191. align: 'center',
  192. },
  193. {
  194. title: '煤层',
  195. dataIndex: 'mc',
  196. width:80,
  197. key: 'mc',
  198. align: 'center',
  199. },
  200. {
  201. title: '夜班',
  202. children: [
  203. {
  204. title: 'CH₄‌(%)',
  205. dataIndex: 'ch4Night',
  206. key: 'ch4Night',
  207. align: 'center',
  208. },
  209. {
  210. title: 'CO₂‌(%)',
  211. dataIndex: 'co2Night',
  212. key: 'co2Night',
  213. align: 'center',
  214. },
  215. {
  216. title: 'CO(ppm)',
  217. dataIndex: 'coNight',
  218. key: 'coNight',
  219. width:80,
  220. align: 'center',
  221. },
  222. {
  223. title: 'O₂‌(%)',
  224. dataIndex: 'o2Night',
  225. key: 'o2Night',
  226. align: 'center',
  227. },
  228. {
  229. title: 'T(°C)',
  230. dataIndex: 'tNight',
  231. key: 'tNight',
  232. align: 'center',
  233. },
  234. {
  235. title: '巡检员',
  236. dataIndex: 'checkPersonNight',
  237. key: 'checkPersonNight',
  238. align: 'center',
  239. },
  240. ]
  241. },
  242. {
  243. title: '早班',
  244. children: [
  245. {
  246. title: 'CH₄‌(%)',
  247. dataIndex: 'ch4Early',
  248. key: 'ch4Early',
  249. align: 'center',
  250. },
  251. {
  252. title: 'CO₂‌(%)',
  253. dataIndex: 'co2Early',
  254. key: 'co2Early',
  255. align: 'center',
  256. },
  257. {
  258. title: 'CO(ppm)',
  259. dataIndex: 'coEarly',
  260. key: 'coEarly',
  261. width:80,
  262. align: 'center',
  263. },
  264. {
  265. title: 'O₂‌(%)',
  266. dataIndex: 'o2Early',
  267. key: 'o2Early',
  268. align: 'center',
  269. },
  270. {
  271. title: 'T(°C)',
  272. dataIndex: 'tEarly',
  273. key: 'tEarly',
  274. align: 'center',
  275. },
  276. {
  277. title: '巡检员',
  278. dataIndex: 'checkPersonEarly',
  279. key: 'checkPersonEarly',
  280. align: 'center',
  281. },
  282. ]
  283. },
  284. {
  285. title: '中班',
  286. children: [
  287. {
  288. title: 'CH₄‌(%)',
  289. dataIndex: 'ch4Noon',
  290. key: 'ch4Noon',
  291. align: 'center',
  292. },
  293. {
  294. title: 'CO₂‌(%)',
  295. dataIndex: 'co2Noon',
  296. key: 'co2Noon',
  297. align: 'center',
  298. },
  299. {
  300. title: 'CO(ppm)',
  301. dataIndex: 'coNoon',
  302. key: 'coNoon',
  303. width:80,
  304. align: 'center',
  305. },
  306. {
  307. title: 'O₂‌(%)',
  308. dataIndex: 'o2Noon',
  309. key: 'o2Noon',
  310. align: 'center',
  311. },
  312. {
  313. title: 'T(°C)',
  314. dataIndex: 'tNoon',
  315. key: 'tNoon',
  316. align: 'center',
  317. },
  318. {
  319. title: '巡检员',
  320. dataIndex: 'checkPersonNoon',
  321. key: 'checkPersonNoon',
  322. align: 'center',
  323. },
  324. ]
  325. },
  326. ];