import http from './http.js' // 训练信息 export function GetTrainingInfo(a, b, c, d) { return http.get(`/api/TrainingData/GetTrainingInfo?DataSource=${a}&ItemType=${b}&StartTime=${c}&EndTime=${d}`) } // 达标率 export function GetAttainmentRate(a, b, c, d) { return http.get(`/api/TrainingStudentData/GetAttainmentRate?DataSource=${a}&ItemType=${b}&StartTime=${c}&EndTime=${d}`) } // 累计训练成绩人数占比 export function GetScoreProportion(a, b, c, d) { return http.get(`/api/TrainingStudentData/GetScoreProportion?DataSource=${a}&ItemType=${b}&StartTime=${c}&EndTime=${d}`) } // 年级平均成绩占比 export function GetGradeScoreProportion(a, b, c, d) { return http.get(`/api/TrainingData/GetGradeScoreProportion?DataSource=${a}&ItemType=${b}&StartTime=${c}&EndTime=${d}`) } // 平均跳绳个数 export function GetGradeScore(a, b, c, d) { return http.get(`/api/TrainingData/GetGradeScore?DataSource=${a}&ItemType=${b}&StartTime=${c}&EndTime=${d}`) } //详情列表 export function GetTrainingDataList(a, b, c, d, e, f, g, h, i) { return http.get(`/api/TrainingData/GetTrainingDataList?DataSource=${a}&ItemType=${b}&StartTime=${c}&EndTime=${d}&GradeId=${e}&ClassId=${f}&TeacherName=${g}&PageIndex=${h}&PageSize=${i}`) } // 训练详情 export function GetTrainingItemDetails(a) { return http.get(`/api/TrainingData/GetTrainingItemDetails?trainingId=${a}`) } // 训练学生列表 export function GetTrainingStudentData(a, b, c, d, e, f, g, h) { return http.get(`/api/TrainingStudentData/GetItemTrainingStudentDataList?DataSource=${a}&TrainingId=${b}&StudentNo=${c}&StudentName=${d}&Gender=${e}&ResultLevel=${f}&PageIndex=${g}&PageSize=${h}`) } // 训练学生详情 export function GetTrainingStudentDataDetail(a, b, c, d, e, f) { return http.get(`/api/TrainingStudentData/GetTrainingStudentData?DataSource=${a}&StudentId=${b}&ItemType=${c}&StartTime=${d}&EndTime=${e}`) } // 阶段训练趋势 export function GetTrainingStudentDataTrendList(a, b, c, d, e, f, g, h, i, j, k) { return http.get(`/api/TrainingStudentData/GetTrainingStudentDataTrendList?DataSource=${a}&TrainingId=${b}&StudentId=${c}&TrendType=${d}&ItemType=${e}&StartTime=${f}&EndTime=${g}&TeacherName=${h}&ResultLevel=${i}&PageIndex=${j}&PageSize=${k}`) } // 1-1详细列表 export function GetTrainingStudentDataList(a, b, c, d, e, f, g, h, i, j) { return http.get(`/api/TrainingStudentData/GetTrainingStudentDataList?DataSource=${a}&StudentId=${b}&ItemType=${c}&TrendType=${d}&StartTime=${e}&EndTime=${f}&ResultLevel=${g}&TeacherName=${h}&PageIndex=${i}&PageSize=${j}`) }