新增: 轮询管理
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m17s

This commit is contained in:
sexygoat
2026-03-30 14:59:56 +08:00
parent dbe6070207
commit a05717c2ed
28 changed files with 6865 additions and 103 deletions

View File

@@ -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
}
}
]
}
]

View File

@@ -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' // 轮询监控
}
// 主页路由