2024-07-26 18:59:02 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 查询报名信息列表
|
|
|
|
export function listHitRegistrationStudentInfo(query) {
|
|
|
|
return request({
|
2024-08-20 18:02:46 +08:00
|
|
|
url: '/system/hit_reg_info/list',
|
2024-07-26 18:59:02 +08:00
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
2024-09-25 13:23:11 +08:00
|
|
|
// 查询报名信息列表学生
|
|
|
|
export function listHitRegistrationStudentInfoStudent(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/hit_reg_info/studentList',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
2024-07-26 18:59:02 +08:00
|
|
|
|
|
|
|
// 查询报名信息详细
|
|
|
|
export function getHitRegistrationStudentInfo(id) {
|
|
|
|
return request({
|
2024-09-25 13:23:11 +08:00
|
|
|
url: '/system/hit_reg_info/' + id,
|
2024-07-26 18:59:02 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 新增报名信息
|
|
|
|
export function addHitRegistrationStudentInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/hit/hitRegistrationStudentInfo',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改报名信息
|
|
|
|
export function updateHitRegistrationStudentInfo(data) {
|
|
|
|
return request({
|
2024-08-20 18:02:46 +08:00
|
|
|
url: '/system/hit_reg_info',
|
2024-07-26 18:59:02 +08:00
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
2024-09-25 13:23:11 +08:00
|
|
|
// 学生修改报名信息
|
|
|
|
export function studentUpdateHitRegistrationStudentInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/system/hit_reg_info/studentEdit',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
2024-07-26 18:59:02 +08:00
|
|
|
|
|
|
|
// 删除报名信息
|
|
|
|
export function delHitRegistrationStudentInfo(id) {
|
|
|
|
return request({
|
|
|
|
url: '/hit/hitRegistrationStudentInfo/' + id,
|
|
|
|
method: 'delete'
|
|
|
|
})
|
|
|
|
}
|
2024-07-27 18:02:04 +08:00
|
|
|
|
|
|
|
//获取老师信息
|
|
|
|
export function getTeachInfoByIds(ids){
|
|
|
|
return request({
|
|
|
|
url: '/hit/hitRegistrationStudentInfo/getTeach/' + ids,
|
|
|
|
method: "get",
|
|
|
|
})
|
|
|
|
}
|
2024-08-03 20:30:55 +08:00
|
|
|
|
|
|
|
|