base.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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/enterpriseCertificationApprove/detail',
  28. name: 'baseEnterpriseCertificationApproveDetail',
  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/enterpriseCertificationApprove-detail.vue'),
  33. meta: {
  34. roles: ["admin"],
  35. title: '企业信息维护'
  36. }
  37. }
  38. ]
  39. export default routers;