Commit 74de6228 authored by 753147900@qq.com's avatar 753147900@qq.com

企划修改

parent ad029853
......@@ -175,11 +175,9 @@
}];
[operation setUserInfo:@{@"interface":interface, kDealExtraWhenErrorOcur:@NO}];
[self.operationQueue addOperation:operation];
[self.operationQueue setSuspended:YES];
[operation pause];
return operation;
}
......
......@@ -34,7 +34,7 @@
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
self.title = @"公告信息";
// self.title = @"公告信息";
}
return self;
}
......@@ -205,6 +205,7 @@
-(void)selectNoticeDatas
{
_tableType = @"notice";
DLog(@"userID:%@",[DataMgr getInstance].userID);
_noticeArr = [DBDaoMgr fetchNoticeByUserId:[DataMgr getInstance].userID];
[self.tableVContent reloadData];
if (_noticeArr.count!=0) {
......@@ -225,6 +226,7 @@
params:nil
dataType:BRNetMgrDataTypeJSON
method:BRNetMgrMethodPost];
[self.networkMgr startOperation:operation];
}
......
......@@ -33,7 +33,7 @@
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
self.title = @"我";
// self.title = @"我";
}
return self;
}
......
......@@ -13,5 +13,20 @@
@property(nonatomic,strong)NSString*finishedTaskCount;
@property(nonatomic,strong)NSString*progress;
@property(nonatomic,strong)NSString*dayCount;
@property (nonatomic, strong) NSArray *arrContents;
@property(nonatomic,strong)NSArray * noticeArr;
@property(nonatomic,strong) UITableView *tableView;
@property(nonatomic,strong) UIView *leftView;
@end
@interface SACheckListCell : BaseTableViewCell
@property (nonatomic, strong) UILabel *lblcontent;
@property (nonatomic, strong) UILabel *lblTitle;
@property (nonatomic, strong) UILabel *lblCreateTime;
@property (nonatomic, strong) UIView *viewCreateTime;
@property (nonatomic, strong) UIView *viewLine;
@property (nonatomic, strong) UIView *view;
@property (nonatomic, strong) UIImageView *imageview;
@end
......@@ -9,6 +9,21 @@
#import "BaseScrollTableViewController.h"
@interface NewHomeViewController : BaseScrollTableViewController
@property(nonatomic,strong)NSArray * noticeArr;
@property(nonatomic,strong)NSString*unFinishedTaskCount;
@property(nonatomic,strong)NSString*progress;
@property (nonatomic, strong) NSArray *arrContents;
@property (nonatomic, strong) UITableView *tableVContent;
@property (nonatomic, strong) UIImageView *imageVNoResult;
@end
@interface CheckListCell : BaseTableViewCell
@property (nonatomic, strong) UILabel *lblcontent;
@property (nonatomic, strong) UILabel *lblTitle;
@property (nonatomic, strong) UILabel *lblCreateTime;
@property (nonatomic, strong) UIView *viewCreateTime;
@property (nonatomic, strong) UIView *viewLine;
@property (nonatomic, strong) UIView *view;
@property (nonatomic, strong) UIImageView *imageview;
@end
\ No newline at end of file
......@@ -74,6 +74,7 @@
self.viewControllers = @[navhomew,navNotice, navSetting];
//加载视图资源
[self customizeTabBarForController:self];
self.delegate = self;
self.hidesBottomBarWhenPushed = YES;
......@@ -273,8 +274,8 @@
// @[[NSString stringWithFormat:@"未完成(%@)", result[@"unFinishedTaskCount"]],
// [NSString stringWithFormat:@"已完成(%@)", result[@"finishedTaskCount"]]]];
// [vcTask reloadItemTitles];
vcHome.unFinishedTaskCount = result[@"unFinishedTaskCount"];
vcHome.progress = [NSString stringWithFormat:@"%@",result[@"progress"]];
// vcHome.unFinishedTaskCount = result[@"unFinishedTaskCount"];
// vcHome.progress = [NSString stringWithFormat:@"%@",result[@"progress"]];
[DataMgr getInstance].dayCount = result[@"days"];
[DataMgr getInstance].unfinishedTaskCountToDacuxiao = result[@"dacuxiaoUndoneNum"];
......
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