|
|
|
@ -202,6 +202,7 @@ export default { |
|
|
|
homeMsg: {}, |
|
|
|
list: [], |
|
|
|
homeText: "", |
|
|
|
searchId: "", |
|
|
|
buildingList: [], |
|
|
|
houseMountArr: [ |
|
|
|
// [ |
|
|
|
@ -307,7 +308,7 @@ export default { |
|
|
|
|
|
|
|
search() { |
|
|
|
this.queryParams.pageNo = 1; |
|
|
|
this.getTableData(); |
|
|
|
this.getTableData(this.searchId); |
|
|
|
}, |
|
|
|
|
|
|
|
getList(buid) { |
|
|
|
@ -324,6 +325,7 @@ export default { |
|
|
|
this.buildingList.forEach((item, i) => { |
|
|
|
if (item.id === buid) { |
|
|
|
item.ifActive = true; |
|
|
|
this.searchId = item.id; |
|
|
|
this.getUnitList(item.id); |
|
|
|
this.getTableData(item.id); |
|
|
|
} else { |
|
|
|
@ -335,6 +337,7 @@ export default { |
|
|
|
if (i === 0) { |
|
|
|
item.ifActive = true; |
|
|
|
this.getUnitList(item.id); |
|
|
|
this.searchId = item.id; |
|
|
|
this.getTableData(item.id); |
|
|
|
} else { |
|
|
|
item.ifActive = false; |
|
|
|
@ -349,6 +352,7 @@ export default { |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.getUnitList(this.$route.query.id); |
|
|
|
this.searchId = this.$route.query.id; |
|
|
|
this.getTableData(this.$route.query.id); |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -408,6 +412,7 @@ export default { |
|
|
|
buildList.forEach((d) => { |
|
|
|
if (item.id === d.id) { |
|
|
|
d.ifActive = true; |
|
|
|
this.searchId = item.id; |
|
|
|
this.getUnitList(item.id); |
|
|
|
this.getTableData(item.id); |
|
|
|
} else { |
|
|
|
|