123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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';
- import '../modules/report_labour_vn/report_labour_vn_page.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(),
- ),
- //用工统计(越南单独页面)
- GetPage(
- name: RouterPath.reportLabourVN,
- page: () => ReportLabourVNPage(),
- ),
- ];
- }
|