This commit is contained in:
@@ -5,6 +5,8 @@ import { JULY_PERMISSIONS } from '@/config/constants/julyIteration'
|
||||
import { AUDIT_PERMISSIONS } from '@/config/constants/audit'
|
||||
import { AUGUST_PERMISSIONS } from '@/config/constants/augustIteration'
|
||||
import { GATEWAY_PERMISSIONS } from '@/config/constants/gateway'
|
||||
import { POLLING_CONFIG_PERMISSIONS } from '@/config/constants/pollingConfig'
|
||||
import { SCHEDULER_PERMISSIONS } from '@/config/constants/pollingScheduler'
|
||||
import { PAYMENT_MERCHANT_POOL_PERMISSIONS } from '@/config/constants/paymentMerchantPools'
|
||||
import {
|
||||
EXPORT_TASK_DETAIL_PAGE_PERMISSION,
|
||||
@@ -797,6 +799,42 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
permissions: [EXPORT_TASK_SCENE_CONFIG.operations_renewal.permissions.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-polling-pause',
|
||||
name: 'ExportPollingPause',
|
||||
component: RoutesAlias.ExportPollingPause,
|
||||
meta: {
|
||||
title: '导出不轮询清单',
|
||||
exportTaskScene: 'polling_pause',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [EXPORT_TASK_SCENE_CONFIG.polling_pause.permissions.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-polling-stop-refused-alert',
|
||||
name: 'ExportPollingStopRefusedAlert',
|
||||
component: RoutesAlias.ExportPollingStopRefusedAlert,
|
||||
meta: {
|
||||
title: '导出停机被拒告警',
|
||||
exportTaskScene: 'polling_stop_refused_alert',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [EXPORT_TASK_SCENE_CONFIG.polling_stop_refused_alert.permissions.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-stop-resume-rule-dry-run',
|
||||
name: 'ExportStopResumeDryRun',
|
||||
component: RoutesAlias.ExportStopResumeDryRun,
|
||||
meta: {
|
||||
title: '导出停复机规则演练',
|
||||
exportTaskScene: 'stop_resume_rule_dry_run',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [EXPORT_TASK_SCENE_CONFIG.stop_resume_rule_dry_run.permissions.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-task-detail',
|
||||
name: 'ExportTaskDetail',
|
||||
@@ -1268,6 +1306,113 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
icon: ''
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'carrier-params',
|
||||
name: 'PollingCarrierParams',
|
||||
component: RoutesAlias.PollingCarrierParams,
|
||||
meta: {
|
||||
title: '运营商账户调度参数',
|
||||
keepAlive: true,
|
||||
permissions: [SCHEDULER_PERMISSIONS.params.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'carrier-params/detail/:carrier_id',
|
||||
name: 'PollingCarrierParamDetail',
|
||||
component: RoutesAlias.PollingCarrierParamDetail,
|
||||
meta: {
|
||||
title: '运营商账户调度参数详情',
|
||||
keepAlive: false,
|
||||
isHide: true,
|
||||
permissions: [SCHEDULER_PERMISSIONS.params.detailPage]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'check-scenes',
|
||||
name: 'PollingCheckScenes',
|
||||
component: RoutesAlias.PollingCheckScenes,
|
||||
meta: {
|
||||
title: '请求检查场景',
|
||||
keepAlive: true,
|
||||
permissions: [SCHEDULER_PERMISSIONS.scenes.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'failure-alerts',
|
||||
name: 'PollingFailureAlerts',
|
||||
component: RoutesAlias.PollingFailureAlerts,
|
||||
meta: {
|
||||
title: '失败告警',
|
||||
keepAlive: true,
|
||||
permissions: [SCHEDULER_PERMISSIONS.alerts.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'failure-alerts/detail/:id',
|
||||
name: 'PollingFailureAlertDetail',
|
||||
component: RoutesAlias.PollingFailureAlertDetail,
|
||||
meta: {
|
||||
title: '失败告警详情',
|
||||
keepAlive: false,
|
||||
isHide: true,
|
||||
permissions: [SCHEDULER_PERMISSIONS.alerts.detailPage]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'carrier-queues',
|
||||
name: 'PollingCarrierQueues',
|
||||
component: RoutesAlias.PollingCarrierQueues,
|
||||
meta: {
|
||||
title: '账户队列监控',
|
||||
keepAlive: true,
|
||||
permissions: [SCHEDULER_PERMISSIONS.queues.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'stop-resume-dry-run',
|
||||
name: 'StopResumeDryRun',
|
||||
component: RoutesAlias.StopResumeDryRun,
|
||||
meta: {
|
||||
title: '停复机规则演练',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [SCHEDULER_PERMISSIONS.dryRun.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'polling-pauses',
|
||||
name: 'PollingPauses',
|
||||
component: RoutesAlias.PollingPauses,
|
||||
meta: {
|
||||
title: '不轮询清单',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [SCHEDULER_PERMISSIONS.pauses.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'polling-status-imports',
|
||||
name: 'PollingStatusImports',
|
||||
component: RoutesAlias.PollingStatusImports,
|
||||
meta: {
|
||||
title: '轮询开关导入',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [SCHEDULER_PERMISSIONS.imports.page]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'polling-status-imports/detail/:id',
|
||||
name: 'PollingStatusImportDetail',
|
||||
component: RoutesAlias.PollingStatusImportDetail,
|
||||
meta: {
|
||||
title: '轮询开关导入详情',
|
||||
keepAlive: false,
|
||||
isHide: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [SCHEDULER_PERMISSIONS.imports.detailPage]
|
||||
}
|
||||
},
|
||||
// 数据清理
|
||||
{
|
||||
path: 'data-cleanup',
|
||||
@@ -1318,7 +1463,17 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// 手动触发
|
||||
// 轮询配置统计
|
||||
{
|
||||
path: 'config-stats',
|
||||
name: 'PollingConfigStats',
|
||||
component: RoutesAlias.PollingConfigStats,
|
||||
meta: {
|
||||
title: '轮询配置统计',
|
||||
keepAlive: true,
|
||||
permissions: [POLLING_CONFIG_PERMISSIONS.statsPage]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'manual-trigger',
|
||||
name: 'ManualTrigger',
|
||||
|
||||
@@ -141,6 +141,20 @@ export enum RoutesAlias {
|
||||
AlertHistory = '/polling-management/alert-history', // 告警历史
|
||||
PollingConcurrency = '/polling-management/concurrency', // 并发控制
|
||||
PollingConfig = '/polling-management/config', // 轮询配置
|
||||
PollingConfigStats = '/polling-management/config-stats', // 轮询配置统计
|
||||
PollingCarrierParams = '/polling-management/carrier-params',
|
||||
PollingCarrierParamDetail = '/polling-management/carrier-params/detail',
|
||||
PollingCheckScenes = '/polling-management/check-scenes',
|
||||
PollingFailureAlerts = '/polling-management/failure-alerts',
|
||||
PollingFailureAlertDetail = '/polling-management/failure-alerts/detail',
|
||||
PollingCarrierQueues = '/polling-management/carrier-queues',
|
||||
StopResumeDryRun = '/polling-management/stop-resume-dry-run',
|
||||
PollingPauses = '/polling-management/polling-pauses',
|
||||
PollingStatusImports = '/polling-management/polling-status-imports',
|
||||
PollingStatusImportDetail = '/polling-management/polling-status-imports/detail',
|
||||
ExportPollingPause = '/asset-management/export-task-management/export-polling-pause',
|
||||
ExportPollingStopRefusedAlert = '/asset-management/export-task-management/export-polling-stop-refused-alert',
|
||||
ExportStopResumeDryRun = '/asset-management/export-task-management/export-stop-resume-rule-dry-run',
|
||||
ManualTrigger = '/polling-management/manual-trigger', // 手动触发
|
||||
PollingMonitor = '/polling-management/monitor', // 轮询监控
|
||||
PollingPriorityQueue = '/polling-management/priority-queue', // 优先队列
|
||||
|
||||
Reference in New Issue
Block a user