Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

249 rader
5.8 KiB

  1. import Main from '@/view/main'
  2. import parentView from '@/components/parent-view'
  3. /**
  4. * iui-admin中meta除了原生参数外可配置的参数:
  5. * meta: {
  6. * hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
  7. * notCache: (false) 设为true后页面不会缓存
  8. * access: (null) 可访问该页面的权限数组,当前路由设置的权限会影响子路由
  9. * icon: (-) 该页面在左侧菜单、面包屑和标签导航处显示的图标,如果是自定义图标,需要在图标名称前加下划线'_'
  10. * }
  11. */
  12. export default [
  13. {
  14. path: '/',
  15. name: 'home',
  16. redirect: '/overview',
  17. component: Main,
  18. meta: {
  19. hideInMenu: true,
  20. notCache: true,
  21. title: '',
  22. showInBreadCrumb: true
  23. },
  24. children: [
  25. {
  26. path: '/overview',
  27. name: 'overview',
  28. meta: {
  29. hideInMenu: true,
  30. title: '首页',
  31. notCache: true,
  32. showInBreadCrumb: true
  33. },
  34. component: () => import('@/view/overview')
  35. },
  36. {
  37. path: '/about',
  38. name: 'about',
  39. meta: {
  40. hideInMenu: true,
  41. title: '关于我们',
  42. notCache: true,
  43. showInBreadCrumb: true
  44. },
  45. component: () => import('@/view/about')
  46. },
  47. {
  48. path: '/vip',
  49. name: 'vip',
  50. meta: {
  51. hideInMenu: true,
  52. title: '通知',
  53. notCache: true,
  54. showInBreadCrumb: true
  55. },
  56. component: () => import('@/view/vip')
  57. },
  58. {
  59. path: '/company',
  60. name: 'company',
  61. meta: {
  62. hideInMenu: true,
  63. title: '企业认定',
  64. notCache: true,
  65. showInBreadCrumb: true
  66. },
  67. component: () => import('@/view/company')
  68. },
  69. {
  70. path: '/news',
  71. name: 'news',
  72. meta: {
  73. hideInMenu: true,
  74. title: '新闻资讯',
  75. notCache: true,
  76. showInBreadCrumb: true
  77. },
  78. component: () => import('@/view/news')
  79. },
  80. {
  81. path: '/policy',
  82. name: 'policy',
  83. meta: {
  84. hideInMenu: true,
  85. title: '产业政策',
  86. notCache: true,
  87. showInBreadCrumb: true
  88. },
  89. component: () => import('@/view/policy')
  90. },
  91. {
  92. path: '/trode',
  93. name: 'trode',
  94. meta: {
  95. hideInMenu: true,
  96. title: '行业动态',
  97. notCache: true,
  98. showInBreadCrumb: true
  99. },
  100. component: () => import('@/view/trode')
  101. },{
  102. path: '/member',
  103. name: 'member',
  104. meta: {
  105. hideInMenu: true,
  106. title: '会员产品',
  107. notCache: true,
  108. showInBreadCrumb: true
  109. },
  110. component: () => import('@/view/member')
  111. },{
  112. path: '/people',
  113. name: 'people',
  114. meta: {
  115. hideInMenu: true,
  116. title: '人力资源',
  117. notCache: true,
  118. showInBreadCrumb: true
  119. },
  120. component: () => import('@/view/people')
  121. },{
  122. path: '/data',
  123. name: 'data',
  124. meta: {
  125. hideInMenu: true,
  126. title: '数据上报',
  127. notCache: true,
  128. showInBreadCrumb: true
  129. },
  130. component: () => import('@/view/data')
  131. },
  132. {
  133. path: '/vip-service',
  134. name: 'vip-service',
  135. meta: {
  136. hideInMenu: true,
  137. title: '会员服务',
  138. notCache: true,
  139. showInBreadCrumb: true
  140. },
  141. component: () => import('@/view/vip-service')
  142. },
  143. {
  144. path: '/exchange',
  145. name: 'exchange',
  146. meta: {
  147. hideInMenu: true,
  148. title: '合作交流',
  149. notCache: true,
  150. showInBreadCrumb: true
  151. },
  152. component: () => import('@/view/exchange')
  153. },
  154. {
  155. path: '/vip-apply',
  156. name: 'vip-apply',
  157. meta: {
  158. hideInMenu: true,
  159. title: '会员服务',
  160. notCache: true,
  161. showInBreadCrumb: true
  162. },
  163. component: () => import('@/view/vip-apply')
  164. },
  165. {
  166. path: '/about-detail',
  167. name: 'about-detail',
  168. meta: {
  169. hideInMenu: true,
  170. title: '协会简介',
  171. notCache: true,
  172. showInBreadCrumb: true
  173. },
  174. component: () => import('@/view/about-detail')
  175. },
  176. {
  177. path: '/about-detail2',
  178. name: 'about-detail2',
  179. meta: {
  180. hideInMenu: true,
  181. title: '协会章程',
  182. notCache: true,
  183. showInBreadCrumb: true
  184. },
  185. component: () => import('@/view/about-detail2')
  186. },
  187. {
  188. path: '/connect',
  189. name: 'connect',
  190. meta: {
  191. hideInMenu: true,
  192. title: '联系我们',
  193. notCache: true,
  194. showInBreadCrumb: true
  195. },
  196. component: () => import('@/view/connect')
  197. },
  198. {
  199. path: '/km',
  200. name: 'km',
  201. meta: {
  202. hideInMenu: true,
  203. title: '知识产权',
  204. notCache: true,
  205. showInBreadCrumb: true
  206. },
  207. component: () => import('@/view/km')
  208. },
  209. {
  210. path: '/detail',
  211. name: 'detail',
  212. meta: {
  213. hideInMenu: true,
  214. title: '详情',
  215. notCache: true,
  216. showInBreadCrumb: true
  217. },
  218. component: () => import('@/view/detail')
  219. }
  220. ]
  221. },
  222. {
  223. path: '/401',
  224. name: 'error_401',
  225. meta: {
  226. hideInMenu: true
  227. },
  228. component: () => import('@/view/error-page/401.vue')
  229. },
  230. {
  231. path: '/500',
  232. name: 'error_500',
  233. meta: {
  234. hideInMenu: true
  235. },
  236. component: () => import('@/view/error-page/500.vue')
  237. },
  238. {
  239. path: '*',
  240. name: 'error_404',
  241. meta: {
  242. hideInMenu: true
  243. },
  244. component: () => import('@/view/error-page/404.vue')
  245. }
  246. ]