diff --git a/openhis-ui-vue3/src/views/doctorstation/components/diagnosis/infectiousDiseaseReportDialog.vue b/openhis-ui-vue3/src/views/doctorstation/components/diagnosis/infectiousDiseaseReportDialog.vue index 95f681b30..54db77903 100755 --- a/openhis-ui-vue3/src/views/doctorstation/components/diagnosis/infectiousDiseaseReportDialog.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/diagnosis/infectiousDiseaseReportDialog.vue @@ -54,9 +54,9 @@ 性别 - - - 未知 + + + 未知 @@ -1044,8 +1044,9 @@ function normalizeSexFromPatientInfo(patientInfo) { if (patientInfo.genderName) return patientInfo.genderName; if (patientInfo.sex) return normalizeSex(patientInfo.sex); // 使用数字枚举字段 - if (patientInfo.genderEnum === 1) return '男'; - if (patientInfo.genderEnum === 2) return '女'; + if (patientInfo.genderEnum === 1 || patientInfo.genderEnum === '1') return '男'; + if (patientInfo.genderEnum === 2 || patientInfo.genderEnum === '2') return '女'; + if (patientInfo.genderEnum === 0 || patientInfo.genderEnum === '0') return '未知'; return '未知'; }