Commit 51b33c41 authored by admin's avatar admin

屏蔽了在线抽查的版本

parent 78eb2f59
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
// #define kRedStarURL @"http://218.244.151.129:7580/" // #define kRedStarURL @"http://218.244.151.129:7580/"
// 正式环境 // 正式环境
// #define kRedStarURL @"http://219.235.234.225:7580/" #define kRedStarURL @"http://219.235.234.225:7580/"
// 最新正式环境 // 最新正式环境
#define kRedStarURL @"http://219.235.234.212:7580/" //#define kRedStarURL @"http://219.235.234.212:7580/"
// 检查更新 // 检查更新
#define kCheckUpdateURL @"redstar-server/rest/ipapk?type=ipa" #define kCheckUpdateURL @"redstar-server/rest/ipapk?type=ipa"
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
[self.pictureBtn setTitle:@"口碑标准" forState:UIControlStateNormal]; [self.pictureBtn setTitle:@"口碑标准" forState:UIControlStateNormal];
[self.questionBtn setTitle:@"问题知识" forState:UIControlStateNormal]; [self.questionBtn setTitle:@"问题知识" forState:UIControlStateNormal];
[self.rankBtn setTitle:@"口碑巡检" forState:UIControlStateNormal]; [self.rankBtn setTitle:@"口碑巡检" forState:UIControlStateNormal];
[self.spotBtn setTitle:@"在线抽查" forState:UIControlStateNormal]; // [self.spotBtn setTitle:@"在线抽查" forState:UIControlStateNormal];
//self.lineView.backgroundColor = kSeparateLineViewColor; //self.lineView.backgroundColor = kSeparateLineViewColor;
} }
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
UILabel *titleLabel = [[UILabel alloc] init]; UILabel *titleLabel = [[UILabel alloc] init];
titleLabel.translatesAutoresizingMaskIntoConstraints = NO; titleLabel.translatesAutoresizingMaskIntoConstraints = NO;
titleLabel.font = [UIFont systemFontOfSize:16.0]; titleLabel.font = [UIFont systemFontOfSize:16.0];
titleLabel.text = @"问题与建议描述"; titleLabel.text = @"口碑内容";
titleLabel.textColor = kOnLineCellTitleColor; titleLabel.textColor = kOnLineCellTitleColor;
[self.contentView addSubview:titleLabel]; [self.contentView addSubview:titleLabel];
......
...@@ -109,8 +109,8 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2); ...@@ -109,8 +109,8 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
self.navigationItem.titleView = customLab; self.navigationItem.titleView = customLab;
self.titleArray = [NSMutableArray array]; 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.allRankListArray = [NSMutableArray array];
self.taskListDataArray = [NSMutableArray array]; self.taskListDataArray = [NSMutableArray array];
...@@ -171,18 +171,18 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2); ...@@ -171,18 +171,18 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
[_sectionArray removeObject:@"口碑巡检"]; [_sectionArray removeObject:@"口碑巡检"];
} }
if ([permissions containsObject:@"500701"] || [permissions containsObject:@"500702"]) { // if ([permissions containsObject:@"500701"] || [permissions containsObject:@"500702"]) {
[self.titleArray addObject:@"在线抽查"]; // [self.titleArray addObject:@"在线抽查"];
//
if ([permissions containsObject:@"500701"]) { // if ([permissions containsObject:@"500701"]) {
[self requestLookOnLineList]; // [self requestLookOnLineList];
} else if ([permissions containsObject:@"500702"]){ // } else if ([permissions containsObject:@"500702"]){
[self requestSpotCheckList]; // [self requestSpotCheckList];
} // }
//
} else { // } else {
[_sectionArray removeObject:@"在线抽查"]; // [_sectionArray removeObject:@"在线抽查"];
} // }
// if ([permissions containsObject:@"500702"]) { // if ([permissions containsObject:@"500702"]) {
// [self.titleArray addObject:@"在线抽查"]; // [self.titleArray addObject:@"在线抽查"];
......
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