1增加就诊卡号字段显示。
2卡号:当病历号/姓名字段通过条件检索到患者信息选择时卡号字段也要进行赋值。
This commit is contained in:
@@ -119,6 +119,12 @@ public class OutpatientRegistrationAppServiceImpl implements IOutpatientRegistra
|
|||||||
// 初复诊
|
// 初复诊
|
||||||
e.setFirstEnum_enumText(patientIdList.contains(e.getId()) ? EncounterType.FOLLOW_UP.getInfo()
|
e.setFirstEnum_enumText(patientIdList.contains(e.getId()) ? EncounterType.FOLLOW_UP.getInfo()
|
||||||
: EncounterType.INITIAL.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;
|
return patientMetadataPage;
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
@cell-click="clickRow"
|
@cell-click="clickRow"
|
||||||
>
|
>
|
||||||
<el-table-column label="姓名" align="center" prop="name" />
|
<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="genderEnum_enumText" />
|
||||||
<el-table-column label="证件号" align="center" prop="idCard" />
|
<el-table-column label="证件号" align="center" prop="idCard" />
|
||||||
<el-table-column label="联系电话" align="center" prop="phone" />
|
<el-table-column label="联系电话" align="center" prop="phone" />
|
||||||
|
|||||||
@@ -88,8 +88,8 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
<el-form-item label="卡号:" prop="card">
|
<el-form-item label="就诊卡号:" prop="card">
|
||||||
<el-input v-model="form.card" placeholder="" :disabled="true" />
|
<el-input v-model="form.identifierNo" placeholder="" :disabled="true" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
@@ -1239,6 +1239,7 @@ function selsectPatient(row) {
|
|||||||
form.value.phone = row.phone;
|
form.value.phone = row.phone;
|
||||||
form.value.firstEnum_enumText = row.firstEnum_enumText;
|
form.value.firstEnum_enumText = row.firstEnum_enumText;
|
||||||
form.value.age = row.age;
|
form.value.age = row.age;
|
||||||
|
form.value.identifierNo = row.identifierNo;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 设置新增参数
|
// 设置新增参数
|
||||||
|
|||||||
Reference in New Issue
Block a user