|
@@ -47,7 +47,7 @@
|
|
|
<!-- 地图 -->
|
|
|
<!--<supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" class="indexSupermapClass"-->
|
|
|
<!--:mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false"></supermap>-->
|
|
|
- <supermap ref="supermap"></supermap>
|
|
|
+ <supermap ref="supermap" @sewageOutletClick="sewageOutletClick"></supermap>
|
|
|
<!-- <button @click="showEventInfo1" style="position: absolute; right: 50%;top: 45%;z-index: 1000;">弹层事件演示用按钮-->
|
|
|
<!-- </button>-->
|
|
|
<!-- 右侧 -->
|
|
@@ -551,8 +551,16 @@ export default {
|
|
|
'</div>'
|
|
|
}
|
|
|
return markersMap;
|
|
|
- }
|
|
|
-
|
|
|
+ },
|
|
|
+ sewageOutletClick(data) {
|
|
|
+ const params = Object.assign({})
|
|
|
+ params.longitude = data.longitude;
|
|
|
+ params.latitude = data.latitude;
|
|
|
+ params.type = '4'
|
|
|
+ initByCameras(params).then(res => {
|
|
|
+ this.$refs.TVWall.showTVWall1(data.longitude, data.latitude, res.data);
|
|
|
+ });
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|