diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js index 3f65c2d..cc1d8cc 100644 --- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js +++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js @@ -50,7 +50,7 @@ let WSBZDataList = resRainwater.data.filter(data => data.pumpType == 'sewage_water'); //污水泵站 let HLBZDataList = resRainwater.data.filter(data => data.pumpType == 'confluence'); //合流泵站 let rainDataList = rainStation.data; //雨量站 - let riverDataList = stationDataList.data.filter(data => data.siteType == 'water_level'); //河道监测 + let riverDataList = stationDataList.data.filter(data => data.monitorTargetType == 'river'); //河道监测 YSBZ = this.getGeojsonData(YSBZDataList); WSBZ = this.getGeojsonData(WSBZDataList); @@ -80,7 +80,7 @@ // 管网监测点数据 测试用 let pipeRes = await getStationList({ monitorTargetType: 'pipeline' }); if (pipeRes && pipeRes.code == 200) { - pipeMonitorData = this.getGeojsonData(pipeRes.data); //内涝点 + pipeMonitorData = this.getGeojsonData(pipeRes.data); //管网监测 } // pipeMonitorData = this.getGeojsonData([ // {