修复部分语言中文
This commit is contained in:
@@ -8,6 +8,7 @@ import 'package:vbvs_app/controller/device/device_share_controller.dart';
|
||||
import 'package:vbvs_app/controller/device/device_type_controller.dart';
|
||||
import 'package:vbvs_app/controller/message/message_controller.dart';
|
||||
import 'package:vbvs_app/controller/theme_controller/ThemeController.dart';
|
||||
import 'package:EasyDartModule/EasyDartModule.dart' as edm;
|
||||
|
||||
class HealthReportCardWidget extends StatefulWidget {
|
||||
final data;
|
||||
@@ -96,7 +97,8 @@ class _HealthReportCardWidgetState extends State<HealthReportCardWidget> {
|
||||
String ID = reportData['id'];
|
||||
DeviceTypeController deviceTypeController =
|
||||
Get.find();
|
||||
await deviceTypeController.getCheckHistory(id: ID,mac: reportData['mac']);
|
||||
await deviceTypeController.getCheckHistory(
|
||||
id: ID, mac: reportData['mac']);
|
||||
if (deviceTypeController.currentCq.value == null ||
|
||||
deviceTypeController.currentCq.value.isEmpty) {
|
||||
NewTopSlideNotification.show(
|
||||
@@ -215,7 +217,11 @@ class _HealthReportCardWidgetState extends State<HealthReportCardWidget> {
|
||||
// 可以根据需要跳转到报告详情页面
|
||||
print('查看报告: ${reportData['_id']}');
|
||||
// 示例:Get.to(() => ReportDetailPage(reportId: reportData['_id']));
|
||||
Get.toNamed('/healthQuickCheckReportPage', arguments: reportData);
|
||||
try {
|
||||
Get.toNamed('/healthQuickCheckReportPage', arguments: reportData);
|
||||
} catch (e) {
|
||||
edm.EasyDartModule.logger.error("快检报告页面加载失败---?${e.toString()}");
|
||||
}
|
||||
}
|
||||
|
||||
// 格式化时间戳
|
||||
|
||||
Reference in New Issue
Block a user