|
|
@@ -127,6 +127,7 @@
|
|
|
@ready="handler"
|
|
|
@reload="reload"
|
|
|
:key="baiduMapKey"
|
|
|
+ @click="myMapClick"
|
|
|
ref="myMap">
|
|
|
<!-- :minClusterSize="minClusterSize"-->
|
|
|
<bml-marker-clusterer :averageCenter="false" :styles="styless">
|
|
|
@@ -1074,9 +1075,7 @@ export default {
|
|
|
this.listData = this.list;
|
|
|
}
|
|
|
},
|
|
|
- reload() {
|
|
|
- debugger;
|
|
|
- },
|
|
|
+ reload() {},
|
|
|
handler({ BMap, map }) {
|
|
|
this.mapk = map;
|
|
|
this.mapks = BMap;
|
|
|
@@ -1106,12 +1105,17 @@ export default {
|
|
|
zoomend(e) {
|
|
|
this.getMapposition(e, '1', this.$route.query.tabVal);
|
|
|
},
|
|
|
+ myMapClick(e) {
|
|
|
+ var location = new TMap.LatLng(Number(e.target.re.lat), Number(e.target.re.lng));
|
|
|
+ console.log(e);
|
|
|
+ console.log(location);
|
|
|
+ },
|
|
|
getMapposition(e, type, listType) {
|
|
|
- debugger;
|
|
|
var that = this;
|
|
|
var typeList = -1;
|
|
|
var input = [e.target.re.lat, e.target.re.lng];
|
|
|
var location = new TMap.LatLng(Number(input[0]), Number(input[1]));
|
|
|
+ console.log(location);
|
|
|
|
|
|
var Zoom = e.target.getZoom();
|
|
|
if (listType == 1) {
|
|
|
@@ -1363,7 +1367,6 @@ export default {
|
|
|
this.getpointList(row);
|
|
|
},
|
|
|
getpointList(val) {
|
|
|
- debugger;
|
|
|
var that = this;
|
|
|
let loading3 = this.$toast.loading({
|
|
|
duration: 0,
|
|
|
@@ -1668,7 +1671,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
- debugger;
|
|
|
getUserOrgStoreList({
|
|
|
type: 2,
|
|
|
lon: this.lon,
|