fix:添加审计和全局
This commit is contained in:
+65
-15
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user