123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- import 'package:cpt_sg/modules/main/main_page.dart';
- import 'package:get/get.dart';
- import 'package:router/path/router_path.dart';
- import '../modules/job/applied_staff/applied_staff_page.dart';
- import '../modules/job/applied_staff_detail/applied_staff_detail_page.dart';
- import '../modules/job/applied_staff_reviews/applied_staff_reviews_page.dart';
- import '../modules/job/job_applied/job_applied_page.dart';
- import '../modules/job/revise_add_edit/revise_add_edit_page.dart';
- import '../modules/job/revise_applied/revise_applied_page.dart';
- import '../modules/job/revise_list/revise_list_page.dart';
- import '../modules/job/revise_log/revise_log_page.dart';
- import '../modules/labour/job_list/job_list_page.dart';
- import '../modules/labour/job_list_edit/job_list_edit_page.dart';
- import '../modules/labour/job_template_add/job_template_add_page.dart';
- import '../modules/labour/job_template_list/job_template_list_page.dart';
- import '../modules/labour/job_title_list/job_title_list_page.dart';
- import '../modules/labour/labour_request_add/labour_request_add_page.dart';
- import '../modules/labour/labour_request_edit/labour_request_edit_page.dart';
- import '../modules/labour/labour_request_list/labour_request_list_page.dart';
- import '../modules/report/device_list/device_list_page.dart';
- import '../modules/report/report_finance/report_finance_page.dart';
- import '../modules/report/report_labour/report_labour_page.dart';
- import '../modules/report/report_list/report_list_page.dart';
- import '../modules/report/report_staff_request/report_staff_request_page.dart';
- /// SG模块路由配置
- class SGPageRouter {
- static final routes = <GetPage<dynamic>>[
- GetPage(
- name: RouterPath.SGMain,
- page: () => SGMainPage(),
- ),
- // 新加坡工作列表已申请列表
- GetPage(
- name: RouterPath.jobListAppliedSG,
- page: () => JobAppliedPage(),
- ),
- GetPage(
- name: RouterPath.jobListAppliedStaffListSG,
- page: () => AppliedStaffPage(),
- ),
- GetPage(
- name: RouterPath.jobListAppliedStaffDetailSG,
- page: () => AppliedStaffDetailPage(),
- ),
- GetPage(
- name: RouterPath.jobListAppliedStaffReviewSG,
- page: () => AppliedStaffReviewsPage(),
- ),
- GetPage(
- name: RouterPath.reviseListSG,
- page: () => ReviseListPage(),
- ),
- GetPage(
- name: RouterPath.reviseLogSG,
- page: () => ReviseLogPage(),
- ),
- GetPage(
- name: RouterPath.reviseEditSG,
- page: () => ReviseAddEditPage(),
- ),
- GetPage(
- name: RouterPath.reviseAppliedSG,
- page: () => ReviseAppliedPage(),
- ),
- // 工作标题列表
- GetPage(
- name: RouterPath.jobTitleListSG,
- page: () => JobTitleListPage(),
- ),
- // 工作模板列表
- GetPage(
- name: RouterPath.jobTemplateListSG,
- page: () => JobTemplateListPage(),
- ),
- // 添加模板
- GetPage(
- name: RouterPath.jobTemplateAddSG,
- page: () => JobTemplateAddPage(),
- ),
- // 用工的编辑
- GetPage(
- name: RouterPath.labourRequestEditSG,
- page: () => LabourRequestEditPage(),
- ),
- // 用工请求
- GetPage(
- name: RouterPath.labourRequestSG,
- page: () => LabourRequestListPage(),
- ),
- // 用工请求添加
- GetPage(
- name: RouterPath.labourRequestAddSG,
- page: () => LabourRequestAddPage(),
- ),
- // 新加坡工作列表
- GetPage(
- name: RouterPath.jobListSG,
- page: () => JobListPage(),
- ),
- // 新加坡工作列表编辑
- GetPage(
- name: RouterPath.jobListEditSG,
- page: () => JobListEditPage(),
- ),
- //设备列表
- GetPage(
- name: RouterPath.deviceListSG,
- page: () => DeviceListPage(),
- ),
- //报表列表
- GetPage(
- name: RouterPath.reportListSG,
- page: () => ReportListPage(),
- ),
- //财务报表
- GetPage(
- name: RouterPath.reportFinanceSG,
- page: () => ReportFinancePage(),
- ),
- //员工申请
- GetPage(
- name: RouterPath.reportStaffRequestSG,
- page: () => ReportStaffRequestPage(),
- ),
- //用工统计
- GetPage(
- name: RouterPath.reportCasualLabourSG,
- page: () => ReportLabourPage(),
- ),
- ];
- }
|