index.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /** When your routing table is too long, you can split it into small modules**/
  2. import Layout from '@/layout'
  3. const cargoOwnerManagementRouter = {
  4. path: '/cargoOwnerManagement',
  5. component: Layout,
  6. redirect: 'noRedirect',
  7. t: new Date(),
  8. name: 'cargoOwnerManagement',
  9. meta: {
  10. title: '货主管理',
  11. icon: 'huozhuguanli',
  12. module: 'changyuntong.huozhuguanli',
  13. },
  14. children: [{
  15. path: 'empowerExamine',
  16. name: 'empowerExamine',
  17. t: new Date(),
  18. component: () =>
  19. import ('@/views/cargoOwnerManagement/empowerExamine'),
  20. meta: {
  21. title: '货主信息',
  22. icon: '',
  23. module: 'changyuntong.huozhuguanli',
  24. }
  25. },
  26. {
  27. path: 'merchantVerification',
  28. name: 'merchantVerification',
  29. t: new Date(),
  30. component: () =>
  31. import ('@/views/cargoOwnerManagement/merchantVerification'),
  32. meta: {
  33. title: '授权审核',
  34. icon: '',
  35. module: 'changyuntong.huozhuguanli.shouquan.view',
  36. }
  37. },
  38. {
  39. path: 'taskAudit',
  40. name: 'taskAudit',
  41. t: new Date(),
  42. component: () =>
  43. import ('@/views/cargoOwnerManagement/taskAudit'),
  44. meta: {
  45. title: '任务审核',
  46. icon: '',
  47. module: 'changyuntong.huozhuguanli.renwu.view',
  48. }
  49. }
  50. ]
  51. }
  52. export default cargoOwnerManagementRouter