diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue index 6f7b19380..10f44d0af 100644 --- a/src/views/modules/visual/basicinfo/basicInfoMain.vue +++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue @@ -782,6 +782,8 @@ const vueGis = { this.zoom = 13 } else if (agencyLevel === 'community') { this.zoom = 14 + } else { + this.zoom = 11 } }, diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue index 7ee8f5f85..c3e357171 100644 --- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue +++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue @@ -1629,6 +1629,8 @@ const vueGis = { this.zoom = 13 } else if (agencyLevel === 'community') { this.zoom = 14 + } else { + this.zoom = 11 } }, diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy.vue index efc340ebf..e6a2ef607 100644 --- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy.vue +++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy.vue @@ -1637,6 +1637,8 @@ const vueGis = { this.zoom = 13 } else if (agencyLevel === 'community') { this.zoom = 14 + } else { + this.zoom = 11 } }, diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex-baidu.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex-baidu.vue index 049037cdb..8deefd534 100644 --- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex-baidu.vue +++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex-baidu.vue @@ -1632,6 +1632,8 @@ const vueGis = { this.zoom = 13 } else if (agencyLevel === 'community') { this.zoom = 14 + } else { + this.zoom = 11 } }, diff --git a/src/views/modules/visual/components/screen-map/index.vue b/src/views/modules/visual/components/screen-map/index.vue index 766f61e70..b5120de89 100644 --- a/src/views/modules/visual/components/screen-map/index.vue +++ b/src/views/modules/visual/components/screen-map/index.vue @@ -628,7 +628,7 @@ const vueGis = { } else if (level === 'community') { this.zoom = 14 } else { - this.zoom = 12 + this.zoom = 11 } }, @@ -681,9 +681,9 @@ const vueGis = { map.addLayer(polygonLayer) if (this.$route.path == '/main-shuju/visual-communityGovern-duoyuanfuwu-duoyuanfuwufenxi' || this.$route.path == '/main-shuju/visual-communityParty-gridParty' || this.$route.path == '/main-shuju/visual-communityParty-community') { // 2022.6.9 网格党建平面图 联建单位分析页面 点位点击以后会消失,屏蔽这段代码以后可以解决 - console.log('去掉默认点击') + console.log('去掉默认点击') } else { - map.addInteraction(select); + map.addInteraction(select); } },