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 @@