This commit is contained in:
@@ -51,6 +51,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// {
|
||||
// path: '/widgets',
|
||||
// name: 'Widgets',
|
||||
@@ -266,6 +267,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
|
||||
{
|
||||
path: '/system',
|
||||
name: 'System',
|
||||
@@ -429,6 +431,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
]
|
||||
},
|
||||
|
||||
// {
|
||||
// path: '/article',
|
||||
// name: 'Article',
|
||||
@@ -712,6 +715,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
|
||||
{
|
||||
path: '/package-management',
|
||||
name: 'PackageManagement',
|
||||
@@ -780,6 +784,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/shop-management',
|
||||
name: 'ShopManagement',
|
||||
@@ -800,6 +805,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/account-management',
|
||||
name: 'AccountManagement',
|
||||
@@ -885,6 +891,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// {
|
||||
// path: '/product',
|
||||
// name: 'Product',
|
||||
@@ -950,6 +957,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
|
||||
{
|
||||
path: '/asset-management',
|
||||
name: 'AssetManagement',
|
||||
@@ -977,44 +985,6 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'iot-card-management/detail',
|
||||
name: 'IotCardDetail',
|
||||
component: RoutesAlias.StandaloneCardList + '/detail',
|
||||
meta: {
|
||||
title: 'menus.assetManagement.iotCardDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'iot-card-task',
|
||||
name: 'IotCardTask',
|
||||
component: RoutesAlias.IotCardTask,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.iotCardTask',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'device-task',
|
||||
name: 'DeviceTask',
|
||||
component: RoutesAlias.DeviceTask,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.deviceTask',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'task-detail',
|
||||
name: 'TaskDetail',
|
||||
component: RoutesAlias.TaskDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.taskDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'devices',
|
||||
name: 'DeviceList',
|
||||
@@ -1024,63 +994,6 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'device-detail',
|
||||
name: 'DeviceDetail',
|
||||
component: RoutesAlias.DeviceDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.deviceDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'asset-assign',
|
||||
name: 'AssetAssign',
|
||||
component: RoutesAlias.AssetAssign,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.assetAssign',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'asset-assign/detail/:id',
|
||||
name: 'AssetAssignDetail',
|
||||
component: RoutesAlias.AssetAssignDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.assetAssignDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
// {
|
||||
// path: 'card-replacement-request',
|
||||
// name: 'CardReplacementRequest',
|
||||
// component: RoutesAlias.CardReplacementRequest,
|
||||
// meta: {
|
||||
// title: 'menus.assetManagement.cardReplacementRequest',
|
||||
// keepAlive: true
|
||||
// }
|
||||
// },
|
||||
{
|
||||
path: 'authorization-records',
|
||||
name: 'AuthorizationRecords',
|
||||
component: RoutesAlias.AuthorizationRecords,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.authorizationRecords',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'authorization-records/detail/:id',
|
||||
name: 'AuthorizationRecordDetail',
|
||||
component: RoutesAlias.AuthorizationRecordDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.authorizationRecordDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'enterprise-devices',
|
||||
name: 'EnterpriseDevices',
|
||||
@@ -1090,9 +1003,100 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
// 记录管理
|
||||
{
|
||||
path: 'records',
|
||||
name: 'RecordsManagement',
|
||||
component: '',
|
||||
meta: {
|
||||
title: 'menus.assetManagement.recordsManagement',
|
||||
keepAlive: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'asset-assign',
|
||||
name: 'AssetAssign',
|
||||
component: RoutesAlias.AssetAssign,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.assetAssign',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'asset-assign/detail/:id',
|
||||
name: 'AssetAssignDetail',
|
||||
component: RoutesAlias.AssetAssignDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.assetAssignDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'authorization-records',
|
||||
name: 'AuthorizationRecords',
|
||||
component: RoutesAlias.AuthorizationRecords,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.authorizationRecords',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'authorization-records/detail/:id',
|
||||
name: 'AuthorizationRecordDetail',
|
||||
component: RoutesAlias.AuthorizationRecordDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.authorizationRecordDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
// 任务管理
|
||||
{
|
||||
path: 'tasks',
|
||||
name: 'TaskManagement',
|
||||
component: '',
|
||||
meta: {
|
||||
title: 'menus.assetManagement.taskManagement',
|
||||
keepAlive: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'iot-card-task',
|
||||
name: 'IotCardTask',
|
||||
component: RoutesAlias.IotCardTask,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.iotCardTask',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'device-task',
|
||||
name: 'DeviceTask',
|
||||
component: RoutesAlias.DeviceTask,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.deviceTask',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'task-detail',
|
||||
name: 'TaskDetail',
|
||||
component: RoutesAlias.TaskDetail,
|
||||
meta: {
|
||||
title: 'menus.assetManagement.taskDetail',
|
||||
isHide: true,
|
||||
keepAlive: false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/account',
|
||||
name: 'Finance',
|
||||
@@ -1141,6 +1145,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
// }
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/commission',
|
||||
name: 'CommissionManagement',
|
||||
@@ -1192,6 +1197,7 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
// {
|
||||
// path: '/settings',
|
||||
// name: 'Settings',
|
||||
|
||||
Reference in New Issue
Block a user