This commit is contained in:
@@ -2,6 +2,7 @@ import { RoutesAlias } from '../routesAlias'
|
||||
import { AppRouteRecord } from '@/types/router'
|
||||
import { BULK_PURCHASE_PERMISSIONS } from '@/config/constants/bulkPurchase'
|
||||
import { JULY_PERMISSIONS } from '@/config/constants/julyIteration'
|
||||
import { AUDIT_PERMISSIONS } from '@/config/constants/audit'
|
||||
|
||||
/**
|
||||
* 菜单列表、异步路由
|
||||
@@ -692,6 +693,72 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
]
|
||||
},
|
||||
|
||||
// 审计中心
|
||||
{
|
||||
path: '/audit',
|
||||
name: 'AuditCenter',
|
||||
component: RoutesAlias.Home,
|
||||
meta: {
|
||||
title: '审计中心',
|
||||
icon: '',
|
||||
permissions: [AUDIT_PERMISSIONS.centerPage]
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'events',
|
||||
name: 'AuditEvents',
|
||||
component: RoutesAlias.AuditEvents,
|
||||
meta: {
|
||||
title: '审计事件',
|
||||
permissions: [AUDIT_PERMISSIONS.eventList],
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'events/:eventId',
|
||||
name: 'AuditEventDetail',
|
||||
component: RoutesAlias.AuditEventDetail,
|
||||
meta: {
|
||||
title: '审计事件详情',
|
||||
permissions: [AUDIT_PERMISSIONS.eventDetail],
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'risks',
|
||||
name: 'AuditRisks',
|
||||
component: RoutesAlias.AuditRisks,
|
||||
meta: {
|
||||
title: '风险中心',
|
||||
permissions: [AUDIT_PERMISSIONS.riskPage],
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'integrations',
|
||||
name: 'AuditIntegrations',
|
||||
component: RoutesAlias.AuditIntegrations,
|
||||
meta: {
|
||||
title: '外部交互',
|
||||
permissions: [AUDIT_PERMISSIONS.integrationPage],
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'integrations/:integrationId',
|
||||
name: 'AuditIntegrationDetail',
|
||||
component: RoutesAlias.AuditIntegrationDetail,
|
||||
meta: {
|
||||
title: '外部交互详情',
|
||||
permissions: [AUDIT_PERMISSIONS.integrationDetail],
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// 佣金管理
|
||||
{
|
||||
path: '/commission',
|
||||
|
||||
Reference in New Issue
Block a user