page_router.dart 823 B

12345678910111213141516171819202122232425262728293031323334
  1. import 'package:flutter/material.dart';
  2. import 'package:get/get.dart';
  3. import 'package:router/path/router_path.dart';
  4. import '../modules/labour_request_add/labour_request_add_page.dart';
  5. import '../modules/labour_request_list/labour_request_list_page.dart';
  6. import '../modules/labour_request_workflow/labour_request_workflow_page.dart';
  7. class LabourPageRouter {
  8. static final routes = [
  9. //用工请求列表
  10. GetPage(
  11. name: RouterPath.jobLabourRequestList,
  12. page: () => LabourRequestListPage(),
  13. ),
  14. //用工请求添加
  15. GetPage(
  16. name: RouterPath.jobLabourRequestAdd,
  17. page: () => LabourRequestAddPage(),
  18. ),
  19. //用工请求状态修改工作流
  20. GetPage(
  21. name: RouterPath.jobLabourRequestWorkflow,
  22. page: () => LabourRequestWorkflowPage(),
  23. ),
  24. ];
  25. }