system.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. import Layout from '@/layout/index.vue'
  2. /**
  3. *
  4. * systemUser 用户管理
  5. * systemRole 角色管理
  6. * systemJurisdiction 权限管理
  7. * systemDataDictionary 数据字典
  8. * systemLog 日志信息
  9. */
  10. export const systemUser = {
  11. path: '/system',
  12. redirect: '/system/program',
  13. component: Layout,
  14. name: 'SystemUser',
  15. meta: {
  16. title: '系统管理',
  17. icon: 'el-icon-s-platform'
  18. },
  19. sort: 11,
  20. children: [
  21. {
  22. path: '/system/user',
  23. component: () => import('@/views/system/user/index.vue'),
  24. meta: {
  25. title: '用户管理'
  26. },
  27. sort: 1
  28. }
  29. ]
  30. }
  31. export const systemDept = {
  32. path: '/system',
  33. redirect: '/system/program',
  34. component: Layout,
  35. name: 'SystemDept',
  36. meta: {
  37. title: '系统管理',
  38. icon: 'el-icon-s-platform'
  39. },
  40. sort: 11,
  41. children: [
  42. {
  43. path: '/system/dept',
  44. component: () => import('@/views/system/dept/index.vue'),
  45. meta: {
  46. title: '部门管理'
  47. },
  48. sort: 2
  49. }
  50. ]
  51. }
  52. export const systemLog = {
  53. path: '/system',
  54. redirect: '/system/program',
  55. component: Layout,
  56. name: 'SystemLog',
  57. meta: {
  58. title: '系统管理',
  59. icon: 'el-icon-s-platform'
  60. },
  61. sort: 11,
  62. children: [
  63. {
  64. path: '/system/systemLog',
  65. component: () => import('@/views/system/systemLog/index.vue'),
  66. meta: {
  67. title: '日志信息'
  68. },
  69. sort: 3
  70. }
  71. ]
  72. }
  73. export const systemDataDictionary = {
  74. path: '/system',
  75. redirect: '/system/program',
  76. component: Layout,
  77. name: 'SystemDataDictionary',
  78. meta: {
  79. title: '系统管理',
  80. icon: 'el-icon-s-platform'
  81. },
  82. sort: 11,
  83. children: [
  84. {
  85. path: '/system/systemDataDictionary',
  86. component: () => import('@/views/system/systemDataDictionary/index.vue'),
  87. meta: {
  88. title: '数据字典'
  89. },
  90. sort: 4
  91. },
  92. {
  93. path: '/system/systemDataDictionary/:dictId',
  94. component: () => import('@/views/system/systemDataDictionary/data.vue'),
  95. meta: {
  96. title: '字典数据',
  97. hide: true
  98. }
  99. }
  100. ]
  101. }
  102. export const systemRole = {
  103. path: '/system',
  104. redirect: '/system/program',
  105. component: Layout,
  106. name: 'SystemRole',
  107. meta: {
  108. title: '系统管理',
  109. icon: 'el-icon-s-platform'
  110. },
  111. sort: 11,
  112. children: [
  113. {
  114. path: '/system/role',
  115. component: () => import('@/views/system/role/index.vue'),
  116. meta: {
  117. title: '角色管理'
  118. },
  119. sort: 5
  120. }
  121. ]
  122. }
  123. export const systemBackup = {
  124. path: '/system',
  125. redirect: '/system/program',
  126. component: Layout,
  127. name: 'SystemBackup',
  128. meta: {
  129. title: '系统管理',
  130. icon: 'el-icon-s-platform'
  131. },
  132. sort: 11,
  133. children: [
  134. {
  135. path: '/system/systemBackup',
  136. component: () => import('@/views/system/systemBackup/index.vue'),
  137. meta: {
  138. title: '系统备份'
  139. },
  140. sort: 6
  141. }
  142. ]
  143. }
  144. export const systemCommunication = {
  145. path: '/system',
  146. redirect: '/system/program',
  147. component: Layout,
  148. name: 'systemCommunication',
  149. meta: {
  150. title: '系统管理',
  151. icon: 'el-icon-s-platform'
  152. },
  153. sort: 11,
  154. children: [
  155. {
  156. path: '/system/systemCommunication',
  157. component: () => import('@/views/als/systemCommunication/index.vue'),
  158. meta: {
  159. title: '通讯管理'
  160. },
  161. sort: 6
  162. }
  163. ]
  164. }