From 4f9b543c74998d7ece7a6a4f379dedce4710ed34 Mon Sep 17 00:00:00 2001 From: zhaichao Date: Wed, 26 Aug 2026 14:12:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E8=A1=A8=E8=B0=83=E6=95=B4=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/teachOffice/elective.js | 9 +++ .../teachBusiness/timetableAdjust/index.vue | 26 ++++--- .../src/views/teachOffice/elective/index.vue | 73 +++++++++++++++++-- 3 files changed, 92 insertions(+), 16 deletions(-) diff --git a/frontend/src/api/teachOffice/elective.js b/frontend/src/api/teachOffice/elective.js index d1b6cd228..05fd56646 100644 --- a/frontend/src/api/teachOffice/elective.js +++ b/frontend/src/api/teachOffice/elective.js @@ -10,6 +10,15 @@ export function listElective(query) { }) } +// 新建选修课(body: ElectiveCourseSaveDTO) +export function addElective(data) { + return request({ + url: '/jys/elective/add', + method: 'post', + data: data + }) +} + // 批量开放报名 export function batchOpenElective(bhList) { return request({ diff --git a/frontend/src/views/teachBusiness/timetableAdjust/index.vue b/frontend/src/views/teachBusiness/timetableAdjust/index.vue index 3e1f24096..409c72be5 100644 --- a/frontend/src/views/teachBusiness/timetableAdjust/index.vue +++ b/frontend/src/views/teachBusiness/timetableAdjust/index.vue @@ -80,7 +80,7 @@
详情 审批 - 撤销 + 撤销
@@ -194,9 +194,6 @@ - - -