ReplyCell.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // ReplyCell.h
  3. // jiaPeiC
  4. //
  5. // Created by apple on 15/12/25.
  6. // Copyright © 2015年 JCZ. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface ReplyCell : UITableViewCell
  10. {
  11. /**已预约
  12. */
  13. UIImageView *ivReady;
  14. BlockTypeVo comp;
  15. MyBlockType clkBlock;
  16. }
  17. @property(nonatomic,strong) UILabel *dateLabel;
  18. @property(nonatomic,strong) UIButton *btnYes;
  19. @property(nonatomic,strong) UIButton *btnNO;
  20. @property(nonatomic,strong) UIButton *selectBtn;
  21. @property(nonatomic,strong) NSDictionary *model;
  22. /**如果为1.
  23. 隐藏同意和不同意按钮按钮。
  24. 在不同意上面显示。已预约了。
  25. */
  26. @property(nonatomic,assign) int style;
  27. +(id)cellForTabelView:(UITableView*)tableView;
  28. /**点击了cell之后。通知VC重新加载数据。
  29. */
  30. -(void)setClickBlock:(BlockTypeVo)block;
  31. -(void)click:(MyBlockType)block;
  32. -(void)setCanEdit;
  33. -(void)setCanNotEdit;
  34. @end
  35. /** 上传 预约状态的操作。就放到cell里面做吧。
  36. 还可以设置一个style。如果为1.
  37. 这里没有已拒绝的按钮。
  38. 隐藏同意和不同意按钮按钮。
  39. 在不同意上面显示。已预约了。
  40. */