wangb 5 ماه پیش
والد
کامیت
b5f1ed953f

+ 4 - 26
src/views/generatingCapacity/dataAnalysis/agcAnalysis/components/current-scatter-chart.vue

@@ -125,31 +125,9 @@ export default {
           if (ele.name === "偏差上限") {
             ele.areaStyle = that.linearGradientColor[0];
             ele.silent = true;
-            // ele.emphasis = {
-            //   focus: "none", // 取消高亮
-            //   itemStyle: {
-            //     color: null, // 不改变颜色
-            //     borderColor: null, // 不改变边框颜色
-            //     borderWidth: 0, // 不改变边框宽度
-            //     shadowBlur: 0, // 不添加阴影
-            //     shadowColor: null, // 不改变阴影颜色
-            //     opacity: 1, // 不改变透明度
-            //   },
-            // };
           } else if (ele.name === "偏差下限") {
             ele.areaStyle = that.linearGradientColor[1];
             ele.silent = true;
-            // ele.emphasis = {
-            //   focus: "none", // 取消高亮
-            //   itemStyle: {
-            //     color: null, // 不改变颜色
-            //     borderColor: null, // 不改变边框颜色
-            //     borderWidth: 0, // 不改变边框宽度
-            //     shadowBlur: 0, // 不添加阴影
-            //     shadowColor: null, // 不改变阴影颜色
-            //     opacity: 1, // 不改变透明度
-            //   },
-            // };
           }
 
           if (ele.name === "实发有功" && markItem.res) {
@@ -361,10 +339,10 @@ export default {
         myChart.setOption(option);
 
         myChart.off("brushSelected");
-        myChart.on("brushSelected", (params) => {
-          that.$emit("getSelected", params.batch || []);
-        });
-        myChart.off("click");
+        // myChart.on("brushSelected", (params) => {
+        //   that.$emit("getSelected", params.batch || []);
+        // });
+        myChart.off("legendselectchanged");
       });
     },
 

+ 9 - 0
src/views/generatingCapacity/yhjyReport/index.vue

@@ -378,6 +378,8 @@
                 // this.renderReportPage({
                 //     data: jsonData.data
                 // });
+                that.stationList = []
+                that.reportStation = ""
                 apiGetbaseStation().then((res) => {
                     if (res) {
                         that.stationList = res.data;
@@ -527,6 +529,13 @@
                     this.OperationName = "";
                     this.OperationGs = ""
                     this.OperationMonth = "";
+                    this.basrMsgArr = []
+                    this.fjsxList1 = []
+                    this.fjsxList2 = []
+                    this.orderResultArr = []
+                    this.windSituationReport = {}
+                    this.maintenanceRecommendations = {}
+                    this.conclusionMsg = ""
 
                     httpRequest
                         .get(`/WarningReport/report?time=${this.reportParamDate}&wpid=${this.reportStation}`)