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

企划修改

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