|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2024-01-09 23:08:15
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2024-01-26 16:41:44
|
|
|
|
|
* @LastEditTime: 2024-01-29 09:12:02
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="map-main">
|
|
|
|
@ -1232,14 +1232,6 @@ export default {
|
|
|
|
|
this.shopInfo.visible = false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 执法人员/执法车辆 行程轨迹
|
|
|
|
|
travelPath(){
|
|
|
|
|
if(this.actionMap == 1) {
|
|
|
|
|
this.$refs.personageTrack.open("person", this.personInfo.info);
|
|
|
|
|
} else if(this.actionMap == 3) {
|
|
|
|
|
this.$refs.personageTrack.open("car");
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 任务派发事件
|
|
|
|
|
taskClick(){
|
|
|
|
|
this.$refs.personageTask.open(this.personInfo.info);
|
|
|
|
@ -1655,12 +1647,24 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 子组件的实时定位事件
|
|
|
|
|
realTimeLocationClick(item){
|
|
|
|
|
this.personLine.forEach(per=>{
|
|
|
|
|
if(item.imei == per.imei) {
|
|
|
|
|
this.map.setZoomAndCenter(16,[per.longitude,per.latitude]);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
realTimeLocationClick(item,id){
|
|
|
|
|
if(id == this.actionMap) {
|
|
|
|
|
this.personLine.forEach(per=>{
|
|
|
|
|
if(item.imei == per.imei) {
|
|
|
|
|
this.map.setZoomAndCenter(16,[per.longitude,per.latitude]);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else if(id == this.actionMap){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 执法人员/执法车辆 行程轨迹
|
|
|
|
|
travelPath(){
|
|
|
|
|
if(this.actionMap == 1) {
|
|
|
|
|
this.$refs.personageTrack.open("person", this.personInfo.info);
|
|
|
|
|
} else if(this.actionMap == 3) {
|
|
|
|
|
this.$refs.personageTrack.open("car");
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 子组件的名称点击事件
|
|
|
|
|
divClick(lightedPolygonId){
|
|
|
|
@ -1716,8 +1720,9 @@ export default {
|
|
|
|
|
editable:false,
|
|
|
|
|
visible:true,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
element.text?.setStyle({
|
|
|
|
|
'color': '#FFDBB7',
|
|
|
|
|
'color': '#00AEFF',
|
|
|
|
|
'text-shadow': '0px 1px 0px rgba(0,0,0,0.3)',
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|