Browse Source

🐞 fix(日报汇总): 统计数据无数据不更新问题

Zimo 5 ngày trước cách đây
mục cha
commit
f8a5463f7a

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

@@ -103,6 +103,9 @@ const getTotal = useDebounceFn(async () => {
 
     totalWork.value = {
       ...totalWork.value,
+      totalFuelConsumption: 0,
+      totalPowerConsumption: 0,
+      totalWaterInjection: 0,
       ...res2,
       totalGasInjection: (res2.totalGasInjection || 0) / 10000
     }

+ 3 - 0
src/views/pms/iotrydailyreport/summary.vue

@@ -97,6 +97,9 @@ const getTotal = useDebounceFn(async () => {
 
     totalWork.value = {
       ...totalWork.value,
+      totalFuelConsumption: 0,
+      totalPowerConsumption: 0,
+      totalFootage: 0,
       ...res2,
       totalGasInjection: (res2.totalGasInjection || 0) / 10000
     }

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

@@ -99,6 +99,10 @@ const getTotal = useDebounceFn(async () => {
 
     totalWork.value = {
       ...totalWork.value,
+      totalFuelConsumption: 0,
+      totalPowerConsumption: 0,
+      constructionWells: 0,
+      completedWells: 0,
       ...res2
     }
   } finally {