From 1c463ed58bcf36eef0bda7b31fe9da26e911e784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Wed, 30 Oct 2024 15:54:48 +0800 Subject: [PATCH 1/7] =?UTF-8?q?add=EF=BC=9A=E5=88=9B=E5=BB=BA=E7=8F=AD?= =?UTF-8?q?=E7=BA=A7;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/classManage/components/newClass.vue | 232 ++++++++++++++++++ src/renderer/src/views/classManage/index.vue | 41 ++-- src/renderer/src/views/profile/index.vue | 1 - 3 files changed, 251 insertions(+), 23 deletions(-) create mode 100644 src/renderer/src/views/classManage/components/newClass.vue diff --git a/src/renderer/src/views/classManage/components/newClass.vue b/src/renderer/src/views/classManage/components/newClass.vue new file mode 100644 index 0000000..27929df --- /dev/null +++ b/src/renderer/src/views/classManage/components/newClass.vue @@ -0,0 +1,232 @@ + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/classManage/index.vue b/src/renderer/src/views/classManage/index.vue index ed76ad7..331e9cf 100644 --- a/src/renderer/src/views/classManage/index.vue +++ b/src/renderer/src/views/classManage/index.vue @@ -1,14 +1,15 @@ diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 4e8fbb5..cc489f6 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -19,7 +19,7 @@ export const constantRoutes = [ path: '/fullscreenpdf', component: () => import('@/views/fullScreenPdf/index.vue'), name: 'fullscreenpdf', - meta: {title: '全屏显示PDF'} + meta: { title: '全屏显示PDF' } }, { path: '/teachClassTask', @@ -30,116 +30,111 @@ export const constantRoutes = [ path: '/', component: Layout, redirect: '/home', + meta: { title: '教学工作台' }, children: [ { path: '/index', component: () => import('@/views/index/index.vue'), name: 'index', - meta: {title: '首页'} + meta: { title: '首页' } }, { path: '/home', component: () => import('@/views/desktop/index.vue'), name: 'desktop', - meta: {title: '主页'} - }, - { - path: '/homepage', - component: () => import('@/views/homePage/index.vue'), - name: 'homepage', - meta: {title: '主页'} + meta: { title: '教学工作台' } }, { path: '/resource', component: () => import('@/views/resource/index.vue'), name: 'resource', - meta: {title: '资源库'} + meta: { title: '资源库' } }, { - path: '/prepare', + path: 'prepare', component: () => import('@/views/prepare/index.vue'), name: 'prepare', - meta: {title: '教学实践'} + meta: { title: '教学实践', showBread: true } }, { path: '/teach', component: () => import('@/views/teach/index.vue'), name: 'teach', - meta: {title: '授课'} + meta: { title: '授课' } }, { path: '/standardanalysis', component: () => import('@/views/teach/standardAnalysis/index.vue'), name: 'standardanalysis', - meta: {title: '课标分析'} + meta: { title: '课标分析', showBread: true } }, { path: '/textbookAnalysis', component: () => import('@/views/textbookAnalysis/index.vue'), name: 'textbookAnalysis', - meta: {title: '教材分析'} + meta: { title: '教材分析', showBread: true } }, { path: '/profile', component: () => import('@/views/profile/index.vue'), name: 'profile', - meta: {title: '个人中心'} + meta: { title: '个人中心' } }, { path: '/testpdf', component: () => import('@/views/testPdf/index.vue'), name: 'testpdf', - meta: {title: '测试PDF'} + meta: { title: '测试PDF' } }, - + { path: '/classReserv', component: () => import('@/views/classManage/classReserv.vue'), name: 'classReserv', - meta: {title: '课程预约'} + meta: { title: '课程预约' } }, { path: '/class', component: () => import('@/views/classManage/index.vue'), name: 'class', - meta: {title: '班级中心'}, + meta: { title: '班级中心' } }, { path: '/classTaskAssign', component: () => import('@/views/classTask/classTaskAssign.vue'), name: 'classTaskAssign', - meta: {title: '作业布置'}, + meta: { title: '作业布置', showBread: true } }, { path: '/classTask', component: () => import('@/views/classTask/classTask.vue'), name: 'classCorrect', - meta: {title: '作业批改'}, + meta: { title: '作业批改', showBread: true } }, { path: '/newClassTask', component: () => import('@/views/classTask/newClassTask.vue'), name: 'newClassCorrect', - meta: {title: '作业设计'}, + meta: { title: '作业设计', showBread: true } }, { path: '/examReport', component: () => import('@/views/examReport/index.vue'), name: 'examReport', - meta: {title: '考试分析'} + meta: { title: '考试分析', showBread: true } }, { path: '/hashrate', component: () => import('@/views/hashrate/index.vue'), name: 'hashrate', - meta: {title: '算力'} + meta: { title: '算力' } }, { path: '/setting', component: () => import('@/views/setting/index.vue'), name: 'setting', - meta: {title: '设置'} - }, + meta: { title: '设置' } + } ] }, ...toolRouters diff --git a/src/renderer/src/views/classTask/classTaskAssign.vue b/src/renderer/src/views/classTask/classTaskAssign.vue index 8b58f5b..590a230 100644 --- a/src/renderer/src/views/classTask/classTaskAssign.vue +++ b/src/renderer/src/views/classTask/classTaskAssign.vue @@ -1,15 +1,10 @@