瀏覽代碼

修改首页点击地图场站报错

xusl 9 月之前
父節點
當前提交
4de22ec01d

+ 1 - 1
ipp-ap/src/views/homePage/curveComparison.vue

@@ -162,7 +162,7 @@
             trigger: 'axis',
             axisPointer: {
               lineStyle: {
-                color: '#040606'
+                color: '#ffffff'
               }
             }
           },

+ 1 - 1
ipp-ap/src/views/homePage/echartsMap.vue

@@ -524,7 +524,7 @@
           chart.on('click', function (params) {
             // 增加与父折线图点击事件的条件,只有是场站类型的才可以联动
             if(params.data != undefined && params.data.record.type =="ElectricField" ){
-              handleEvents.changeStationCode(params.data.record.sign)
+              handleEvents.changeStationCode(params.data.record.stationCode)
             }
             // 此版本系统点击地名的下钻事件已关闭
             // const _this = this

+ 1 - 0
ipp-idp/src/main/java/com/jiayue/ipp/idp/controller/WindTurbineInfoController.java

@@ -152,6 +152,7 @@ public class WindTurbineInfoController {
         List<Map<String, String>> list = new ArrayList<>();
         for(ElectricField electricField:electricFieldList){
             Map<String, String> map = new HashMap<>();
+            map.put("stationCode",electricField.getStationCode());
             map.put("type","ElectricField");
             map.put("name", electricField.getName());
             map.put("sign", electricField.getSign());