优化更新患者信息的接口调用,调整错误提示信息
This commit is contained in:
@@ -216,7 +216,13 @@ const U2: React.FC = () => {
|
||||
// `Updating patient info: id_no=${idCardNo}, marital_status=${selectedMarital}, province=${provinceCode}, city=${cityCode}, county=${countyCode}, address=${address}, id_no_pic size=${blob.size}`
|
||||
// );
|
||||
// 调用带图片的更新接口(传入推断的省市县编码)
|
||||
return updatePatientInfo(idCardNo, selectedMarital, address, blob, idCardData.life_end);
|
||||
return updatePatientInfo(
|
||||
idCardNo,
|
||||
selectedMarital,
|
||||
address,
|
||||
blob,
|
||||
idCardData.life_end
|
||||
);
|
||||
};
|
||||
|
||||
tryUploadWithPhoto()
|
||||
@@ -364,7 +370,7 @@ const U2: React.FC = () => {
|
||||
</div>
|
||||
{patientInfo?.is_valid_exam !== 1 ? (
|
||||
<div className="u2-error-msg">
|
||||
未查询到您当日的体检预约信息,建议核对预约日期!
|
||||
未查询到您的档案信息,详情请咨询前台工作人员!
|
||||
</div>
|
||||
) : patientInfo?.is_update_patient_info === 1 &&
|
||||
selectedMarital === null ? (
|
||||
|
||||
Reference in New Issue
Block a user