From 75649d66ec385b189f4483614db58fbd7dcf6cf0 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 11 Oct 2022 15:26:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=90=9C=E7=B4=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../communityService/fuwujilu/addForm.vue | 6 +- .../communityService/fuwujilu/editForm.vue | 6 +- .../partymember/icpartyorg-add-or-update.vue | 1060 +++++++++-------- ...icpointnucleicmonitoring-add-or-update.vue | 6 +- ...pointvaccinesinoculation-add-or-update.vue | 6 +- 5 files changed, 603 insertions(+), 481 deletions(-) diff --git a/src/views/modules/communityService/fuwujilu/addForm.vue b/src/views/modules/communityService/fuwujilu/addForm.vue index ec2af6ab9..fdf967767 100644 --- a/src/views/modules/communityService/fuwujilu/addForm.vue +++ b/src/views/modules/communityService/fuwujilu/addForm.vue @@ -1023,9 +1023,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/communityService/fuwujilu/editForm.vue b/src/views/modules/communityService/fuwujilu/editForm.vue index b7e975f49..dc73d062f 100644 --- a/src/views/modules/communityService/fuwujilu/editForm.vue +++ b/src/views/modules/communityService/fuwujilu/editForm.vue @@ -608,9 +608,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/partymember/icpartyorg-add-or-update.vue b/src/views/modules/partymember/icpartyorg-add-or-update.vue index 74a482bd4..31444e936 100644 --- a/src/views/modules/partymember/icpartyorg-add-or-update.vue +++ b/src/views/modules/partymember/icpartyorg-add-or-update.vue @@ -1,82 +1,134 @@ - -