|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2024-01-09 23:08:15
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2024-08-15 16:44:12
|
|
|
|
|
* @LastEditTime: 2024-09-02 19:12:35
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="map-main">
|
|
|
|
@ -1006,7 +1006,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 车辆非聚合自定义样式及点击事件
|
|
|
|
|
_carMarker(context){
|
|
|
|
|
var content = `<div class="markerStyles"><img src="${require("../../../assets/images/icon/icon4.png")}" alt=""></div>`;
|
|
|
|
|
var content = `<div class="markerStyles"><img src="${require("../../../assets/images/icon/offLine3.png")}" alt=""></div>`;
|
|
|
|
|
var offset = new AMap.Pixel(-13, -16);
|
|
|
|
|
context.marker.setContent(content)
|
|
|
|
|
context.marker.setOffset(offset)
|
|
|
|
@ -1316,7 +1316,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 点位点击事件
|
|
|
|
|
clickMarker(marker,e){
|
|
|
|
|
console.log(marker);
|
|
|
|
|
// console.log(marker);
|
|
|
|
|
if (this.actionMap == 1) {
|
|
|
|
|
this.personInfo.position = marker.position;
|
|
|
|
|
this.personInfo.info = marker.info;
|
|
|
|
@ -1334,7 +1334,7 @@ export default {
|
|
|
|
|
} else if (this.actionMap == 5) {
|
|
|
|
|
this.shopInfo.position = marker.position;
|
|
|
|
|
this.shopInfo.info = marker.info;
|
|
|
|
|
console.log(marker.info);
|
|
|
|
|
// console.log(marker.info);
|
|
|
|
|
this.shopInfo.visible = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -1458,7 +1458,7 @@ export default {
|
|
|
|
|
// 执法人员强制观摩
|
|
|
|
|
watchClick(){
|
|
|
|
|
if(this.personInfo.info.status == "1") {
|
|
|
|
|
console.log(this.personInfo.info);
|
|
|
|
|
// console.log(this.personInfo.info);
|
|
|
|
|
this.showVideo = true;
|
|
|
|
|
videoSurveillance({...this.videoCondition,destID:this.personInfo.info.userId,imei:this.personInfo.info.imei}).then(res=>{
|
|
|
|
|
if(res.code == 200 && res.data.msg == '操作成功') {
|
|
|
|
@ -1487,7 +1487,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 位置分享
|
|
|
|
|
shareClick(){
|
|
|
|
|
console.log(this.personInfo,"位置分享");
|
|
|
|
|
// console.log(this.personInfo,"位置分享");
|
|
|
|
|
if(this.personInfo.info.status == "1") {
|
|
|
|
|
var aux = document.createElement("input");
|
|
|
|
|
aux.setAttribute("value", this.personInfo.info.address);
|
|
|
|
|