system.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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:'helpCenter/addDoc',
  57. name:'SystemHelpCenterAddDoc',
  58. component:()=>import('@/views/system/helpCenter/AddDocment.vue'),
  59. meta:{
  60. title:'添加文章'
  61. },
  62. },
  63. {
  64. path:'helpCenter/detail',
  65. name:'SystemHelpCenterDetail',
  66. component:()=>import('@/views/system/helpCenter/DocmentDetail.vue'),
  67. meta:{
  68. title:'查看文章'
  69. },
  70. },
  71. {
  72. path:'helpCenter/classify',
  73. name:'SystemHelpCenterClassify',
  74. component:()=>import('@/views/system/helpCenter/classify/Index.vue'),
  75. meta:{
  76. title:'分类管理'
  77. },
  78. },
  79. ]
  80. }
  81. ]