123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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:flutter/material.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/labour_request_page.dart';
- import '../modules/labour_request_add/labour_request_add_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.labourRequestSG,
- page: () => LabourRequestPage(),
- ),
- // 用工请求添加
- GetPage(
- name: RouterPath.labourRequestAddSG,
- page: () => LabourRequestAddPage(),
- ),
- // 新加坡工作列表
- GetPage(
- name: RouterPath.jobListSG,
- page: () => JobListPage(),
- ),
- // 新加坡工作列表编辑
- GetPage(
- name: RouterPath.jobListEditSG,
- page: () => JobListEditPage(),
- ),
- ];
- }
|