From d9f4fc0f6adc1510b8089de76962f8c4c409278c Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 24 Oct 2022 15:50:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=9B=BE=E5=B1=82=E8=B0=83?= =?UTF-8?q?=E6=95=B41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../communityService/sqzzz/cpts/edit.vue | 57 ++-- src/views/modules/shequzhili/csgltc/csgl.vue | 5 +- .../modules/shequzhili/csgltc/csglDetail.vue | 137 ++-------- .../modules/shequzhili/csgltc/csglForm.vue | 246 ++++++++---------- .../modules/shequzhili/ggfwtc/ggfwDetail.vue | 133 ++-------- .../modules/shequzhili/ggfwtc/ggfwForm.vue | 246 +++++++++--------- 6 files changed, 299 insertions(+), 525 deletions(-) diff --git a/src/views/modules/communityService/sqzzz/cpts/edit.vue b/src/views/modules/communityService/sqzzz/cpts/edit.vue index a7302d375..6fe29bdf3 100644 --- a/src/views/modules/communityService/sqzzz/cpts/edit.vue +++ b/src/views/modules/communityService/sqzzz/cpts/edit.vue @@ -133,16 +133,6 @@ label-width="150px" style="display: block">
- -
-
@@ -344,8 +319,8 @@ export default { let lonlat = selPosition.lonlat.split(" ") map.setCenter(lonlat[1], lonlat[0]); map.setMarker(lonlat[1], lonlat[0]); - this.dataForm.latitude = lonlat[0]; - this.dataForm.longitude = lonlat[1]; + this.formData.latitude = lonlat[1]; + this.formData.longitude = lonlat[0]; this.dataForm.address = selPosition.address + selPosition.name }, @@ -455,19 +430,6 @@ export default { }, - // async handleSearchMap () { - // const { msg, data } = await map.searchNearby(this.keyWords); - // if (msg == "success") { - // const { lat, lng } = data; - // map.setCenter(lat, lng); - // map.setMarker(lat, lng); - // this.dataForm.latitude = lat; - // this.dataForm.longitude = lng; - // this.handleMoveCenter() - // } else { - // this.$message.error("未检索到相关位置坐标"); - // } - // }, async handleMoveCenter () { //修改地图中心点 @@ -574,6 +536,21 @@ export default { organizationPersonnel: [], }; }, + + // async handleSearchMap () { + // const { msg, data } = await map.searchNearby(this.keyWords); + // if (msg == "success") { + // const { lat, lng } = data; + // map.setCenter(lat, lng); + // map.setMarker(lat, lng); + // this.dataForm.latitude = lat; + // this.dataForm.longitude = lng; + // this.handleMoveCenter() + // } else { + // this.$message.error("未检索到相关位置坐标"); + // } + // }, + // 开启加载动画 startLoading () { loading = Loading.service({ diff --git a/src/views/modules/shequzhili/csgltc/csgl.vue b/src/views/modules/shequzhili/csgltc/csgl.vue index 8eacbd0ed..e29f1c93a 100644 --- a/src/views/modules/shequzhili/csgltc/csgl.vue +++ b/src/views/modules/shequzhili/csgltc/csgl.vue @@ -52,7 +52,8 @@ style="margin-left:10px" size="small" @click="handleExportModule('room')">下载模板 -
- 地理位置: + 所在位置: {{ formData.address }}
@@ -41,7 +41,7 @@ 地图位置:
-
+
@@ -61,6 +61,7 @@