From 531657cd6a7c03d9cf6797ae21652ff2996f0f31 Mon Sep 17 00:00:00 2001 From: weicw <594098497@qq.com> Date: Mon, 7 Feb 2022 18:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=B7=BB=E5=8A=A0=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sound/function/dict/place.vue | 965 +++++++++++------------ src/views/sound/road/dict/place.vue | 13 +- src/views/sound/zone/dict/place.vue | 973 ++++++++++++------------ 3 files changed, 987 insertions(+), 964 deletions(-) diff --git a/src/views/sound/function/dict/place.vue b/src/views/sound/function/dict/place.vue index 2940369..457bbdb 100644 --- a/src/views/sound/function/dict/place.vue +++ b/src/views/sound/function/dict/place.vue @@ -1,509 +1,518 @@ diff --git a/src/views/sound/road/dict/place.vue b/src/views/sound/road/dict/place.vue index 2b88709..e78ecf0 100644 --- a/src/views/sound/road/dict/place.vue +++ b/src/views/sound/road/dict/place.vue @@ -17,6 +17,12 @@ + + + + + + @@ -93,7 +99,8 @@ + :value="`[${form.correctLng},${form.correctLat}]`" + placeholder="`[${form.placeLng},${form.placeLat}]`" allow-clear> @@ -285,7 +292,7 @@ export default { }); }, showRoadMap(form) { - const {placeLng,placeLat,correctLng,correctLat} = form + const {placeLng, placeLat, correctLng, correctLat} = form this.visibleRoadMap = true this.roadMapTitle = "选择修正后的道路坐标" this.$nextTick(() => { @@ -296,7 +303,7 @@ export default { map.addControl(new BBMap.NavigationControl()); //初始化地图控件 map.addControl(new BBMap.ScaleControl()); map.addControl(new BBMap.OverviewMapControl()); - var point = new BBMap.Point(correctLng?correctLng:placeLng?placeLng:108.33,correctLat?correctLat:placeLat?placeLat:22.84); + var point = new BBMap.Point(correctLng ? correctLng : placeLng ? placeLng : 108.33, correctLat ? correctLat : placeLat ? placeLat : 22.84); // var point = new BBMap.Point(form.placeLng ? form.placeLng : 108.33, form.placeLat ? form.placeLat : 22.84); map.centerAndZoom(point, 13);//初始化地图中心点 var marker = new BBMap.Marker(point); //初始化地图标记 diff --git a/src/views/sound/zone/dict/place.vue b/src/views/sound/zone/dict/place.vue index d2168bc..7dda43d 100644 --- a/src/views/sound/zone/dict/place.vue +++ b/src/views/sound/zone/dict/place.vue @@ -1,511 +1,518 @@