background_backend.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // ********************************************************************************************************************
  2. // 后台管理主页
  3. const Background = () => import('views/admin/Background')
  4. // 后端系统
  5. const AdminGateway = () => import('views/admin/backend/AdminGateway')
  6. const AdminDubboService = () => import('views/admin/backend/AdminDubboService')
  7. const AdminSpringCloudService = () => import('views/admin/backend/AdminSpringCloudService')
  8. const AdminBackendLog = () => import('views/admin/backend/AdminBackendLog')
  9. const AdminAccessLog = () => import('views/admin/backend/AdminAccessLog')
  10. const NginxLog = () => import('views/devops/srv/NginxLog')
  11. const AdminRuntimeLog = () => import('views/admin/backend/AdminRuntimeLog')
  12. export default {
  13. path: '/bg/backend',
  14. redirect: '/bg',
  15. name: 'Backend',
  16. title: '后端系统',
  17. icon: 'el-icon-loading',
  18. component: Background,
  19. meta: { needAuth: true, roles: ['tnb_admin'] },
  20. children: [
  21. {
  22. path: '/bg/backend/gateway',
  23. name: 'Gateway',
  24. component: AdminGateway,
  25. title: '网关路由',
  26. icon: 'el-icon-loading',
  27. meta: { needAuth: true, roles: ['tnb_admin'] }
  28. },
  29. {
  30. path: '/bg/backend/dubbo_service',
  31. name: 'DubboService',
  32. title: 'Dubbo服务',
  33. icon: 'el-icon-loading',
  34. component: AdminDubboService,
  35. meta: { needAuth: true, roles: ['tnb_admin'] }
  36. },
  37. {
  38. path: '/bg/backend/springcloud_service',
  39. name: 'SpringCloudService',
  40. title: 'SpringCloud服务',
  41. icon: 'el-icon-loading',
  42. component: AdminSpringCloudService,
  43. meta: { needAuth: true, roles: ['tnb_admin'] }
  44. },
  45. {
  46. path: '/bg/backend/access_log',
  47. name: 'AccessLog',
  48. title: '访问日志',
  49. icon: 'el-icon-loading',
  50. component: NginxLog,
  51. meta: { needAuth: true, roles: ['tnb_admin'] }
  52. },
  53. {
  54. path: '/bg/backend/runtime_log',
  55. name: 'RuntimeLog',
  56. title: '运行日志',
  57. icon: 'el-icon-loading',
  58. component: AdminRuntimeLog,
  59. meta: { needAuth: true, roles: ['tnb_admin'] }
  60. },
  61. {
  62. path: '/bg/backend/realtime_log',
  63. name: 'Realtime',
  64. title: '实时日志',
  65. icon: 'el-icon-loading',
  66. component: AdminBackendLog,
  67. meta: { needAuth: true, roles: ['tnb_admin'] }
  68. }
  69. ]
  70. }