system.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. import LayoutIndex from "@/layout/Index.vue";
  2. export default[
  3. {
  4. path:'/system',
  5. name:'SystemRole',
  6. component:LayoutIndex,
  7. meta:{
  8. title:'权限配置'
  9. },
  10. children:[
  11. {
  12. path:'roleMenuAuth',
  13. name:'SystemRoleMenuAuth',
  14. component:()=>import('@/views/system/RoleMenuAuth.vue'),
  15. meta:{
  16. title:'权限配置'
  17. },
  18. },
  19. ]
  20. },
  21. {
  22. path:'/system',
  23. name:'SystemSet',
  24. component:LayoutIndex,
  25. meta:{
  26. title:'个性化设置'
  27. },
  28. children:[
  29. {
  30. path:'commonSet',
  31. name:'SystemCommonSet',
  32. component:()=>import('@/views/system/CommonSet.vue'),
  33. meta:{
  34. title:'个性化设置'
  35. },
  36. },
  37. ]
  38. },
  39. {
  40. path:'/system',
  41. name:'System',
  42. component:LayoutIndex,
  43. meta:{
  44. title:'系统设置'
  45. },
  46. children:[
  47. {
  48. path:'helpCenter',
  49. name:'SystemHelpCenter',
  50. component:()=>import('@/views/system/helpCenter/Index.vue'),
  51. meta:{
  52. title:'帮助中心配置'
  53. },
  54. },
  55. {
  56. path:'addDoc',
  57. name:'SystemHelpCenterAddDoc',
  58. component:()=>import('@/views/system/helpCenter/AddDocment.vue'),
  59. meta:{
  60. title:'添加文章',
  61. pathFrom: "helpCenter",
  62. pathName: "帮助中心配置",
  63. },
  64. },
  65. {
  66. path:'detail',
  67. name:'SystemHelpCenterDetail',
  68. component:()=>import('@/views/system/helpCenter/DocmentDetail.vue'),
  69. meta:{
  70. title:'查看文章',
  71. pathFrom: "helpCenter",
  72. pathName: "帮助中心配置",
  73. },
  74. },
  75. {
  76. path:'classify',
  77. name:'SystemHelpCenterClassify',
  78. component:()=>import('@/views/system/helpCenter/classify/Index.vue'),
  79. meta:{
  80. title:'分类管理',
  81. pathFrom: "helpCenter",
  82. pathName: "帮助中心配置",
  83. },
  84. },
  85. {
  86. path:'updateLog',
  87. name:'SystemUpdateLog',
  88. component:()=>import('@/views/system/updateLog.vue'),
  89. meta:{
  90. title:'更新日志配置'
  91. }
  92. },
  93. ]
  94. }
  95. ]