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