12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import Layout from '@/layout'
- const integrationRoutes = {
- path: '/integration',
- component: Layout,
- meta: { roles: ['dataCollect'] },
- children: [
- {
- path: '/integration',
- component: () => import('@/views/dataIntegration/index.vue'),
- meta: { title: '数据整合', icon: 'dataParser', imgstyle: 'ic_list_nav_search_default.png', imgstyleup: 'ic_list_nav_search_check.png' },
- children: [
- {
- path: '/integration',
- name: 'integration',
- component: {
- render (c) {
- return c('router-view')
- }
- },
- meta: { title: '数据整合' },
- children: [
- {
- path: '/integration',
- name: 'integrationHome',
- component: () => import('@/views/dataIntegration/views/integrationHome.vue')
- },
- {
- path: '/integration/interfaceEdit',
- name: 'InterfaceEdit',
- component: () => import('@/views/dataIntegration/views/interfaceEdit'),
- meta: { title: '编辑接口' }
- },
- {
- path: '/integration/interfaceLog',
- name: 'InterfaceLog',
- component: () => import('@/views/dataIntegration/views/interfaceLog'),
- meta: { title: '日志查询' }
- }
- ]
- }
- ]
- }
- ]
- }
- export default [
- integrationRoutes
- ]
|