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
32ff642a
Commit
32ff642a
authored
8 years ago
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
许可证风险等级自动关联时间
parent
8499858c
master
No related merge requests found
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 @
32ff642a
...
...
@@ -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){
...
...
This diff is collapsed.
Click to expand it.
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