医生排班日期的正确插入
This commit is contained in:
@@ -13,6 +13,19 @@ export function addDoctorSchedule(data) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加医生排班(带具体日期)
|
||||
* @param {Object} data - 排班数据
|
||||
* @returns {Promise}
|
||||
*/
|
||||
export function addDoctorScheduleWithDate(data) {
|
||||
return request({
|
||||
url: '/doctor-schedule/add-with-date',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新医生排班
|
||||
* @param {Object} data - 排班数据 (必须包含ID)
|
||||
|
||||
Reference in New Issue
Block a user