labour_sg_service_impl.dart 819 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:plugin_basic/basic_export.dart';
  4. import 'package:router/componentRouter/labour_sg_service.dart';
  5. import '../modules/labour_request_list/labour_request_list_page.dart';
  6. class LabourSGServiceImpl extends GetxService implements LabourSGService {
  7. @override
  8. void onInit() {
  9. super.onInit();
  10. //初始化资源
  11. }
  12. @override
  13. void onClose() {
  14. super.onClose();
  15. //销毁资源
  16. }
  17. @override
  18. void startLabourRequestPage() {
  19. LabourRequestListPage.startInstance();
  20. }
  21. @override
  22. void startJobTitlePage() {
  23. JobTitleListPage.startInstance();
  24. }
  25. @override
  26. void startJobListPage() {
  27. JobListPage.startInstance();
  28. }
  29. }