menu.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. const menuList = [
  2. {
  3. index: "0",
  4. icon: "el-icon-s-home",
  5. name: "概览",
  6. url: "/homePage"
  7. },
  8. {
  9. index: "1",
  10. icon: "el-icon-monitor",
  11. name: "知识图谱构建",
  12. list: [
  13. {index: '1-1', name: "知识图谱本体管理", icon: "el-icon-user", url: "/graphModel"},
  14. {index: '1-2', name: "知识图谱管理", icon: "el-icon-user", url: "/graphSpaceManage"},
  15. {index: '1-3', name: "知识图谱导入", icon: "el-icon-user", url: "/graphImport"},
  16. ]
  17. },
  18. {
  19. index: "2",
  20. icon: "el-icon-s-custom",
  21. name: "用户管理",
  22. url: "/userManage"
  23. },
  24. {
  25. index: "3",
  26. icon: "el-icon-collection",
  27. name: "条目管理",
  28. url: "/entrysManage"
  29. },
  30. {
  31. index: "4",
  32. icon: "el-icon-headset",
  33. name: "反馈类型管理",
  34. url: "/feedbackTypeManage"
  35. },
  36. {
  37. index: "5",
  38. icon: "el-icon-s-opportunity",
  39. name: "快捷检索",
  40. url: "/intelligenceRecommend"
  41. }
  42. ];
  43. /*返回当前菜单列表*/
  44. export function getMenuList() {
  45. return menuList;
  46. }