搜索半径bug修复

liujun0703-新项目开发
liujun 2024-08-12 14:36:49 +08:00
parent d598ba41fd
commit 872c02b0df
1 changed files with 4 additions and 1 deletions

View File

@ -292,13 +292,13 @@ export default {
heartbeat: null,
REPORT_ID: null,
FIRERESERVEPLAN_ID: null,
CODE: null,
CORPIFNO_ID: JSON.parse(sessionStorage.getItem('user')).CORPIFNO_ID
}
},
mounted() {
/** 调用地图初始化方法 */
this.firstInitPoint()
/** 调用初始化点位绘制方法 */
// this.initPoints()
/** 初始化选中首个二级坐标点位分类 */
@ -330,6 +330,8 @@ export default {
//
this.activeIndex = index
this.range = item
mapInstance.clearOverlays()
this.initPoint({ code: this.CODE, reportId: this.REPORT_ID, range: this.range })
},
/** 扎点方法 */
addPoint(anchor) {
@ -528,6 +530,7 @@ export default {
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
this.CODE = row.code
requestFN(
'/bi/emergency/getPoint',
{