This commit is contained in:
@@ -39,27 +39,6 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
]
|
||||
},
|
||||
|
||||
// 临期资产
|
||||
{
|
||||
path: '/operations',
|
||||
name: 'Operations',
|
||||
component: RoutesAlias.Home,
|
||||
meta: {
|
||||
title: '运营管理'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'expiring-assets',
|
||||
name: 'ExpiringAssets',
|
||||
component: RoutesAlias.ExpiringAssets,
|
||||
meta: {
|
||||
title: '临期资产',
|
||||
keepAlive: true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// 仪表台
|
||||
{
|
||||
name: 'Dashboard',
|
||||
@@ -352,6 +331,16 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// 临期资产
|
||||
{
|
||||
path: 'expiring-assets',
|
||||
name: 'ExpiringAssets',
|
||||
component: RoutesAlias.ExpiringAssets,
|
||||
meta: {
|
||||
title: '临期资产',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
// IoT卡管理
|
||||
{
|
||||
path: 'iot-card-management',
|
||||
@@ -775,6 +764,72 @@ export const asyncRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'wecom',
|
||||
name: 'WecomSettings',
|
||||
redirect: RoutesAlias.WecomApplications,
|
||||
meta: {
|
||||
title: '企业微信配置',
|
||||
isHide: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
// 企业微信应用
|
||||
{
|
||||
path: 'wecom/applications',
|
||||
name: 'WecomApplications',
|
||||
component: RoutesAlias.WecomApplications,
|
||||
meta: {
|
||||
title: '企微应用管理',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
// 企业微信应用配置详情
|
||||
{
|
||||
path: 'wecom/applications/create',
|
||||
name: 'WecomApplicationCreate',
|
||||
component: RoutesAlias.WecomApplicationDetail,
|
||||
meta: {
|
||||
title: '新增企微应用',
|
||||
isHide: true,
|
||||
keepAlive: false,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'wecom/applications/detail/:id',
|
||||
name: 'WecomApplicationDetail',
|
||||
component: RoutesAlias.WecomApplicationDetail,
|
||||
meta: {
|
||||
title: '企微应用配置',
|
||||
isHide: true,
|
||||
keepAlive: false,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
// 企业微信成员及默认发起人
|
||||
{
|
||||
path: 'wecom/members',
|
||||
name: 'WecomMembers',
|
||||
component: RoutesAlias.WecomMembers,
|
||||
meta: {
|
||||
title: '企微成员管理',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
},
|
||||
// 企业微信审批场景
|
||||
{
|
||||
path: 'wecom/scenes',
|
||||
name: 'WecomScenes',
|
||||
component: RoutesAlias.WecomScenes,
|
||||
meta: {
|
||||
title: '企微审批场景',
|
||||
keepAlive: true,
|
||||
roles: ['R_SUPER', 'R_ADMIN']
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user