|
@@ -112,7 +112,7 @@ export default {
|
|
|
children: "Floor"
|
|
|
},
|
|
|
floorToMap: {}, //楼层及其对应的模型图
|
|
|
- FloorMap: "", //当前选中的楼层对象
|
|
|
+ FloorMap: {}, //当前选中的楼层对象
|
|
|
buildFloorSelectd: ['all'], //当前所选的建筑楼层
|
|
|
childBackParam: {}
|
|
|
};
|
|
@@ -196,12 +196,11 @@ export default {
|
|
|
},
|
|
|
//修改所选建筑楼层
|
|
|
changeCascader(val) {
|
|
|
- console.log(this.buildFloorSelectd);
|
|
|
- console.log(1111111111111111111);
|
|
|
this.buildFloorSelectd = val;
|
|
|
// 如果选择的是全部或者未明确
|
|
|
if (val.indexOf('noKnow') > -1 || val.indexOf('all') > -1) {
|
|
|
this.isMyTab = 2;
|
|
|
+ this.FloorMap = {}
|
|
|
} else {
|
|
|
// 选择的是具体某个楼层
|
|
|
if (!this.floorToMap[val[1]].StructureInfo || !this.floorToMap[val[1]].StructureInfo.FloorMap) {
|