当手术计费弹窗中点击"签发"耗材时,因耗材的locationId(发放库房)为空导致后端异常。 在DoctorStationAdviceAppServiceImpl.handDevice方法中,当locationId为null时,使用登录用户的科室ID作为默认值, 与NurseBillingAppService中的处理方式保持一致。
76 lines
1.5 KiB
JavaScript
Executable File
76 lines
1.5 KiB
JavaScript
Executable File
import request from '@/utils/request';
|
|
|
|
export function getDoctorCardStatistics() {
|
|
return request({
|
|
url: '/card-management/doctor/statistics',
|
|
method: 'get',
|
|
});
|
|
}
|
|
|
|
export function getDoctorCardList(params) {
|
|
return request({
|
|
url: '/card-management/doctor/page',
|
|
method: 'get',
|
|
params: params,
|
|
});
|
|
}
|
|
|
|
export function getCardDetail(cardNo) {
|
|
return request({
|
|
url: `/card-management/detail/${cardNo}`,
|
|
method: 'get',
|
|
});
|
|
}
|
|
|
|
export function submitCard(cardNo) {
|
|
return request({
|
|
url: `/card-management/doctor/submit/${cardNo}`,
|
|
method: 'post',
|
|
});
|
|
}
|
|
|
|
export function withdrawCard(cardNo) {
|
|
return request({
|
|
url: `/card-management/doctor/withdraw/${cardNo}`,
|
|
method: 'post',
|
|
});
|
|
}
|
|
|
|
export function deleteCard(cardNo) {
|
|
return request({
|
|
url: `/card-management/doctor/${cardNo}`,
|
|
method: 'delete',
|
|
});
|
|
}
|
|
|
|
export function batchSubmitCards(cardNos) {
|
|
return request({
|
|
url: '/card-management/doctor/batch-submit',
|
|
method: 'post',
|
|
data: cardNos,
|
|
});
|
|
}
|
|
|
|
export function batchDeleteCards(cardNos) {
|
|
return request({
|
|
url: '/card-management/doctor/batch-delete',
|
|
method: 'post',
|
|
data: cardNos,
|
|
});
|
|
}
|
|
|
|
export function exportCardToWord(cardNo) {
|
|
return request({
|
|
url: `/card-management/doctor/export-word/${cardNo}`,
|
|
method: 'get',
|
|
responseType: 'blob',
|
|
});
|
|
}
|
|
|
|
export function updateDoctorCard(data) {
|
|
return request({
|
|
url: '/card-management/doctor/update',
|
|
method: 'post',
|
|
data: data,
|
|
});
|
|
} |