base.js 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. var routers = [
  2. {
  3. path: '/sys/user/list',
  4. name: 'SysUserList',
  5. // route level code-splitting
  6. // this generates a separate chunk (about.[hash].js) for this route
  7. // which is lazy-loaded when the route is visited.
  8. component: () => import('@/views/sys/user-list.vue'),
  9. meta: {
  10. roles: ["admin"],
  11. title: '用户管理'
  12. }
  13. },
  14. {
  15. path: '/base/labourServices/list',
  16. name: 'baseLabourServicesList',
  17. // route level code-splitting
  18. // this generates a separate chunk (about.[hash].js) for this route
  19. // which is lazy-loaded when the route is visited.
  20. component: () => import('@/views/base/labourServices-list.vue'),
  21. meta: {
  22. roles: ["admin"],
  23. title: '劳务对接管理'
  24. }
  25. },
  26. {
  27. path: '/base/company/list',
  28. name: 'baseCompanyList',
  29. // route level code-splitting
  30. // this generates a separate chunk (about.[hash].js) for this route
  31. // which is lazy-loaded when the route is visited.
  32. component: () => import('@/views/base/company-list.vue'),
  33. meta: {
  34. roles: ["admin"],
  35. title: '企业信息管理'
  36. }
  37. },
  38. {
  39. path: '/base/enterpriseCertificationApprove/detail',
  40. name: 'baseEnterpriseCertificationApproveDetail',
  41. // route level code-splitting
  42. // this generates a separate chunk (about.[hash].js) for this route
  43. // which is lazy-loaded when the route is visited.
  44. component: () => import('@/views/base/enterpriseCertificationApprove-detail.vue'),
  45. meta: {
  46. roles: ["admin"],
  47. title: '企业信息维护'
  48. }
  49. },
  50. {
  51. path: '/base/labourServices/lookUp',
  52. name: 'labourServicesLookUp',
  53. component: () => import('@/views/base/labourServices-lookUp.vue'),
  54. meta: {
  55. roles: ["admin"],
  56. title: '劳务对接信息详情'
  57. }
  58. },
  59. {
  60. path: '/base/messageNotice/list',
  61. name: 'messageNoticeList',
  62. component: () => import('@/views/base/messageNotice-list.vue'),
  63. meta: {
  64. roles: ["admin"],
  65. title: '通知管理'
  66. }
  67. },
  68. {
  69. path: '/base/userAuthenticationApprove/list',
  70. name: 'userAuthenticationApproveList',
  71. component: () => import('@/views/base/userAuthenticationApprove-list.vue'),
  72. meta: {
  73. roles: ["admin"],
  74. title: '用户实名审核'
  75. }
  76. },
  77. {
  78. path: '/base/enterpriseCertificationApprove/list',
  79. name: 'EnterpriseCertificationApproveList',
  80. component: () => import('@/views/base/enterpriseCertificationApprove-list.vue'),
  81. meta: {
  82. roles: ["admin"],
  83. title: '企业信息审核'
  84. }
  85. },
  86. {
  87. path: '/base/labourServicesApprove/list',
  88. name: 'LabourServicesApproveList',
  89. component: () => import('@/views/base/labourServicesApprove-list.vue'),
  90. meta: {
  91. roles: ["admin"],
  92. title: '劳务对接审核'
  93. }
  94. },
  95. ]
  96. export default routers;