Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
total
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
total
Commits
5fbb023b
Commit
5fbb023b
authored
Jan 17, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.oschina.net/gomore/total
parents
b9ff909a
174063ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
GTOLicenceNewViewController.m
total/GTOApp/Business/Repair/GTOLicenceNewViewController.m
+19
-19
No files found.
total/GTOApp/Business/Repair/GTOLicenceNewViewController.m
View file @
5fbb023b
...
...
@@ -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){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment