import 'package:cpt_report/modules/device_list/device_list_page.dart'; import 'package:cpt_report/modules/report_finance/report_finance_page.dart'; import 'package:cpt_report/modules/report_labour/report_labour_page.dart'; import 'package:cpt_report/modules/report_list/report_list_page.dart'; import 'package:cpt_report/modules/report_staff_request/report_staff_request_page.dart'; import 'package:get/get.dart'; import 'package:router/path/router_path.dart'; class ReportPageRouter { static final routes = [ //设备列表 GetPage( name: RouterPath.deviceList, page: () => DeviceListPage(), ), //报表列表 GetPage( name: RouterPath.reportList, page: () => ReportListPage(), ), //财务报表 GetPage( name: RouterPath.reportFinance, page: () => ReportFinancePage(), ), //员工申请 GetPage( name: RouterPath.reportStaffRequest, page: () => ReportStaffRequestPage(), ), //用工统计 GetPage( name: RouterPath.reportCasualLabour, page: () => ReportLabourPage(), ), ]; }