排课功能优化
This commit is contained in:
@@ -58,3 +58,47 @@ export function listSchedulingLogs(sskcbh, czlx) {
|
||||
params: { sskcbh, czlx }
|
||||
})
|
||||
}
|
||||
|
||||
// 编辑课程教学任务信息(学时/周课时/课程简称/责任教员/默认场地)
|
||||
export function updateSchedulingCourse(data) {
|
||||
return request({
|
||||
url: '/schedulingWindow/course/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 教学班次(合班)当前列表 + 候选班次
|
||||
export function getCourseTeams(sskcbh) {
|
||||
return request({
|
||||
url: '/schedulingWindow/course/teams',
|
||||
method: 'get',
|
||||
params: { sskcbh }
|
||||
})
|
||||
}
|
||||
|
||||
// 教学保障选项(保障类别 + 保障资源,含总量与单位)
|
||||
export function getSupportOptions() {
|
||||
return request({
|
||||
url: '/schedulingWindow/support/options',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 批量发布【运行课表】(手册 12.1)
|
||||
export function publishRunningCourses(xydxqbhs) {
|
||||
return request({
|
||||
url: '/schedulingWindow/publish',
|
||||
method: 'post',
|
||||
data: { xydxqbhs }
|
||||
})
|
||||
}
|
||||
|
||||
// 批量删除【运行课表】(手册 12.2)
|
||||
export function withdrawRunningCourses(xydxqbhs) {
|
||||
return request({
|
||||
url: '/schedulingWindow/withdraw',
|
||||
method: 'post',
|
||||
data: { xydxqbhs }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user