feat(前端状态): 添加运维监控状态管理和路由
- 新增 adminSettings store 管理 ops 配置状态 - 注册 adminSettings store 到全局 store - 添加 ops 监控相关路由(dashboard, alerts, realtime, settings)
This commit is contained in:
@@ -163,6 +163,18 @@ const routes: RouteRecordRaw[] = [
|
||||
descriptionKey: 'admin.dashboard.description'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/admin/ops',
|
||||
name: 'AdminOps',
|
||||
component: () => import('@/views/admin/ops/OpsDashboard.vue'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
requiresAdmin: true,
|
||||
title: 'Ops Monitoring',
|
||||
titleKey: 'admin.ops.title',
|
||||
descriptionKey: 'admin.ops.description'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/admin/users',
|
||||
name: 'AdminUsers',
|
||||
|
||||
Reference in New Issue
Block a user