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