bundle-table.data.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columns: BasicColumn[] = [
  3. {
  4. title: '序号',
  5. width: 60,
  6. align: 'center',
  7. dataIndex: 'xh',
  8. key: 'xh',
  9. },
  10. {
  11. title: '测点名称',
  12. dataIndex: 'jcdd',
  13. key: 'jcdd',
  14. width: 130,
  15. align: 'center',
  16. },
  17. {
  18. title: '分析次数',
  19. dataIndex: 'fxcs',
  20. key: 'fxcs',
  21. width: 60,
  22. align: 'center',
  23. },
  24. {
  25. title: 'CO(PPM)',
  26. children: [
  27. {
  28. title: '最大值',
  29. dataIndex: 'co_max',
  30. key: 'co_max',
  31. width: 80,
  32. align: 'center',
  33. },
  34. {
  35. title: '平均值',
  36. dataIndex: 'co_ave',
  37. key: 'co_ave',
  38. width: 80,
  39. align: 'center',
  40. },
  41. ],
  42. },
  43. {
  44. title: 'CO2(%)',
  45. children: [
  46. {
  47. title: '最大值',
  48. dataIndex: 'co2_max',
  49. key: 'co2_max',
  50. width: 80,
  51. align: 'center',
  52. },
  53. {
  54. title: '平均值',
  55. dataIndex: 'co2_ave',
  56. key: 'co2_ave',
  57. width: 80,
  58. align: 'center',
  59. },
  60. ],
  61. },
  62. {
  63. title: 'O2(%)',
  64. children: [
  65. {
  66. title: '最小值',
  67. dataIndex: 'o2_min',
  68. key: 'o2_min',
  69. width: 80,
  70. align: 'center',
  71. },
  72. {
  73. title: '平均值',
  74. dataIndex: 'o2_ave',
  75. key: 'o2_ave',
  76. width: 80,
  77. align: 'center',
  78. },
  79. ],
  80. },
  81. {
  82. title: 'CH4(%)',
  83. children: [
  84. {
  85. title: '最大值',
  86. dataIndex: 'ch4_max',
  87. key: 'ch4_max',
  88. width: 80,
  89. align: 'center',
  90. },
  91. {
  92. title: '平均值',
  93. dataIndex: 'ch4_ave',
  94. key: 'ch4_ave',
  95. width: 80,
  96. align: 'center',
  97. },
  98. ],
  99. },
  100. {
  101. title: 'C2H2(PPM)',
  102. children: [
  103. {
  104. title: '最大值',
  105. dataIndex: 'c2h2_max',
  106. key: 'c2h2_max',
  107. width: 80,
  108. align: 'center',
  109. },
  110. {
  111. title: '平均值',
  112. dataIndex: 'c2h2_ave',
  113. key: 'c2h2_ave',
  114. width: 80,
  115. align: 'center',
  116. },
  117. ],
  118. },
  119. {
  120. title: 'C2H4(PPM)',
  121. children: [
  122. {
  123. title: '最大值',
  124. dataIndex: 'c2h4_max',
  125. key: 'c2h4_max',
  126. width: 80,
  127. align: 'center',
  128. },
  129. {
  130. title: '平均值',
  131. dataIndex: 'c2h4_ave',
  132. key: 'c2h4_ave',
  133. width: 80,
  134. align: 'center',
  135. },
  136. ],
  137. },
  138. {
  139. title: '操作',
  140. dataIndex: 'action',
  141. width: 100,
  142. align: 'center',
  143. },
  144. ];