|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2024-01-09 23:08:15
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2024-09-14 15:28:34
|
|
|
|
|
* @LastEditTime: 2024-09-24 11:11:17
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="map-main">
|
|
|
|
@ -520,7 +520,8 @@ import {
|
|
|
|
|
getStreetShopList,
|
|
|
|
|
listZhzz,
|
|
|
|
|
getUserByImei,
|
|
|
|
|
dwgjList
|
|
|
|
|
dwgjList,
|
|
|
|
|
onlinePeople
|
|
|
|
|
} from "@/api/bigScreenApi";
|
|
|
|
|
import {
|
|
|
|
|
previewURLs,
|
|
|
|
@ -940,11 +941,11 @@ export default {
|
|
|
|
|
this.personLine = [];
|
|
|
|
|
this.videoPoint = [];
|
|
|
|
|
// 获取人员信息
|
|
|
|
|
getDeviceList().then((res) => {
|
|
|
|
|
onlinePeople().then((res) => {
|
|
|
|
|
this.mapLoading = false;
|
|
|
|
|
// console.log(res,'点位信息');
|
|
|
|
|
if (res.data.obj) {
|
|
|
|
|
res.data.obj.forEach((element) => {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
res.data.forEach((element) => {
|
|
|
|
|
if (element.status == "0" || element.status == "1") {
|
|
|
|
|
this.personLine.push(element);
|
|
|
|
|
let obj = {position:[]};
|
|
|
|
@ -2406,7 +2407,7 @@ export default {
|
|
|
|
|
this.input = queryString;
|
|
|
|
|
// 执法人员搜索
|
|
|
|
|
if(this.actionMap == 1) {
|
|
|
|
|
dwgjList({name:queryString}).then(res=>{
|
|
|
|
|
dwgjList({nickName:queryString}).then(res=>{
|
|
|
|
|
var restaurants = res.data;
|
|
|
|
|
let a = [];
|
|
|
|
|
restaurants.forEach((per=>{
|
|
|
|
@ -2676,7 +2677,7 @@ export default {
|
|
|
|
|
mounted() {
|
|
|
|
|
// this.getPersonIcon();
|
|
|
|
|
this.getCarList();
|
|
|
|
|
this.getrobotToken();
|
|
|
|
|
// this.getrobotToken();
|
|
|
|
|
window.addEventListener('beforeunload', e => this.beforeunloadHandler(e));
|
|
|
|
|
window.addEventListener('unload', e => this.unloadHandler(e));
|
|
|
|
|
// this.markerInterval();
|
|
|
|
|