From e253a6c9dc9fc3e261ccdf4f90347446a69b83c1 Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Thu, 10 Oct 2024 17:42:48 +0800 Subject: [PATCH] =?UTF-8?q?#876=20=E6=95=99=E5=AD=A6=E5=AE=9E=E8=B7=B5?= =?UTF-8?q?=EF=BC=8C=E4=B8=8A=E8=AF=BE=E6=97=B6=E6=A3=80=E6=9F=A5=E6=9C=AA?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E8=AF=BE=E7=A8=8B=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/api/classManage/index.js | 5 +- src/renderer/src/api/teaching/classcourse.js | 8 ++ .../src/views/classManage/classReserv.vue | 75 +++++++---- .../src/views/classManage/reserv-item-apt.vue | 127 ++++++++++++++++++ .../src/views/classManage/reserv-item.vue | 52 +++---- .../views/prepare/container/kj-list-item.vue | 85 +++++++++++- src/renderer/src/views/prepare/index.vue | 4 +- 7 files changed, 293 insertions(+), 63 deletions(-) create mode 100644 src/renderer/src/views/classManage/reserv-item-apt.vue diff --git a/src/renderer/src/api/classManage/index.js b/src/renderer/src/api/classManage/index.js index 6b82a81..a0f3d53 100644 --- a/src/renderer/src/api/classManage/index.js +++ b/src/renderer/src/api/classManage/index.js @@ -147,10 +147,11 @@ export function updateSmartClassReserv(data) { }) } //查询课程预约 -export function getSelfReserv() { +export function getSelfReserv(params) { return request({ url: '/smarttalk/classReserv/getSelfReserv', - method: 'get' + method: 'get', + params }) } export function deleteSmartReserv(id) { diff --git a/src/renderer/src/api/teaching/classcourse.js b/src/renderer/src/api/teaching/classcourse.js index 665489c..d312f85 100644 --- a/src/renderer/src/api/teaching/classcourse.js +++ b/src/renderer/src/api/teaching/classcourse.js @@ -9,6 +9,14 @@ export function listClasscourse(query) { }) } +export function listClasscourseNew(query) { + return request({ + url: '/education/classcourse/new/list', + method: 'get', + params: query + }) +} + // 查询classcourse详细 export function getClasscourse(id) { return request({ diff --git a/src/renderer/src/views/classManage/classReserv.vue b/src/renderer/src/views/classManage/classReserv.vue index 3414291..b5c6e53 100644 --- a/src/renderer/src/views/classManage/classReserv.vue +++ b/src/renderer/src/views/classManage/classReserv.vue @@ -1,25 +1,25 @@