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