71 lines
1.5 KiB
JavaScript
71 lines
1.5 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询报名信息列表
|
|
export function listHitRegistrationStudentInfo(query) {
|
|
return request({
|
|
url: '/system/hit_reg_info/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询报名信息列表学生
|
|
export function listHitRegistrationStudentInfoStudent(query) {
|
|
return request({
|
|
url: '/system/hit_reg_info/studentList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询报名信息详细
|
|
export function getHitRegistrationStudentInfo(id) {
|
|
return request({
|
|
url: '/system/hit_reg_info/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增报名信息
|
|
export function addHitRegistrationStudentInfo(data) {
|
|
return request({
|
|
url: '/hit/hitRegistrationStudentInfo',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改报名信息
|
|
export function updateHitRegistrationStudentInfo(data) {
|
|
return request({
|
|
url: '/system/hit_reg_info',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
// 学生修改报名信息
|
|
export function studentUpdateHitRegistrationStudentInfo(data) {
|
|
return request({
|
|
url: '/system/hit_reg_info/studentEdit',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除报名信息
|
|
export function delHitRegistrationStudentInfo(id) {
|
|
return request({
|
|
url: '/hit/hitRegistrationStudentInfo/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
//获取老师信息
|
|
export function getTeachInfoByIds(ids){
|
|
return request({
|
|
url: '/hit/hitRegistrationStudentInfo/getTeach/' + ids,
|
|
method: "get",
|
|
})
|
|
}
|
|
|
|
|