Commit 4edc6972 authored by admin's avatar admin

开放 在线抽查

parent 8fe5bc10
......@@ -44,7 +44,6 @@
UIScrollView *s = [[UIScrollView alloc] initWithFrame:CGRectMake((kScreenWidth + 40) * i, 0, (kScreenWidth + 40), (kScreenHeight - 20))];
s.backgroundColor = [UIColor whiteColor];
//s.contentSize = CGSizeMake((kScreenWidth + 40), (kScreenHeight - 20));
s.contentSize = CGSizeMake((kScreenWidth + 40), 0);
s.showsHorizontalScrollIndicator = NO;
......
......@@ -109,8 +109,8 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
self.navigationItem.titleView = customLab;
self.titleArray = [NSMutableArray array];
// self.sectionArray = [NSMutableArray arrayWithObjects:@"口碑报告",@"商场风采",@"优秀案例",@"巡店报告", @"问题知识",@"口碑巡检",@"在线抽查", @"查看抽查",nil];
self.sectionArray = [NSMutableArray arrayWithObjects:@"口碑报告",@"商场风采",@"优秀案例",@"巡店报告", @"问题知识",@"口碑巡检",nil];
self.sectionArray = [NSMutableArray arrayWithObjects:@"口碑报告",@"商场风采",@"优秀案例",@"巡店报告", @"问题知识",@"口碑巡检",@"在线抽查", @"查看抽查",nil];
// self.sectionArray = [NSMutableArray arrayWithObjects:@"口碑报告",@"商场风采",@"优秀案例",@"巡店报告", @"问题知识",@"口碑巡检",nil];
self.allRankListArray = [NSMutableArray array];
self.taskListDataArray = [NSMutableArray array];
......@@ -167,15 +167,15 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
[_sectionArray removeObject:@"口碑巡检"];
}
// if ([permissions containsObject:@"500701"]) {
// [self.titleArray addObject:@"在线抽查"];
// [self requestSpotCheckList];
// }
//
// if ([permissions containsObject:@"500702"]) {
// [self.titleArray addObject:@"查看抽查"];
// [self requestLookOnLineList];
// }
if ([permissions containsObject:@"500701"]) {
[self.titleArray addObject:@"在线抽查"];
[self requestSpotCheckList];
}
if ([permissions containsObject:@"500702"]) {
[self.titleArray addObject:@"查看抽查"];
[self requestLookOnLineList];
}
[self setupTableView];
......
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