labour_sg_service_impl.dart 869 B

123456789101112131415161718192021222324252627282930313233343536
  1. import 'package:cpt_labour_sg/modules/job_list/job_list_page.dart';
  2. import 'package:cpt_labour_sg/modules/job_title_list/job_title_list_page.dart';
  3. import 'package:cpt_labour_sg/modules/labour_request/labour_request_page.dart';
  4. import 'package:plugin_basic/basic_export.dart';
  5. import 'package:router/componentRouter/labour_sg_service.dart';
  6. import 'package:shared/utils/log_utils.dart';
  7. class LabourSGServiceImpl extends GetxService implements LabourSGService {
  8. @override
  9. void onInit() {
  10. super.onInit();
  11. //初始化资源
  12. }
  13. @override
  14. void onClose() {
  15. super.onClose();
  16. //销毁资源
  17. }
  18. @override
  19. void startLabourRequestPage() {
  20. LabourRequestPage.startInstance();
  21. }
  22. @override
  23. void startJobTitlePage() {
  24. JobTitleListPage.startInstance();
  25. }
  26. @override
  27. void startJobListPage() {
  28. JobListPage.startInstance();
  29. }
  30. }