Browse Source

Merge branch 'yx' of ssh://61.161.152.110:29418/electronic-map into tjj2

darker 3 years ago
parent
commit
c1822118cd
2 changed files with 8 additions and 5 deletions
  1. 8 4
      src/views/Home/Home.vue
  2. 0 1
      src/views/specific/fdl.vue

+ 8 - 4
src/views/Home/Home.vue

@@ -1057,22 +1057,26 @@ export default {
             {
               name: "当日预测电量",
               value: res.data.jczbmap.rycfdl,
-              total: res.data.jczbmap.rfdlsx,
+              // total: res.data.jczbmap.rfdlsx,
+              total: res.data.jczbmap.rycfdl >= res.data.jczbmap.rfdl ? res.data.jczbmap.rycfdl + 100 : res.data.jczbmap.rfdl + 100,
             },
             {
               name: "实际发电量",
               value: res.data.jczbmap.rfdl,
-              total: res.data.jczbmap.rfdlsx,
+              // total: res.data.jczbmap.rfdlsx,
+              total: res.data.jczbmap.rycfdl >= res.data.jczbmap.rfdl ? res.data.jczbmap.rycfdl + 100 : res.data.jczbmap.rfdl + 100,
             },
             {
               name: "当月预测电量",
               value: res.data.jczbmap.yycfdl,
-              total: res.data.jczbmap.yfdlsx,
+              // total: res.data.jczbmap.yfdlsx,
+              total: res.data.jczbmap.yycfdl >= res.data.jczbmap.yfdl ? res.data.jczbmap.yycfdl + 200 : res.data.jczbmap.yfdl + 200,
             },
             {
               name: "实际发电量",
               value: res.data.jczbmap.yfdl,
-              total: res.data.jczbmap.yfdlsx,
+              // total: res.data.jczbmap.yfdlsx,
+              total: res.data.jczbmap.yycfdl >= res.data.jczbmap.yfdl ? res.data.jczbmap.yycfdl + 200 : res.data.jczbmap.yfdl + 200,
             },
           ];
 

+ 0 - 1
src/views/specific/fdl.vue

@@ -192,7 +192,6 @@
     <el-row :gutter="20" class="table-panel">
       <el-col :span="24">
         <panel title="公司发电量分析" :showLine="false">
-             <panel title="发电量分析" :showLine="false">
           <!-- <vertival-bar-line-chart
             :height="'360px'"
             :units="units"