1、正课与学期关系关联;
2、天假删除保护; 3、教学任务计划增加了「结束发布」。已发布或库里的「已发布」都可以结束;结束后写入结束时间,任务书和班次课程任务只读 4、班次学期操作内容调整修改;
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// ======================== 班历管理(实体 XYDRWB 学员队任务表) ========================
|
||||
// ======================== 班次教学任务(实体 XYDRWB 学员队任务表,不是班历) ========================
|
||||
// 接口依据:api2.txt「班次学期日历(班历)」分组 + StudentTeamTaskController
|
||||
// 每个班次学期(xydxqbh)下挂若干条课程任务记录:
|
||||
// bh 编号、nd 年度、xydbh 学员队编号、kbh 课编号、xqdc 学期第次、jybh 教员编号、kcxh 课次序号、
|
||||
@@ -103,3 +103,59 @@ export function autoGenerateRequiredCourses(xydbh, xqdc) {
|
||||
params: { xydbh: xydbh, xqdc: xqdc }
|
||||
})
|
||||
}
|
||||
|
||||
export function batchAutoGenerateTasks(xydxqbhList) {
|
||||
return request({
|
||||
url: '/studentTeamTask/batchAutoGenerate',
|
||||
method: 'post',
|
||||
data: xydxqbhList
|
||||
})
|
||||
}
|
||||
|
||||
export function listPlanCourses(xydxqbh, otherOnly) {
|
||||
return request({
|
||||
url: '/studentTeamTask/planCourses',
|
||||
method: 'get',
|
||||
params: { xydxqbh, otherOnly }
|
||||
})
|
||||
}
|
||||
|
||||
export function addTaskFromLibrary(xydxqbh, kbh) {
|
||||
return request({
|
||||
url: '/studentTeamTask/addFromLibrary',
|
||||
method: 'post',
|
||||
params: { xydxqbh, kbh }
|
||||
})
|
||||
}
|
||||
|
||||
export function addTaskFromPlan(xydxqbh, planBh) {
|
||||
return request({
|
||||
url: '/studentTeamTask/addFromPlan',
|
||||
method: 'post',
|
||||
params: { xydxqbh, planBh }
|
||||
})
|
||||
}
|
||||
|
||||
export function syncTaskFromPlan(bhList) {
|
||||
return request({
|
||||
url: '/studentTeamTask/syncFromPlan',
|
||||
method: 'post',
|
||||
data: bhList
|
||||
})
|
||||
}
|
||||
|
||||
export function batchDeleteTasks(bhList) {
|
||||
return request({
|
||||
url: '/studentTeamTask/batchDelete',
|
||||
method: 'post',
|
||||
data: bhList
|
||||
})
|
||||
}
|
||||
|
||||
export function pasteTasks(bhList, targetXydxqbh) {
|
||||
return request({
|
||||
url: '/studentTeamTask/paste',
|
||||
method: 'post',
|
||||
data: { bhList, targetXydxqbh }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user