import 'package:cpt_labour/modules/labour_review_list/labour_review_page.dart'; import 'package:plugin_basic/basic_export.dart'; import 'package:router/componentRouter/labour_service.dart'; import 'package:shared/utils/log_utils.dart'; import '../modules/labour_request_list/labour_request_list_page.dart'; import '../modules/labour_template_list/labour_template_list_page.dart'; class LabourServiceImpl extends GetxService implements LabourService { @override void startLabourRequestPage() { LabourRequestListPage.startInstance(); } @override void startLabourTemplatePage() { LabourTemplateListPage.startInstance(); } @override void startLabourReviewPage() { LabourReviewPage.startInstance(); } @override void onInit() { super.onInit(); //初始化资源 Log.d("LabourServiceImpl 初始化资源"); } @override void onClose() { super.onClose(); //销毁资源 Log.d("LabourServiceImpl 销毁资源"); } }