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