|
|
@@ -72,7 +72,12 @@ export default {
|
|
|
return {
|
|
|
title: null, //标题
|
|
|
subtitle: null, //副标题
|
|
|
- menuList: [], //菜单栏配置
|
|
|
+ menuList: [
|
|
|
+ { name: '工程全景', label: '工程全景' },
|
|
|
+ // { name: '智慧预警', label: '智慧预警' },
|
|
|
+ { name: '统计分析', label: '统计分析' },
|
|
|
+ { name: '决策支持', label: '决策支持' }
|
|
|
+ ], //菜单栏配置
|
|
|
currentActive: '', //当前激活模块版块
|
|
|
currentProjectActive: '', //当前项目级激活功能模块
|
|
|
specificTime: null, //系统当前时间
|
|
|
@@ -120,6 +125,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
// this.getUserActiveModule()
|
|
|
+ this.currentProjectActive = this.menuList[0].label
|
|
|
this.title = this.config.title
|
|
|
this.subtitle = this.config.subtitle
|
|
|
this.showCurrentTime()
|
|
|
@@ -143,7 +149,7 @@ export default {
|
|
|
currentProjectActive: {
|
|
|
handler(n, o) {
|
|
|
this.activeModule(n)
|
|
|
- // this.$store.state.bigScreen.currentActive = n
|
|
|
+ this.$store.state.bigScreen.currentActive = n
|
|
|
}
|
|
|
// immediate:true
|
|
|
}
|