155 コミット d5883f0533 ... adce4cd95f

作者 SHA1 メッセージ 日付
  wangkang3 adce4cd95f Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangkang3 99b1692ca1 报警救援问题修复 4 年 前
  wangkang3 bf24ea277f 报警围栏 设备初始化 4 年 前
  wangchao 62a630e635 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 59071e3124 增加空格 4 年 前
  konghl 4b9cfc964f 新增mock工程 4 年 前
  konghl 8ff2333bdb 修改配置文件,用于上传服务器 4 年 前
  konghl 35e8568374 修改项目名称,用于上传服务器 4 年 前
  konghl 296cdba193 重构后台系统,仅用于上传服务器 4 年 前
  konghl 0122efbabc 重构后台系统,仅用于上传服务器 4 年 前
  konghl 9a39799cc0 部署服务器,修改配置文件 4 年 前
  konghl ddf35fd300 暂时不启用非实体对象的判断 4 年 前
  chenxr3 7939fc8ace 首页修改提交 4 年 前
  konghl db678770b9 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git 4 年 前
  konghl bebb2b89fe 人员定位问题修改 4 年 前
  konghl 04ada0e6f8 实时救援问题修改 4 年 前
  wangkang3 33bb67ddb7 提交 4 年 前
  chenxr3 b15b5e27ad 首页修改提交 4 年 前
  konghl 8b281e8053 修改pom,排除登录验证 4 年 前
  konghl cb0c0e8182 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git 4 年 前
  konghl 53804e97f6 修改镜屏推送信息 4 年 前
  konghl 6809ddead2 重构实时报警和历史报警 4 年 前
  konghl 2363abc631 修改镜屏topic 4 年 前
  konghl 6c328c4398 轨迹查询重构 4 年 前
  konghl b0ee3a41b4 历史轨迹回放重构,增加定时任务判断设备离线 4 年 前
  chenxr3 622b446cee 首页修改提交 4 年 前
  chenxr3 4756df9027 修改提交 4 年 前
  konghl 67e75e92ff 删除枚举等,重构人员定位 4 年 前
  chenxr3 563af28335 修改提交 4 年 前
  konghl 08a6631852 修改设备类型 4 年 前
  konghl c183618ccb Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git 4 年 前
  konghl 2387b3f8e5 修改设备 4 年 前
  konghl 7712978aac 修改地图标记类型和设备类型 4 年 前
  konghl 97a96a8da4 中台服务的版本从2.1升级为2.1.5 4 年 前
  chenxr3 626a7699ce 修改提交 4 年 前
  konghl cbbdfa675d 修改北向接口缓存方式 4 年 前
  konghl 387e92633d Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc into master 4 年 前
  konghl 9ec6ffcd72 统一设备管理返回格式 4 年 前
  konghl 46d45bf56c Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc into master 4 年 前
  konghl b61fa21c4f 修改kafka配置文件 4 年 前
  konghl 24f03b82fc 统一设备管理的返回格式 4 年 前
  konghl 8c1bd0a40d Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git 4 年 前
  konghl d6c9ee7ac9 统一用户管理返回值 4 年 前
  konghl 2667543ebe 修改人员信息返回值 4 年 前
  konghl 33f605d78d Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc into master 4 年 前
  konghl 8c6e6b34db 统一地图标记和终端管理的返回格式 4 年 前
  konghl 6f5679bb9b 修改pom 4 年 前
  konghl f8ec732c5e 配置kafka 4 年 前
  wangchao 91cb23750d Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 7a19aa2489 加入uspa拦截器token验证 4 年 前
  wangchao 605bfe142d Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 0307a3595b 用户管理删除和新增 4 年 前
  wangchao 42c9ce12f2 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 2f12fb16fb 终端绑定 4 年 前
  wangchao a4780fea36 后台项目初始化 4 年 前
  wangchao 1d225203e0 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 7b5bd7fc8f 解绑查询关联关系 4 年 前
  wangchao 5b7ada9d09 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 3abd9ac159 测试 4 年 前
  wangchao 5c2edbe8f2 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 701921f2c7 设备管理分页查询的修改 4 年 前
  wangchao d1e6198a6c 设备管理报错修改 4 年 前
  wangchao cd2a9a0807 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 42136256e1 设备管理模块后台修改 4 年 前
  konghl e5ac90e3cc 修改git忽略文件配置 4 年 前
  konghl 173629f8c7 修改用户管理 4 年 前
  konghl 8b50ef3257 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git 4 年 前
  konghl 15425d68aa 用户管理功能修改 4 年 前
  wangchao f4c0dc51b9 后台项目安防一体化系统初始化 4 年 前
  konghl e9eb1c63df 修改工程,无错误 4 年 前
  zhaolx5 12e2261ca9 初始化工程 4 年 前
  wangchao 21a1d106ba Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao d53bf64414 修改项目结构 4 年 前
  wangchao 10d36573b9 修改项目结构 4 年 前
  wangkang3 657320fadd 提交 4 年 前
  wangchao 993f22008d Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 1e6aae2459 修改设备添加数据库时间 4 年 前
  konghl aa3a0f690d 实际报警初始化查询 4 年 前
  konghl 3640ccd134 拆分properties配置文件 4 年 前
  konghl 9afed3d1cd 修改镜屏名称、新增查询历史报警救援等 4 年 前
  konghl 52a85f945f 修改日期工具类 4 年 前
  wanyao ee205bc24c 回退 4 年 前
  wanyao 16d1d23fee 主机启动慢的原因测试1 4 年 前
  wangkang3 d34871ad0c Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangkang3 57e2b527f0 修改镜屏uuid 4 年 前
  wangkang3 a4f2b748b2 提交 4 年 前
  wangkang3 07f3e9bb23 修改提交 4 年 前
  konghl 499e7a7d94 合并海图参数 4 年 前
  konghl fe61027787 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc.git 4 年 前
  konghl 70691e3608 增加海图配置参数、重构数据推送、新增轨迹回放接口 4 年 前
  konghl 510c6be0e7 修改人员定位功能数据订阅的解析 4 年 前
  chenxr3 186e9e66f4 轨迹分析页面 4 年 前
  wangchao 71ba3d6e50 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao eb6f6af53e 修改时间工具类与轨迹分析 4 年 前
  wangchao dc4c59924a Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 1c6dc5d9cd 轨迹分析信息查询 4 年 前
  chenxr3 69f534d648 地图标记绘制多边形颜色优化 4 年 前
  konghl ea8cc62767 修改配置文件 4 年 前
  wangchao ffb3b16b49 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 4f36bbe4f2 考勤方法的修改 4 年 前
  wangchao 4ea204d4e4 考勤查询功能详情信息 4 年 前
  wangchao 76ba12e88b Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 8088a9af4d 考勤查询功能 4 年 前
  konghl 0824340e9c 修改人员定位功能 4 年 前
  wangchao ceb2e684c3 测试批量插入 4 年 前
  wangchao a19b9e2346 合并代码 4 年 前
  wangchao d0cdba1219 Merge remote-tracking branch 'origin/master' 4 年 前
  wangchao 14d32a62c0 删除终端时删除终端绑定关系 4 年 前
  wangchao 1d834a772a 删除终端时删除终端绑定关系 4 年 前
  chenxr3 8e19767361 设备类型标识格式更改 4 年 前
  konghl b8a06cf6e6 添加人员的枚举值 4 年 前
  konghl ec04cf2f49 删除.project文件 4 年 前
  konghl 2e3c3b67ca 修改枚举位置 4 年 前
  konghl 004b6f9498 新增定位推送,修改枚举类的位置 4 年 前
  wangkang3 76ef98bf1e 代码提交 4 年 前
  wangchao 63feb0d24b 终端管理页面加ui替换 4 年 前
  wangchao e0572c53e1 关联终端,解绑终端修改,考勤管理架子编写 4 年 前
  wangchao 9ff2237cbf 关联终端,解绑终端修改 4 年 前
  wangchao 7acc72f757 关联终端,解绑终端修改 4 年 前
  wangchao 332e05b5f4 关联终端,解绑终端修改 4 年 前
  wangchao b7fe4ca37c 后台daoimpl的修改 4 年 前
  konghl a3c4950238 修改字段 4 年 前
  konghl 48cb0bbdfa 增加返回参数 4 年 前
  konghl 429b4dbfa9 修改北向接口 4 年 前
  konghl 2e0b6dcd44 增加业务常量 4 年 前
  konghl 12d7573f2e 新增功能:地图标记增删改查 4 年 前
  wangkang3 8f7b30e3be 地图标记模块接口接入 4 年 前
  chenxr3 1013865ef3 设备管理页面 4 年 前
  wangchao 97dca84162 修改设备验证 4 年 前
  wangchao 0c9930d3e3 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangchao 8bd1ff2323 终端关联,终端解绑等接口 4 年 前
  wangchao d01adabd91 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangchao d40c613702 修改gis接口等 4 年 前
  wangchao 35550a3e47 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangchao bd86ba7a47 设备增删改查以及关联与解绑终端 4 年 前
  wangchao a8c7c1cf4d 项目配置修改以及剔除uspa 4 年 前
  wangchao c251472c3d gis获取token接口 4 年 前
  wangchao fba9354c6a Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangchao 5ff38a7f9b 解决跨域问题 4 年 前
  wangchao 74f666ab34 添加注释,增加轨迹文件等 4 年 前
  wangchao 5f13388aac 修改地图管理文件 4 年 前
  wangchao 41aea6126c Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangchao 24f1743496 按评审要求修改文件 4 年 前
  wangchao 666c0f81c2 Merge branch 'master' of http://10.1.235.20:3000/asiainfo/ebc 4 年 前
  wangchao 779c6e3826 修改日志文件 4 年 前
  wangchao 0e5599165c 修改日志文件 4 年 前
  wangchao c217a49b3a 更新项目 4 年 前
  wangchao 408a2042a9 后台项目初始化 4 年 前
  wangkang3 7bbf8eb6a8 页面初始化提交 4 年 前
  liuchang 000ebd90c9 更新文件 4 年 前
  liuchang 46a262ab4b 删除 4 年 前
  liuchang d1d76df146 更新提交 4 年 前
  wanyao 1d2d95bc39 删除 4 年 前
  wanyao f74da4a0dd 删除 4 年 前
  wanyao b667fddfbc 初始化 4 年 前
共有1 個のファイルを変更した47 個の追加104 個の削除を含む
  1. 47 104
      ebc-middle-platform/src/modules/call-help/current.vue

+ 47 - 104
ebc-middle-platform/src/modules/call-help/current.vue

@ -117,35 +117,6 @@ export default {
117 117
      var la = Ai.WMTSLayer(GIS_SEA_URL)
118 118
      this.map.addLayer(la)
119 119
      this.load()
120
    },
121
    load() {
122
      this.personLayer = new Ai.FeatureGroup()
123
      this.$test
124
        .post(services.alarm.LOAD_ALARM_DETAILS, '')
125
        .then((res) => {
126
          console.log(res)
127
          this.map.addLayer(this.personLayer)
128
          res.data.forEach(element => {
129
            var alarmPoint = null
130
            if (element.rescueTargetEntityPosition) {
131
              alarmPoint = this.point(element)
132
            }
133
            if (element.rescueEntityPosition) {
134
              var rescuerPoint = this.rescuerPoint(element)
135
              var lineWktStr = 'LINESTRING ( ' + element.rescueTargetEntityPosition.longitude + ' ' + element.rescueTargetEntityPosition.latitude + ',' + element.rescueEntityPosition.longitude + ' ' + element.rescueEntityPosition.latitude + ')'
136
              var lineLayer = new Ai.Polyline(lineWktStr, {color: 'red', opacity: 1.0})
137
              alarmPoint.getAttributes().lineLayer = lineLayer
138
              rescuerPoint.getAttributes().lineLayer = lineLayer
139
              alarmPoint.getAttributes().point = rescuerPoint
140
              rescuerPoint.getAttributes().point = alarmPoint
141
              this.map.addLayer(lineLayer)
142
            }
143
          })
144
          // this.map.setViewPort([this.personLayer])
145
        })
146
        .catch((res) => {
147
          // 请求失败处理...
148
        })
149 120
      this.$test
150 121
        .post(services.alarm.LOAD_MAP_AREA_TOOL, {})
151 122
        .then((res) => {
@ -178,6 +149,35 @@ export default {
178 149
        // 请求失败处理...
179 150
        })
180 151
    },
152
    load() {
153
      this.personLayer = new Ai.FeatureGroup()
154
      this.$test
155
        .post(services.alarm.LOAD_ALARM_DETAILS, '')
156
        .then((res) => {
157
          console.log(res)
158
          this.map.addLayer(this.personLayer)
159
          res.data.forEach(element => {
160
            var alarmPoint = null
161
            if (element.rescueTargetEntityPosition) {
162
              alarmPoint = this.point(element)
163
            }
164
            if (element.rescueEntityPosition) {
165
              var rescuerPoint = this.rescuerPoint(element)
166
              var lineWktStr = 'LINESTRING ( ' + element.rescueTargetEntityPosition.longitude + ' ' + element.rescueTargetEntityPosition.latitude + ',' + element.rescueEntityPosition.longitude + ' ' + element.rescueEntityPosition.latitude + ')'
167
              var lineLayer = new Ai.Polyline(lineWktStr, {color: 'red', opacity: 1.0})
168
              alarmPoint.lineLayer = lineLayer
169
              rescuerPoint.lineLayer = lineLayer
170
              alarmPoint.point = rescuerPoint
171
              rescuerPoint.point = alarmPoint
172
              this.map.addLayer(lineLayer)
173
            }
174
          })
175
          // this.map.setViewPort([this.personLayer])
176
        })
177
        .catch((res) => {
178
          // 请求失败处理...
179
        })
180
    },
181 181
    changePoint(msg) {
182 182
      var obj = JSON.parse(msg)
183 183
      if (obj.data.currentEntityPosition) {
@ -189,10 +189,10 @@ export default {
189 189
              flag = false
190 190
              point.setLatLng([obj.data.currentEntityPosition.latitude, obj.data.currentEntityPosition.longitude])
191 191
              point.getAttributes().rescueEntityPosition = obj.data.currentEntityPosition
192
              if (point.getAttributes().lineLayer) {
192
              if (point.lineLayer) {
193 193
                var lineWktStr = 'LINESTRING ( ' + obj.data.currentEntityPosition.longitude + ' ' + obj.data.currentEntityPosition.latitude + ',' + point.getAttributes().rescueTargetEntityPosition.longitude + ' ' + point.getAttributes().rescueTargetEntityPosition.latitude + ')'
194 194
                console.log(lineWktStr)
195
                point.getAttributes().lineLayer.setPoints(lineWktStr)
195
                point.lineLayer.setPoints(lineWktStr)
196 196
              }
197 197
              if (point.popup) {
198 198
                point.popup.setLatLng([obj.data.currentEntityPosition.latitude, obj.data.currentEntityPosition.longitude])
@ -219,10 +219,10 @@ export default {
219 219
              flag = false
220 220
              point.setLatLng([obj.data.currentEntityPosition.latitude, obj.data.currentEntityPosition.longitude])
221 221
              point.getAttributes().rescueTargetEntityPosition = obj.data.currentEntityPosition
222
              if (point.getAttributes().lineLayer) {
222
              if (point.lineLayer) {
223 223
                var lineWktStr = 'LINESTRING ( ' + obj.data.currentEntityPosition.longitude + ' ' + obj.data.currentEntityPosition.latitude + ',' + point.getAttributes().rescueEntityPosition.longitude + ' ' + point.getAttributes().rescueEntityPosition.latitude + ')'
224 224
                console.log(lineWktStr)
225
                point.getAttributes().lineLayer.setPoints(lineWktStr)
225
                point.lineLayer.setPoints(lineWktStr)
226 226
              }
227 227
              if (point.popup) {
228 228
                point.popup.setLatLng([obj.data.currentEntityPosition.latitude, obj.data.currentEntityPosition.longitude])
@ -245,14 +245,15 @@ export default {
245 245
                '<div>求救时长</div>' +
246 246
                '<div>' + this.getDurationTime(e.alarmTime) + '</div>' +
247 247
                '</div>'
248
                var param = JSON.stringify(e)
248 249
                if (e.isAssignAlarm == '0') {
249 250
                  callHelp = '<div style="display:flex;">' +
250
                "<button class='point-out' onClick='window.Vue.appoint(" + e + ")'><i style='font-size: 20px;' class='aidicon aidicon-user-outline'></i>指派</button>" +
251
                "<button class='close-confirm' onClick='window.Vue.close(" + e + ")'><i style='font-size: 20px;' class='aidicon aidicon-close'></i>关闭</button>" +
251
                "<button class='point-out' onClick='window.Vue.appoint(" + param + ")'><i style='font-size: 20px;' class='aidicon aidicon-user-outline'></i>指派</button>" +
252
                "<button class='close-confirm' onClick='window.Vue.close(" + param + ")'><i style='font-size: 20px;' class='aidicon aidicon-close'></i>关闭</button>" +
252 253
                '</div>'
253 254
                } else {
254 255
                  callHelp = '<div style="display:flex;justify-content: flex-end;">' +
255
                "<button class='close-confirm' onClick='window.Vue.close(" + e + ")'><i style='font-size: 20px;' class='aidicon aidicon-close'></i>关闭</button>" +
256
                "<button class='close-confirm' onClick='window.Vue.close(" + param + ")'><i style='font-size: 20px;' class='aidicon aidicon-close'></i>关闭</button>" +
256 257
                '</div>'
257 258
                }
258 259
                var content = '<div class="tips-item"><div class="top"><div class="user-pic"><t-icon icon="user-outline"></t-icon></div><div>' + e.rescueTargetEntityPosition.name + '</div>' + tips + '</div><div class="middle"><div class="row">' +
@ -287,10 +288,10 @@ export default {
287 288
          var rescuerPoint = this.rescuePoint({rescueEntityPosition: obj.data.currentEntityPosition})
288 289
          var lineWktStr = 'LINESTRING ( ' + obj.data.currentEntityPosition.longitude + ' ' + obj.data.currentEntityPosition.latitude + ',' + targetPoint.getAttributes().rescueTargetEntityPosition.longitude + ' ' + targetPoint.getAttributes().rescueTargetEntityPosition.latitude + ')'
289 290
          var lineLayer = new Ai.Polyline(lineWktStr, {color: 'red', opacity: 1.0})
290
          targetPoint.getAttributes().lineLayer = lineLayer
291
          rescuerPoint.getAttributes().lineLayer = lineLayer
292
          targetPoint.getAttributes().point = rescuerPoint
293
          rescuerPoint.getAttributes().point = targetPoint
291
          targetPoint.lineLayer = lineLayer
292
          rescuerPoint.lineLayer = lineLayer
293
          targetPoint.point = rescuerPoint
294
          rescuerPoint.point = targetPoint
294 295
          this.map.addLayer(lineLayer)
295 296
        }
296 297
      }
@ -467,56 +468,11 @@ export default {
467 468
              this.personLayer.eachLayer(layer => {
468 469
                this.map.removeLayer(layer)
469 470
                this.map.closePopup()
471
                if (layer.lineLayer && this.map.hasLayer(layer.lineLayer)) {
472
                  this.map.removeLayer(layer.lineLayer)
473
                }
470 474
              })
471 475
              this.load()
472
              // var alarmPoint = this.rescuerPoint({rescueEntityPosition: res.data})
473
              // var lineWktStr = 'LINESTRING ( ' + res.data.longitude + ' ' + res.data.latitude + ',' + this.appointAlarm.rescueTargetEntityPosition.longitude + ' ' + this.appointAlarm.rescueTargetEntityPosition.latitude + ')'
474
              // var lineLayer = new Ai.Polyline(lineWktStr, {color: 'red', opacity: 1.0})
475
              // this.personLayer.addLayer(alarmPoint)
476
              // this.map.addLayer(lineLayer)
477
              // var that = this
478
              // this.personLayer.eachLayer(layer => {
479
              //   if (layer.getAttributes().rescueTargetEntityPosition.entityId === that.appointAlarm.rescueTargetEntityPosition.entityId) {
480
              //     var className = 'alarm'
481
              //     if (layer.getAttributes().businessType == '2') {
482
              //       className = 'hand-alarm'
483
              //     } else if (layer.getAttributes().businessType == '4') {
484
              //       className = 'offline'
485
              //     }
486
              //     var tips = '<div class="' + className + '">' + layer.getAttributes().businessTypeZH + '</div>'
487
              //     var content =
488
              //     '<div class="tips-item"><div class="top"><div class="user-pic"><t-icon icon="user-outline"></t-icon></div><div>' + layer.getAttributes().rescueTargetEntityPosition.name + '</div>' + tips + '</div><div class="middle"><div class="row">' +
489
              //     '<div>终端编号</div>' +
490
              //     '<div>' + layer.getAttributes().terminalId + '</div>' +
491
              //     '</div>' +
492
              //     '<div class="row">' +
493
              //     '<div>经度</div>' +
494
              //     '<div>' + layer.getAttributes().rescueTargetEntityPosition.longitude + '</div>' +
495
              //     '</div>' +
496
              //     '<div class="row">' +
497
              //     '<div>纬度</div>' +
498
              //     '<div>' + layer.getAttributes().rescueTargetEntityPosition.latitude + '</div>' +
499
              //     '</div>' + '<div class="row sos">' +
500
              //   '<div>求救时间</div>' +
501
              //   '<div>' + layer.getAttributes().alarmTime + '</div>' +
502
              //   '</div>' + '<div class="row sos">' +
503
              //   '<div>求救时长</div>' +
504
              //   '<div>' + 1 + 'min</div>' +
505
              //   '</div>' +
506
              //     '<div class="row">' +
507
              //     '<div>最新定位时间</div>' +
508
              //     '<div>' + layer.getAttributes().alarmTime + '</div>' +
509
              //     '</div></div></div>' + '<div style="display:flex;justify-content: flex-end;">' +
510
              //   "<button class='close-confirm' onClick='window.Vue.close(" + JSON.stringify(layer.getAttributes()) + ")'><i style='font-size: 20px;' class='aidicon aidicon-close'></i>关闭</button>" +
511
              //   '</div>' +
512
              //     '</div></div>'
513
              //     layer.getAttributes().popup.setContent(content).openOn(this.map)
514
              //     alarmPoint.getAttributes().lineLayer = lineLayer
515
              //     layer.getAttributes().lineLayer = lineLayer
516
              //     alarmPoint.getAttributes().point = layer
517
              //     layer.getAttributes().point = alarmPoint
518
              //   }
519
              // })
520 476
            })
521 477
            .catch((res) => {
522 478
              // 请求失败处理...
@ -537,24 +493,11 @@ export default {
537 493
              this.personLayer.eachLayer(layer => {
538 494
                this.map.removeLayer(layer)
539 495
                this.map.closePopup()
496
                if (layer.lineLayer && this.map.hasLayer(layer.lineLayer)) {
497
                  this.map.removeLayer(layer.lineLayer)
498
                }
540 499
              })
541 500
              this.load()
542
              // var chooseLayer
543
              // this.personLayer.eachLayer(layer => {
544
              //   if (layer.getAttributes().rescueTargetEntityPosition.entityId === item.rescueTargetEntityPosition.entityId) {
545
              //     chooseLayer = layer
546
              //     if (layer.getAttributes().point) {
547
              //       this.map.removeLayer(layer.getAttributes().point)
548
              //       this.map.closePopup(layer.getAttributes().point.popup)
549
              //       this.map.removeLayer(layer.getAttributes().lineLayer)
550
              //     }
551
              //   }
552
              // })
553
              // this.personLayer.removeLayer(chooseLayer)
554
              // if (chooseLayer.getAttributes().point) {
555
              //   this.personLayer.removeLayer(chooseLayer.getAttributes().point)
556
              // }
557
              // this.map.closePopup(chooseLayer.popup)
558 501
            })
559 502
            .catch((res) => {
560 503
            // 请求失败处理...