1
0

routes.ts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. export default [
  2. {
  3. path: '/user',
  4. layout: false,
  5. routes: [
  6. // 登录页面
  7. {
  8. name: 'login',
  9. path: '/user/login',
  10. component: './user/Login',
  11. },
  12. {
  13. component: './404',
  14. },
  15. ],
  16. },
  17. // 首页
  18. {
  19. path: '/welcome',
  20. name: '首页',
  21. icon: 'smile',
  22. component: './Welcome',
  23. },
  24. // 内容发布
  25. {
  26. name: '内容发布',
  27. icon: 'crown',
  28. path: '/cms',
  29. routes: [
  30. // 栏目管理
  31. {
  32. path: '/cms/columnList',
  33. name: '栏目管理',
  34. icon: 'file',
  35. component: './cms/ColumnList',
  36. },
  37. // 文章管理
  38. {
  39. path: '/cms/articleManagement',
  40. name: '文章管理',
  41. icon: 'file',
  42. component: './cms/ArticleManagement',
  43. },
  44. ],
  45. },
  46. // 红外管理
  47. {
  48. path: '/infrared',
  49. name: '红外管理',
  50. icon: 'Appstore',
  51. routes: [
  52. // 类型管理
  53. {
  54. path: '/infrared/type',
  55. name: '版本管理',
  56. icon: 'Appstore',
  57. component: './Infrared',
  58. },
  59. // 品牌管理
  60. {
  61. path: '/infrared/brand',
  62. name: '品牌管理',
  63. icon: 'Appstore',
  64. component: './Infrared/brand',
  65. },
  66. // 码库管理
  67. {
  68. path: '/infrared/remote',
  69. name: '码库管理',
  70. icon: 'Appstore',
  71. component: './Infrared/remote',
  72. },
  73. ],
  74. },
  75. // 版本管理
  76. {
  77. path: '/editionManagement',
  78. name: '版本管理',
  79. icon: 'Appstore',
  80. component: './EditionManagement',
  81. },
  82. // 用户管理
  83. {
  84. path: '/UserManagement',
  85. name: '用户管理',
  86. icon: 'team',
  87. component: './setting/UserManagement',
  88. },
  89. // 家列表管理
  90. {
  91. path: '/homeList',
  92. name: '家列表管理',
  93. icon: 'file',
  94. component: './home',
  95. },
  96. // 菜单管理
  97. {
  98. path: '/MenuManagement',
  99. name: '菜单管理',
  100. icon: 'Appstore',
  101. component: './MenuManagement',
  102. },
  103. // 角色管理
  104. {
  105. path: '/RoleManagement',
  106. name: '角色管理',
  107. icon: 'Appstore',
  108. component: './RoleManagement',
  109. },
  110. // 报备管理
  111. {
  112. path: '/ReportingManagement',
  113. name: '报备管理',
  114. icon: 'Appstore',
  115. component: './ReportingManagement',
  116. },
  117. {
  118. path: '/ParameterConfiguration',
  119. name: '参数配置',
  120. icon: 'Appstore',
  121. component: './ParameterConfiguration',
  122. },
  123. // {
  124. // path: '/LogManagement',
  125. // name: '日志管理',
  126. // icon: 'Appstore',
  127. // component: './LogManagement',
  128. // },
  129. {
  130. path: '/ProductionDataManagement',
  131. name: '产测数据管理',
  132. icon: 'Appstore',
  133. component: './ProductionDataManagement',
  134. },
  135. {
  136. path: '/DataBoard',
  137. name: '可视化视窗',
  138. icon: 'file',
  139. layout: false,
  140. component: './DataBoard',
  141. },
  142. // 房间列表
  143. {
  144. path: '/roomList',
  145. component: './Home/Room',
  146. },
  147. {
  148. path: '/',
  149. redirect: '/welcome',
  150. },
  151. {
  152. component: './404',
  153. },
  154. ];