|
@@ -86,7 +86,10 @@ const RegisterAvailableFilterBar: React.FC<Props> = ({
|
|
|
style={{ width: '100%' }}
|
|
style={{ width: '100%' }}
|
|
|
placeholder="患者类型"
|
|
placeholder="患者类型"
|
|
|
options={patientTypes.map((item: PatientType) => ({
|
|
options={patientTypes.map((item: PatientType) => ({
|
|
|
- label: item.patient_type_name,
|
|
|
|
|
|
|
+ label: intl.formatMessage({
|
|
|
|
|
+ id: `register.${item.patient_type_name.toLowerCase()}`,
|
|
|
|
|
+ defaultMessage: item.patient_type_name,
|
|
|
|
|
+ }),
|
|
|
value: item.patient_type_id,
|
|
value: item.patient_type_id,
|
|
|
}))}
|
|
}))}
|
|
|
value={currentPatientType?.patient_type_id}
|
|
value={currentPatientType?.patient_type_id}
|