mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
feat(web): 新增设备管理功能
- 新增设备管理页面和相关功能
This commit is contained in:
@@ -80,6 +80,7 @@ export default {
|
||||
},
|
||||
{
|
||||
name: '场站管理',
|
||||
path: '/station',
|
||||
icon: 'icon-caidanguanli'
|
||||
},
|
||||
{
|
||||
@@ -92,15 +93,15 @@ export default {
|
||||
},
|
||||
{
|
||||
name: '设备管理',
|
||||
icon: 'icon-rizhiguanli'
|
||||
path: '/device '
|
||||
},
|
||||
{
|
||||
name: '告警日志',
|
||||
icon: 'icon-rizhiguanli'
|
||||
path: '/log'
|
||||
},
|
||||
{
|
||||
name: '系统日志',
|
||||
icon: 'icon-rizhiguanli'
|
||||
path: '/syslog'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -126,8 +127,9 @@ export default {
|
||||
this.$router.push(menu.path)
|
||||
},
|
||||
subMenuClick(subMenu) {
|
||||
debugger
|
||||
this.subCurrentKey = subMenu.path
|
||||
this.$router.push(subMenu.path)
|
||||
this.$router.push('/system'+subMenu.path)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -197,6 +199,7 @@ export default {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
margin: 0 20px;
|
||||
}
|
||||
.active {
|
||||
border: 1px solid $border-color;
|
||||
|
||||
Reference in New Issue
Block a user