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 @@