report_service_impl.dart 647 B

123456789101112131415161718192021222324252627282930
  1. import 'package:cpt_report/modules/device_list/device_list_page.dart';
  2. import 'package:cpt_report/modules/report_list/report_list_page.dart';
  3. import 'package:plugin_basic/basic_export.dart';
  4. import 'package:router/componentRouter/report_service.dart';
  5. class ReportServiceImpl extends GetxService implements ReportService {
  6. @override
  7. void onInit() {
  8. super.onInit();
  9. //初始化资源
  10. }
  11. @override
  12. void onClose() {
  13. super.onClose();
  14. //销毁资源
  15. }
  16. @override
  17. void startDeviceListPage() {
  18. DeviceListPage.startInstance();
  19. }
  20. @override
  21. void startReportMainPage() {
  22. ReportListPage.startInstance();
  23. }
  24. }