fix(doctorstation): 修复会诊模块数据加载异常处理
- 添加了接口响应空值检查,防止因空响应导致的页面崩溃 - 完善了错误处理逻辑,统一返回空数组避免组件渲染异常 - 增强了网络错误捕获,提供更准确的错误信息提示 - 优化了后端服务异常处理,确保查询失败时返回安全的默认值 - 修复了手术收费模块中的用户卡信息引用错误 - 改进了学生合同号处理逻辑,增加了前置条件验证
This commit is contained in:
@@ -341,7 +341,7 @@ async function handleReadCard(value) {
|
||||
certNo: message.data.idNo,
|
||||
psnCertType: '02',
|
||||
};
|
||||
userCardInfo = {
|
||||
userCardInfo.value = {
|
||||
certType: '01',
|
||||
certNo: message.data.idNo,
|
||||
psnCertType: '01',
|
||||
@@ -372,7 +372,7 @@ async function handleReadCard(value) {
|
||||
certNo: message1.SocialSecurityNumber,
|
||||
psnCertType: '02',
|
||||
};
|
||||
userCardInfo = {
|
||||
userCardInfo.value = {
|
||||
certType: '02',
|
||||
certNo: message1.SocialSecurityNumber,
|
||||
psnCertType: '02',
|
||||
@@ -397,8 +397,8 @@ async function handleReadCard(value) {
|
||||
patientId: props.patientInfo.patientId,
|
||||
encounterId: props.patientInfo.encounterId,
|
||||
chargeItemIds: chargeItemIdList.value,
|
||||
ybMdtrtCertType: userCardInfo.psnCertType,
|
||||
busiCardInfo: userCardInfo.busiCardInfo,
|
||||
ybMdtrtCertType: userCardInfo.value.psnCertType,
|
||||
busiCardInfo: userCardInfo.value.busiCardInfo,
|
||||
generateSourceEnum: 2,
|
||||
sourceBillNo: props.surgeryInfo.surgeryNo,
|
||||
}).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user