Forráskód Böngészése

隐藏新加坡的JobList添加工作的逻辑

liukai 2 hete
szülő
commit
3cc4d391a1

+ 16 - 15
packages/cpt_labour_sg/lib/modules/job_list/job_list_page.dart

@@ -91,21 +91,22 @@ class _JobListState extends BaseState<JobListPage, JobListController> {
                   controller.showFilterDialog();
                   controller.showFilterDialog();
                 }).marginOnly(right: 15),
                 }).marginOnly(right: 15),
               ]),
               ]),
-              //添加用工请求按钮
-              MyButton(
-                type: ClickType.throttle,
-                milliseconds: 500,
-                onPressed: () {
-                  FocusScope.of(context).unfocus();
-                  controller.gotoLabourRequestAddPage();
-                },
-                text: "Create New Job".tr,
-                textColor: ColorConstants.white,
-                fontSize: 16,
-                radius: 20,
-                backgroundColor: hexToColor("#FFBB1B"),
-                fontWeight: FontWeight.w500,
-              ).marginOnly(left: 15, right: 15, top: 15, bottom: 5),
+
+              // //添加用工请求按钮
+              // MyButton(
+              //   type: ClickType.throttle,
+              //   milliseconds: 500,
+              //   onPressed: () {
+              //     FocusScope.of(context).unfocus();
+              //     controller.gotoLabourRequestAddPage();
+              //   },
+              //   text: "Create New Job".tr,
+              //   textColor: ColorConstants.white,
+              //   fontSize: 16,
+              //   radius: 20,
+              //   backgroundColor: hexToColor("#FFBB1B"),
+              //   fontWeight: FontWeight.w500,
+              // ).marginOnly(left: 15, right: 15, top: 15, bottom: 5),
 
 
               //底部的列表
               //底部的列表
               EasyRefresh(
               EasyRefresh(