// // GXFSeeProcessViewController.m // XFFruit // // Created by freecui on 15/9/4. // Copyright (c) 2015年 Xummer. All rights reserved. // #import "GXFSeeProcessViewController.h" @interface GXFSeeProcessViewController () @end @implementation GXFSeeProcessViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. } - (void)viewWillAppear:(BOOL)animated { __weak typeof(self)weakSelf = self; void(^succ)(id) = ^(id data) { [IBTLoadingView hideHUDWithText:nil]; __strong __typeof(weakSelf)strongSelf = weakSelf; //[strongSelf fetchtSurveyList:data]; }; void(^fail)(id) = ^(id data) { [IBTLoadingView hideHUDWithText:nil]; [IBTLoadingView showTips:data]; }; [IBTLoadingView showProgressLabel:@"正在加载..."]; ICRUserUtil *userUtil = [ICRUserUtil sharedInstance]; NSDictionary *queryOrderDict = @{@"direction":@"",@"field":@"billNumber"}; NSDictionary *dict = @{ @"billNumberLike":@"", @"state":@"", @"titleLike":@"", @"queryOrders":@[queryOrderDict], @"pageNumber":@(0), @"pageSize":@(20)}; [[ICRHTTPController sharedController] querySurveyWithBillData:dict success:succ failure:fail]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } /* #pragma mark - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { // Get the new view controller using [segue destinationViewController]. // Pass the selected object to the new view controller. } */ @end