|
@@ -53,6 +53,7 @@
|
|
ref="supermap"
|
|
ref="supermap"
|
|
style="width: 100%; height: 100vh"
|
|
style="width: 100%; height: 100vh"
|
|
@sewageOutletClick="sewageOutletClick"
|
|
@sewageOutletClick="sewageOutletClick"
|
|
|
|
+ @fatherMethod="fatherMethod"
|
|
></supermap>
|
|
></supermap>
|
|
<!-- <button @click="showEventInfo1" style="position: absolute; right: 50%;top: 45%;z-index: 1000;">弹层事件演示用按钮-->
|
|
<!-- <button @click="showEventInfo1" style="position: absolute; right: 50%;top: 45%;z-index: 1000;">弹层事件演示用按钮-->
|
|
<!-- </button>-->
|
|
<!-- </button>-->
|
|
@@ -98,7 +99,8 @@
|
|
<vBottomMenu ref="bottomMenu"></vBottomMenu>
|
|
<vBottomMenu ref="bottomMenu"></vBottomMenu>
|
|
</div>
|
|
</div>
|
|
<eventLocation ref="eventLocation"></eventLocation>
|
|
<eventLocation ref="eventLocation"></eventLocation>
|
|
- <TVWall ref="TVWall"></TVWall>
|
|
|
|
|
|
+ <TVWall ref="TVWall" :detailInfo="detailInfo"></TVWall>
|
|
|
|
+ <TVWalls ref="TVWalls"></TVWalls>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -106,6 +108,7 @@
|
|
import {
|
|
import {
|
|
fireControlViewList,
|
|
fireControlViewList,
|
|
fireControlViewPoint,
|
|
fireControlViewPoint,
|
|
|
|
+ fireControlViewPointSearchInfo
|
|
} from "@/api/datacenter";
|
|
} from "@/api/datacenter";
|
|
|
|
|
|
import supermap from "@/components/supermap-2.5d"; //超图
|
|
import supermap from "@/components/supermap-2.5d"; //超图
|
|
@@ -113,6 +116,7 @@ import vheader from "@/components/v-header.vue"; //一体化共用头部
|
|
import vBottomMenu from "@/components/vBottomMenu.vue"; //一体化公共底部菜单
|
|
import vBottomMenu from "@/components/vBottomMenu.vue"; //一体化公共底部菜单
|
|
import eventLocation from "@/components/eventLocation.vue"; //事件定位弹窗
|
|
import eventLocation from "@/components/eventLocation.vue"; //事件定位弹窗
|
|
import TVWall from "@/components/TVWall.vue"; //电视墙弹窗
|
|
import TVWall from "@/components/TVWall.vue"; //电视墙弹窗
|
|
|
|
+import TVWalls from "@/components/TVWalls.vue"; //电视墙弹窗
|
|
import { getIconBg } from "@/api/components/sookaMapIcon";
|
|
import { getIconBg } from "@/api/components/sookaMapIcon";
|
|
import {getUserProfile} from "@/api/system/user";
|
|
import {getUserProfile} from "@/api/system/user";
|
|
import { Button } from '@/dahua/TVWalllib/iview' //资源底色控制文件
|
|
import { Button } from '@/dahua/TVWalllib/iview' //资源底色控制文件
|
|
@@ -127,6 +131,7 @@ export default {
|
|
vBottomMenu,
|
|
vBottomMenu,
|
|
eventLocation,
|
|
eventLocation,
|
|
TVWall,
|
|
TVWall,
|
|
|
|
+ TVWalls
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
/** ----------------------------------底部按钮公用组件开始------------------------------------- */
|
|
/** ----------------------------------底部按钮公用组件开始------------------------------------- */
|
|
@@ -166,6 +171,8 @@ export default {
|
|
//右侧资源
|
|
//右侧资源
|
|
deptGroupList: [],
|
|
deptGroupList: [],
|
|
source: [],
|
|
source: [],
|
|
|
|
+ size:'',
|
|
|
|
+ detailInfo:[],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -431,6 +438,15 @@ export default {
|
|
that.$refs.supermap.setMarkers(that.markersList);
|
|
that.$refs.supermap.setMarkers(that.markersList);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ fatherMethod(dianshiqiang, longitude, latitude, item) {
|
|
|
|
+ this.$refs.TVWalls.showTVWall(
|
|
|
|
+ dianshiqiang, {
|
|
|
|
+ longitude: longitude,
|
|
|
|
+ latitude: latitude,
|
|
|
|
+ },
|
|
|
|
+ item
|
|
|
|
+ );
|
|
|
|
+ },
|
|
getMarkersMap(resourceTable, markersMap, item) {
|
|
getMarkersMap(resourceTable, markersMap, item) {
|
|
let icon = "sj-icon-map-"+resourceTable.replaceAll("_", "-");
|
|
let icon = "sj-icon-map-"+resourceTable.replaceAll("_", "-");
|
|
markersMap.lng = item.longitude;
|
|
markersMap.lng = item.longitude;
|
|
@@ -489,7 +505,7 @@ export default {
|
|
" </span></div>";
|
|
" </span></div>";
|
|
return markersMap;
|
|
return markersMap;
|
|
},
|
|
},
|
|
- sewageOutletClick(data) {
|
|
|
|
|
|
+ async sewageOutletClick(data) {
|
|
console.log(data);
|
|
console.log(data);
|
|
const params = Object.assign({});
|
|
const params = Object.assign({});
|
|
params.longitude = data.longitude;
|
|
params.longitude = data.longitude;
|
|
@@ -534,6 +550,10 @@ export default {
|
|
labelChannels: labelChannels,
|
|
labelChannels: labelChannels,
|
|
},
|
|
},
|
|
];
|
|
];
|
|
|
|
+ let result = await fireControlViewPointSearchInfo(data.indexName,data.id)
|
|
|
|
+ this.detailInfo = result.data.detail
|
|
|
|
+ this.$refs.TVWall.showTVWall1()
|
|
|
|
+ return
|
|
if (data.cameraList.length > 0) {
|
|
if (data.cameraList.length > 0) {
|
|
this.$refs.TVWall.showTVWall1(
|
|
this.$refs.TVWall.showTVWall1(
|
|
data.longitude,
|
|
data.longitude,
|