Browse Source

地图搜索优化2

dev-数据对比
dai 3 years ago
parent
commit
75649d66ec
  1. 6
      src/views/modules/communityService/fuwujilu/addForm.vue
  2. 6
      src/views/modules/communityService/fuwujilu/editForm.vue
  3. 1060
      src/views/modules/partymember/icpartyorg-add-or-update.vue
  4. 6
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  5. 6
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

6
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;

6
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

1060
src/views/modules/partymember/icpartyorg-add-or-update.vue

File diff suppressed because it is too large

6
src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue

@ -282,9 +282,11 @@ export default {
markers.setGeometries([]);
//
search
.searchRectangle({
.searchNearby({
keyword: this.dataForm.address,
bounds: map.getBounds(),
radius: 1000,
autoExtend: true,
center: map.getCenter(),
})
.then((result) => {
let { data } = result;

6
src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

@ -367,9 +367,11 @@ export default {
markers.setGeometries([]);
//
search
.searchRectangle({
.searchNearby({
keyword: this.dataForm.address,
bounds: map.getBounds(),
radius: 1000,
autoExtend: true,
center: map.getCenter(),
})
.then((result) => {
let { data } = result;

Loading…
Cancel
Save