瀏覽代碼

修复:0018704: 【一体机】【健康体检】人脸识别,扫描已录入档案的人脸,识别后无任何响应,应该建创建一条体检记录

loki.wu 10 月之前
父節點
當前提交
9d115ad447

+ 1 - 1
lib/pages/check/widgets/exam_configurable/exam_blood_pressure.dart

@@ -179,7 +179,7 @@ class VDialogBloodPressure extends StatelessWidget {
     TextEditingController controller,
   ) {
     return Row(
-      children: [_buildItem(context, controller, '率')],
+      children: [_buildItem(context, controller, '率')],
     );
   }
 }

+ 9 - 0
lib/pages/medical_checkup_station/registration/controller/form.dart

@@ -221,6 +221,15 @@ class RegistrationFormController {
             return;
           }
         }
+      } else {
+        PatientDTO? currentPatient = await fillInIdentityInfo(patient);
+        if (currentPatient != null) {
+          patient = currentPatient;
+          await createResidentInList(
+            patient: patient,
+            isVital: isVital,
+          );
+        }
       }
     }
   }