/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/login2',
    component: () => import('@/views/login/index'),
    meta: {
      title: '登录',
      keepAlive: false
    }
  },
  {
    path: '/login',
    component: () => import('@/views/wechatAuth/index'),
    meta: {
      title: '微信授权',
      keepAlive: false
    }
  },
  {
    path: '/course',
    component: () => import('@/views/course/index'),
    meta: {
      title: '课程',
      keepAlive: false
    }
  },
  {
    path: '/searchL',
    component: () => import('@/views/appStoreCopy/components/searchL'),
    meta: {
      title: '搜索页面',
      keepAlive: false
    }
  },
  {
    path: '/userInfoPage',
    component: () => import('@/views/appStoreCopy/components/userInfoPage'),
    meta: {
      title: '个人信息页',
      keepAlive: false
    }
  },
  {
    path: '/appStoreCopy',
    component: () => import('@/views/appStoreCopy/index'),
    meta: { title: '应用管理', keepAlive: false }
  },
  {
    path: '/',
    component: () => import('@/views/layouts'),
    meta: { title: '课程中心', keepAlive: false },
    children: [
      {
        path: 'home',
        name: 'home',
        component: () => import('@/views/home/index'),
        meta: { title: '课程中心', keepAlive: false }
      },
      {
        path: 'test',
        name: 'Test',
        component: () => import('@/views/test/index'),
        meta: { title: '评测中心', keepAlive: false }
      },
      {
        path: 'eva',
        name: 'eva',
        component: () => import('@/views/eva/index'),
        meta: { title: '观察记录', keepAlive: false }
      },
      {
        path: 'appStore',
        name: 'appStore',
        component: () => import('@/views/appStore/index'),
        meta: { title: '应用管理', keepAlive: false }
      }
    ]
  },

  {
    path: '/classObserve',
    name: 'classObserve',
    component: () => import('@/views/classObserve/index'),
    meta: { title: '课堂观察', keepAlive: false }
  },
  {
    path: '/aiChat',
    component: () => import('@/views/classObserve/aiChat'),
    meta: {
      title: 'AI对话',
      keepAlive: false
    }
  },
  {
    path: '/outcome',
    component: () => import('@/views/classObserve/outcome'),
    meta: {
      title: '分析结果',
      keepAlive: false
    }
  },
  {
    path: '/courseDetail',
    component: () => import('@/views/courseDetail/index'),
    meta: {
      title: '课程详情',
      keepAlive: false
    }
  },
  {
    path: '/testDetail',
    component: () => import('@/views/testDetail/index'),
    meta: {
      title: '填写问卷',
      keepAlive: false
    }
  },
  {
    path: '/preview',
    component: () => import('@/views/testDetail/preview'),
    meta: {
      title: '修改问卷',
      keepAlive: false
    }
  },
  {
    path: '/check',
    component: () => import('@/views/testDetail/check'),
    meta: {
      title: '查看问卷',
      keepAlive: false
    }
  },
  {
    path: '/studentDetail',
    component: () => import('@/views/eva/studentDetail'),
    meta: {
      title: '学生记录',
      keepAlive: false
    }
  },
  // {
  //   path: '/searchstuDetail',
  //   component: () => import('@/views/eva/searchstuDetail'),
  //   meta: {
  //     title: '学生记录2',
  //     keepAlive: false
  //   }
  // },
  {
    path: '/studentEvaluate',
    component: () => import('@/views/eva/studentEvaluate'),
    meta: {
      title: '观察记录',
      keepAlive: false
    }
  },
  {
    path: '/echarts',
    component: () => import('@/views/eva/echarts'),
    meta: {
      title: '学生评价',
      keepAlive: false
    }
  },
  // {
  //   path: '/searchStudentEva',
  //   component: () => import('@/views/eva/searchStudentEva'),
  //   meta: {
  //     title: '学生评价',
  //     keepAlive: false
  //   }
  // },
  {
    path: '/cocoai',
    component: () => import('@/views/aigpt/index'),
    meta: {
      title: 'CocoAI',
      keepAlive: false
    }
  },
  {
    path: '/pocAiClassroom',
    name: 'pocAiClassroom',
    component: () => import('@/views/pocAiClassroom/index.vue'),
    meta: {
      title: 'POC课堂',
      keepAlive: false
    }
  },
  {
    path: '/pocAiChat',
    name: 'pocAiChat',
    component: () => import('@/views/pocAiClassroom/chatArea2.vue'),
    meta: {
      title: '聊聊天',
      keepAlive: false
    }
  },
  {
    path: '/pocDoTask',
    name: 'pocDoTask',
    component: () => import('@/views/pocAiClassroom/doTask.vue'),
    meta: {
      title: '做练习',
      keepAlive: false
    }
  },
  {
    path: '/pocClass',
    name: 'pocClass',
    component: () => import('@/views/pocAiClassroom/pocClass.vue'),
    meta: {
      title: '上课',
      keepAlive: false
    }
  },
  {
    path: '/pocSelfMessage',
    name: 'pocSelfMessage',
    component: () => import('@/views/pocAiClassroom/selfMessage.vue'),
    meta: {
      title: '个人信息',
      keepAlive: false
    }
  },
  {
    path: '/pocStartIndex',
    name: 'pocStartIndex',
    component: () => import('@/views/pocAiClassroom/startIndex.vue'),
    meta: {
      title: '智能学伴',
      keepAlive: false
    }
  }
]
