export default {
  path: '/datachannel',
  name: 'datachannel',
  meta: { title: '通道', icon: 'fa fa-database' },
  component: 'dbgather/index',
  children: [
    {
      path: '/datachannel/fromWeb',
      meta: { title: '从Web采集', icon: 'fa fa-hand-lizard-o' },
      component: 'gather/fromWeb'
    },
    {
      path: '/datachannel/outerData/DataSetForm/:ID',
      component: 'dbgather/dataSetForm',
      props: true
    },
    {
      path: '/datachannel/outerData/DatabaseForm/:ID',
      component: 'dbgather/databaseForm',
      props: true
    },
    {
      path: '/datachannel/fromWeb/new/:ID?',
      component: 'gather/fromWebCreateForm',
      props: true
    },
    {
      path: '/datachannel/fromWeb/:ID/result',
      component: 'gather/fromWebResultForm',
      props: true
    },
    {
      path: '/datachannel/fromWeb/:ID/tabs/:tabName',
      component: 'gather/fromWebTabs',
      props: true
    },
    {
      path: '/datachannel/publishPoint',
      meta: { title: '发布点管理', icon: 'fa fa-rocket' },
      component: 'contentadvance/publishPointList'
    },
    {
      path: '/datachannel/publishPoint/:ID',
      component: 'contentadvance/publishPointForm',
      props: true
    },
    {
      path: '/datachannel/publishPlatform',
      meta: { title: '发布平台', icon: 'fa fa-rocket' },
      component: 'contentadvance/publishPlatform'
    },
    {
      path: '/datachannel/publishPlatform/:ID',
      component: 'contentadvance/publishPlatformDetail',
      props: true
    },
    {
      path: '/datachannel/fromDB',
      meta: { title: '数据库采集', icon: 'fa fa-database' },
      component: 'dbgather/fromDBTab',
      children: [
        {
          path: '/datachannel/fromDB',
          component: 'dbgather/fromDB'
        },
        {
          path: '/datachannel/outerData/outDataSet',
          component: 'dbgather/dataSetList'
        },
        {
          path: '/datachannel/outerData/outDatabase',
          component: 'dbgather/databaseList'
        }
      ]
    },
    {
      path: '/datachannel/fromDB/:ID/:copyID?',
      component: 'dbgather/fromDBForm',
      props: true
    },
    {
      path: '/datachannel/deploy',
      meta: { title: '网站群分发', icon: 'fa fa-sitemap' },
      component: 'sitegroup/deploy'
    },
    {
      path: '/datachannel/deploy/:ID',
      component: 'sitegroup/deployForm',
      props: true
    },
    {
      path: '/datachannel/gather',
      meta: { title: '网站群采集', icon: 'fa fa-sitemap' },
      component: 'sitegroup/gather'
    },
    {
      path: '/datachannel/gather/:ID',
      component: 'sitegroup/gatherForm',
      props: true
    },
    {
      path: '/datachannel/transfer',
      meta: { title: '数据迁移', icon: 'fa fa-hand-lizard-o' },
      component: 'transfer/main'
    }
    // {
    //   path: '/datachannel/catalogMapping',
    //   meta: { title: '内容一体化', icon: 'fa fa-sitemap' },
    //   component: 'workspace/catalogMapping'
    // }
  ]
}
