From 34943462d7bfcb59db8dc4dac6c236952794ce17 Mon Sep 17 00:00:00 2001 From: LLL <15374889135@163.com> Date: Fri, 13 Jun 2025 11:36:04 +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 | 33 +++ pages/coach/home/index.vue | 2 +- pages/coach/job/add.vue | 30 +-- pages/coach/student/physical_examination.vue | 211 +++++++++++++------ 4 files changed, 193 insertions(+), 83 deletions(-) diff --git a/api/apiRoute.js b/api/apiRoute.js index 8ed87fb..37bab48 100644 --- a/api/apiRoute.js +++ b/api/apiRoute.js @@ -143,6 +143,39 @@ export default { //↓↓↓↓↓↓↓↓↓↓↓↓-----教练接口相关-----↓↓↓↓↓↓↓↓↓↓↓↓ + + + + + + //添加作业 + jlPublishJob(data = {}) { + let url = '/class/jlPublishJob/add' + return http.get(url, data).then(res => { + return res; + }) + }, + //添加作业-学员列表 + jlGetStudentList(data = {}) { + let url = '/class/jlGetStudentList/list' + return http.get(url, data).then(res => { + return res; + }) + }, + //添加作业-获取课程列表 + jlGetCoursesList(data = {}) { + let url = '/class/jlGetCoursesList/list' + return http.get(url, data).then(res => { + return res; + }) + }, + //添加作业-获取班级列表 + jlGetClassesList(data = {}) { + let url = '/class/jlGetClasses/list' + return http.get(url, data).then(res => { + return res; + }) + }, //体测报告-详情 physicalTestInfo(data = {}) { let url = '/class/physicalTest/info' diff --git a/pages/coach/home/index.vue b/pages/coach/home/index.vue index 799bc30..0b910eb 100644 --- a/pages/coach/home/index.vue +++ b/pages/coach/home/index.vue @@ -4,7 +4,7 @@ 待办 - 发布作业 + 发布作业 diff --git a/pages/coach/job/add.vue b/pages/coach/job/add.vue index bff5e65..d15ea19 100644 --- a/pages/coach/job/add.vue +++ b/pages/coach/job/add.vue @@ -101,7 +101,7 @@ + \ No newline at end of file