fix:添加审计和全局
Build and Deploy Vue3 / build (push) Successful in 1m10s
Build and Deploy Vue3 / deploy (push) Successful in 3m51s

This commit is contained in:
2025-09-24 13:48:13 +08:00
parent 1b6874cc5f
commit 7a3134ac0c
14 changed files with 3739 additions and 272 deletions
+65 -15
View File
@@ -41,6 +41,7 @@ const routes = [
},
component: () => import('../views/ticket/TicketChat.vue'),
},
// ACS管理路由
{
path: 'acs',
@@ -139,22 +140,23 @@ const routes = [
title: '系统管理',
icon: 'Setting'
},
redirect: '/system/users',
redirect: '/system/domain-whitelist',
children: [
{
path: 'users',
name: 'Users',
component: () => import('../views/system/Users.vue'),
meta: {
title: '用户管理'
}
},
{
path: 'operation-log',
name: 'OperationLog',
component: OperationLog,
meta: { title: '操作日志' }
},
// 注释掉的用户管理和操作日志路由,与菜单配置保持一致
// {
// path: 'users',
// name: 'Users',
// component: () => import('../views/system/Users.vue'),
// meta: {
// title: '用户管理'
// }
// },
// {
// path: 'operation-log',
// name: 'OperationLog',
// component: OperationLog,
// meta: { title: '操作日志' }
// },
{
path: 'domain-whitelist',
name: 'DomainWhitelist',
@@ -163,6 +165,54 @@ const routes = [
}
]
},
// 站点审计路由
{
path: 'audit',
name: 'Audit',
meta: {
title: '站点审计',
icon: 'Monitor'
},
redirect: '/audit/all',
children: [
{
path: 'all',
name: 'AuditAll',
component: () => import('../views/audit/AllSites.vue'),
meta: {
title: '所有站点'
}
},
{
path: 'violation',
name: 'AuditViolation',
component: () => import('../views/audit/ViolationSites.vue'),
meta: {
title: '违规站点'
}
}
]
},
// 全局设置管理路由
{
path: 'setting',
name: 'Setting',
meta: {
title: '全局设置管理',
icon: 'Setting'
},
redirect: '/setting/global',
children: [
{
path: 'global',
name: 'GlobalSetting',
component: () => import('../views/setting/GlobalSetting.vue'),
meta: {
title: '全局设置'
}
}
]
},
// 个人中心路由
{
path: 'profile',