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 1/4] =?UTF-8?q?=E7=94=9F=E6=B4=BB=E5=9C=88=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=8C=E9=98=B5=E5=9C=B0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=8C=E9=98=B5?= =?UTF-8?q?=E5=9C=B0=E4=BF=AE=E6=94=B9=E7=9A=84=E6=97=B6=E5=80=99=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=8F=98=E6=9B=B4=EF=BC=8C=E9=99=84=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=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 @@ - - - -
-
{{ formData.positionName }}
+
{{ formData.typeName }}
- - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - - - -
- +
+ +
+ 新增 + 下载模板 + + + 导入 + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + +
+
- - - \ No newline at end of file + } + .div_btn { + display: flex; + justify-content: space-between; + } + .el-row { + /* margin-bottom: 20px; */ + display: flex; + flex-wrap: wrap; + margin-top: 10px; + margin-right: 50px; + } + + + + \ No newline at end of file From 0f81aa1cf96c48473d4df5488e9d1e2d23a33c63 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 18:19:43 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E7=94=9F=E6=B4=BB=E5=9C=88=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E6=A0=87=E7=AD=BE=E5=8F=98=E4=B8=BA4=E4=B8=AA?= =?UTF-8?q?=EF=BC=8C=E6=B4=BB=E5=8A=A8=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E5=9C=A8pc=E4=B8=8A=E4=B8=8B=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../volunteer/LifeCircleManagement/add.vue | 228 ++++++++++-------- .../volunteer/activityArchive/index.vue | 2 +- 2 files changed, 130 insertions(+), 100 deletions(-) diff --git a/src/views/modules/volunteer/LifeCircleManagement/add.vue b/src/views/modules/volunteer/LifeCircleManagement/add.vue index ace582367..c39bec473 100644 --- a/src/views/modules/volunteer/LifeCircleManagement/add.vue +++ b/src/views/modules/volunteer/LifeCircleManagement/add.vue @@ -1,33 +1,34 @@ - - - - \ No newline at end of file diff --git a/src/views/modules/volunteer/VoluntaryOrganization/index.vue b/src/views/modules/volunteer/VoluntaryOrganization/index.vue index 26b8a1965..2b3811260 100644 --- a/src/views/modules/volunteer/VoluntaryOrganization/index.vue +++ b/src/views/modules/volunteer/VoluntaryOrganization/index.vue @@ -119,7 +119,6 @@ import nextTick from "dai-js/tools/nextTick"; import { mapGetters } from "vuex"; import add from "./add.vue" import info from "./info.vue" -import edit from "./edit.vue" import MemberManagement from "./MemberManagement.vue" import process from "./process.vue" // import Record from "./activeRecord" @@ -128,7 +127,7 @@ import process from "./process.vue" import axios from "axios"; export default { - components: { add, info,edit,MemberManagement,process}, + components: { add, info,MemberManagement,process}, data() { return {