up
This commit is contained in:
@@ -11,6 +11,11 @@ export const calendarApi = {
|
||||
return api.post('/calendar/calendar/list', {})
|
||||
},
|
||||
|
||||
// 获取所有日历(包括已删除的,系统管理员专用)
|
||||
getAllCalendars() {
|
||||
return api.post('/calendar/calendar/list_all', {})
|
||||
},
|
||||
|
||||
// 更新日历
|
||||
updateCalendar(data) {
|
||||
return api.post('/calendar/calendar/update', data)
|
||||
@@ -21,6 +26,11 @@ export const calendarApi = {
|
||||
return api.post('/calendar/calendar/delete', { id })
|
||||
},
|
||||
|
||||
// 恢复已删除的日历
|
||||
restoreCalendar(id) {
|
||||
return api.post('/calendar/calendar/restore', { id })
|
||||
},
|
||||
|
||||
// 获取日历事件
|
||||
getEvents(data) {
|
||||
return api.post('/calendar/calendar/events', data)
|
||||
|
||||
Reference in New Issue
Block a user