当手术计费弹窗中点击"签发"耗材时,因耗材的locationId(发放库房)为空导致后端异常。 在DoctorStationAdviceAppServiceImpl.handDevice方法中,当locationId为null时,使用登录用户的科室ID作为默认值, 与NurseBillingAppService中的处理方式保持一致。
53 lines
1020 B
JavaScript
Executable File
53 lines
1020 B
JavaScript
Executable File
import request from '@/utils/request'
|
|
|
|
// 查询会诊确认列表
|
|
export function listConfirmation(query) {
|
|
return request({
|
|
url: '/consultation/confirmation/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询会诊确认详细
|
|
export function getConfirmation(id) {
|
|
return request({
|
|
url: '/consultation/confirmation/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增会诊确认
|
|
export function addConfirmation(data) {
|
|
return request({
|
|
url: '/consultation/confirmation',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改会诊确认
|
|
export function updateConfirmation(data) {
|
|
return request({
|
|
url: '/consultation/confirmation',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 确认会诊
|
|
export function confirmConsultation(data) {
|
|
return request({
|
|
url: '/consultation/confirmation/confirm',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除会诊确认
|
|
export function delConfirmation(id) {
|
|
return request({
|
|
url: '/consultation/confirmation/' + id,
|
|
method: 'delete'
|
|
})
|
|
} |