Browse Source

1、fixed:0017815: 【新建档案】既往史的“疾病”下选择“无”,弹出无 确诊时间,可填写时间,不应该弹出

guanxinyi 1 year ago
parent
commit
20c25c77b9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/pages/patient_info/widgets/health_infos.dart

+ 2 - 1
lib/pages/patient_info/widgets/health_infos.dart

@@ -175,7 +175,8 @@ class HealthInfomations extends GetView<PatientInfomationController> {
                   },
                   endIcon: _buildEndIcon(),
                 ),
-              if (data.historyPreviousDisease?.isNotEmpty ?? false)
+              if ((data.historyPreviousDisease?.isNotEmpty ?? false) &&
+                  !(data.historyPreviousDisease?.contains("1") ?? false))
                 ...data.historyPreviousDisease!
                     .map(
                       (e) => VListFormCell(