Commit 4e344413 authored by Sandy's avatar Sandy

no message

parent 6f8b9b12
...@@ -165,14 +165,15 @@ ON_CREATE_VIEWS( signal ) ...@@ -165,14 +165,15 @@ ON_CREATE_VIEWS( signal )
} }
LoginResponseData *loginInfo = [[VankeCommonModel sharedInstance] getLoginInfo]; LoginResponseData *loginInfo = [[VankeCommonModel sharedInstance] getLoginInfo];
NSArray *arr = [[VankeCommonModel sharedInstance] getAuthOrgs]; NSArray *arr = [[VankeCommonModel sharedInstance] getAuthOrgs];
NSMutableArray *arrAutnOrdCode = [NSMutableArray array]; NSMutableArray *arrAuthordCode = [NSMutableArray array];
for (AuthorizedOrg *org in arr) { for (AuthorizedOrg *org in arr) {
[arrAutnOrdCode addObject:org.code]; [arrAuthordCode addObject:org.code];
} }
NSString *authorCodes = [arrAuthordCode componentsJoinedByString:@","];
NSDictionary *dict = @{ NSDictionary *dict = @{
@"dataScopeType":self.dayType, @"dataScopeType":self.dayType,
@"dataType":@"floor", @"dataType":@"floor",
@"orgCodes":arrAutnOrdCode, @"orgCodes":authorCodes,
@"dataScope":self.scopeType, @"dataScope":self.scopeType,
@"orgUuid":loginInfo.org_uuid, @"orgUuid":loginInfo.org_uuid,
@"queryOrders":orderArr, @"queryOrders":orderArr,
......
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