page_router.dart 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import 'package:cpt_job_sg/modules/revise_list/revise_list_page.dart';
  2. import 'package:cpt_job_sg/modules/revise_log/revise_log_page.dart';
  3. import 'package:get/get.dart';
  4. import 'package:router/path/router_path.dart';
  5. import '../modules/applied_staff/applied_staff_page.dart';
  6. import '../modules/applied_staff_detail/applied_staff_detail_page.dart';
  7. import '../modules/applied_staff_reviews/applied_staff_reviews_page.dart';
  8. import '../modules/job_applied/job_applied_page.dart';
  9. import '../modules/revise_add_edit/revise_add_edit_page.dart';
  10. import '../modules/revise_applied/revise_applied_page.dart';
  11. class JobPageSGRouter {
  12. static final routes = [
  13. // 工作列表 (新加坡)
  14. // 新加坡工作列表已申请列表
  15. GetPage(
  16. name: RouterPath.jobListAppliedSG,
  17. page: () => JobAppliedPage(),
  18. ),
  19. GetPage(
  20. name: RouterPath.jobListAppliedStaffListSG,
  21. page: () => AppliedStaffPage(),
  22. ),
  23. GetPage(
  24. name: RouterPath.jobListAppliedStaffDetailSG,
  25. page: () => AppliedStaffDetailPage(),
  26. ),
  27. GetPage(
  28. name: RouterPath.jobListAppliedStaffReviewSG,
  29. page: () => AppliedStaffReviewsPage(),
  30. ),
  31. GetPage(
  32. name: RouterPath.reviseListSG,
  33. page: () => ReviseListPage(),
  34. ),
  35. GetPage(
  36. name: RouterPath.reviseLogSG,
  37. page: () => ReviseLogPage(),
  38. ),
  39. GetPage(
  40. name: RouterPath.reviseEditSG,
  41. page: () => ReviseAddEditPage(),
  42. ),
  43. GetPage(
  44. name: RouterPath.reviseAppliedSG,
  45. page: () => ReviseAppliedPage(),
  46. ),
  47. ];
  48. }