import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw = {
  name: 'urge',
  path: 'urge',
  children: [
    {
      name: 'xxx',
      path: 'xxx',
      component: () => import('./index.vue'),
      meta: { title: '督学' },
    },
    {
      path: 'service',
      name: 'urge-service',
      component: () => import('./service/home.vue'),
      meta: { title: '督学服务' },
    },
    {
      path: 'open',
      name: 'urge-opening',
      component: () => import('./opening/home.vue'),
      meta: { title: '开启督学' },
    },
    {
      path: 'timetable',
      name: 'urge-timetable',
      component: () => import('./timetable/home.vue'),
      meta: { title: '开启督学' },
    },
    {
      path: 'learning',
      name: 'urge-learning',
      component: () => import('./learning/home.vue'),
      meta: { title: '督学首页' },
    },
  ],
}

export default routes
