Przeglądaj źródła

对风偏差位置调整

SunZehao 3 miesięcy temu
rodzic
commit
75d2a8ca3f

+ 11 - 10
src/router/index.js

@@ -223,16 +223,6 @@ export const asyncRoutes = [
                     permissions: ["jn_alarmConfig"],
                 },
             },
-            {
-                path: "rateAnalysis", // 对风偏差分析
-                name: "rateAnalysis",
-                component: () => import("@/views/rateAnalysis/index"),
-                meta: {
-                    title: "对风偏差分析",
-                    icon: "svg-报告",
-                    permissions: ["jn_alarmConfig"],
-                },
-            },
         ]
     },
   //经济运行
@@ -853,6 +843,17 @@ export const asyncRoutes = [
             //         permissions: ["jn_slgl"],
             //     },
             // },
+            
+            {
+                path: "rateAnalysis", // 对风偏差分析
+                name: "rateAnalysis",
+                component: () => import("@/views/rateAnalysis/index"),
+                meta: {
+                    title: "对风偏差分析",
+                    icon: "svg-environment",
+                    permissions: ["jn_alarmConfig"],
+                },
+            },
             {
                 path: "economicsReport", // 经济运行分析报告
                 name: "economicsReport",

+ 27 - 27
src/views/economicsOperation/stationAnalyse/posAnalysis/components/leafletMap.vue

@@ -61,38 +61,38 @@
                     // center: [38.44673272215545, 106.27624511718751], // 地图中心--银川
                     // center: [108.953939, 34.266611], // 地图中心--陕西
                     // center: [109.470962, 34.520632], // 地图中心--渭南
-                    zoom: 16, //缩放比列
+                    zoom: 18, //缩放比列
                     zoomControl: false, //禁用 + - 按钮
                     doubleClickZoom: true, // 禁用双击放大
                     attributionControl: false, // 移除右下角leaflet标识
                     preferCanvas: true,
                     contextmenu: true,
                     contextmenuWidth: 140,
-                    contextmenuItems: [{
-                            text: "功率曲线拟合分析",
-                            callback: this.powerLine,
-                        },
-                        {
-                            text: "对风偏差分析",
-                            callback: this.windAny,
-                        },
-                        {
-                            text: "曲线偏差率分析",
-                            callback: this.qxAny,
-                        },
-                        {
-                            text: "温度与功率分析",
-                            callback: this.wdyglAny,
-                        },
-                        {
-                            text: "损失电量分析",
-                            callback: this.ssdlAny,
-                        },
-                        {
-                            text: "桨距角分析",
-                            callback: this.jjjAny,
-                        },
-                    ],
+                    // contextmenuItems: [{
+                    //         text: "功率曲线拟合分析",
+                    //         callback: this.powerLine,
+                    //     },
+                    //     {
+                    //         text: "对风偏差分析",
+                    //         callback: this.windAny,
+                    //     },
+                    //     {
+                    //         text: "曲线偏差率分析",
+                    //         callback: this.qxAny,
+                    //     },
+                    //     {
+                    //         text: "温度与功率分析",
+                    //         callback: this.wdyglAny,
+                    //     },
+                    //     {
+                    //         text: "损失电量分析",
+                    //         callback: this.ssdlAny,
+                    //     },
+                    //     {
+                    //         text: "桨距角分析",
+                    //         callback: this.jjjAny,
+                    //     },
+                    // ],
                 });
 
 
@@ -102,7 +102,7 @@
 
                 let name = L.tileLayer(this.tilsUrl, {
                     minZoom: 1,
-                    maxZoom: 16,
+                    maxZoom: 18,
                 }).addTo(this.map);
 
                 // this.setAreaLayer("db", true);