page_router.dart 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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/job_list/job_list_page.dart';
  9. import '../modules/job_list_detail/job_list_detail_page.dart';
  10. import '../modules/sign_in_sign_out/sign_in_sign_out_page.dart';
  11. class JobPageRouter {
  12. static final routes = [
  13. //签到签出
  14. GetPage(
  15. name: RouterPath.jobSignInSignOut,
  16. page: () => SignInSignOutPage(),
  17. ),
  18. //工作列表
  19. GetPage(
  20. name: RouterPath.jobList,
  21. page: () => JobListPage(),
  22. ),
  23. //工作列表详情
  24. GetPage(
  25. name: RouterPath.jobListDetail,
  26. page: () => JobListDetailPage(),
  27. ),
  28. //工作已申请列表
  29. GetPage(
  30. name: RouterPath.jobAppliedStaffList,
  31. page: () => JobAppliedPage(),
  32. ),
  33. //工作已申请列表
  34. GetPage(
  35. name: RouterPath.jobAppliedStaffWorkflow,
  36. page: () => AppliedWorkflowPage(),
  37. ),
  38. //编辑申请
  39. GetPage(
  40. name: RouterPath.jobAppliedStaffEdit,
  41. page: () => JobAppliedEditPage(),
  42. ),
  43. //员工详情
  44. GetPage(
  45. name: RouterPath.jobAppliedStaffDetail,
  46. page: () => AppliedStaffDetailPage(),
  47. ),
  48. //员工评价
  49. GetPage(
  50. name: RouterPath.jobAppliedStaffReviews,
  51. page: () => AppliedStaffReviewsPage(),
  52. ),
  53. ];
  54. }