|
@@ -271,6 +271,7 @@
|
|
|
if (!this.ranging) {
|
|
if (!this.ranging) {
|
|
|
var pt = e.lnglat; //点击选择新地址为中心点
|
|
var pt = e.lnglat; //点击选择新地址为中心点
|
|
|
console.log(pt);
|
|
console.log(pt);
|
|
|
|
|
+ alert(JSON.stringify(e.lnglat));
|
|
|
|
|
|
|
|
this.pointPosition = [pt.lng, pt.lat];
|
|
this.pointPosition = [pt.lng, pt.lat];
|
|
|
this.selectedRow.location = pt.lng + "," + pt.lat;
|
|
this.selectedRow.location = pt.lng + "," + pt.lat;
|
|
@@ -396,6 +397,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
handleSelectPoint() {
|
|
handleSelectPoint() {
|
|
|
|
|
+ alert(JSON.stringify(this.pointPosition));
|
|
|
this.formModel.location =
|
|
this.formModel.location =
|
|
|
this.pointPosition[0] + "," + this.pointPosition[1];
|
|
this.pointPosition[0] + "," + this.pointPosition[1];
|
|
|
this.showMapDialog = false;
|
|
this.showMapDialog = false;
|