|
@@ -93,7 +93,7 @@
|
|
|
<!-- <supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" class="indexSupermapClass"
|
|
|
:mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false"></supermap>
|
|
|
-->
|
|
|
- <supermap ref="supermap" style="width: 100%; height: 100vh"></supermap>
|
|
|
+ <supermap ref="supermap" style="width: 100%; height: 100vh" @fatherMethod="fatherMethod"></supermap>
|
|
|
<!-- 右侧 -->
|
|
|
<div class="rightbar" :class="indentright" ref="right">
|
|
|
<div class="forthis">
|
|
@@ -190,6 +190,7 @@
|
|
|
</div>
|
|
|
<eventLocation ref="eventLocation"></eventLocation>
|
|
|
<TVWall ref="TVWall"></TVWall>
|
|
|
+ <TVWalls ref="TVWalls"></TVWalls>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -207,7 +208,9 @@ import vheader from "@/components/v-header.vue"; //一体化共用头部
|
|
|
import vBottomMenu from "@/components/vBottomMenu.vue"; //一体化公共底部菜单
|
|
|
import eventLocation from "@/components/eventLocation.vue"; //事件定位弹窗
|
|
|
import TVWall from "@/components/TVWall.vue";
|
|
|
+// import TVWalls from "@/components/TVWall.vue";
|
|
|
import {getUserProfile} from "@/api/system/user"; //电视墙弹窗
|
|
|
+import TVWalls from '@/components/TVWalls.vue';
|
|
|
|
|
|
let echarts = require("echarts");
|
|
|
export default {
|
|
@@ -217,6 +220,7 @@ export default {
|
|
|
vBottomMenu,
|
|
|
eventLocation,
|
|
|
TVWall,
|
|
|
+ TVWalls,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -271,6 +275,16 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ fatherMethod(dianshiqiang, longitude, latitude, item) {
|
|
|
+ console.log(this.$refs.TVWalls)
|
|
|
+ this.$refs.TVWalls.showTVWall(
|
|
|
+ dianshiqiang, {
|
|
|
+ longitude: longitude,
|
|
|
+ latitude: latitude,
|
|
|
+ },
|
|
|
+ item
|
|
|
+ );
|
|
|
+ },
|
|
|
//初始化地图数据
|
|
|
getSuperMapUrl(){
|
|
|
getUserProfile().then(response => {
|