pages.js 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. import Layout from '@/layout/index.vue'
  2. import { createNameComponent } from '../createNode'
  3. const route = [
  4. {
  5. path: '/trackManager',
  6. component: Layout,
  7. redirect: 'trackManager/waybillManager',
  8. meta: { title: '运单管理', icon: 'icon-fabu' },
  9. children: [
  10. {
  11. path: 'waybillManager',
  12. component: createNameComponent(() => import('@/views/trackManager/waybillManager.vue')),
  13. meta: { title: '运单管理', cache: false, },
  14. },
  15. {
  16. path: 'deviceAbnormality',
  17. component: createNameComponent(() => import('@/views/trackManager/deviceAbnormality.vue')),
  18. meta: { title: '设备异常管理', cache: false, },
  19. },
  20. {
  21. path: 'loadDeviation',
  22. component: createNameComponent(() => import('@/views/trackManager/loadDeviation.vue')),
  23. meta: { title: '装货地异常管理', cache: false, },
  24. },
  25. {
  26. path: 'abnormalWaybill',
  27. component: createNameComponent(() => import('@/views/trackManager/abnormalWaybill.vue')),
  28. meta: { title: '卸货地异常管理', cache: false, },
  29. },
  30. // {
  31. // path: 'publishDetail',
  32. // component: createNameComponent(() => import('@/views/trackManager/publishDetail.vue')),
  33. // meta: { title: '发布详情', hideMenuItem: true, cache: false, },
  34. // },
  35. ]
  36. },
  37. {
  38. path: '/auditPlaceShip',
  39. component: Layout,
  40. redirect: 'trackManager/auditPlaceShip',
  41. meta: { title: '供应商仓库管理', icon: 'icon-fabu' },
  42. children: [
  43. {
  44. path: 'auditPlaceShip',
  45. component: createNameComponent(() => import('@/views/trackManager/auditPlaceShip.vue')),
  46. meta: { title: '待审核仓库列表', cache: false, },
  47. },
  48. {
  49. path: 'placeShip',
  50. component: createNameComponent(() => import('@/views/trackManager/placeShip.vue')),
  51. meta: { title: '已通过仓库列表', cache: false, },
  52. },
  53. {
  54. path: 'unPlaceShip',
  55. component: createNameComponent(() => import('@/views/trackManager/unPlaceShip.vue')),
  56. meta: { title: '已拒绝仓库列表', cache: false, },
  57. },
  58. ]
  59. },
  60. // 收发货地范围管理
  61. {
  62. path: '/configManager',
  63. component: Layout,
  64. redirect: 'trackManager/configManager',
  65. meta: { title: '收发货地范围管理', icon: 'icon-shezhi' },
  66. children: [
  67. {
  68. path: 'configManager',
  69. component: createNameComponent(() => import('@/views/configManager/index.vue')),
  70. meta: { title: '收发货地范围管理', cache: false,icon: 'icon-shezhi' },
  71. }
  72. ]
  73. }
  74. ]
  75. export default route