|
@@ -14,44 +14,58 @@ export default {
|
|
|
path: '/bg/backend',
|
|
path: '/bg/backend',
|
|
|
redirect: '/bg/account',
|
|
redirect: '/bg/account',
|
|
|
name: 'Backend',
|
|
name: 'Backend',
|
|
|
|
|
+ title: '后端系统',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
component: Background,
|
|
component: Background,
|
|
|
- meta: { needAuth: true, roles: ['admin'] },
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] },
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: '/bg/backend/gateway',
|
|
path: '/bg/backend/gateway',
|
|
|
name: 'Gateway',
|
|
name: 'Gateway',
|
|
|
component: AdminGateway,
|
|
component: AdminGateway,
|
|
|
- meta: { needAuth: true, roles: ['admin'] }
|
|
|
|
|
|
|
+ title: '网关',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/backend/dubbo_service',
|
|
path: '/bg/backend/dubbo_service',
|
|
|
name: 'DubboService',
|
|
name: 'DubboService',
|
|
|
|
|
+ title: 'Dubbo服务',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
component: AdminDubboService,
|
|
component: AdminDubboService,
|
|
|
- meta: { needAuth: true, roles: ['admin'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/backend/springcloud_service',
|
|
path: '/bg/backend/springcloud_service',
|
|
|
name: 'SpringCloudService',
|
|
name: 'SpringCloudService',
|
|
|
|
|
+ title: 'SpringCloud服务',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
component: AdminSpringCloudService,
|
|
component: AdminSpringCloudService,
|
|
|
- meta: { needAuth: true, roles: ['admin'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/backend/access_log',
|
|
path: '/bg/backend/access_log',
|
|
|
name: 'AccessLog',
|
|
name: 'AccessLog',
|
|
|
|
|
+ title: '访问日志',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
component: AdminAccessLog,
|
|
component: AdminAccessLog,
|
|
|
- meta: { needAuth: true, roles: ['admin'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/backend/runtime_log',
|
|
path: '/bg/backend/runtime_log',
|
|
|
name: 'RuntimeLog',
|
|
name: 'RuntimeLog',
|
|
|
|
|
+ title: '运行日志',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
component: AdminRuntimeLog,
|
|
component: AdminRuntimeLog,
|
|
|
- meta: { needAuth: true, roles: ['admin'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/backend/realtime_log',
|
|
path: '/bg/backend/realtime_log',
|
|
|
name: 'Realtime',
|
|
name: 'Realtime',
|
|
|
|
|
+ title: '实时日志',
|
|
|
|
|
+ icon: 'el-icon-user',
|
|
|
component: AdminBackendLog,
|
|
component: AdminBackendLog,
|
|
|
- meta: { needAuth: true, roles: ['admin'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin'] }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|