Browse Source

地图处理

feature
tianq 3 years ago
parent
commit
0cfeae3170
  1. 32
      src/views/dataBoard/sida/index.vue

32
src/views/dataBoard/sida/index.vue

@ -166,39 +166,19 @@ export default {
}, },
handleClickDotBtn(type, info) { handleClickDotBtn(type, info) {
// console.log('handleClickDotBtn', type, info); console.log("handleClickDotBtn")
// if (type == 'watch-resi') {
// this.displayedResiId = info.user_id;
// } else if (type == 'watch-house') {
// this.displayedHouseId = info.house_id;
// }
}, },
clickBreadItem({ item }) { clickBreadItem({ item }) {
// this.toBread(item); // this.toBread(item);
}, },
clickAgencyItem(item) { clickAgencyItem(item) {
console.log("clickAgencyItem")
console.log(item); console.log(item);
this.toBread({ this.orgData.org_id=item.id;
orgId: item.id,
orgLevel: item.level,
meta: {
title: item.name
}
});
}, },
// toBread(item) {
// const { orgId } = item;
// const { breadList } = this;
// let index = breadList.findIndex(val => val.orgId === orgId);
// // return console.log(item, breadList, index);
// if (index >= 0) {
// this.breadList = breadList.slice(0, index + 1);
// } else {
// breadList.push(item);
// this.breadList = breadList;
// }
// this.init(item.orgId, item.orgLevel);
// },
// //

Loading…
Cancel
Save