优化日程提醒模块

This commit is contained in:
2026-09-08 22:18:36 +08:00
parent 3d53f03246
commit 7f3de60423
17 changed files with 1516 additions and 270 deletions
+18
View File
@@ -47,3 +47,21 @@ export function finishSchedule(id) {
method: 'post'
})
}
// 顺延单条日程到下一天(target_date 为空时后端默认取当前日程日期 +1 天)
export function carrySchedule(id, data) {
return request({
url: `/backend/oa/schedule/carry/${id}`,
method: 'post',
data
})
}
// 批量顺延指定日期的全部未完成日程
export function carryPendingSchedules(data) {
return request({
url: '/backend/oa/schedule/carry-pending',
method: 'post',
data
})
}