/*
 *   专家库-router路由表
 * */
import layout from '@/components/layout/layout'

import { expertRegister } from './expertRegister'// 专家库-专家注册
import { expertInfo } from './expertInfo'// 专家库-专家-完善基本信息
import { expertBasicInfo } from './expertBasicInfo'// 专家库-基本信息
import { expertInfoChange } from './expertInfoChange'// 专家库-变更
import { expertQuit } from './expertQuit'// 专家库-专家-退出
import { expertLeave } from './expertLeave'// 专家库-专家-请假
import { extractExpert } from './extractExpert'// 专家库-抽取专家
import { extractProject, createExtractProject } from './extractProject'// 专家库-抽取项目

const expertRouter = [
  ...expertRegister, // 专家库-专家注册
  {
    path: '/expert',
    component: layout,
    children: [
      ...expertInfo, // 专家库-专家-完善基本信息
      ...expertBasicInfo, // 专家库-基本信息
      ...expertInfoChange, // 专家库-变更
      ...expertQuit, // 专家库-专家-退出
      ...expertLeave, // 专家库-专家-请假
      ...extractExpert, // 专家库-专家-抽取专家
      ...extractProject, // 专家库-专家-创建项目
      ...createExtractProject// 专家库-专家-抽取项目
    ]
  }
]
export default [...expertRouter]
