3.修改睡眠报告文字 正常窦性心律

This commit is contained in:
wyf
2026-03-30 14:18:55 +08:00
parent 3a2956658d
commit 9a431e907e
11 changed files with 510 additions and 390 deletions

View File

@@ -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);
},
),
],