|
@@ -23,31 +23,37 @@ const routes = [
|
|
|
{
|
|
|
path: '/itembank/detail',
|
|
|
name: 'itembank_detail',
|
|
|
+ meta: { title: '题库', sub: '详情' },
|
|
|
component: () => import('@/views/Itembank/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/itembank/index',
|
|
|
name: 'itembank_index',
|
|
|
+ meta: { title: '题库', sub: '管理' },
|
|
|
component: () => import('@/views/Itembank/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/questionnaire/index',
|
|
|
name: 'questionnaire_index',
|
|
|
+ meta: { title: '问卷', sub: '管理' },
|
|
|
component: () => import('@/views/questionnaire/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/questionnaire/detail',
|
|
|
name: 'questionnaire_detail',
|
|
|
+ meta: { title: '问卷', sub: '详情' },
|
|
|
component: () => import('@/views/questionnaire/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/teacher/detail',
|
|
|
name: 'teacher_detail',
|
|
|
+ meta: { title: '教师', sub: '详情' },
|
|
|
component: () => import('@/views/teacher/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/teacher/index',
|
|
|
name: 'teacher_index',
|
|
|
+ meta: { title: '教师', sub: '管理' },
|
|
|
component: () => import('@/views/teacher/index.vue'),
|
|
|
},
|
|
|
{
|
|
@@ -63,11 +69,13 @@ const routes = [
|
|
|
{
|
|
|
path: '/work/detail',
|
|
|
name: 'work_detail',
|
|
|
+ meta: { title: '作业', sub: '详情' },
|
|
|
component: () => import('@/views/work/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/work/index',
|
|
|
name: 'work_index',
|
|
|
+ meta: { title: '作业', sub: '管理' },
|
|
|
component: () => import('@/views/work/index.vue'),
|
|
|
},
|
|
|
{
|
|
@@ -84,71 +92,85 @@ const routes = [
|
|
|
{
|
|
|
path: '/subject/index',
|
|
|
name: 'subject_index',
|
|
|
+ meta: { title: '科目', sub: '管理' },
|
|
|
component: () => import('@/views/subject/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/subject/detail',
|
|
|
name: 'subject_detail',
|
|
|
+ meta: { title: '科目', sub: '详情' },
|
|
|
component: () => import('@/views/subject/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/director/index',
|
|
|
name: 'director_index',
|
|
|
+ meta: { title: '班主任', sub: '管理' },
|
|
|
component: () => import('@/views/director/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/director/detail',
|
|
|
name: 'director_detail',
|
|
|
+ meta: { title: '班主任', sub: '详情' },
|
|
|
component: () => import('@/views/director/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/dept/index',
|
|
|
name: 'dept_index',
|
|
|
+ meta: { title: '部门', sub: '管理' },
|
|
|
component: () => import('@/views/dept/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/dept/detail',
|
|
|
name: 'dept_detail',
|
|
|
+ meta: { title: '部门', sub: '详情' },
|
|
|
component: () => import('@/views/dept/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/location/index',
|
|
|
name: 'location_index',
|
|
|
+ meta: { title: '地点', sub: '管理' },
|
|
|
component: () => import('@/views/location/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/location/detail',
|
|
|
name: 'location_detail',
|
|
|
+ meta: { title: '地点', sub: '详情' },
|
|
|
component: () => import('@/views/location/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/bedroom/index',
|
|
|
name: 'bedroom_index',
|
|
|
+ meta: { title: '寝室', sub: '管理' },
|
|
|
component: () => import('@/views/bedroom/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/bedroom/detail',
|
|
|
name: 'bedroom_detail',
|
|
|
+ meta: { title: '寝室', sub: '详情' },
|
|
|
component: () => import('@/views/bedroom/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/classes/index',
|
|
|
name: 'classes_index',
|
|
|
+ meta: { title: '班级', sub: '管理' },
|
|
|
component: () => import('@/views/classes/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/classes/detail',
|
|
|
name: 'classes_detail',
|
|
|
+ meta: { title: '班级', sub: '详情' },
|
|
|
component: () => import('@/views/classes/detail.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/student/index',
|
|
|
name: 'student_index',
|
|
|
+ meta: { title: '学生', sub: '管理' },
|
|
|
component: () => import('@/views/student/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/student/detail',
|
|
|
name: 'student_detail',
|
|
|
+ meta: { title: '学生', sub: '详情' },
|
|
|
component: () => import('@/views/student/detail.vue'),
|
|
|
},
|
|
|
],
|