let menuData = [ { icon: "menuIcons/index.png", title: "总台", code: "VOYAGELIST", path: "/index", items: [ { path: "/index", name: "总台", code: "VOYAGELIST", }, ], }, { icon: "menuIcons/ship.png", title: "航次管理", code: "VOYAGEMANAGE", path: "/voyage", items: [ { path: "/voyage/voyageList", name: "航次列表", code: "VOYAGELIST", }, ], }, { icon: "menuIcons/workplace.png", title: "工作站", code: "VOYAGELIST", path: "/workplaceManage", items: [ { path: "/workplaceManage/workplace", name: "工作站", code: "VOYAGELIST", }, ], }, { icon: "menuIcons/agency.png", title: "代理管理", code: "PROXYMANAGE", path: "/agencyManage", items: [ { path: "/agencyManage/agencyCompanyList", name: "代理公司列表", code: "PROXYLIST", }, ], }, { icon: "menuIcons/cargo.png", title: "货种管理", code: "CARGOMANAGE", path: "/cargoManage", items: [ { path: "/cargoManage/cargoList", name: "货种列表", code: "CARGOLIST", }, ], }, { icon: "menuIcons/account.png", title: "账户管理", code: "ACCOUNTMANAGE", path: "/accountManage", items: [ { path: "/accountManage/subAccountList", name: "员工列表", code: "ACCOUNTLIST", }, { path: "/accountManage/clientList", name: "客户列表", code: "CLIENTLIST", }, ], }, { icon: "menuIcons/setting.png", title: "权限管理", code: "PERMISSIONMANAGE", path: "/authManage", items: [ { path: "/authManage/departmentList", name: "部门列表", code: "DEPTMANAGE", }, { path: "/authManage/roleList", name: "职位列表", code: "ROLELIST", }, ], }, ]; export default menuData;