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);
|
||||
},
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user