fix: some
This commit is contained in:
@@ -4,6 +4,11 @@ import { BULK_PURCHASE_PERMISSIONS } from '@/config/constants/bulkPurchase'
|
||||
import { JULY_PERMISSIONS } from '@/config/constants/julyIteration'
|
||||
import { AUDIT_PERMISSIONS } from '@/config/constants/audit'
|
||||
import { AUGUST_PERMISSIONS } from '@/config/constants/augustIteration'
|
||||
import { PAYMENT_MERCHANT_POOL_PERMISSIONS } from '@/config/constants/paymentMerchantPools'
|
||||
import {
|
||||
BUSINESS_USER_GROUP_PERMISSIONS,
|
||||
SHOP_BUSINESS_OWNER_PERMISSIONS
|
||||
} from '@/config/constants'
|
||||
|
||||
/**
|
||||
* 菜单列表、异步路由
|
||||
@@ -206,6 +211,37 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
// 真流量预警规则
|
||||
{
|
||||
path: 'traffic-alert-rules',
|
||||
name: 'TrafficAlertRules',
|
||||
component: RoutesAlias.TrafficAlertRules,
|
||||
meta: {
|
||||
title: 'menus.packageManagement.trafficAlertRules',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// 真流量达量预警记录
|
||||
{
|
||||
path: 'traffic-alerts',
|
||||
name: 'TrafficAlerts',
|
||||
component: RoutesAlias.TrafficAlerts,
|
||||
meta: {
|
||||
title: 'menus.packageManagement.trafficAlerts',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// 真流量达量预警记录详情
|
||||
{
|
||||
path: 'traffic-alerts/detail/:id',
|
||||
name: 'TrafficAlertDetail',
|
||||
component: RoutesAlias.TrafficAlertDetail,
|
||||
meta: {
|
||||
title: 'menus.packageManagement.trafficAlertDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -240,6 +276,30 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
// 业务用户组
|
||||
{
|
||||
path: 'business-user-groups',
|
||||
name: 'BusinessUserGroups',
|
||||
component: RoutesAlias.BusinessUserGroups,
|
||||
meta: {
|
||||
title: 'menus.shopManagement.businessUserGroups',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN'],
|
||||
permissions: [BUSINESS_USER_GROUP_PERMISSIONS.page]
|
||||
}
|
||||
},
|
||||
// 业务负责人导入
|
||||
{
|
||||
path: 'business-owner-import',
|
||||
name: 'BusinessOwnerImport',
|
||||
component: RoutesAlias.BusinessOwnerImport,
|
||||
meta: {
|
||||
title: 'menus.shopManagement.businessOwnerImport',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN'],
|
||||
permissions: [SHOP_BUSINESS_OWNER_PERMISSIONS.importPage]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -359,6 +419,40 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
// 手机号资产关联
|
||||
{
|
||||
path: 'phone-asset-association',
|
||||
name: 'PhoneAssetAssociation',
|
||||
component: RoutesAlias.PhoneAssetAssociation,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.phoneAssetAssociation',
|
||||
permissions: [AUGUST_PERMISSIONS.phoneAssetAssociation.list],
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// 解绑导入任务列表
|
||||
{
|
||||
path: 'phone-asset-association/unbind-import-tasks',
|
||||
name: 'PhoneAssetUnbindImportTasks',
|
||||
component: RoutesAlias.PhoneAssetUnbindImportTasks,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.phoneAssetUnbindImportTasks',
|
||||
permissions: [AUGUST_PERMISSIONS.phoneAssetAssociation.unbindImportPage],
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// 解绑导入任务详情
|
||||
{
|
||||
path: 'phone-asset-association/unbind-import-tasks/detail',
|
||||
name: 'PhoneAssetUnbindImportTaskDetail',
|
||||
component: RoutesAlias.PhoneAssetUnbindImportTaskDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.phoneAssetUnbindImportTaskDetail',
|
||||
permissions: [AUGUST_PERMISSIONS.phoneAssetAssociation.unbindImportDetail],
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
// 记录管理
|
||||
{
|
||||
path: 'record-management',
|
||||
@@ -590,6 +684,26 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-commission-record',
|
||||
name: 'ExportCommissionRecordTaskList',
|
||||
component: RoutesAlias.ExportCommissionRecordTaskList,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.exportCommissionRecord',
|
||||
exportTaskScene: 'commission_record',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-package-traffic-alert',
|
||||
name: 'ExportPackageTrafficAlertTaskList',
|
||||
component: RoutesAlias.ExportPackageTrafficAlertTaskList,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.exportPackageTrafficAlert',
|
||||
exportTaskScene: 'package_traffic_alert',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'export-task-detail',
|
||||
name: 'ExportTaskDetail',
|
||||
@@ -915,7 +1029,8 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
title: 'menus.settings.detailsOfPaymentMerchant',
|
||||
isHide: true,
|
||||
keepAlive: false,
|
||||
allowedUserTypes: [1, 2]
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [PAYMENT_MERCHANT_POOL_PERMISSIONS.merchantDetail]
|
||||
}
|
||||
},
|
||||
// 商户池详情
|
||||
@@ -927,7 +1042,8 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
title: 'menus.settings.detailsOfPaymentMerchantPool',
|
||||
isHide: true,
|
||||
keepAlive: false,
|
||||
allowedUserTypes: [1, 2]
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [PAYMENT_MERCHANT_POOL_PERMISSIONS.poolDetail]
|
||||
}
|
||||
},
|
||||
// 支付设置详情
|
||||
@@ -963,17 +1079,6 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
// 代理自充设置(跳转系统配置并带上模块筛选)
|
||||
{
|
||||
path: 'agent-self-recharge',
|
||||
name: 'AgentSelfRechargeSettings',
|
||||
redirect: { path: RoutesAlias.SystemConfigs, query: { module: 'c2b.payment' } },
|
||||
meta: {
|
||||
title: 'menus.settings.agentSelfRecharge',
|
||||
keepAlive: false,
|
||||
roles: ['R_SUPER']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'wecom',
|
||||
name: 'WecomSettings',
|
||||
@@ -1016,6 +1121,18 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
// H5运营弹窗配置
|
||||
{
|
||||
path: 'h5-popup-configuration',
|
||||
name: 'H5PopupConfigurations',
|
||||
component: RoutesAlias.H5PopupConfigurations,
|
||||
meta: {
|
||||
title: 'menus.settings.h5PopupConfiguration',
|
||||
keepAlive: true,
|
||||
allowedUserTypes: [1, 2],
|
||||
permissions: [AUGUST_PERMISSIONS.h5PopupConfiguration.list]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user