后端代码

This commit is contained in:
liumengyu
2026-08-24 17:48:55 +08:00
parent e0485f7366
commit aa4145fd33
419 changed files with 3684 additions and 53031 deletions
@@ -1,84 +0,0 @@
import request from '@/utils/request'
// 分页查询学员信息列表(姓名/联系电话/通信地址支持模糊查询,其余实体字段可作为查询条件)
export function listStudentRecord(query) {
return request({
url: '/student-records/list',
method: 'get',
params: query
})
}
// 查询学员信息详情(bh 编号必传)
export function getStudentRecord(bh) {
return request({
url: '/student-records/get',
method: 'get',
params: { bh: bh }
})
}
// 新增学员信息
export function addStudentRecord(data) {
return request({
url: '/student-records/add',
method: 'post',
data: data
})
}
// 修改学员信息(bh 编号必传)
export function updateStudentRecord(data) {
return request({
url: '/student-records/update',
method: 'post',
data: data
})
}
// 删除学员信息(bh 编号)
export function delStudentRecord(bh) {
return request({
url: '/student-records/delete',
method: 'post',
params: { bh: bh }
})
}
// 分页查询学员课程成绩(xybh 学员编号必传;nd 年度可选)
export function listStudentGrades(query) {
return request({
url: '/student-records/grades',
method: 'get',
params: query
})
}
// 分页查询学员课程过程成绩(xybh 学员编号必传;nd 年度可选)
export function listStudentProcessGrades(query) {
return request({
url: '/student-records/process-grades',
method: 'get',
params: query
})
}
// 导出学员课程成绩 Excel(xybh 学员编号必传)
export function exportStudentGrades(xybh) {
return request({
url: '/student-records/export-grades',
method: 'get',
params: { xybh: xybh },
responseType: 'blob'
})
}
// 导出学员课程过程成绩 Excel(xybh 学员编号必传)
export function exportStudentProcessGrades(xybh) {
return request({
url: '/student-records/export-process-grades',
method: 'get',
params: { xybh: xybh },
responseType: 'blob'
})
}