This commit is contained in:
@@ -296,6 +296,15 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
roles: ['R_SUPER']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'carrier-management',
|
||||
name: 'CarrierManagement',
|
||||
component: RoutesAlias.CarrierManagement,
|
||||
meta: {
|
||||
title: 'menus.account.carrierManagement',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'user-center',
|
||||
name: 'UserCenter',
|
||||
@@ -611,98 +620,98 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
// },
|
||||
// 物联网卡管理系统模块
|
||||
{
|
||||
path: '/card-management',
|
||||
name: 'CardManagement',
|
||||
component: RoutesAlias.Home,
|
||||
meta: {
|
||||
title: 'menus.cardManagement.title',
|
||||
icon: ''
|
||||
},
|
||||
children: [
|
||||
// {
|
||||
// path: 'card-detail',
|
||||
// name: 'CardDetail',
|
||||
// component: RoutesAlias.CardDetail,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardDetail',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
{
|
||||
path: 'single-card',
|
||||
name: 'SingleCard',
|
||||
component: RoutesAlias.SingleCard,
|
||||
meta: {
|
||||
title: 'menus.cardManagement.singleCard',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// {
|
||||
// path: 'card-assign',
|
||||
// name: 'CardAssign',
|
||||
// component: RoutesAlias.CardAssign,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardAssign',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-shutdown',
|
||||
// name: 'CardShutdown',
|
||||
// component: RoutesAlias.CardShutdown,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardShutdown',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'my-cards',
|
||||
// name: 'MyCards',
|
||||
// component: RoutesAlias.MyCards,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.myCards',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-transfer',
|
||||
// name: 'CardTransfer',
|
||||
// component: RoutesAlias.CardTransfer,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardTransfer',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-replacement',
|
||||
// name: 'CardReplacement',
|
||||
// component: RoutesAlias.CardReplacement,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardReplacement',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'package-gift',
|
||||
// name: 'PackageGift',
|
||||
// component: RoutesAlias.PackageGift,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.packageGift',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-change-card',
|
||||
// name: 'CardChangeCard',
|
||||
// component: RoutesAlias.CardChangeCard,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardChange',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// }
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/card-management',
|
||||
// name: 'CardManagement',
|
||||
// component: RoutesAlias.Home,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.title',
|
||||
// icon: ''
|
||||
// },
|
||||
// children: [
|
||||
// {
|
||||
// path: 'card-detail',
|
||||
// name: 'CardDetail',
|
||||
// component: RoutesAlias.CardDetail,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardDetail',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'single-card',
|
||||
// name: 'SingleCard',
|
||||
// component: RoutesAlias.SingleCard,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.singleCard',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-assign',
|
||||
// name: 'CardAssign',
|
||||
// component: RoutesAlias.CardAssign,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardAssign',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-shutdown',
|
||||
// name: 'CardShutdown',
|
||||
// component: RoutesAlias.CardShutdown,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardShutdown',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'my-cards',
|
||||
// name: 'MyCards',
|
||||
// component: RoutesAlias.MyCards,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.myCards',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-transfer',
|
||||
// name: 'CardTransfer',
|
||||
// component: RoutesAlias.CardTransfer,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardTransfer',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-replacement',
|
||||
// name: 'CardReplacement',
|
||||
// component: RoutesAlias.CardReplacement,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardReplacement',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'package-gift',
|
||||
// name: 'PackageGift',
|
||||
// component: RoutesAlias.PackageGift,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.packageGift',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: 'card-change-card',
|
||||
// name: 'CardChangeCard',
|
||||
// component: RoutesAlias.CardChangeCard,
|
||||
// meta: {
|
||||
// title: 'menus.cardManagement.cardChange',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/package-management',
|
||||
name: 'PackageManagement',
|
||||
@@ -969,6 +978,15 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
icon: ''
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'single-card',
|
||||
name: 'SingleCard',
|
||||
component: RoutesAlias.SingleCard,
|
||||
meta: {
|
||||
title: 'menus.cardManagement.singleCard',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'iot-card-management',
|
||||
name: 'StandaloneCardList',
|
||||
@@ -1072,15 +1090,6 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
{
|
||||
path: 'carrier-management',
|
||||
name: 'CarrierManagement',
|
||||
component: RoutesAlias.CarrierManagement,
|
||||
meta: {
|
||||
title: 'menus.account.carrierManagement',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'orders',
|
||||
name: 'OrderManagement',
|
||||
@@ -1089,7 +1098,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
title: 'menus.account.orders',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
}
|
||||
// {
|
||||
// path: 'my-account',
|
||||
// name: 'MyAccount',
|
||||
@@ -1099,56 +1108,56 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// keepAlive: true
|
||||
// }
|
||||
// }
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/commission',
|
||||
name: 'CommissionManagement',
|
||||
component: RoutesAlias.Home,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.management',
|
||||
icon: ''
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'commission',
|
||||
name: 'CommissionManagement',
|
||||
component: '',
|
||||
path: 'withdrawal-approval',
|
||||
name: 'WithdrawalApproval',
|
||||
component: RoutesAlias.WithdrawalApproval,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.management',
|
||||
icon: ''
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'withdrawal-approval',
|
||||
name: 'WithdrawalApproval',
|
||||
component: RoutesAlias.WithdrawalApproval,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.withdrawal',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'withdrawal-settings',
|
||||
name: 'CommissionWithdrawalSettings',
|
||||
component: RoutesAlias.CommissionWithdrawalSettings,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.withdrawalSettings',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'my-commission',
|
||||
name: 'MyCommission',
|
||||
component: RoutesAlias.MyCommission,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.myCommission',
|
||||
keepAlive: true,
|
||||
roles: ['R_AGENT']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'agent-commission',
|
||||
name: 'AgentCommission',
|
||||
component: RoutesAlias.AgentCommission,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.agentCommission',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
}
|
||||
]
|
||||
title: 'menus.commission.menu.withdrawal',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'withdrawal-settings',
|
||||
name: 'CommissionWithdrawalSettings',
|
||||
component: RoutesAlias.CommissionWithdrawalSettings,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.withdrawalSettings',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'my-commission',
|
||||
name: 'MyCommission',
|
||||
component: RoutesAlias.MyCommission,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.myCommission',
|
||||
keepAlive: true,
|
||||
roles: ['R_AGENT']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'agent-commission',
|
||||
name: 'AgentCommission',
|
||||
component: RoutesAlias.AgentCommission,
|
||||
meta: {
|
||||
title: 'menus.commission.menu.agentCommission',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user