From 9084ddaa980cb1f3481dca3a08096a9365021fdd Mon Sep 17 00:00:00 2001 From: Auora <14587305+auoraasd@user.noreply.gitee.com> Date: Thu, 23 Oct 2025 14:42:01 +0800 Subject: [PATCH] =?UTF-8?q?1=E5=A2=9E=E5=8A=A0=E5=B0=B1=E8=AF=8A=E5=8D=A1?= =?UTF-8?q?=E5=8F=B7=E5=AD=97=E6=AE=B5=E6=98=BE=E7=A4=BA=E3=80=82=202?= =?UTF-8?q?=E5=8D=A1=E5=8F=B7=EF=BC=9A=E5=BD=93=E7=97=85=E5=8E=86=E5=8F=B7?= =?UTF-8?q?/=E5=A7=93=E5=90=8D=E5=AD=97=E6=AE=B5=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=A3=80=E7=B4=A2=E5=88=B0=E6=82=A3=E8=80=85?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=80=89=E6=8B=A9=E6=97=B6=E5=8D=A1=E5=8F=B7?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=B9=9F=E8=A6=81=E8=BF=9B=E8=A1=8C=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/OutpatientRegistrationAppServiceImpl.java | 6 ++++++ .../outpatientregistration/components/patientList.vue | 1 + .../src/views/charge/outpatientregistration/index.vue | 5 +++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java index 8ae4fb20..4a606304 100644 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/chargemanage/appservice/impl/OutpatientRegistrationAppServiceImpl.java @@ -119,6 +119,12 @@ public class OutpatientRegistrationAppServiceImpl implements IOutpatientRegistra // 初复诊 e.setFirstEnum_enumText(patientIdList.contains(e.getId()) ? EncounterType.FOLLOW_UP.getInfo() : EncounterType.INITIAL.getInfo()); + // 患者标识 + PatientIdentifier patientIdentifier = patientIdentifierService + .getOne(new LambdaQueryWrapper().eq(PatientIdentifier::getPatientId, e.getId())); + if (patientIdentifier != null) { + e.setIdentifierNo(patientIdentifier.getIdentifierNo()); + } }); return patientMetadataPage; diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue index abcfa86b..3e2780a0 100644 --- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue +++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientList.vue @@ -7,6 +7,7 @@ @cell-click="clickRow" > + diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue index 15c9632d..bbd223d3 100644 --- a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue +++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue @@ -88,8 +88,8 @@ - - + + @@ -1239,6 +1239,7 @@ function selsectPatient(row) { form.value.phone = row.phone; form.value.firstEnum_enumText = row.firstEnum_enumText; form.value.age = row.age; + form.value.identifierNo = row.identifierNo; } // 设置新增参数