|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<div>
|
|
|
|
|
<div class="title">智慧物联监控平台</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div :class="`menu ${nowMenu==='1'? 'menuClick' :''}`" style="left: 2%" @click="toLink('index')">
|
|
|
|
|
<div :class="`menu ${nowMenu==='1'? 'menuClick' :''}`" style="left: 2%" @click="toLink('index')" v-if="isIndex">
|
|
|
|
|
<span>
|
|
|
|
|
监控主页
|
|
|
|
|
</span>
|
|
|
|
@ -52,7 +52,8 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
selectSecnesList: [],
|
|
|
|
|
name: '智慧场景'
|
|
|
|
|
name: '智慧场景',
|
|
|
|
|
isIndex : true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
@ -63,6 +64,11 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
|
if(this.$store.state.user.permissions.includes('business:monitor:index') || this.$store.state.user.permissions.includes('*:*:*')){
|
|
|
|
|
this.isIndex = true
|
|
|
|
|
}else{
|
|
|
|
|
this.isIndex = false
|
|
|
|
|
}
|
|
|
|
|
this.setSelectSecnes()
|
|
|
|
|
if (this.$route.name === 'SmartScene') {
|
|
|
|
|
if (this.$route.query?.name) {
|
|
|
|
|