forked from liweijie/education
班历功能添加
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user