更新日历功能

This commit is contained in:
hero920103 committed 2026-09-24 15:14:30 +08:00
1 parent c5ed596008
commit bc9e32d62a
13 files changed
+1446 -6

No files matched your search

+12
View File
@@ -83,3 +83,15 @@ export function carryPendingSchedules(data) {
data
})
}
// 中国法定节假日/调休日
// 返回 { list: [{date, name, type, year, wage}], builtin_years: [..] }
// type: 0 调休上班(周末补班,显示「班」);1 法定放假(显示「休」)
// 传 start_date + end_date 查区间(日历按 42 格查询),或传 year 查整年。
export function getScheduleHolidays(params) {
return request({
url: '/backend/oa/holiday',
method: 'get',
params
})
}