Procházet zdrojové kódy

🦄 refactor(日报汇总): 修改折线图单位

Zimo před 1 dnem
rodič
revize
61562f0f1f

+ 7 - 3
src/views/pms/iotrhdailyreport/summary.vue

@@ -251,10 +251,14 @@ let chart: echarts.ECharts | null = null
 const xAxisData = ref<string[]>([])
 
 const legend = ref<string[][]>([
-  ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
+  ['累计油耗 (升)', 'cumulativeFuelConsumption'],
+  // ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
   ['累计注气量 (万方)', 'cumulativeGasInjection'],
-  ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
-  ['累计注水量 (万方)', 'cumulativeWaterInjection'],
+  // ['累计注气量 (万方)', 'cumulativeGasInjection'],
+  ['累计用电量 (KWh)', 'cumulativePowerConsumption'],
+  // ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
+  ['累计注水量 (方)', 'cumulativeWaterInjection'],
+  // ['累计注水量 (万方)', 'cumulativeWaterInjection'],
   ['平均时效 (%)', 'transitTime']
 ])
 

+ 4 - 2
src/views/pms/iotrydailyreport/summary.vue

@@ -204,9 +204,11 @@ let chart: echarts.ECharts | null = null
 const xAxisData = ref<string[]>([])
 
 const legend = ref<string[][]>([
-  ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
+  // ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
+  ['累计油耗 (升)', 'cumulativeFuelConsumption'],
   ['累计进尺 (M)', 'cumulativeFootage'],
-  ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
+  ['累计用电量 (KWh)', 'cumulativePowerConsumption'],
+  // ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
   ['平均时效 (%)', 'transitTime']
 ])
 

+ 4 - 2
src/views/pms/iotrydailyreport/xsummary.vue

@@ -212,8 +212,10 @@ const xAxisData = ref<string[]>([])
 const legend = ref<string[][]>([
   ['累计施工井数 (个)', 'cumulativeConstructWells'],
   ['累计完工井数 (个)', 'cumulativeCompletedWells'],
-  ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
-  ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
+  // ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
+  ['累计油耗 (升)', 'cumulativeFuelConsumption'],
+  // ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
+  ['累计用电量 (KWh)', 'cumulativePowerConsumption'],
   ['平均时效 (%)', 'transitTime']
 ])