|
@@ -256,10 +256,11 @@ class _AppliedAddStaffState extends State<AppliedAddStaff> {
|
|
|
),
|
|
|
textHintColor: Color(0XFFAFB3B7),
|
|
|
textColor: ColorConstants.black33,
|
|
|
+ textFontSize: 12.0,
|
|
|
onSearch: (keyword) {
|
|
|
controller.searchInputSearch(keyword);
|
|
|
},
|
|
|
- hintText: "Staff Name/ID/Phone".tr,
|
|
|
+ hintText: "Staff Name/Loction".tr,
|
|
|
controller: controller.searchController,
|
|
|
),
|
|
|
),
|
|
@@ -488,35 +489,41 @@ class _AppliedAddStaffState extends State<AppliedAddStaff> {
|
|
|
// ),
|
|
|
// ],
|
|
|
// ).marginOnly(top: 5),
|
|
|
-
|
|
|
Row(
|
|
|
children: [
|
|
|
MyTextView(
|
|
|
- "Turn-Up Rate".tr + ":",
|
|
|
+ "CV".tr + ":",
|
|
|
marginRight: 3,
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
),
|
|
|
MyTextView(
|
|
|
- item.turnUpRate ?? "-",
|
|
|
+ (item.resume ==null || item.resume!.isEmpty == true)? "-": item.resume!,
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
- ),
|
|
|
+ onClick: (){
|
|
|
+ // 点击查看 打开webview 页面
|
|
|
+ if(item.resume?.isNotEmpty == true && Utils.isNetworkUrl(item.resume!)){
|
|
|
+ controller.handlerScanFile(item.resume!);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ ).expanded(),
|
|
|
],
|
|
|
).marginOnly(top: 5),
|
|
|
+
|
|
|
Row(
|
|
|
children: [
|
|
|
MyTextView(
|
|
|
- "Reviews".tr + ":",
|
|
|
+ "Turn-Up Rate".tr + ":",
|
|
|
marginRight: 3,
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
),
|
|
|
MyTextView(
|
|
|
- item.reviewsAvg ?? "-",
|
|
|
+ item.turnUpRate ?? "-",
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
@@ -526,41 +533,34 @@ class _AppliedAddStaffState extends State<AppliedAddStaff> {
|
|
|
Row(
|
|
|
children: [
|
|
|
MyTextView(
|
|
|
- "Skills".tr + ":",
|
|
|
+ "Reviews".tr + ":",
|
|
|
marginRight: 3,
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
),
|
|
|
MyTextView(
|
|
|
- item.skills ?? "-",
|
|
|
+ item.reviewsAvg ?? "-",
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
- ).expanded(),
|
|
|
+ ),
|
|
|
],
|
|
|
).marginOnly(top: 5),
|
|
|
-
|
|
|
Row(
|
|
|
children: [
|
|
|
MyTextView(
|
|
|
- "CV".tr + ":",
|
|
|
+ "Skills".tr + ":",
|
|
|
marginRight: 3,
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
),
|
|
|
MyTextView(
|
|
|
- item.resume ?? "-",
|
|
|
+ item.skills ?? "-",
|
|
|
textColor: ColorConstants.black66,
|
|
|
fontSize: 13,
|
|
|
isFontRegular: true,
|
|
|
- onClick: (){
|
|
|
- // 点击查看 打开webview 页面
|
|
|
- if(item.resume?.isNotEmpty == true && Utils.isNetworkUrl(item.resume!)){
|
|
|
- controller.handlerScanFile(item.resume!);
|
|
|
- }
|
|
|
- },
|
|
|
).expanded(),
|
|
|
],
|
|
|
).marginOnly(top: 5),
|