bakamaka.guan %!s(int64=2) %!d(string=hai) anos
pai
achega
e8a21efc66
Modificáronse 2 ficheiros con 28 adicións e 1 borrados
  1. 27 0
      lib/components/picture_components.dart
  2. 1 1
      pubspec.yaml

+ 27 - 0
lib/components/picture_components.dart

@@ -56,6 +56,8 @@ class ContentImage extends StatelessWidget implements FWidget {
   late final List<DiagnosisOrganEnum>? diagnosisOrgans =
       remedicalInfo?.diagnosisOrgans ?? [DiagnosisOrganEnum.Null];
 
+  bool get isCarotidResult => remedicalInfo?.carotidResult != null;
+
   /// 判断是否有AI器官
   bool get hasDiagnosisOrgans => diagnosisOrgans?.length != 0;
 
@@ -135,6 +137,13 @@ class ContentImage extends StatelessWidget implements FWidget {
                     child: _buildAIDiagnosticOrgans(),
                   )
                 : const SizedBox(),
+            isCarotidResult
+                ? Positioned(
+                    bottom: 5,
+                    left: 5,
+                    child: Text('ddssss'),
+                  )
+                : const SizedBox(),
             InkWell(
               onDoubleTap: () {
                 onChangeImage!.call();
@@ -208,6 +217,24 @@ class ContentImage extends StatelessWidget implements FWidget {
                       child: _buildAIDiagnosticOrgans(),
                     )
                   : const SizedBox(),
+              if (isCarotidResult) ...[
+                Positioned(
+                  bottom: 5,
+                  left: 5,
+                  child: FIcon(
+                    FIcons.arteria_carotis,
+                    color: Colors.lightBlue,
+                  ),
+                ),
+                Positioned(
+                  bottom: 5,
+                  right: 5,
+                  child: FIcon(
+                    FIcons.three_dimensional,
+                    color: Colors.lightBlue,
+                  ),
+                ),
+              ],
               isShowDiagnosisOrgans
                   ? Positioned(
                       bottom: 5,

+ 1 - 1
pubspec.yaml

@@ -54,7 +54,7 @@ dependency_overrides:
   fis_ui:
     git:
       url: http://git.ius.plus:88/Project-Wing/fis_lib_ui.git
-      ref: df9ed899f2c    
+      ref: 88b83bf    
 # For information on the generic Dart part of this file, see the
 # following page: https://dart.dev/tools/pub/pubspec