feat(admin): AuditLogs + RuntimeLogs views + RBAC role management

This commit is contained in:
Simon
2026-07-09 13:46:20 +08:00
parent d480aa4c1d
commit db70a3a6a8
10 changed files with 957 additions and 27 deletions
+15 -1
View File
@@ -116,7 +116,21 @@ const routes = [
path: 'system-logs',
name: 'SystemLogs',
component: () => import('@/views/SystemLogs.vue'),
meta: { title: '系统日志', requiresAuth: true },
meta: { title: '配置变更历史', requiresAuth: true },
},
{
// 安全审计日志(复用既有后端 GET /api/admin/audit-logs
path: 'audit-logs',
name: 'AuditLogs',
component: () => import('@/views/AuditLogs.vue'),
meta: { title: '安全审计日志', requiresAuth: true },
},
{
// 运行期日志(新增后端 GET /api/admin/runtime-logs
path: 'runtime-logs',
name: 'RuntimeLogs',
component: () => import('@/views/RuntimeLogs.vue'),
meta: { title: '运行期日志', requiresAuth: true },
},
{
// P2 占位页:主题模板