From 2a95f08bb2c0094639160d30be356de3c8fd6189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BA=86=E4=B8=AA=E7=99=BD?= <543593352@qq.com> Date: Tue, 24 Sep 2024 16:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E5=B8=83=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/renderer/src/router/index.js | 4 +- src/renderer/src/views/classManage/index.vue | 2 +- .../src/views/classTask/classTaskAssign.vue | 527 ++++++++++++++++++ .../src/views/classTask/newClassTask.vue | 16 +- .../src/views/classTaskAssign/index.vue | 242 -------- src/renderer/src/views/desktop/index.vue | 5 +- src/renderer/src/views/examReport/index.vue | 4 +- 8 files changed, 537 insertions(+), 265 deletions(-) create mode 100644 src/renderer/src/views/classTask/classTaskAssign.vue delete mode 100644 src/renderer/src/views/classTaskAssign/index.vue diff --git a/package.json b/package.json index bd68669..7946cf6 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "electron-store": "8.0.0", "electron-updater": "^6.1.7", "element-china-area-data": "^6.1.0", - "element-plus": "^2.7.6", + "element-plus": "^2.8.0", "fabric": "^5.3.0", "im_electron_sdk": "^8.0.5904", "js-cookie": "^3.0.5", diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 948b7d8..07c05b9 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -70,9 +70,9 @@ export const constantRoutes = [ }, { path: '/classTaskAssign', - component: () => import('@/views/classTaskAssign/index.vue'), + component: () => import('@/views/classTask/classTaskAssign.vue'), name: 'classTaskAssign', - meta: {title: '作业设计'}, + meta: {title: '作业布置'}, }, { path: '/classTask', diff --git a/src/renderer/src/views/classManage/index.vue b/src/renderer/src/views/classManage/index.vue index c3c25c7..058a0f9 100644 --- a/src/renderer/src/views/classManage/index.vue +++ b/src/renderer/src/views/classManage/index.vue @@ -302,7 +302,7 @@ addClasses({classIds:classids.value.join(','),userId:userStore.userId}).then(res => { if (res.code === 200) { dialogVisible.value = false - ElMessage({x + ElMessage({ message: res.msg, type: 'success', }) diff --git a/src/renderer/src/views/classTask/classTaskAssign.vue b/src/renderer/src/views/classTask/classTaskAssign.vue new file mode 100644 index 0000000..7af3e3a --- /dev/null +++ b/src/renderer/src/views/classTask/classTaskAssign.vue @@ -0,0 +1,527 @@ + + + + + + + diff --git a/src/renderer/src/views/classTask/newClassTask.vue b/src/renderer/src/views/classTask/newClassTask.vue index 4585171..9cb77a4 100644 --- a/src/renderer/src/views/classTask/newClassTask.vue +++ b/src/renderer/src/views/classTask/newClassTask.vue @@ -17,7 +17,7 @@
- 作业范围 + 课程目录
@@ -37,26 +37,12 @@ - - - \ No newline at end of file diff --git a/src/renderer/src/views/desktop/index.vue b/src/renderer/src/views/desktop/index.vue index d04e7b4..0dcce43 100644 --- a/src/renderer/src/views/desktop/index.vue +++ b/src/renderer/src/views/desktop/index.vue @@ -116,8 +116,9 @@ const menuList = [{ { name: '作业布置', icon: 'icon-xiezuo1', - isOuter: true, - path: '/teaching/classtaskassign?titleName=作业布置' + // isOuter: true, + // path: '/teaching/classtaskassign?titleName=作业布置' + path: '/classTaskAssign' }, { name: '作业批改', diff --git a/src/renderer/src/views/examReport/index.vue b/src/renderer/src/views/examReport/index.vue index 8548fa9..37d73e2 100644 --- a/src/renderer/src/views/examReport/index.vue +++ b/src/renderer/src/views/examReport/index.vue @@ -51,11 +51,11 @@