diff --git a/src/components/monitoring/clickCp.vue b/src/components/monitoring/clickCp.vue index 19651d7..d97db30 100644 --- a/src/components/monitoring/clickCp.vue +++ b/src/components/monitoring/clickCp.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); diff --git a/src/components/monitoring/light.vue b/src/components/monitoring/light.vue index 28e077c..a96eb0c 100644 --- a/src/components/monitoring/light.vue +++ b/src/components/monitoring/light.vue @@ -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(); }