menuData.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. let menuData = [
  2. {
  3. icon: "menuIcons/index.png",
  4. title: "总台",
  5. code: "VOYAGELIST",
  6. path: "/index",
  7. items: [
  8. {
  9. path: "/index",
  10. name: "总台",
  11. code: "VOYAGELIST",
  12. },
  13. ],
  14. },
  15. {
  16. icon: "menuIcons/ship.png",
  17. title: "航次管理",
  18. code: "VOYAGEMANAGE",
  19. path: "/voyage",
  20. items: [
  21. {
  22. path: "/voyage/voyageList",
  23. name: "航次列表",
  24. code: "VOYAGELIST",
  25. },
  26. ],
  27. },
  28. {
  29. icon: "menuIcons/workplace.png",
  30. title: "工作站",
  31. code: "VOYAGELIST",
  32. path: "/workplaceManage",
  33. items: [
  34. {
  35. path: "/workplaceManage/workplace",
  36. name: "工作站",
  37. code: "VOYAGELIST",
  38. },
  39. ],
  40. },
  41. {
  42. icon: "menuIcons/agency.png",
  43. title: "代理管理",
  44. code: "PROXYMANAGE",
  45. path: "/agencyManage",
  46. items: [
  47. {
  48. path: "/agencyManage/agencyCompanyList",
  49. name: "代理公司列表",
  50. code: "PROXYLIST",
  51. },
  52. ],
  53. },
  54. {
  55. icon: "menuIcons/cargo.png",
  56. title: "货种管理",
  57. code: "CARGOMANAGE",
  58. path: "/cargoManage",
  59. items: [
  60. {
  61. path: "/cargoManage/cargoList",
  62. name: "货种列表",
  63. code: "CARGOLIST",
  64. },
  65. ],
  66. },
  67. {
  68. icon: "menuIcons/account.png",
  69. title: "账户管理",
  70. code: "ACCOUNTMANAGE",
  71. path: "/accountManage",
  72. items: [
  73. {
  74. path: "/accountManage/subAccountList",
  75. name: "员工列表",
  76. code: "ACCOUNTLIST",
  77. },
  78. {
  79. path: "/accountManage/clientList",
  80. name: "客户列表",
  81. code: "CLIENTLIST",
  82. },
  83. ],
  84. },
  85. {
  86. icon: "menuIcons/setting.png",
  87. title: "权限管理",
  88. code: "PERMISSIONMANAGE",
  89. path: "/authManage",
  90. items: [
  91. {
  92. path: "/authManage/departmentList",
  93. name: "部门列表",
  94. code: "DEPTMANAGE",
  95. },
  96. {
  97. path: "/authManage/roleList",
  98. name: "职位列表",
  99. code: "ROLELIST",
  100. },
  101. ],
  102. },
  103. ];
  104. export default menuData;