Browse Source

心电状态

finlay 7 months ago
parent
commit
ca549a432e
1 changed files with 30 additions and 31 deletions
  1. 30 31
      lib/pages/ecg/ecg_result_view.dart

+ 30 - 31
lib/pages/ecg/ecg_result_view.dart

@@ -404,11 +404,27 @@ class EcgResultViewState extends State<EcgResultView> {
                   //_buildKeyValue("增益:", "5 mm/mV"),
                   SizedBox(width: 10),
                   _buildKeyValue(
-                      "RV5/SV1:", "${resultConclusion?.Rv5_Sv1_1} Hz"),
+                      "RV5/SV1:", "${resultConclusion?.Rv5_Sv1_1}Hz"),
                   SizedBox(width: 10),
                   _buildKeyValue(
-                      "RV5+SV1:", "${resultConclusion?.Rv5_Sv1_2} Hz"),
+                      "RV5+SV1:", "${resultConclusion?.Rv5_Sv1_2}Hz"),
                   SizedBox(width: 10),
+                  ...[
+                    Text(
+                      "心电状态:",
+                      style: TextStyle(fontSize: 20),
+                    ),
+                    GenericDropdownButton<String>(
+                      items: ["正常", "异常"],
+                      initialValue: healthDiagnosis == "1" ? "正常" : "异常",
+                      itemToString: (t) {
+                        return t;
+                      },
+                      onChanged: (v) {
+                        healthDiagnosis = v == "正常" ? "1" : "2";
+                      },
+                    ),
+                  ],
                 ],
               ),
               Row(
@@ -441,37 +457,20 @@ class EcgResultViewState extends State<EcgResultView> {
                   SizedBox(
                     width: 40,
                   ),
-                  ...[
-                    Text(
-                      "心电数据:",
-                      style: TextStyle(fontSize: 20),
-                    ),
-                    GenericDropdownButton<String>(
-                      items: ["正常", "异常"],
-                      initialValue: healthDiagnosis == "1" ? "正常" : "异常",
-                      itemToString: (t) {
-                        return t;
-                      },
-                      onChanged: (v) {
-                        healthDiagnosis = v == "正常" ? "1" : "2";
-                      },
-                    ),
-                  ]
+                  Row(
+                    children: [
+                      SizedBox(
+                        child: Text(
+                          "若需要更改图像截取范围,请滑动下方的滑动条",
+                          style: TextStyle(
+                            fontSize: 15,
+                          ),
+                        ),
+                      ),
+                    ],
+                  ),
                 ],
               ),
-              //SizedBox(height: 5,)
-              // Row(
-              //   children: [
-              //     SizedBox(
-              //       child: Text(
-              //         "若需要更改图像截取范围,请滑动下方的滑动条",
-              //         style: TextStyle(
-              //           fontSize: 15,
-              //         ),
-              //       ),
-              //     ),
-              //   ],
-              // ),
             ],
           ),
         ),