base.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. var routers = [
  2. {
  3. path: '/base/customerInfo/list',
  4. name: 'baseCustomerInfoList',
  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/base/customerInfo-list.vue'),
  9. meta: {
  10. roles: ["admin"],
  11. title: '客户管理'
  12. }
  13. },
  14. {
  15. path: '/base/technicianInfo/list',
  16. name: 'baseTechnicianInfoList',
  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/technicianInfo-list.vue'),
  21. meta: {
  22. roles: ["admin"],
  23. title: '师傅管理'
  24. }
  25. },
  26. {
  27. path: '/base/workOrder/list',
  28. name: 'baseWorkOrderList',
  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/workOrder-list.vue'),
  33. meta: {
  34. roles: ["admin"],
  35. title: '工单管理'
  36. }
  37. },
  38. {
  39. path: '/base/argonPartner/list',
  40. name: 'baseArgonPartnerList',
  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/argonPartner-list.vue'),
  45. meta: {
  46. roles: ["admin"],
  47. title: '氩气合作商管理'
  48. }
  49. },
  50. {
  51. path: '/base/laborerInfo/list',
  52. name: 'baseLaborerInfoList',
  53. // route level code-splitting
  54. // this generates a separate chunk (about.[hash].js) for this route
  55. // which is lazy-loaded when the route is visited.
  56. component: () => import('@/views/base/laborerInfo-list.vue'),
  57. meta: {
  58. roles: ["admin"],
  59. title: '搬运小工管理'
  60. }
  61. },
  62. {
  63. path: '/base/transportationInfo/list',
  64. name: 'baseTransportationInfoList',
  65. // route level code-splitting
  66. // this generates a separate chunk (about.[hash].js) for this route
  67. // which is lazy-loaded when the route is visited.
  68. component: () => import('@/views/base/transportationInfo-list.vue'),
  69. meta: {
  70. roles: ["admin"],
  71. title: '运输方管理'
  72. }
  73. },
  74. ]
  75. export default routers;