|
@@ -36,6 +36,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ currentBuilding:'',// 当前建筑楼层信息
|
|
|
mess: {
|
|
|
perjectName: "",
|
|
|
name: [
|
|
@@ -99,7 +100,7 @@ export default {
|
|
|
if (val && this.$refs.cascader) {
|
|
|
this.$refs.cascader.changeVal(val.code)
|
|
|
}
|
|
|
- this.$refs.cascader.getData()
|
|
|
+ this.$refs.cascader.getData(this.currentBuilding)
|
|
|
// this.$refs.tableMain.getHeaderData(this.param);
|
|
|
},
|
|
|
// getEqCode() {
|
|
@@ -154,6 +155,7 @@ export default {
|
|
|
if (this.$refs.tableMain)
|
|
|
this.$refs.tableMain.getHeaderData(this.param);
|
|
|
}
|
|
|
+ this.currentBuilding = value
|
|
|
this.$refs.cascader.getData(value)
|
|
|
},
|
|
|
|