123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- //
- // MyApprovalDetailCell.h
- // smartRhino
- //
- // Created by tederen on 2019/11/4.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "TDTableViewCell.h"
- NS_ASSUME_NONNULL_BEGIN
- typedef void(^MyApprovalDetailCellBlock)(UIButton *addbuton);
- @class MyApprovalDetailModel;
- @class FormFieldsModel;
- @interface MyApprovalDetailCell : TDTableViewCell
- #pragma mark - block
- @property (nonatomic, copy) MyApprovalDetailCellBlock touchBlockA1;
- @property (nonatomic, copy) MyApprovalDetailCellBlock touchBlockA2;
- @property (nonatomic, copy) MyApprovalDetailCellBlock touchBlockB1;
- @property (nonatomic, copy) MyApprovalDetailCellBlock touchBlockB2;
- #pragma mark - 1
- ///审批头像 背景
- @property (weak, nonatomic) IBOutlet UIView *iconBackView;
- /// 审批头像
- @property (weak, nonatomic) IBOutlet UIImageView *iconImage;
- /// 审批人名称
- @property (weak, nonatomic) IBOutlet UILabel *namelab;
- /// 审批名称
- @property (weak, nonatomic) IBOutlet UILabel *nameValueLab;
- /// 审批状态图标
- @property (weak, nonatomic) IBOutlet UIImageView *approvalImagview;
- /// 审批编号 名称
- @property (weak, nonatomic) IBOutlet UILabel *departNumberLab;
- /// 审批编号 值
- @property (weak, nonatomic) IBOutlet UILabel *departNumberValueLab;
- /// 审批部门 名称
- @property (weak, nonatomic) IBOutlet UILabel *departNameLab;
- /// 审批部门 值
- @property (weak, nonatomic) IBOutlet UILabel *departNameValueLab;
- /// 提交时间 名称
- @property (weak, nonatomic) IBOutlet UILabel *departTimeLab;
- /// 提交时间 值
- @property (weak, nonatomic) IBOutlet UILabel *departTimeValueLab;
- #pragma mark - 2
- @property (weak, nonatomic) IBOutlet UILabel *approDerailText;
- @property (weak, nonatomic) IBOutlet UILabel *approDerailTextValue;
- @property (weak, nonatomic) IBOutlet UILabel *addfileTextlab;
- @property (weak, nonatomic) IBOutlet TDButton *fileButton;
- @property (weak, nonatomic) IBOutlet UIImageView *imgeView1;
- @property (weak, nonatomic) IBOutlet UILabel *firstNameLab;
- @property (weak, nonatomic) IBOutlet UILabel *firstHanderText;
- @property (weak, nonatomic) IBOutlet UILabel *firstTime;
- #pragma mark - 3
- @property (weak, nonatomic) IBOutlet UIImageView *imgeView2;
- @property (weak, nonatomic) IBOutlet UILabel *secondNameLab;
- @property (weak, nonatomic) IBOutlet UILabel *secondHanderText;
- @property (weak, nonatomic) IBOutlet UILabel *secondTime;
- @property (weak, nonatomic) IBOutlet UIImageView *imgeView3;
- @property (weak, nonatomic) IBOutlet UILabel *thirdNameLab;
- @property (weak, nonatomic) IBOutlet UILabel *thirdHanderText;
- @property (weak, nonatomic) IBOutlet UILabel *thirdTime;
- /// 抄送人lab
- @property (weak, nonatomic) IBOutlet UILabel *chaosongrenlab;
- @property (weak, nonatomic) IBOutlet UIButton *addPeopleButton4;
- #pragma mark - 4
- @property (weak, nonatomic) IBOutlet UIButton *addFilebutton5;
- #pragma mark - 5
- @property (weak, nonatomic) IBOutlet UILabel *name5Label;
- #pragma mark - 6
- @property (weak, nonatomic) IBOutlet UILabel *keyLabel6;
- @property (weak, nonatomic) IBOutlet UILabel *valueLabel6;
- #pragma mark - 7 审批人
- @property (weak, nonatomic) IBOutlet UIImageView *imagView7;
- @property (weak, nonatomic) IBOutlet UILabel *nameLable7;
- @property (weak, nonatomic) IBOutlet UILabel *handerLabel7;
- @property (weak, nonatomic) IBOutlet UILabel *handerLabel27;
- @property (weak, nonatomic) IBOutlet UILabel *handerLabel37;
- @property (weak, nonatomic) IBOutlet UILabel *timeLabel7;
- @property (weak, nonatomic) IBOutlet UIView *bottomLineView;
- @property (weak, nonatomic) IBOutlet UIView *topLineView;
- #pragma mark - 8 审批流程
- @property (weak, nonatomic) IBOutlet UILabel *nameLabel8;
- #pragma mark - 9 多汗文本
- @property (weak, nonatomic) IBOutlet UILabel *nameLabel9;
- @property (weak, nonatomic) IBOutlet UILabel *valueLabel9;
- + (instancetype)cellWithTableView:(UITableView *)tableView AndIndex:(NSInteger)index;
- - (void)loadDetailData:(MyApprovalDetailModel *)model;
- - (void)loadDetailDataFormFieldsModel:(FormFieldsModel *)model;
- // 单行文本
- - (void)loadTextCellKey:(NSString *)key withValue:(NSString *)valueString;
- // 多行文本
- - (void)loadMutbleTextCellKey:(NSString *)key withValue:(NSString *)valueString;
- - (void)loadApprovalData:(NodesModel*)node;
- @end
- NS_ASSUME_NONNULL_END
|