|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2024-01-09 23:08:15
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2024-09-12 15:45:34
|
|
|
|
|
* @LastEditTime: 2024-09-14 15:28:34
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="map-main">
|
|
|
|
@ -862,7 +862,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 车辆非聚合自定义样式及点击事件
|
|
|
|
|
_carMarker(context){
|
|
|
|
|
var content = `<div class="markerStyles"><img src="${require("../../../assets/images/icon/offLine3.png")}" alt=""></div>`;
|
|
|
|
|
var content = `<div class="markerStyles"><img src="${require("../../../assets/images/icon/icon4.png")}" alt=""></div>`;
|
|
|
|
|
var offset = new AMap.Pixel(-13, -16);
|
|
|
|
|
context.marker.setContent(content)
|
|
|
|
|
context.marker.setOffset(offset)
|
|
|
|
@ -1765,10 +1765,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 车载监控视频
|
|
|
|
|
watchCarVideo(){
|
|
|
|
|
previewURLs({cameraIndexCode:'5ab6cc3745e147918b2a96c2604ecdbb',transmode:1,protocol:'hls',streamType:1}).then(res=>{
|
|
|
|
|
let carUrl = JSON.parse(res.data);
|
|
|
|
|
this.$refs.carVideo.open(carUrl.data.url);
|
|
|
|
|
getPreviewURLs({protocol:'hls',cameraIndexCode:'5ab6cc3745e147918b2a96c2604ecdbb',streamType:"1",transmode:"1"}).then(res=>{
|
|
|
|
|
this.$refs.carVideo.open(res.msg);
|
|
|
|
|
})
|
|
|
|
|
// previewURLs({cameraIndexCode:'5ab6cc3745e147918b2a96c2604ecdbb',transmode:1,protocol:'hls',streamType:1}).then(res=>{
|
|
|
|
|
// let carUrl = JSON.parse(res.data);
|
|
|
|
|
// this.$refs.carVideo.open(carUrl.data.url);
|
|
|
|
|
// })
|
|
|
|
|
},
|
|
|
|
|
// 子组件的名称点击事件
|
|
|
|
|
divClick(lightedPolygonId){
|
|
|
|
@ -2465,7 +2468,7 @@ export default {
|
|
|
|
|
this.personInfo.info = res.data.obj[0];
|
|
|
|
|
this.personInfo.personinfo = resTwo.data[0];
|
|
|
|
|
this.personInfo.visible = true;
|
|
|
|
|
},1500)
|
|
|
|
|
},2500)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
return getUserByImei({imei:item.imei})
|
|
|
|
|