“运维与审计控制台”。
主要能力: SuperAdmin 专用入口:组织与权限 → 运维与审计。 操作日志分页查询,支持时间、账号、路径、方法和状态码筛选。 汇总自动排课、课表发布、补考安排三类失败后台任务。 实时检查数据库、缓存、任务通道及积压状态。 聚合 5xx、失败/重试任务、健康探针和备份时效告警。 SQLite 在线备份;MySQL 调用原生客户端备份。 SHA-256 校验及隔离数据库恢复演练,不覆盖业务库。 MySQL 强制使用独立运维连接,容器增加持久化备份卷与数据库客户端。
This commit is contained in:
@@ -97,6 +97,7 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
|
||||
{ path: '/students', label: '学生档案' },
|
||||
),
|
||||
...whenVisible(auth.isSuperAdmin, { path: '/users', label: '用户与权限' }),
|
||||
...whenVisible(auth.isSuperAdmin, { path: '/operations', label: '运维与审计' }),
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -291,6 +291,12 @@ const router = createRouter({
|
||||
component: () => import('../views/UsersView.vue'),
|
||||
meta: { roles: ['SuperAdmin'] },
|
||||
},
|
||||
{
|
||||
path: 'operations',
|
||||
name: 'operations',
|
||||
component: () => import('../views/OperationsConsoleView.vue'),
|
||||
meta: { roles: ['SuperAdmin'] },
|
||||
},
|
||||
{
|
||||
path: 'evaluations',
|
||||
name: 'evaluations',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user