page_router.dart 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import 'package:cpt_job/modules/applied_staff_detail/applied_staff_detail_page.dart';
  2. import 'package:cpt_job/modules/applied_staff_reviews/applied_staff_reviews_page.dart';
  3. import 'package:cpt_job/modules/applied_workflow/applied_workflow_page.dart';
  4. import 'package:cpt_job/modules/job_applied/job_applied_page.dart';
  5. import 'package:cpt_job/modules/job_applied_edit/job_applied_edit_page.dart';
  6. import 'package:get/get.dart';
  7. import 'package:router/path/router_path.dart';
  8. import '../modules/attendance_review_list/attendance_review_page.dart';
  9. import '../modules/job_list/job_list_page.dart';
  10. import '../modules/job_list_detail/job_list_detail_page.dart';
  11. import '../modules/sign_in_sign_out/sign_in_sign_out_page.dart';
  12. class JobPageRouter {
  13. static final routes = [
  14. //签到签出
  15. GetPage(
  16. name: RouterPath.jobSignInSignOut,
  17. page: () => SignInSignOutPage(),
  18. ),
  19. //工作列表
  20. GetPage(
  21. name: RouterPath.jobList,
  22. page: () => JobListPage(),
  23. ),
  24. //工作列表详情
  25. GetPage(
  26. name: RouterPath.jobListDetail,
  27. page: () => JobListDetailPage(),
  28. ),
  29. //工作已申请列表
  30. GetPage(
  31. name: RouterPath.jobAppliedStaffList,
  32. page: () => JobAppliedPage(),
  33. ),
  34. //工作已申请列表
  35. GetPage(
  36. name: RouterPath.jobAppliedStaffWorkflow,
  37. page: () => AppliedWorkflowPage(),
  38. ),
  39. //编辑申请
  40. GetPage(
  41. name: RouterPath.jobAppliedStaffEdit,
  42. page: () => JobAppliedEditPage(),
  43. ),
  44. //员工详情
  45. GetPage(
  46. name: RouterPath.jobAppliedStaffDetail,
  47. page: () => AppliedStaffDetailPage(),
  48. ),
  49. //员工评价
  50. GetPage(
  51. name: RouterPath.jobAppliedStaffReviews,
  52. page: () => AppliedStaffReviewsPage(),
  53. ),
  54. //工作考勤的审核列表
  55. GetPage(
  56. name: RouterPath.jobAttendanceReviewList,
  57. page: () => AttendanceReviewPage(),
  58. ),
  59. ];
  60. }