|
|
|
|
@ -55,13 +55,6 @@ |
|
|
|
|
:style="{ 'top': topNav == 1 ? '1.25rem' : '1.938rem', 'left': topNav == 1 ? '1.25rem' : 'auto', 'right': topNav == 1 ? 'auto' : '7.625rem' }"> |
|
|
|
|
<img v-if="topNav == 1" src="../../../public/img/home-view.png" alt="" style="margin-right: 20px;" |
|
|
|
|
@click="goBackHome"> |
|
|
|
|
<!-- <img v-else src="../../../public/img/home-view.png" alt="" style="margin-right: 20px;" @click="goBackHome"> --> |
|
|
|
|
<!-- <div @click="selectBim(1)" :class="[bimModel==1?'active':'']" class="cut_select left" |
|
|
|
|
:style="{'borderColor':topNav == 1?'rgb(16,208,164)':'#00BAFE','boxShadow':bimModel == 1&&topNav == 1?'rgb(11, 163, 166) 0px 0px 0.875rem inset':bimModel == 1&&topNav == 3?'rgb(7, 144, 235) 0px 0px 0.875rem inset':'none'}"> |
|
|
|
|
业务区</div> |
|
|
|
|
<div @click="selectBim(2)" :class="[bimModel==2?'active':'']" class="cut_select right" |
|
|
|
|
:style="{'borderColor':topNav == 1?'rgb(16,208,164)':'#00BAFE','boxShadow':bimModel == 2&&topNav == 1?'rgb(11, 163, 166) 0px 0px 0.875rem inset':bimModel == 2&&topNav == 3?'rgb(7, 144, 235) 0px 0px 0.875rem inset':'none'}"> |
|
|
|
|
塔台</div> --> |
|
|
|
|
<div @click="selectBim(1)" :class="[bimModel == 1 ? 'active' : '']" class="cut_select left" |
|
|
|
|
:style="{ 'borderColor': topNav == 1 ? '#00bbff' : '#00BAFE', 'boxShadow': bimModel == 1 && topNav == 1 ? '#0790eb 0px 0px 0.875rem inset' : bimModel == 1 && topNav == 3 ? 'rgb(7, 144, 235) 0px 0px 0.875rem inset' : 'none' }"> |
|
|
|
|
业务区</div> |
|
|
|
|
@ -156,7 +149,6 @@ export default { |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
if (newValue == 1) { |
|
|
|
|
console.log(12222) |
|
|
|
|
this.status = true; |
|
|
|
|
bfHelper.resetStatus(1); //恢复全部状态 |
|
|
|
|
} else { |
|
|
|
|
@ -220,7 +212,6 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 顶部导航按钮 |
|
|
|
|
topNavFun(i) { |
|
|
|
|
|
|
|
|
|
window.sessionStorage.removeItem('build'); |
|
|
|
|
window.sessionStorage.removeItem('floor'); |
|
|
|
|
window.sessionStorage.removeItem('ttbuild'); |
|
|
|
|
@ -235,7 +226,11 @@ export default { |
|
|
|
|
} |
|
|
|
|
this.clickNum++; |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
}else if(i == 1) { |
|
|
|
|
this.clickNum = 1; |
|
|
|
|
this.goBackHome();//回主视角 |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
this.clickNum = 1; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
@ -254,15 +249,15 @@ export default { |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
if (name == '电') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(1); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(1,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(1); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(1,name,true); |
|
|
|
|
} |
|
|
|
|
} else if (name == '水') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(2); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(2,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(2); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(2,name,true); |
|
|
|
|
} |
|
|
|
|
} else if (name == '热') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
@ -270,9 +265,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
} else if (name == '监控') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(4); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(4,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(3); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(3,name,true); |
|
|
|
|
} |
|
|
|
|
} else if (name == '照明') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
@ -280,15 +275,15 @@ export default { |
|
|
|
|
} |
|
|
|
|
} else if (name == '消防') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(6); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(6,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(4); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(4,name,true); |
|
|
|
|
} |
|
|
|
|
} else if (name == '电梯') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(7); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(7,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(5); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(5,name,true); |
|
|
|
|
} |
|
|
|
|
} else if (name == '空调') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
@ -296,21 +291,21 @@ export default { |
|
|
|
|
} |
|
|
|
|
} else if (name == '电子门禁') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(9); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(9,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(6); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(6,name,true); |
|
|
|
|
} |
|
|
|
|
} else if (name == '电子围界') { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(10); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(10,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(7); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(7,name,true); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
if (this.bimModel == 1) { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(9); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(9,name,true); |
|
|
|
|
} else { |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(6); |
|
|
|
|
this.$refs.monitoringPattern.clickMenu(6,name,true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|