|
|
@ -287,7 +287,6 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
clickBreadItem({ item }) { |
|
|
|
console.log("item::", item); |
|
|
|
this.toBread(item); |
|
|
|
}, |
|
|
|
|
|
|
@ -299,14 +298,9 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
goBackMap() { |
|
|
|
console.log( |
|
|
|
"this.breadList[this.breadList.length - 2]::", |
|
|
|
this.breadList[this.breadList.length - 2] |
|
|
|
); |
|
|
|
this.clickAgencyItem(this.breadList[this.breadList.length - 2]); |
|
|
|
}, |
|
|
|
toBread(item) { |
|
|
|
console.log(item); |
|
|
|
const { orgId } = item; |
|
|
|
const { breadList } = this; |
|
|
|
let index = breadList.findIndex((val) => val.orgId === orgId); |
|
|
@ -317,7 +311,6 @@ export default { |
|
|
|
breadList.push({ ...item, id: item.orgId, level: item.orgLevel }); |
|
|
|
this.breadList = breadList; |
|
|
|
} |
|
|
|
console.log("this.breadList::", this.breadList); |
|
|
|
this.getMapData(item.orgId, item.orgLevel); |
|
|
|
}, |
|
|
|
|
|
|
|