parent
7bde556c8a
commit
48c8b708da
@ -1,286 +0,0 @@
|
||||
export default [
|
||||
{
|
||||
path: '/education',
|
||||
name: 'Education',
|
||||
component: () => import('@/layouts/default.vue'),
|
||||
meta: {
|
||||
title: '教务教学',
|
||||
icon: 'book-open-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'teacher',
|
||||
name: 'TeacherManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '老师管理',
|
||||
icon: 'user-shared-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'student',
|
||||
name: 'StudentManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '学生管理',
|
||||
icon: 'user-received-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'list',
|
||||
name: 'StudentManagementList',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '学生列表',
|
||||
icon: 'user-received-line',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'grade',
|
||||
name: 'GradeManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '年级管理',
|
||||
icon: 'account-pin-box-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'class',
|
||||
name: 'ClassManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '班级管理',
|
||||
icon: 'account-pin-circle-fill',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'admission',
|
||||
name: 'AdmissionManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '入学',
|
||||
icon: 'award-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'evaluation',
|
||||
name: 'AdmissionEvaluation',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '入学评测',
|
||||
icon: 'file-paper-2-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'way',
|
||||
name: 'StudyWay',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '学习路线',
|
||||
icon: 'send-plane-fill',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'answer',
|
||||
name: 'Answer',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '答疑',
|
||||
icon: 'question-answer-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'management',
|
||||
name: 'AnswerManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '答疑管理',
|
||||
icon: 'question-answer-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'list',
|
||||
name: 'AnswerManagementList',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '答疑管理列表',
|
||||
icon: 'question-answer-line',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'invalid',
|
||||
name: 'InvalidQuestionManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '无效追问管理',
|
||||
icon: 'questionnaire-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'lock',
|
||||
name: 'UserLockManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '用户锁定管理',
|
||||
icon: 'lock-fill',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'assign/:questionId',
|
||||
name: 'AssignAnswerTeacher',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '指派老师',
|
||||
icon: 'account-box-fill',
|
||||
hidden: true,
|
||||
activeMenu: '/education/answer/management',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'teacher',
|
||||
name: 'AnswerTeacher',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '答疑老师管理',
|
||||
icon: 'book-line',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'summary',
|
||||
name: 'AnswerTeacherSummary',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '答疑老师统计',
|
||||
icon: 'book-2-line',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'management',
|
||||
name: 'AnswerTeacherManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '答疑老师管理',
|
||||
icon: 'book-3-line',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'bind/:teacher?',
|
||||
name: 'AnswerTeacherUpdateBind',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '编辑课程绑定',
|
||||
icon: 'book-fill',
|
||||
hidden: true,
|
||||
activeMenu: '/education/answer/teacher/management',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'course',
|
||||
name: 'AnswerTeacherBindCourse',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '绑定课程管理',
|
||||
icon: 'book-fill',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'question',
|
||||
name: 'QuestionManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '题库管理',
|
||||
icon: 'brush-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'note',
|
||||
name: 'NoteManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '笔记管理',
|
||||
icon: 'sticky-note-2-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'research',
|
||||
name: 'CourseResearch',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '课研更新',
|
||||
icon: 'contacts-book-upload-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'plan',
|
||||
name: 'CourseResearchPlan',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '课研计划',
|
||||
icon: 'contacts-book-upload-line',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'log',
|
||||
name: 'CourseResearchLog',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '课研更新日志',
|
||||
icon: 'file-copy-2-line',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'live',
|
||||
name: 'LiveManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '直播管理',
|
||||
icon: 'live-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'material',
|
||||
name: 'MaterialManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '老师资料管理',
|
||||
icon: 'database-2-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'shift',
|
||||
name: 'ShiftTable',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '排班表',
|
||||
icon: 'calendar-check-line',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'course',
|
||||
name: 'CourseTable',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '课程表管理',
|
||||
icon: 'calendar-todo-fill',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
@ -1,49 +0,0 @@
|
||||
export default [
|
||||
{
|
||||
path: '/user',
|
||||
name: 'UserManagement',
|
||||
component: () => import('@/layouts/default.vue'),
|
||||
meta: {
|
||||
title: '用户管理',
|
||||
icon: 'folder-user-fill',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'consult',
|
||||
name: 'ConsultManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '咨询管理',
|
||||
icon: 'kakao-talk-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'course',
|
||||
name: 'CourseConsultManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '咨询课程',
|
||||
icon: 'chat-smile-2-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'account',
|
||||
name: 'AccountManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '账号课程',
|
||||
icon: 'account-box-fill',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'feedback',
|
||||
name: 'FeedbackManagement',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
title: '意见反馈',
|
||||
icon: 'feedback-fill',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div class="form-container">
|
||||
<el-form :model="form" :rules="rules" label-width="100px">
|
||||
<el-form-item label="用户名" prop="username">
|
||||
<el-input v-model="form.username" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const form = reactive({
|
||||
username: null,
|
||||
});
|
||||
const rules = reactive({
|
||||
username: [{ required: true }],
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped></style>
|
Loading…
Reference in new issue