12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- import 'package:get/get.dart';
- import 'package:router/path/router_path.dart';
- import '../modules/labour_request_add/labour_request_add_page.dart';
- import '../modules/labour_request_list/labour_request_list_page.dart';
- import '../modules/labour_request_workflow/labour_request_workflow_page.dart';
- import '../modules/labour_review_edit/labour_review_edit_page.dart';
- import '../modules/labour_review_list/labour_review_page.dart';
- import '../modules/labour_review_workflow/labour_request_workflow_page.dart';
- import '../modules/labour_template_add/labour_template_add_page.dart';
- import '../modules/labour_template_list/labour_template_list_page.dart';
- class LabourPageRouter {
- static final routes = [
- //用工请求列表
- GetPage(
- name: RouterPath.jobLabourRequestList,
- page: () => LabourRequestListPage(),
- ),
- //用工请求添加
- GetPage(
- name: RouterPath.jobLabourRequestAdd,
- page: () => LabourRequestAddPage(),
- ),
- //用工请求状态修改工作流
- GetPage(
- name: RouterPath.jobLabourRequestWorkflow,
- page: () => LabourRequestWorkflowPage(),
- ),
- //用工请求状态修改工作流
- GetPage(
- name: RouterPath.labourTemplateList,
- page: () => LabourTemplateListPage(),
- ),
- //用工请求状态修改工作流
- GetPage(
- name: RouterPath.labourTemplateAdd,
- page: () => LabourTemplateAddPage(),
- ),
- //用工请求审核列表
- GetPage(
- name: RouterPath.labourReviewList,
- page: () => LabourReviewPage(),
- ),
- //用工请求审核编辑
- GetPage(
- name: RouterPath.labourReviewEdit,
- page: () => LabourReviewEditPage(),
- ),
- //用工请求审核工作流
- GetPage(
- name: RouterPath.labourReviewWorkflow,
- page: () => LabourReviewWorkflowPage(),
- ),
- ];
- }
|