|
|
|
@ -365,7 +365,6 @@ export default { |
|
|
|
}, |
|
|
|
setNum(data) { |
|
|
|
// data |
|
|
|
console.log("hhghjgjhgjhgjh"); |
|
|
|
let params = []; |
|
|
|
let org = this.orgData.children; |
|
|
|
org.forEach((item) => { |
|
|
|
@ -378,7 +377,6 @@ export default { |
|
|
|
}] |
|
|
|
}) |
|
|
|
let index = parseInt(coordinates.length / 2) |
|
|
|
console.log(index,coordinates,'coordinates',coordinates2,this.getCenterPoint(coordinates2)) |
|
|
|
let centerLngLat = this.getCenterPoint(coordinates2) |
|
|
|
// spliceIntoChunks |
|
|
|
if (item2.orgId === item.id && item.coordinates) { |
|
|
|
@ -393,9 +391,7 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
// if (params.length) { |
|
|
|
console.log("hhghjgjhgjhgjh111"); |
|
|
|
this.$refs.map.setNum(params); |
|
|
|
console.log("hhghjgjhgjhgjh2222"); |
|
|
|
// } |
|
|
|
}, |
|
|
|
upDownShow() { |
|
|
|
|