فهرست منبع

Merge branch 'master' of http://git.ius.plus/Project-Vital/VitalApp

finlay 10 ماه پیش
والد
کامیت
2bd15699f0
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      lib/pages/patient/list/controller.dart

+ 7 - 0
lib/pages/patient/list/controller.dart

@@ -1,3 +1,4 @@
+import 'package:fis_common/index.dart';
 import 'package:fis_jsonrpc/rpc.dart';
 import 'package:flutter/foundation.dart';
 import 'package:flutter/material.dart';
@@ -186,6 +187,12 @@ class PatientListController extends FControllerBase
     PatientBaseDTO? patientInfo,
   ]) async {
     if (patientInfo != null) {
+      if (patientInfo.createdDoctorName.isNullOrEmpty) {
+        patientInfo.createdDoctorName = patientInfoDto?.createdDoctorName;
+      }
+      if (patientInfo.createdOrgName.isNullOrEmpty) {
+        patientInfo.createdOrgName = patientInfoDto?.createdOrgName;
+      }
       if (patientInfoDto != null) {
         final hasConfirmed = await FaceResultDialog.show(patientInfo, true);
         if (!hasConfirmed) {