export default {
  path: '/settings',
  name: 'settings',
  meta: { title: '配置', icon: 'fa fa-cogs' },
  component: 'contentcore/index',
  children: [
    {
      path: '/settings/site',
      meta: { title: '站点管理', icon: 'fa fa-home' },
      component: 'contentcore/site'
    },
    {
      path: '/settings/site/new/:ID?',
      component: 'contentcore/siteForm',
      props: true
    },
    {
      path: '/settings/site/:ID/:tabName?',
      component: 'contentcore/siteDetail',
      props: true
    },
    {
      path: '/settings/template/import',
      component: 'contentcore/template/templateImportForm',
      props: true
    },
    {
      path: '/settings/template/version',
      component: 'contentcore/template/templateVersionList',
      props: true
    },
    {
      path: '/settings/template/tabs',
      component: 'contentcore/template/templateTabs',
      props: true
    },
    {
      path: '/settings/template/new',
      component: 'contentcore/template/templateForm',
      props: true
    },
    {
      path: '/settings/template',
      meta: { title: '模板管理', icon: 'fa fa-file-text-o' },
      component: 'contentcore/template',
      props: true
    },
    {
      path: '/settings/specialTemplate',
      meta: { title: '专题模板', icon: 'fa fa-file-text-o' },
      component: 'special/templateList'
    },
    {
      path: '/settings/specialTemplate/:id',
      name: 'specialTemplateForm',
      component: 'special/templateForm',
      props: true
    },
    {
      path: '/settings/tag',
      meta: { title: '标签管理', icon: 'fa fa-tags' },
      component: 'contentcore/tag'
    },
    {
      path: '/settings/tag/:tagId',
      component: 'contentcore/tagInfo',
      props: true
    },
    {
      path: '/settings/file',
      meta: { title: '文件管理', icon: 'fa fa-file-text-o' },
      component: 'contentcore/file'
    },
    {
      path: '/settings/dimensionalities',
      meta: { title: '维度管理', icon: 'fa fa-sitemap' },
      component: 'contentadvance/dimensionalities'
    },
    {
      path: '/settings/dimensionalities/:ID',
      component: 'contentadvance/dimensionalityForm',
      props: true
    },
    {
      path: '/settings/contentadvance/:dimensionId',
      component: 'contentadvance/contentadvance',
      props: true
    },
    {
      path: '/settings/contentadvance/:dimensionId/:catalogId',
      component: 'contentadvance/contentadvanceDetail',
      props: true
    },
    {
      path: '/settings/contentadvance/:dimensionId/add/:catalogId',
      component: 'contentadvance/CatalogAddForm',
      props: true
    },
    {
      path: '/settings/indexes',
      meta: { title: '内容索引', icon: 'fa fa-flash fa-fw' },
      component: 'contentcore/indexes'
    },
    {
      path: '/settings/indexes/:catalogId',
      component: 'contentcore/indexesInfo',
      props: true
    },
    {
      path: '/settings/dicManager/:tabName?',
      meta: { title: '检索词汇', icon: 'fa fa-search' },
      component: 'search/dicManager',
      props: true
    },
    {
      path: '/settings/dicManager/dic/:ID',
      component: 'search/generalWordDialog',
      props: true
    },
    {
      path: '/settings/dicManager/stopword/:ID',
      component: 'search/stopWordDialog',
      props: true
    },
    {
      path: '/settings/dicManager/wordstat/:ID',
      component: 'search/wordDialog',
      props: true
    },
    // {
    //   path: '/settings/weightsConfig/:tabName?',
    //   meta: { title: '检索权重', icon: 'fa fa-search' },
    //   component: 'search/weightsConfigTabs',
    //   props: true
    // },
    {
      path: '/settings/weightsConfig/CustomWeightsConfig/:ID',
      component: 'search/weightsConfigTabs/customWeightsForm',
      props: true
    },
    {
      path: '/settings/weightsConfig/DocsQueryPostionConfig/:ID',
      component: 'search/weightsConfigTabs/docsQueryPositionConfigForm',
      props: true
    },
    {
      path: '/settings/weightsConfig/:tabName/:ID',
      component: 'search/weightsConfigTabs/weightsForm',
      props: true
    },
    {
      path: '/settings/workflow/:ID?',
      meta: { title: '工作流', icon: 'fa fa-code-fork' },
      component: 'workflow/workflowList',
      props: true
    },
    {
      path: '/settings/extendModel',
      meta: { title: '扩展模型', icon: 'fa fa-cubes' },
      component: 'contentextend/extendModel'
    },
    {
      path: '/settings/extendModel/:modelId',
      component: 'contentextend/extendModelAddForm',
      props: true
    },
    {
      path: '/settings/extendModel/:modelId/info',
      component: 'contentextend/extendModelDetail',
      props: true,
      children: [
        {
          path: '/settings/extendModel/:modelId/info',
          component: 'contentextend/extendModelInfo',
          props: true
        },
        {
          path: '/settings/extendModel/:modelId/field',
          component: 'contentextend/extendModelColumn',
          props: true
        },
        {
          path: '/settings/extendModel/:modelId/data',
          component: 'contentextend/extendModelData',
          props: true
        },
        {
          path: '/settings/extendModel/:modelId/template',
          component: 'contentextend/extendModelTemplate',
          props: true
        }
      ]
    },
    {
      path: '/settings/extendModel/:modelId/columnGroup/:code',
      component: 'contentextend/extendModelColumnGroupForm',
      props: true
    },
    {
      path: '/settings/extendModel/:modelId/field/:code',
      component: 'contentextend/extendModelColumnForm',
      props: true
    },
    {
      path: '/settings/extendModel/:modelId/data/:dataID',
      component: 'contentextend/extendModelDataForm',
      props: true
    },
    {
      path: '/settings/assessCatalog',
      meta: { title: '绩效考核', icon: 'fa fa-file-text-o' },
      component: 'contentassess/assessCatalog'
    },
    {
      path: '/settings/assessCatalog/:ID?',
      component: 'contentassess/assessContent',
      props: true
    },
    {
      path: '/settings/word',
      meta: { title: '内容词汇', icon: 'fa fa-clock-o' },
      component: 'wordmanage/wordTabs'
    }
  ]
}
