Commit 5fbb023b authored by 曹云霄's avatar 曹云霄

Merge branch 'master' of https://git.oschina.net/gomore/total

parents b9ff909a 174063ef
......@@ -140,25 +140,25 @@ typedef NS_ENUM(NSUInteger, bottomTag) {
}];
self.valideTimeItem = [RERadioItem itemWithTitle:@"有效时间(h):" value:nil selectionHandler:^(RERadioItem *item) {
NSArray *arrRiskGrades = @[@"8",@"12",@"24",@"48",@"72"];
RETableViewOptionsController *optionsController = [[RETableViewOptionsController alloc] initWithItem:item options:arrRiskGrades multipleChoice:NO completionHandler:^(RETableViewItem *selectedItem){
[weakSelf.navigationController popViewControllerAnimated:YES];
// if (!self.d_licence) {
// self.d_licence.riskGrade = item.value;
// }
[item reloadRowWithAnimation:UITableViewRowAnimationNone];
}];
optionsController.delegate = weakSelf;
optionsController.style = section.style;
if (weakSelf.c_tableView.backgroundView == nil) {
optionsController.tableView.backgroundColor = weakSelf.c_tableView.backgroundColor;
optionsController.tableView.backgroundView = nil;
}
// Push the options controller
//
[weakSelf.navigationController pushViewController:optionsController animated:YES];
[item selectRowAnimated:YES];
// NSArray *arrRiskGrades = @[@"8",@"12",@"24",@"48",@"72"];
// RETableViewOptionsController *optionsController = [[RETableViewOptionsController alloc] initWithItem:item options:arrRiskGrades multipleChoice:NO completionHandler:^(RETableViewItem *selectedItem){
// [weakSelf.navigationController popViewControllerAnimated:YES];
//// if (!self.d_licence) {
//// self.d_licence.riskGrade = item.value;
//// }
// [item reloadRowWithAnimation:UITableViewRowAnimationNone];
// }];
// optionsController.delegate = weakSelf;
// optionsController.style = section.style;
// if (weakSelf.c_tableView.backgroundView == nil) {
// optionsController.tableView.backgroundColor = weakSelf.c_tableView.backgroundColor;
// optionsController.tableView.backgroundView = nil;
// }
//
// // Push the options controller
// //
// [weakSelf.navigationController pushViewController:optionsController animated:YES];
// GTOCollectionViewController *dVC = [[GTOCollectionViewController alloc] init];
// dVC.blockValideTime = ^(NSUInteger validTime){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment