From 96098c899ff0970c317a2410554c178b367a5b74 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: Mon, 23 Sep 2024 09:14:13 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/api/classTask/index.js | 9 + .../container/newTask/taskTypeView.vue | 893 +++++++++++++----- .../src/views/classTask/newClassTask.vue | 11 +- src/renderer/src/views/desktop/index.vue | 6 +- 4 files changed, 684 insertions(+), 235 deletions(-) diff --git a/src/renderer/src/api/classTask/index.js b/src/renderer/src/api/classTask/index.js index 61154ff..9f2c110 100644 --- a/src/renderer/src/api/classTask/index.js +++ b/src/renderer/src/api/classTask/index.js @@ -62,3 +62,12 @@ export function updateClassworkdata(data) { data: data }) } + +// 修改classwork +export function updateClasswork(data) { + return request({ + url: '/education/classwork', + method: 'put', + data: data + }) +} diff --git a/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue b/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue index e0f3ac9..2fa0b79 100644 --- a/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue +++ b/src/renderer/src/views/classTask/container/newTask/taskTypeView.vue @@ -1,111 +1,121 @@