3.修改睡眠报告文字 正常窦性心律
This commit is contained in:
@@ -94,19 +94,28 @@ class _HealthReportCardWidgetState extends State<HealthReportCardWidget> {
|
||||
_formatTime(reportData['create_time']),
|
||||
onViewTap: () async {
|
||||
// 查看按钮点击事件
|
||||
edm.EasyDartModule.logger.info("快检报告查看按钮点击");
|
||||
String ID = reportData['id'];
|
||||
DeviceTypeController deviceTypeController =
|
||||
Get.find();
|
||||
await deviceTypeController.getCheckHistory(
|
||||
id: ID, mac: reportData['mac']);
|
||||
if (deviceTypeController.currentCq.value == null ||
|
||||
deviceTypeController.currentCq.value.isEmpty) {
|
||||
NewTopSlideNotification.show(
|
||||
text: "未找到快检报告".tr,
|
||||
textColor: themeController.currentColor.sc9);
|
||||
return;
|
||||
}
|
||||
_onViewReport(deviceTypeController.currentCq.value);
|
||||
Map data = {
|
||||
'id': ID,
|
||||
'mac': reportData['mac'],
|
||||
};
|
||||
// await deviceTypeController.getCheckHistory(
|
||||
// id: ID, mac: reportData['mac']);
|
||||
// if (Get.currentRoute != '/healthExperienceHistory')
|
||||
// return;
|
||||
// if (deviceTypeController.currentCq.value == null ||
|
||||
// deviceTypeController.currentCq.value.isEmpty) {
|
||||
// NewTopSlideNotification.show(
|
||||
// text: "未找到快检报告".tr,
|
||||
// textColor: themeController.currentColor.sc9);
|
||||
// return;
|
||||
// }
|
||||
// _onViewReport(deviceTypeController.currentCq.value);
|
||||
Get.toNamed('/healthQuickCheckReportPage',
|
||||
arguments: data);
|
||||
},
|
||||
),
|
||||
],
|
||||
|
||||
@@ -1262,11 +1262,14 @@ class _HealthCheckPageState extends State<HealthCheckPage>
|
||||
progressNotifier.value = 0;
|
||||
edm.EasyDartModule.logger.info("快检结束,停止定时查询");
|
||||
_checkStatusTimer?.cancel();
|
||||
await deviceTypeController.getCheckHistory(
|
||||
id: deviceTypeController.experience_id.value,
|
||||
mac: widget.personInfo['mac']);
|
||||
Get.toNamed('/healthQuickCheckReportPage',
|
||||
arguments: deviceTypeController.currentCq.value);
|
||||
Map data = {
|
||||
"id": deviceTypeController.experience_id.value,
|
||||
"mac": widget.personInfo['mac']
|
||||
};
|
||||
// await deviceTypeController.getCheckHistory(
|
||||
// id: deviceTypeController.experience_id.value,
|
||||
// mac: widget.personInfo['mac']);
|
||||
Get.toNamed('/healthQuickCheckReportPage', arguments: data);
|
||||
} catch (e) {
|
||||
edm.EasyDartModule.logger.error("快检报告页面加载失败---?${e.toString()}");
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import 'package:vbvs_app/controller/message/message_review_controller.dart';
|
||||
import 'package:vbvs_app/pages/device/component/HealthReportCard.dart';
|
||||
|
||||
class HealthExperienceHistory extends StatefulWidget {
|
||||
var data; //1.绑定时 2.绑定后
|
||||
var data;
|
||||
HealthExperienceHistory({super.key, required this.data});
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user