zhaomiao 4 rokov pred
rodič
commit
ddc6c8406e

+ 7 - 5
src/views/SinglePerformanceAnalysis/individualPandectinformationdetails.vue

@@ -1277,14 +1277,12 @@ export default {
         this.$data.datezoom_table,
         this.$options.data().datezoom_table
       );
-      var digital1 = new URLSearchParams();
+       var digital1 = new URLSearchParams();
       digital1.append("wtId", this.fj);
       digital1.append("recorddate", this.data_01);
       this.$http.post("/goodness/getplotBands", digital1).then((res) => {
         this.datezoom_table = res.data.data;
-      });
-
-      var digital2 = new URLSearchParams();
+        var digital2 = new URLSearchParams();
       digital2.append("wtId", this.fj);
       digital2.append("recorddate", this.data_01);
       this.$http.post("/goodness/findWtRealPowerChar", digital2).then((res) => {
@@ -1302,13 +1300,15 @@ export default {
         this.draw_linedataZoom();
         this.query_power();
       });
+      });
+      
       var digital = new URLSearchParams();
       digital.append("wtId", this.fj);
       digital.append("recorddate", this.data_01);
       this.$http.post("/goodness/getInputSmall", digital).then((res) => {
         this.qrfd.push(res.data.data);
       });
-      
+     
     },
     query_power() {
       Object.assign(
@@ -1440,6 +1440,7 @@ export default {
         ],
         series: [
           {
+            yAxisIndex: 1,
             name: "实发功率",
             type: "line",
             smooth: true,
@@ -1455,6 +1456,7 @@ export default {
                 position: "start", //将警示值放在哪个位置,三个值“start”,"middle","end"  开始  中点 结束
               },
               data: [
+                 
                 {
                   silent: true, //鼠标悬停事件  true没有,false有
                   lineStyle: {