Browse Source

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

loki.wu 10 months ago
parent
commit
d5281d4c8d

+ 1 - 2
lib/pages/patient/detail/widgets/last_record.dart

@@ -85,8 +85,7 @@ class LastRecordTable extends StatelessWidget {
         }
         if (checkKey == "HEITCMC") {
           children.add(_buildConstitutionDataCell(child));
-        }
-        if (label == '心电测量') {
+        } else if (label == '心电测量') {
           children.add(_buildImageDataCell(child));
         } else if (label == '十二导心电图(30秒)' || label == "十二导心电图(30秒)") {
           children.add(_buildImageDataCell(child));

+ 5 - 0
lib/pages/traditional_chinese_medicine_constitution/view.dart

@@ -24,6 +24,10 @@ class TraditionalChineseMedicineConstitutionView
   }
 
   Widget buildContent(String key) {
+    String examData = "";
+    if (Get.arguments != null) {
+      examData = Get.arguments["examData"] ?? '';
+    }
     return TCMConstitutionModule(
       cardKey: key,
       callBack: (key, templateCode, data) async {
@@ -37,6 +41,7 @@ class TraditionalChineseMedicineConstitutionView
 
         return true;
       },
+      examData: examData,
       patientCode: Store.user.currentSelectPatientInfo?.code ??
           Store.user.currentSelectRegisterPersonInfo?.physicalExamNumber ??
           '',