修改类型跳转后图纸不显示问题

main
jinna 2 years ago
parent b38a00b5f5
commit 746d39202f
  1. 10
      src/components/monitoring/clickCp.vue
  2. 6
      src/components/monitoring/light.vue

@ -277,6 +277,7 @@ export default {
"暖":3,
"监控":4,
"照明":5,
"空开":5,
"消防":6,
"电梯":7,
"空调":8,
@ -304,7 +305,7 @@ export default {
this.active = this.active == '' ? 25 : this.active
this.ttActive = this.ttActive == '' ? 20 : this.ttActive
console.log('进入此方法111111111111111',this.type);
this.getTypeList(this.bimModel==1?this.active:this.ttActive,this.type,this.bimModel)
this.getTypeList(this.type)
},500)
},
@ -312,6 +313,7 @@ export default {
//
getTypeList(type){
console.log('专业-区域-楼号-楼层 ====>',this.sbType,this.bimModel,'type ====>',type,'active ====>',this.active,'ttActive ===>',this.ttActive, this.tower)
console.log('类型 ====>','type ====>',type,)
let _draweClass = this.sbTypeKeys[this.sbType];
if(type == 'build'){
this.typeList = [];
@ -400,7 +402,7 @@ export default {
if(this.isShowType) {
this.page.current = 1;
//
this.getTypeList('',this.type,'');
this.getTypeList(this.type);
}
},
//
@ -516,7 +518,7 @@ export default {
this.active = activeNum;
this.tower = tower;
this.type = type
this.getTypeList('',type,'');
this.getTypeList(type);
if (this.sbType == '空开' && activeNum != 25) {
bfHelper.lookPipeline2(null, null, tower,
@ -787,7 +789,7 @@ export default {
clickTt(num,type) {
this.ttActive = num;
this.isShowType = false;
this.getTypeList(num,type,2)
this.getTypeList(type)
let camera = this.ttCameraPosition[num]
window.sessionStorage.setItem('ttcamera', JSON.stringify(camera));
window.sessionStorage.setItem('ttbuild', num);

@ -420,9 +420,9 @@ export default {
bfHelper.setOpacityFun();
setTimeout(() =>{
this.$refs.clickcp.area = 1;
this.$refs.clickcp.type = 'build';
this.$refs.clickcp.active = 25;
this.$refs.clickcp.getTypeList('build')
this.$refs.clickcp.type = 'build';
this.$refs.clickcp.active = 25;
this.$refs.clickcp.getTypeList('build')
},300)
this.getNavigationMap();
}

Loading…
Cancel
Save