routes-file-three.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import Layout from '@/layout'
  2. const integrationRoutes = {
  3. path: '/integration',
  4. component: Layout,
  5. meta: { roles: ['dataCollect'] },
  6. children: [
  7. {
  8. path: '/integration',
  9. component: () => import('@/views/dataIntegration/index.vue'),
  10. meta: { title: '数据整合', icon: 'dataParser', imgstyle: 'ic_list_nav_search_default.png', imgstyleup: 'ic_list_nav_search_check.png' },
  11. children: [
  12. {
  13. path: '/integration',
  14. name: 'integration',
  15. component: {
  16. render (c) {
  17. return c('router-view')
  18. }
  19. },
  20. meta: { title: '数据整合' },
  21. children: [
  22. {
  23. path: '/integration',
  24. name: 'integrationHome',
  25. component: () => import('@/views/dataIntegration/views/integrationHome.vue')
  26. },
  27. {
  28. path: '/integration/interfaceEdit',
  29. name: 'InterfaceEdit',
  30. component: () => import('@/views/dataIntegration/views/interfaceEdit'),
  31. meta: { title: '编辑接口' }
  32. },
  33. {
  34. path: '/integration/interfaceLog',
  35. name: 'InterfaceLog',
  36. component: () => import('@/views/dataIntegration/views/interfaceLog'),
  37. meta: { title: '日志查询' }
  38. }
  39. ]
  40. }
  41. ]
  42. }
  43. ]
  44. }
  45. export default [
  46. integrationRoutes
  47. ]