Fix 住院工作站中,住院病历的入院记录不吻合问题

This commit is contained in:
2026-01-27 18:41:29 +08:00
parent 164e4a4b75
commit 9bd5caaa1b
2 changed files with 7 additions and 7 deletions

View File

@@ -103,7 +103,7 @@ const handleDelete = async (item) => {
await deleteRecord([item.id]); await deleteRecord([item.id]);
ElMessage.success('删除成功'); ElMessage.success('删除成功');
queryList(); await queryList();
} catch (error) { } catch (error) {
ElMessage.error('删除失败'); ElMessage.error('删除失败');
} }

View File

@@ -560,12 +560,12 @@ const loadLatestMedicalRecord = async () => {
loading.value = true; loading.value = true;
try { try {
// 获取患者的历史病历记录 // 获取患者的历史病历记录
const res = await getRecordByEncounterIdList({ // const res = await getRecordByEncounterIdList({
isPage: 0, // isPage: 0,
encounterId: patientInfo.value.encounterId, // encounterId: patientInfo.value.encounterId,
patientId: patientInfo.value.patientId, // patientId: patientInfo.value.patientId,
definitionId: currentSelectTemplate.value.id, // definitionId: currentSelectTemplate.value.id,
}); // });
const historyRecords = res.data || []; const historyRecords = res.data || [];
if (historyRecords.length > 0) { if (historyRecords.length > 0) {