// import type { RouteRecordRaw } from 'vue-router'
import type { RouteRecordRawWithMeta } from '../routes.d'

export default <RouteRecordRawWithMeta>{
  path: '/dsj',
  name: 'DSJ',
  meta: {
    hidden: false,
    sort: Infinity,
    title: '大数据',
  },
  redirect: { name: 'BJSJDA_INDEX' },
  children: [
    {
      path: 'xxjbsj',
      name: 'xxjbsj',
      component: () => import('~/pages/dsj/xxjbsj/index.vue'),
      meta: {
        hidden: false,
        // breadcrumb: true,
        sort: 1,
        title: '学校基础数据',
      },
    },
    {
      path: 'ktjl',
      name: 'ktjl',
      component: () => import('~/pages/dsj/ktjl/index.vue'),
      meta: {
        hidden: false,
        // breadcrumb: true,
        sort: 1,
        title: '课堂记录统计分析',
      },
    },
    {
      path: 'kttl',
      name: 'kttl',
      component: () => import('~/pages/dsj/ktjl/kttl.vue'),
      meta: {
        hidden: true,
        // breadcrumb: true,
        sort: 1,
        title: '课堂讨论数据',
      },
    },
    // fan
    {
      path: 'bjsjda',
      component: () => import('@/pages/dsj/bjszda/index.vue'),
      name: 'BJSJDA_INDEX',
      meta: {
        hidden: false,
        sort: Infinity,
        breadcrumb: false,
        title: '班级学生情报数据',
      },
    },
    {
      path: 'bjsjda/student/:uid',
      component: () => import('@/pages/dsj/bjszda/student.vue'),
      name: 'BJSJDA_STUDENT',
      props: true,
      meta: {
        hidden: true,
        sort: Infinity,
        breadcrumb: false,
        title: '学生作业分析数据图',
      },
    },
    {
      path: 'khfw',
      name: 'khfw',
      component: () => import('~/pages/dsj/khfwtj/index.vue'),
      meta: {
        hidden: false,
        breadcrumb: true,
        sort: 1,
        title: '课后服务统计',
      },
    },
    {
      path: 'jypj1',
      name: 'dsj_jypj1',
      component: () => import('~/pages/dsj/jypj/jypj1/index.vue'),
      meta: {
        hidden: false,
        sort: 1,
        title: '教研评价',
      },
    },
    {
      path: 'jypj2',
      name: 'dsj_jypj2',
      component: () => import('~/pages/dsj/jypj/jypj2/index.vue'),
      meta: {
        hidden: true,
        sort: 1,
        title: '教研评价（2）',
      },
    },
    {
      path: 'xsxqbg',
      name: 'xsxqbg',
      component: () => import('~/pages/dsj/xsxqbg/xsxqbg1.vue'),
      meta: {
        hidden: false,
        breadcrumb: true,
        sort: 1,
        title: '学生学情报告',
      },
    },
    {
      path: 'xsxqbg_two',
      name: 'xsxqbg_two',
      component: () => import('~/pages/dsj/xsxqbg/xsxqbg2.vue'),
      meta: {
        hidden: true,
        breadcrumb: true,
        sort: 1,
        title: '学生学情报告2',
      },
    },
    {
      path: 'xsxqbg_three',
      name: 'xsxqbg_three',
      component: () => import('~/pages/dsj/xsxqbg/xsxqbg3.vue'),
      meta: {
        hidden: true,
        breadcrumb: true,
        sort: 1,
        title: '学生学情报告3',
      },
    },
    {
      path: 'kzktsj',
      name: 'kzktsj',
      component: () => import('~/pages/dsj/kzktsj/index.vue'),
      meta: {
        hidden: false,
        breadcrumb: true,
        sort: 1,
        title: '空中课堂数据',
      },
    },
    {
      path: 'dldgsjtj',
      name: 'dsj_dldgsjtj',
      component: () => import('~/pages/dsj/dldgsjtj/index.vue'),
      meta: {
        hidden: false,
        sort: 1,
        title: '电力灯光数据统计',
      },
    },
  ],
}
