From 957451d0be49cd59468fe056d33d997e2f23d8d1 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 11 Oct 2022 13:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=E7=9A=84=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E6=94=B9=E4=BA=86=E4=B8=80=E9=81=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/base/community/buildForm.vue | 6 +- .../modules/base/community/communityForm.vue | 6 +- .../communityParty/heart/heartForm.vue | 1010 +++++++++-------- .../regionalParty/activitysForm.vue | 8 +- .../regionalParty/unitsForm.vue | 8 +- .../communityService/dqfwzx/cpts/edit.vue | 8 +- .../communityService/fuwuzuzhi/cpts/edit.vue | 8 +- .../communityService/shzz/cpts/edit.vue | 294 ++--- .../communityService/sqzzz/cpts/edit.vue | 12 +- src/views/modules/cpts/base/cpts/edit.vue | 8 +- .../modules/shequzhili/csgltc/csglForm.vue | 8 +- .../modules/shequzhili/event/cpts/add.vue | 8 +- .../modules/shequzhili/ggfwtc/ggfwForm.vue | 8 +- 13 files changed, 742 insertions(+), 650 deletions(-) diff --git a/src/views/modules/base/community/buildForm.vue b/src/views/modules/base/community/buildForm.vue index e0335a6cb..9393d5d9d 100644 --- a/src/views/modules/base/community/buildForm.vue +++ b/src/views/modules/base/community/buildForm.vue @@ -372,9 +372,11 @@ export default { markers.setGeometries([]) // 在地图显示范围内以给定的关键字搜索地点 search - .searchRectangle({ + .searchNearby({ keyword: this.keyWords, - bounds: map.getBounds() + radius: 1000, + autoExtend: true, + center: map.getCenter(), }) .then((result) => { let { data } = result diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue index c3d8f4203..13f0437a2 100644 --- a/src/views/modules/base/community/communityForm.vue +++ b/src/views/modules/base/community/communityForm.vue @@ -285,9 +285,11 @@ export default { markers.setGeometries([]) // 在地图显示范围内以给定的关键字搜索地点 search - .searchRectangle({ + .searchNearby({ keyword: this.keyWords, - bounds: map.getBounds() + radius: 1000, + autoExtend: true, + center: map.getCenter(), }) .then((result) => { let { data } = result diff --git a/src/views/modules/communityParty/heart/heartForm.vue b/src/views/modules/communityParty/heart/heartForm.vue index 1203f9cf5..093b3e690 100644 --- a/src/views/modules/communityParty/heart/heartForm.vue +++ b/src/views/modules/communityParty/heart/heartForm.vue @@ -1,221 +1,279 @@