From 54ccb7fdedf33379fd162e3f8bf2a62d6c517cbe Mon Sep 17 00:00:00 2001
From: LLL <15374889135@163.com>
Date: Fri, 30 May 2025 19:51:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/apiRoute.js | 43 +-
pages/coach/class/list.vue | 4 +-
pages/coach/course/info_list.vue | 1043 ++++++++++++++-----------
pages/coach/course/list.vue | 1248 +++++++++++++++---------------
pages/coach/my/index.vue | 14 +-
5 files changed, 1286 insertions(+), 1066 deletions(-)
diff --git a/api/apiRoute.js b/api/apiRoute.js
index f99b173..d081b2e 100644
--- a/api/apiRoute.js
+++ b/api/apiRoute.js
@@ -128,9 +128,46 @@ export default {
-
-
-
+ //获取添加学员列表
+ addStudentList(data = {}) {
+ let url = '/course/addStudentList'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ addStudent(data = {}) {
+ let url = '/course/addStudent'
+ return http.post(url, data).then(res => {
+ return res;
+ })
+ },
+ delStudentCourse(data = {}) {
+ let url = '/course/delStudentCourse'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ //获取班级列表
+ jlClassList(data = {}) {
+ let url = '/class/jlClassList'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ //获取课程列表
+ courseList(data = {}) {
+ let url = '/course/courseList'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+ //获取课程详情
+ courseInfo(data = {}) {
+ let url = '/course/courseInfo'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
//教研管理文章列表
teachingResearchList(data = {}) {
let url = '/teachingResearch/list'
diff --git a/pages/coach/class/list.vue b/pages/coach/class/list.vue
index 2a5a6fb..27da062 100644
--- a/pages/coach/class/list.vue
+++ b/pages/coach/class/list.vue
@@ -59,7 +59,7 @@
\ No newline at end of file
diff --git a/pages/coach/course/list.vue b/pages/coach/course/list.vue
index 4c61483..872d074 100644
--- a/pages/coach/course/list.vue
+++ b/pages/coach/course/list.vue
@@ -1,613 +1,653 @@
-
-
-
- 课表
-
-
-
-
-
-
- {{v.week}}
-
- {{today == v.date ? '今':v.today}}
-
-
-
-
-
- 查看更多
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 班级:{{v.classes_name}}
- 时间:{{v.date}}
- 课室:{{v.address}}
-
- 课程:{{v.courses_name}}
-
-
-
-
-
- {{ v.status === 1 ? '未开始' : v.status === 2 ? '上课中' : '已结束' }}
-
-
-
-
-
- 已签到学生 ({{v.sign_list.length }}/{{v.max_students.split(',').length }})
-
-
-
-
-
-
-
-
- 详情
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ 课表
+
+
+
+
+
+
+ {{v.weekday}}
+ {{today == v.date ? '今':v.dayOfMonth}}
+
+
+
+ 查看更多
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 时间:{{v.course_date}}
+ 课室:{{v.venue.venue_name}}
+ 课程:{{v.course.course_name}}
+ 人数:{{v.venue.capacity}}
+
+
+
+
+ {{ v.status === 'pending' ? '未开始' : v.status === 'ongoing' ? '上课中' : '已结束' }}
+
+
+
+
+
+
+
+ 已签到学生 ({{v.student.length }}/{{v.venue.capacity}})
+
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue
index 00d9754..26ed68b 100644
--- a/pages/coach/my/index.vue
+++ b/pages/coach/my/index.vue
@@ -11,7 +11,7 @@
-
+
{{memberInfo.name}}
@@ -96,10 +96,10 @@
-
+
设置
@@ -114,9 +114,9 @@