From 95d38fbc649b182c8b1a671c1ce6b576326ea8d8 Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Fri, 24 Apr 2026 17:36:56 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E8=BF=90=E5=8A=A8=E9=A6=86?= =?UTF-8?q?=E4=BD=93=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/grade.js | 4 + src/api/sportsHall.js | 18 + src/views/sportHallReport/index.vue | 1370 +++++++++++++-------------- 3 files changed, 684 insertions(+), 708 deletions(-) create mode 100644 src/api/sportsHall.js diff --git a/src/api/grade.js b/src/api/grade.js index 8c855c0..b1b3dbf 100644 --- a/src/api/grade.js +++ b/src/api/grade.js @@ -6,6 +6,10 @@ import http from './http.js' export function GetGradeList() { return http.get(`/api/Grade/GetGradeList`) } + +export function GetGradeNames() { + return http.get('/api/Grade/GetGradeNames') +} export function GetClassPageList(a, b, c, d) { return http.get(`/api/Class/GetClassPageList?GradeId=${a}&ClassName=${b}&PageIndex=${c}&PageSize=${d}`) } diff --git a/src/api/sportsHall.js b/src/api/sportsHall.js new file mode 100644 index 0000000..2b5a05f --- /dev/null +++ b/src/api/sportsHall.js @@ -0,0 +1,18 @@ +import http from './http' + +// 导入运动馆学生体测成绩 +export function importSportsHallStudentsTestData(formData) { + return http.post('/api/SportsHall/SportsHallImportStudentsTestData', formData, false, { + headers: { 'Content-Type': 'multipart/form-data' } + }) +} + +// 运动馆体测成绩分页列表 +export function getSportsHallStudentsTestPageList(params) { + return http.get('/api/SportsHall/GetSportsHallStudentsTestPageList', null, false, { params }) +} + +// 成绩推送 +export function scorePush(params) { + return http.post('/api/SportsHall/ScorePush', params) +} diff --git a/src/views/sportHallReport/index.vue b/src/views/sportHallReport/index.vue index 5fc2a84..1440520 100644 --- a/src/views/sportHallReport/index.vue +++ b/src/views/sportHallReport/index.vue @@ -1,271 +1,236 @@