班历功能添加

This commit is contained in:
2026-09-16 17:13:57 +08:00
parent 2e151ea228
commit abf616a8ee
19 changed files with 526 additions and 73 deletions
@@ -16,6 +16,24 @@ export function updateClassCalendarEvent(data) {
})
}
// 批量保存班历时间格(拖选区域一次提交;cell.action='clear' 恢复默认)
export function batchSaveClassCalendarEvent(xydxqbh, cells) {
return request({
url: '/class-calendar/batchSave',
method: 'post',
data: { xydxqbh, cells }
})
}
// 重新同步校历:confirm=false 返回缺失格预览,confirm=true 实际补齐
export function resyncClassCalendar(xydxqbh, confirm) {
return request({
url: '/class-calendar/resync',
method: 'post',
params: { xydxqbh, confirm }
})
}
export function applyClassCalendarEvent(data) {
return request({
url: '/class-calendar/apply',