搜索半径bug修复
parent
d598ba41fd
commit
872c02b0df
|
@ -292,13 +292,13 @@ export default {
|
||||||
heartbeat: null,
|
heartbeat: null,
|
||||||
REPORT_ID: null,
|
REPORT_ID: null,
|
||||||
FIRERESERVEPLAN_ID: null,
|
FIRERESERVEPLAN_ID: null,
|
||||||
|
CODE: null,
|
||||||
CORPIFNO_ID: JSON.parse(sessionStorage.getItem('user')).CORPIFNO_ID
|
CORPIFNO_ID: JSON.parse(sessionStorage.getItem('user')).CORPIFNO_ID
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
/** 调用地图初始化方法 */
|
/** 调用地图初始化方法 */
|
||||||
this.firstInitPoint()
|
this.firstInitPoint()
|
||||||
|
|
||||||
/** 调用初始化点位绘制方法 */
|
/** 调用初始化点位绘制方法 */
|
||||||
// this.initPoints()
|
// this.initPoints()
|
||||||
/** 初始化选中首个二级坐标点位分类 */
|
/** 初始化选中首个二级坐标点位分类 */
|
||||||
|
@ -330,6 +330,8 @@ export default {
|
||||||
// 设置被选中项的索引
|
// 设置被选中项的索引
|
||||||
this.activeIndex = index
|
this.activeIndex = index
|
||||||
this.range = item
|
this.range = item
|
||||||
|
mapInstance.clearOverlays()
|
||||||
|
this.initPoint({ code: this.CODE, reportId: this.REPORT_ID, range: this.range })
|
||||||
},
|
},
|
||||||
/** 扎点方法 */
|
/** 扎点方法 */
|
||||||
addPoint(anchor) {
|
addPoint(anchor) {
|
||||||
|
@ -528,6 +530,7 @@ export default {
|
||||||
spinner: 'el-icon-loading',
|
spinner: 'el-icon-loading',
|
||||||
background: 'rgba(0, 0, 0, 0.7)'
|
background: 'rgba(0, 0, 0, 0.7)'
|
||||||
})
|
})
|
||||||
|
this.CODE = row.code
|
||||||
requestFN(
|
requestFN(
|
||||||
'/bi/emergency/getPoint',
|
'/bi/emergency/getPoint',
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue