import 'package:cpt_th/modules/job_er/applied_er_edit/applied_er_edit_page.dart';
import 'package:get/get.dart';
import 'package:router/path/router_path.dart';
import '../modules/job_er/applied_er/applied_er_page.dart';
import '../modules/job_er/applied_er_staff_detail/applied_er_staff_detail_page.dart';
import '../modules/job_er/applied_er_staff_reviews/applied_er_staff_reviews_page.dart';
import '../modules/job_er/applied_er_workflow/applied_er_workflow_page.dart';
import '../modules/job_er/job_list_er/job_list_er_page.dart';
import '../modules/labour_er/labour_request_er/labour_request_list_page.dart';
import '../modules/labour_er/labour_request_er_add/labour_request_er_add_page.dart';
import '../modules/main/main_page.dart';
import '../modules/labour/labour_request_add/labour_request_add_page.dart';
import '../modules/labour/labour_request_list/labour_request_list_page.dart';
import '../modules/labour/labour_request_workflow/labour_request_workflow_page.dart';
import '../modules/labour/labour_review_list/labour_review_page.dart';
import '../modules/labour/labour_review_workflow/labour_request_workflow_page.dart';
import '../modules/labour/labour_template_add/labour_template_add_page.dart';
import '../modules/labour/labour_template_list/labour_template_list_page.dart';


/// TH模块路由配置
class THPageRouter {
  static final routes = <GetPage<dynamic>>[

    //首页
    GetPage(
      name: RouterPath.THMain,
      page: () => THMainPage(),
    ),

    //用工请求列表
    GetPage(
      name: RouterPath.THLabourRequestOA,
      page: () => LabourRequestListPage(),
    ),

    //用工请求添加
    GetPage(
      name: RouterPath.THLabourRequestAddOA,
      page: () => LabourRequestAddPage(),
    ),

    //用工请求状态修改工作流
    GetPage(
      name: RouterPath.THLabourRequestWorkflowOA,
      page: () => LabourRequestWorkflowPage(),
    ),

    //用工请求审核列表
    GetPage(
      name: RouterPath.THLabourReviewOA,
      page: () => LabourReviewPage(),
    ),

    //用工请求审核工作流
    GetPage(
      name: RouterPath.THLabourReviewWorkflowOA,
      page: () => LabourReviewWorkflowPage(),
    ),

    //用工请求列表 ER
    GetPage(
      name: RouterPath.THLabourRequestER,
      page: () => LabourRequestERListPage(),
    ),

    //用工请求列表添加 ER
    GetPage(
      name: RouterPath.THLabourRequestERAdd,
      page: () => LabourRequestERAddPage(),
    ),

    //用工请求列表添加 ER
    GetPage(
      name: RouterPath.THJobListER,
      page: () => JobListERPage(),
    ),

    //ER 已申请列表
    GetPage(
      name: RouterPath.THJobAppliedER,
      page: () => AppliedErPage(),
    ),

    //ER 已申请列表，修改员工信息
    GetPage(
      name: RouterPath.THJobAppliedEditER,
      page: () => AppliedErEditPage(),
    ),

    //ER 已申请列表，员工详情页面
    GetPage(
      name: RouterPath.THJobAppliedEmployeeER,
      page: () => AppliedErStaffDetailPage(),
    ),

    //ER 已申请列表，员工详情评价页面
    GetPage(
      name: RouterPath.THJobAppliedEmployeeRemarkER,
      page: () => AppliedErStaffReviewsPage(),
    ),

    //ER 已申请列表，员工详情评价页面
    GetPage(
      name: RouterPath.THJobAppliedStaffWorkflowER,
      page: () => AppliedErWorkflowPage(),
    ),

    //用工请求状态修改工作流
    GetPage(
      name: RouterPath.labourTemplateList,
      page: () => LabourTemplateListPage(),
    ),

    //用工请求状态修改工作流
    GetPage(
      name: RouterPath.labourTemplateAdd,
      page: () => LabourTemplateAddPage(),
    ),

  ];
}
