|
|
@@ -94,7 +94,11 @@
|
|
|
self.textView.plLabel.text = @"";
|
|
|
self.peopleNumberView.contentTF.text = model.recruitNumber;
|
|
|
self.settlementView.contentTF.text = self.settlementArray[[model.settlementMethod integerValue]];
|
|
|
- self.salaryView.contentTF.text = [NSString stringWithFormat:@"%@ %@",model.salary,self.salaryCycleArray[[model.salaryPeriod integerValue]]] ;
|
|
|
+ if ([model.salaryPeriod integerValue] < 5)
|
|
|
+ {
|
|
|
+ self.salaryView.contentTF.text = [NSString stringWithFormat:@"%@ %@",model.salary,self.salaryCycleArray[[model.salaryPeriod integerValue]]] ;
|
|
|
+ }
|
|
|
+
|
|
|
[self.addressView configurationSeelctAddressViewModel:model];
|
|
|
|
|
|
self.workTimeView.contentStr = model.workDate;
|
|
|
@@ -113,7 +117,10 @@
|
|
|
[self.basicInfoDict setValue:model.endDate forKey:@"endDate"];
|
|
|
[self.basicInfoDict setValue:model.endWordTime forKey:@"endWordTime"];
|
|
|
[self.basicInfoDict setValue:model.startWorkTime forKey:@"startWorkTime"];
|
|
|
- [self.basicInfoDict setValue:model.salaryPeriod forKey:@"salaryPeriod"];
|
|
|
+ if ([model.salaryPeriod integerValue] < 5)
|
|
|
+ {
|
|
|
+ [self.basicInfoDict setValue:model.salaryPeriod forKey:@"salaryPeriod"];
|
|
|
+ }
|
|
|
[self.basicInfoDict setValue:model.salary forKey:@"salary"];
|
|
|
[self.basicInfoDict setValue:model.settlementMethod forKey:@"settlementMethod"];
|
|
|
}
|
|
|
@@ -129,7 +136,7 @@
|
|
|
[weakSelf.basicInfoDict setValue:@"0" forKey:@"isPublishNationwide"];
|
|
|
for (NSDictionary *dict in addressArray)
|
|
|
{
|
|
|
- if ([dict[@"adname"] isEqualToString:@"全国"])
|
|
|
+ if ([dict[@"adname"] isEqualToString:@"全国"] || [dict[@"adname"] hasPrefix:@"全国"])
|
|
|
{
|
|
|
[weakSelf.basicInfoDict setValue:@"1" forKey:@"isPublishNationwide"];
|
|
|
}
|