From e1d2099cf996b68383bc5480d395ba0d8cf8b41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Wed, 9 Oct 2024 13:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=B4=BB=E5=9C=88=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=8C=E9=98=B5=E5=9C=B0=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=8C=E9=98=B5=E5=9C=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9A=84=E6=97=B6=E5=80=99=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=EF=BC=8C=E9=99=84=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../volunteer/LifeCircleManagement/add.vue | 8 +- .../volunteer/LifeCircleManagement/index.vue | 214 +++++++++++++++++- .../modules/volunteer/SiteManagement/add.vue | 8 +- .../modules/volunteer/SiteManagement/info.vue | 20 +- .../volunteer/VoluntaryOrganization/index.vue | 23 +- .../VoluntaryOrganization/process.vue | 23 +- 6 files changed, 257 insertions(+), 39 deletions(-) diff --git a/src/views/modules/volunteer/LifeCircleManagement/add.vue b/src/views/modules/volunteer/LifeCircleManagement/add.vue index dc3d25c69..ecdb446f9 100644 --- a/src/views/modules/volunteer/LifeCircleManagement/add.vue +++ b/src/views/modules/volunteer/LifeCircleManagement/add.vue @@ -692,12 +692,12 @@ async remoteMethod(query) { console.log(query, "sfsvsdv"); if (query !== '') { - const { msg, data } = await map.searchNearby(query); + console.log(data,"sdl;kjfklsjfkld"); + this.resultList = [] if (msg == "success" && data.resultList && data.resultList.length > 0) { - if (data.resultList && data.resultList.length > 0) { this.resultList = data.resultList console.log(this.resultList, "this.resultList"); @@ -705,6 +705,7 @@ return { value: `${item.id}`, label: `${item.address + item.title}` }; }); + console.log(this.searchOptions, "this.searchOptions"); } } else { @@ -727,7 +728,10 @@ map.setMarker(lonlat[1], lonlat[0]); this.formData.latitude = lonlat[1]; this.formData.longitude = lonlat[0]; + this.formData.address = selPosition.address + selPosition.name this.searchValue = selPosition.address + selPosition.name + console.log(this.formData.latitude, this.formData.longitude, "this.formData.latitude, this.formData.longitude"); + }, diff --git a/src/views/modules/volunteer/LifeCircleManagement/index.vue b/src/views/modules/volunteer/LifeCircleManagement/index.vue index 0883d6bd7..5ecb48202 100644 --- a/src/views/modules/volunteer/LifeCircleManagement/index.vue +++ b/src/views/modules/volunteer/LifeCircleManagement/index.vue @@ -54,7 +54,7 @@ - @@ -119,7 +113,7 @@ { value: 1, label: "实践点" }, { value: 2, label: "其它" }, - ], + ], formData: { agencyName:"", diff --git a/src/views/modules/volunteer/SiteManagement/info.vue b/src/views/modules/volunteer/SiteManagement/info.vue index 016fb19a1..473aad301 100644 --- a/src/views/modules/volunteer/SiteManagement/info.vue +++ b/src/views/modules/volunteer/SiteManagement/info.vue @@ -10,12 +10,13 @@ :disabled="true" class="u-item-width-normal"> --> - + +
{{ formData.typeName }}
- + {{tableData.updatedTime}} @@ -61,34 +61,21 @@ - - - -