router_path.dart 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. class RouterPath {
  2. // 默认的路由
  3. static const splash = '/';
  4. static const guide = '/guide'; //指引页面
  5. //用户
  6. static const authLogin = '/auth/login'; //用户登录注册
  7. static const authSignUp = '/auth/signup'; //注册
  8. static const authResetPassword = '/auth/rest_psd'; //重置密码
  9. static const authSelectCountry = '/auth/select/country'; //切换国家
  10. //首页
  11. static const main = '/main';
  12. static const settings = '/settings';
  13. //工作-签到签出
  14. static const jobSignInSignOut = '/job/sign_in_sign_out';
  15. //工作-列表
  16. static const jobList = '/job/list';
  17. static const jobListDetail = '/job/list/detail'; //查看工作的详情
  18. static const jobAppliedStaffList = '/job/applied'; //指定工作中已申请的成员列表
  19. static const jobAppliedStaffEdit = '/job/applied/edit'; //指定工作中已申请的指定员工的信息修改(签到签出等修改)
  20. static const jobAppliedStaffWorkflow = '/job/applied/workflow'; //指定工作中已申请的指定员工的信息与状态修改工作流
  21. static const jobAppliedStaffDetail = '/job/applied/staff/detail'; //工作中员工的详细信息
  22. static const jobAppliedStaffReviews = '/job/applied/staff/reviews'; //工作中员工的被评价列表
  23. //用工请求
  24. static const jobLabourRequestList = '/labour/list'; //用工请求列表
  25. static const jobLabourRequestAdd = '/labour/add'; //用工请求添加
  26. static const jobLabourRequestDetail = '/labour/detail'; //用工请求详情
  27. static const jobLabourRequestWorkflow = '/labour/workflow'; //用工请求修改状态的工作流
  28. static const labourTemplateList = '/labour/template/list'; //模板列表
  29. static const labourTemplateAdd = '/labour/template/add'; //模板添加
  30. static const labourReviewList = '/labour/review/list'; //用工请求审核列表
  31. static const labourReviewEdit = '/labour/review/edit'; //用工请求审核编辑
  32. static const labourReviewWorkflow = '/labour/review/workflow'; //用工请求审核工作流
  33. //其他模块和报表模块
  34. static const deviceList = '/device/list'; //雇主绑定的设备列表
  35. static const reportList = '/report/list'; //报表的选项
  36. static const reportFinance = '/report/finance'; //金额报表
  37. static const reportCasualLabour = '/report/labour'; //用工请求报表
  38. static const reportLabourVN = '/report/labour/vn'; //用工请求报表(越南的单独页面)
  39. static const reportStaffRequest = '/report/staff/request'; //员工申请报表
  40. //新加坡的用工请求
  41. static const jobTitleListSG = '/job/title/list/sg'; //模板的工作标题列表
  42. static const jobTemplateListSG = '/job/template/list/sg'; //模板列表
  43. static const jobTemplateAddSG = '/job/template/add/sg'; //模板添加
  44. static const labourRequestSG = '/labour/request/sg'; //用工首页
  45. static const labourRequestAddSG = '/labour/request/add/sg'; //用工请求添加
  46. //新加坡的工作列表
  47. static const jobListSG = '/job/list/sg'; //工作列表(新加坡)
  48. static const jobListEditSG = '/job/list/edit'; //工作列表编辑与详情(新加坡)
  49. static const jobListAppliedSG = '/job/list/applied'; //工作列表已申请列表(新加坡)
  50. static const jobListAppliedStaffListSG = '/job/list/applied/staff/list'; //工作列表已申请列表添加员工列表(新加坡)
  51. static const jobListAppliedStaffDetailSG = '/job/list/applied/staff/detail'; //工作列表已申请列表员工详情(新加坡)
  52. static const jobListAppliedStaffReviewSG = '/job/list/applied/staff/reviews'; //工作列表已申请列表员工的评论列表(新加坡)
  53. static const reviseListSG = '/revise/list'; //Revise列表(新加坡)
  54. static const reviseAppliedSG = '/revise/applied'; //Applied的Revise(新加坡)
  55. static const reviseLogSG = '/revise/log'; //Revise 的日志(新加坡)
  56. static const reviseEditSG = '/revise/edit'; //Revise 的添加,编辑,详情(新加坡)
  57. //全局其他
  58. static const previewImage = '/preview/image'; //预览图片
  59. static const globalWeb = '/global/web'; //全局公用的Web页面
  60. //Runalone
  61. static const runAloneMain = '/runalone/main'; //独立运行的入口页面
  62. }