import Layout from '@/layout/index.vue'

export const FileManage = {
  path: '/knowledgeGraph',
  redirect: '/knowledgeGraph/fileManage',
  name: 'FileManage',
  component: Layout,
  meta: {
    title: '知识图谱',
    icon: 'el-icon-s-platform'
  },
  children: [
    {
      path: '/knowledgeGraph/fileManage',
      component: () => import('@/views/als/fileManage/index.vue'),
      meta: {
        title: '文件管理'
      }
    }
  ]
}
export const knowledgeExtraction = {
  path: '/knowledgeGraph',
  redirect: '/knowledgeGraph/fileManage',
  name: 'KnowledgeExtraction',
  component: Layout,
  meta: {
    title: '知识图谱',
    icon: 'el-icon-s-platform'
  },
  children: [
    {
      path: '/knowledgeGraph/knowledgeExtraction',
      component: () => import('@/views/als/knowledgeExtraction/index.vue'),
      meta: {
        title: '知识抽取'
      }
    }
  ]
}
export const knowledgeManagement = {
  path: '/knowledgeGraph',
  redirect: '/knowledgeGraph/fileManage',
  name: 'KnowledgeManagement',
  component: Layout,
  meta: {
    title: '知识图谱',
    icon: 'el-icon-s-platform'
  },
  children: [
    {
      path: '/knowledgeGraph/knowledgeManagement',
      component: () => import('@/views/als/knowledgeManagement/index.vue'),
      meta: {
        title: '知识管理'
      }
    }
  ]
}
export const graphVisualization = {
  path: '/knowledgeGraph',
  redirect: '/knowledgeGraph/fileManage',
  name: 'GraphVisualization',
  component: Layout,
  meta: {
    title: '知识图谱',
    icon: 'el-icon-s-platform'
  },
  children: [
    {
      path: '/knowledgeGraph/graphVisualization',
      component: () => import('@/views/als/graphVisualization/index.vue'),
      meta: {
        title: '图谱可视化'
      }
    }
  ]
}
