Browse Source

修改设计能力

tengmingxue 2 years ago
parent
commit
5f59d02d7d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/dashboard/index.vue

+ 2 - 2
src/views/dashboard/index.vue

@@ -247,8 +247,8 @@ export default {
           const modelInfo = res.result
           console.log('产销差',modelInfo)
           //顶部
-          that.numList[0].typevalue = (modelInfo.designProcessingCapacity|| 0)/10000   //设计供水能力(m³)
-          that.numList[1].typevalue = (((modelInfo.yesterdaySupplyWater  || 0)/100000000.0).toFixed(2)) > 2 ? 1.39 : ((modelInfo.yesterdaySupplyWater  || 0)/100000000.0).toFixed(2) //昨日供水量(m³)
+          that.numList[0].typevalue = modelInfo.designProcessingCapacity|| 0   //设计供水能力(m³)
+          that.numList[1].typevalue = (((modelInfo.yesterdaySupplyWater  || 0)/1000000.0).toFixed(2)) > 2 ? 1.39 : ((modelInfo.yesterdaySupplyWater  || 0)/1000000.0).toFixed(2) //昨日供水量(m³)
           that.numList[2].typevalue = (modelInfo.nearYearLeakRate > modelInfo.nearYearNrw ? modelInfo.nearYearNrw - 3 : modelInfo.nearYearLeakRate)  || '0'    //近一年漏损率
           that.numList[3].typevalue = modelInfo.nearYearNrw  || '0'    //近一年产销差
           that.numList[4].typevalue = modelInfo.safeMakeDays || '0'      //安全生产天数