feat(admin): AuditLogs + RuntimeLogs views + RBAC role management
This commit is contained in:
@@ -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 占位页:主题模板
|
||||
|
||||
Reference in New Issue
Block a user