|
@@ -403,6 +403,11 @@ class MedicalController extends FControllerBase {
|
|
super.dispose();
|
|
super.dispose();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ RxBool _isNormalcy = RxBool(true);
|
|
|
|
+
|
|
|
|
+ bool get isNormalcy => _isNormalcy.value;
|
|
|
|
+ set isNormalcy(bool value) => _isNormalcy.value = value;
|
|
|
|
+
|
|
/// 【TODO 接口需要变更】 心电
|
|
/// 【TODO 接口需要变更】 心电
|
|
Future<void> createHeart(
|
|
Future<void> createHeart(
|
|
String physicalExamNumber,
|
|
String physicalExamNumber,
|
|
@@ -415,6 +420,61 @@ class MedicalController extends FControllerBase {
|
|
PromptBox.toast('不能提交空数据');
|
|
PromptBox.toast('不能提交空数据');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ await Get.dialog(
|
|
|
|
+ VAlertDialog(
|
|
|
|
+ title: '提示',
|
|
|
|
+ content: Container(
|
|
|
|
+ margin: const EdgeInsets.only(bottom: 20),
|
|
|
|
+ child: Row(
|
|
|
|
+ mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
+ children: [
|
|
|
|
+ const Text(
|
|
|
|
+ '当前心电检测结果是否正常:',
|
|
|
|
+ style: TextStyle(fontSize: 20),
|
|
|
|
+ textAlign: TextAlign.center,
|
|
|
|
+ ),
|
|
|
|
+ SizedBox(
|
|
|
|
+ width: 10,
|
|
|
|
+ ),
|
|
|
|
+ Obx(
|
|
|
|
+ () => Row(
|
|
|
|
+ children: [
|
|
|
|
+ Radio(
|
|
|
|
+ onChanged: (v) {
|
|
|
|
+ isNormalcy = v ?? false;
|
|
|
|
+ },
|
|
|
|
+ value: true,
|
|
|
|
+ groupValue: isNormalcy,
|
|
|
|
+ ),
|
|
|
|
+ Text(
|
|
|
|
+ "正常",
|
|
|
|
+ style: TextStyle(fontSize: 20),
|
|
|
|
+ ),
|
|
|
|
+ Radio(
|
|
|
|
+ onChanged: (v) {
|
|
|
|
+ isNormalcy = v ?? false;
|
|
|
|
+ },
|
|
|
|
+ value: false,
|
|
|
|
+ groupValue: isNormalcy,
|
|
|
|
+ ),
|
|
|
|
+ Text(
|
|
|
|
+ "异常",
|
|
|
|
+ style: TextStyle(fontSize: 20),
|
|
|
|
+ ),
|
|
|
|
+ ],
|
|
|
|
+ ),
|
|
|
|
+ )
|
|
|
|
+ ],
|
|
|
|
+ )),
|
|
|
|
+ showCancel: false,
|
|
|
|
+ onConfirm: () {
|
|
|
|
+ diagnosisDataValue["TwelveHeart"]["isHeartNormalcy"] = isNormalcy;
|
|
|
|
+ Get.back();
|
|
|
|
+ },
|
|
|
|
+ ),
|
|
|
|
+ );
|
|
|
|
+
|
|
for (var entry in input.entries) {
|
|
for (var entry in input.entries) {
|
|
var key = entry.key;
|
|
var key = entry.key;
|
|
var value = entry.value;
|
|
var value = entry.value;
|