This commit is contained in:
@@ -1193,6 +1193,25 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'refund',
|
||||
name: 'RefundManagement',
|
||||
component: RoutesAlias.RefundManagement,
|
||||
meta: {
|
||||
title: '退款管理',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'refund/detail/:id',
|
||||
name: 'RefundDetailRoute',
|
||||
component: RoutesAlias.RefundDetail,
|
||||
meta: {
|
||||
title: '退款详情',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1305,5 +1324,81 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
// }
|
||||
]
|
||||
},
|
||||
|
||||
// 轮询管理
|
||||
{
|
||||
path: '/polling-management',
|
||||
name: 'PollingManagement',
|
||||
component: RoutesAlias.Home,
|
||||
meta: {
|
||||
title: '轮询管理',
|
||||
icon: ''
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'data-cleanup',
|
||||
name: 'DataCleanup',
|
||||
component: RoutesAlias.DataCleanup,
|
||||
meta: {
|
||||
title: '数据清理',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'alert-rules',
|
||||
name: 'AlertRules',
|
||||
component: RoutesAlias.AlertRules,
|
||||
meta: {
|
||||
title: '告警规则',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'alert-history',
|
||||
name: 'AlertHistory',
|
||||
component: RoutesAlias.AlertHistory,
|
||||
meta: {
|
||||
title: '告警历史',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'concurrency',
|
||||
name: 'PollingConcurrency',
|
||||
component: RoutesAlias.PollingConcurrency,
|
||||
meta: {
|
||||
title: '并发控制',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'config',
|
||||
name: 'PollingConfig',
|
||||
component: RoutesAlias.PollingConfig,
|
||||
meta: {
|
||||
title: '轮询配置',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'manual-trigger',
|
||||
name: 'ManualTrigger',
|
||||
component: RoutesAlias.ManualTrigger,
|
||||
meta: {
|
||||
title: '手动触发',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'monitor',
|
||||
name: 'PollingMonitor',
|
||||
component: RoutesAlias.PollingMonitor,
|
||||
meta: {
|
||||
title: '轮询监控',
|
||||
keepAlive: true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -129,7 +129,20 @@ export enum RoutesAlias {
|
||||
DeveloperApi = '/settings/developer-api', // 开发者API
|
||||
CommissionTemplate = '/settings/commission-template', // 分佣模板
|
||||
WechatConfig = '/settings/wechat-config', // 微信支付配置
|
||||
WechatConfigDetail = '/settings/wechat-config/detail' // 微信支付配置详情
|
||||
WechatConfigDetail = '/settings/wechat-config/detail', // 微信支付配置详情
|
||||
|
||||
// 退款管理
|
||||
RefundManagement = '/finance/refund', // 退款管理
|
||||
RefundDetail = '/finance/refund/detail', // 退款详情
|
||||
|
||||
// 轮询管理
|
||||
DataCleanup = '/polling-management/data-cleanup', // 数据清理
|
||||
AlertRules = '/polling-management/alert-rules', // 告警规则
|
||||
AlertHistory = '/polling-management/alert-history', // 告警历史
|
||||
PollingConcurrency = '/polling-management/concurrency', // 并发控制
|
||||
PollingConfig = '/polling-management/config', // 轮询配置
|
||||
ManualTrigger = '/polling-management/manual-trigger', // 手动触发
|
||||
PollingMonitor = '/polling-management/monitor' // 轮询监控
|
||||
}
|
||||
|
||||
// 主页路由
|
||||
|
||||
Reference in New Issue
Block a user