优化日程提醒模块
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user