当手术计费弹窗中点击"签发"耗材时,因耗材的locationId(发放库房)为空导致后端异常。 在DoctorStationAdviceAppServiceImpl.handDevice方法中,当locationId为null时,使用登录用户的科室ID作为默认值, 与NurseBillingAppService中的处理方式保持一致。
60 lines
1.2 KiB
JavaScript
Executable File
60 lines
1.2 KiB
JavaScript
Executable File
import request from '@/utils/request'
|
|
|
|
// 获取今日医生排班列表
|
|
export function getTodayDoctorScheduleList() {
|
|
return request({
|
|
url: '/doctor-schedule/today',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获取当前登录医生今日排班列表
|
|
export function getTodayMySchedule() {
|
|
return request({
|
|
url: '/doctor-schedule/today-my-schedule',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获取医生排班列表
|
|
export function getDoctorScheduleList() {
|
|
return request({
|
|
url: '/appointment/doctor-schedule/list',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 添加医生排班
|
|
export function addDoctorSchedule(data) {
|
|
return request({
|
|
url: '/appointment/doctor-schedule',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 添加医生排班(带具体日期)
|
|
export function addDoctorScheduleWithDate(data) {
|
|
return request({
|
|
url: '/appointment/doctor-schedule/add-with-date',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 更新医生排班
|
|
export function updateDoctorSchedule(data) {
|
|
return request({
|
|
url: '/appointment/doctor-schedule',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除医生排班
|
|
export function deleteDoctorSchedule(id) {
|
|
return request({
|
|
url: '/appointment/doctor-schedule/delete/' + id,
|
|
method: 'delete'
|
|
})
|
|
} |