You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
import request from '@/utils/request'
|
|
|
|
// 新增班级学员
|
|
export function addClaStu(data) {
|
|
return request({
|
|
url: '/api/sc/course/cla/stu/add/addScCourseClaStu',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 新增学员班级
|
|
export function addStuCla(data) {
|
|
return request({
|
|
url: '/api/sc/course/cla/stu/add/addScCourseStuCla',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除班级学员
|
|
export function delClaStu(studentIds, claId) {
|
|
return request({
|
|
url: '/api/sc/course/cla/stu/delete/deleteById/' + studentIds + '/' + claId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 删除学员班级
|
|
export function delStuCla(claIds, studentId) {
|
|
return request({
|
|
url: '/api/sc/course/cla/stu/delete/deleteStuCla/' + claIds + '/' + studentId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 删除
|
|
export function claStuChargeInfo(query) {
|
|
return request({
|
|
url: '/api/sc/course/cla/stu/info/claStuChargeInfo',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 修改资费
|
|
export function updateClaStuCharge(data) {
|
|
return request({
|
|
url: '/apisc/course/cla/stu/update/claStuCharge',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|