glglove 2 dias atrás
pai
commit
3bd230693b

+ 0 - 1
packages/cpt_uk/lib/modules/job/job_applied_revise_list/revise_list_item.dart

@@ -76,7 +76,6 @@ class ReviseListItem extends StatelessWidget {
                 fontSize: 14,
               ),
 
-              //日期时间
               MyTextView(
                  item.staffNric??"-",
                 marginLeft: 5,

+ 2 - 2
packages/cpt_uk/lib/modules/job/labour_request_preselected_list/labour_request_preselected_list_page.dart

@@ -52,7 +52,7 @@ class _LabourRequestPreselectedListState extends BaseState<UKLabourRequestPresel
 
   @override
   Widget build(BuildContext context) {
-    Log.d("00989    ${state.publishStatus}     ");
+    // Log.d("${state.publishStatus}");
     return autoCtlGetBuilder(builder: (controller) {
       return SafeArea(
         bottom: MediaQuery.of(context).padding.bottom > 38,
@@ -128,7 +128,7 @@ class _LabourRequestPreselectedListState extends BaseState<UKLabourRequestPresel
                           ))
                     ],
                   ),
-                ).expanded(),
+                ),
               ),
             ],
           ),

+ 13 - 4
packages/cpt_uk/lib/modules/job/labour_request_preselected_list/widget/preselected_add_staff.dart

@@ -312,19 +312,19 @@ class _PreselectedAddStaffState extends State<PreselectedAddStaff> {
                   MyTextView(
                     "Status:".tr,
                     isFontRegular: true,
-                    textColor: ColorConstants.textGrayAECAE5,
+                    textColor: ColorConstants.black66,
                     fontSize: 14,
                   ),
 
                   MyTextView(
-                    item.status == null? "-" : item.status.toString(),
+                    _getStatusText(item.status),
                     marginLeft: 5,
                     isFontRegular: true,
-                    textColor: Colors.red,
+                    textColor: ColorConstants.black66,
                     fontSize: 14,
                   ),
                 ]
-            ),
+            ).marginOnly(top: 5),
 
             Container(
               margin: EdgeInsets.only(top: 19),
@@ -346,4 +346,13 @@ class _PreselectedAddStaffState extends State<PreselectedAddStaff> {
       callback?.call();
     });
   }
+
+  String _getStatusText(int? status){
+    switch(status){
+      case 1:
+        return "Active".tr;
+      default:
+        return "-";
+    }
+  }
 }