Fix 住院工作站中,住院病历的入院记录不吻合问题
This commit is contained in:
@@ -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('删除失败');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user