1增加就诊卡号字段显示。

2卡号:当病历号/姓名字段通过条件检索到患者信息选择时卡号字段也要进行赋值。
This commit is contained in:
Auora
2025-10-23 14:42:01 +08:00
parent be6d5c1ccc
commit 9084ddaa98
3 changed files with 10 additions and 2 deletions

View File

@@ -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<PatientIdentifier>().eq(PatientIdentifier::getPatientId, e.getId()));
if (patientIdentifier != null) {
e.setIdentifierNo(patientIdentifier.getIdentifierNo());
}
});
return patientMetadataPage;

View File

@@ -7,6 +7,7 @@
@cell-click="clickRow"
>
<el-table-column label="姓名" align="center" prop="name" />
<el-table-column label="就诊卡号" align="center" prop="identifierNo" />
<el-table-column label="性别" align="center" prop="genderEnum_enumText" />
<el-table-column label="证件号" align="center" prop="idCard" />
<el-table-column label="联系电话" align="center" prop="phone" />

View File

@@ -88,8 +88,8 @@
</el-row>
<el-row :gutter="24">
<el-col :span="5">
<el-form-item label="卡号:" prop="card">
<el-input v-model="form.card" placeholder="" :disabled="true" />
<el-form-item label="就诊卡号:" prop="card">
<el-input v-model="form.identifierNo" placeholder="" :disabled="true" />
</el-form-item>
</el-col>
<el-col :span="6">
@@ -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;
}
// 设置新增参数