单军华
2018-03-28 f99cf1d5cc50407394501853be06cb39f38a092c
pregnancy_guard/BaseProject/Controller/Home/DeviceListMgrPage.m
@@ -21,6 +21,7 @@
#import "ChangeDevicePage.h"
#import "AddDevicePage.h"
@interface DeviceListMgrPage ()<UITextFieldDelegate,JSDropDownMenuDataSource,JSDropDownMenuDelegate,SelectedDelegate,SelDetailDelegate>
{
    UIButton * sign_btn;
@@ -34,6 +35,7 @@
    
    HBdansView *_dansView;
    JSDropDownMenu *menu;
}
@property (nonatomic, strong) MyDeviceStatusView * myFileViewList;
@@ -43,6 +45,7 @@
@implementation DeviceListMgrPage
-(void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:YES];
@@ -50,12 +53,15 @@
    HotelSelModel * hotelSelModel = [_data2 objectAtIndex:_currentData2Index];
    self.myFileViewList.hotel_id = hotelSelModel._id;
    [self.myFileViewList reSetView: [UserDefault stringForKey:@"user_id"] devicetype: [NSString stringWithFormat:@"%ld",_currentData3Index] searchkey:searchEdit.text];
}
-(void)viewDidDisappear:(BOOL)animated
{
    [super viewDidDisappear:YES];
    //self.navigationController.navigationBarHidden = NO;
}
- (void)viewDidLoad
@@ -161,6 +167,8 @@
    
    [self get_hotel_list];
    [self get_latest_list];
}
-(void)addAction