123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import 'package:cpt_labour_sg/modules/job_template_add/job_template_add_page.dart';
- import 'package:cpt_labour_sg/modules/job_template_list/job_template_list_page.dart';
- import 'package:cpt_labour_sg/modules/job_title_list/job_title_list_page.dart';
- import 'package:get/get.dart';
- import 'package:router/path/router_path.dart';
- import '../modules/job_list/job_list_page.dart';
- import '../modules/job_list_edit/job_list_edit_page.dart';
- import '../modules/labour_request_add/labour_request_add_page.dart';
- import '../modules/labour_request_edit/labour_request_edit_page.dart';
- import '../modules/labour_request_list/labour_request_list_page.dart';
- class LabourSGPageRouter {
- static final routes = [
- // 工作标题列表
- GetPage(
- name: RouterPath.jobTitleListSG,
- page: () => JobTitleListPage(),
- ),
- // 工作模板列表
- GetPage(
- name: RouterPath.jobTemplateListSG,
- page: () => JobTemplateListPage(),
- ),
- // 添加模板
- GetPage(
- name: RouterPath.jobTemplateAddSG,
- page: () => JobTemplateAddPage(),
- ),
- // 用工的编辑
- GetPage(
- name: RouterPath.labourRequestEditSG,
- page: () => LabourRequestEditPage(),
- ),
- // 用工请求
- GetPage(
- name: RouterPath.labourRequestSG,
- page: () => LabourRequestListPage(),
- ),
- // 用工请求添加
- GetPage(
- name: RouterPath.labourRequestAddSG,
- page: () => LabourRequestAddPage(),
- ),
- // 新加坡工作列表
- GetPage(
- name: RouterPath.jobListSG,
- page: () => JobListPage(),
- ),
- // 新加坡工作列表编辑
- GetPage(
- name: RouterPath.jobListEditSG,
- page: () => JobListEditPage(),
- ),
- ];
- }
|