menu.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. export default [
  2. {
  3. path: '/home',
  4. meta: { title: '首页', icon: 'home' },
  5. },
  6. {
  7. meta: { title: '题目管理', icon: 'user' },
  8. path: '/examQuestionManagement',
  9. children: [
  10. {
  11. path: '/examQuestionManagement/list',
  12. meta: { title: '题目列表', icon: 'user' },
  13. },
  14. {
  15. meta: { title: '新建题目', icon: 'user' },
  16. path: '/examQuestionManagement/create',
  17. children: [
  18. {
  19. path: '/examQuestionManagement/create/singleChoice',
  20. meta: { title: '单选题', icon: 'user' },
  21. },
  22. {
  23. path: '/examQuestionManagement/create/multipleChoice',
  24. meta: { title: '多选题', icon: 'user' },
  25. },
  26. {
  27. path: '/examQuestionManagement/create/trueOrFalse',
  28. meta: { title: '判断题', icon: 'user' },
  29. },
  30. {
  31. path: '/examQuestionManagement/create/gapFilling',
  32. meta: { title: '填空题', icon: 'user' },
  33. },
  34. ],
  35. },
  36. ],
  37. },
  38. {
  39. meta: { title: '考试管理', icon: 'user' },
  40. path: '/examManagement',
  41. children: [
  42. {
  43. path: '/examManagement/list',
  44. meta: { title: '考试列表', icon: 'user' },
  45. },
  46. {
  47. path: '/examManagement/detail',
  48. meta: { title: '考试详情', icon: 'user' },
  49. },
  50. {
  51. meta: { title: '新建考试', icon: 'user' },
  52. path: '/examManagement/create',
  53. children: [
  54. {
  55. path: '/examManagement/manualVolumeFormation',
  56. meta: { title: '手动组卷', icon: 'user' },
  57. },
  58. {
  59. path: '/examManagement/automaticVolumeFormation',
  60. meta: { title: '自动组卷', icon: 'user' },
  61. },
  62. ],
  63. },
  64. ],
  65. },
  66. {
  67. meta: { title: '文章管理', icon: 'user' },
  68. path: '/articleManagement',
  69. children: [
  70. {
  71. path: '/articleManagement/list',
  72. meta: { title: '文章列表', icon: 'user' },
  73. },
  74. {
  75. path: '/articleManagement/create',
  76. meta: { title: '新建文章', icon: 'user' },
  77. }
  78. ],
  79. },
  80. ];