// // QuitShcoolList.m // LN_School // // Created by EchoShacolee on 2017/4/22. // Copyright © 2017年 Danson. All rights reserved. // #import "QuitShcoolList.h" @implementation QuitShcoolList - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } /* @property (weak, nonatomic) IBOutlet UILabel *name; @property (weak, nonatomic) IBOutlet UILabel *actullyPrice; @property (weak, nonatomic) IBOutlet UILabel *carType; @property (weak, nonatomic) IBOutlet UILabel *getMoney; @property (weak, nonatomic) IBOutlet UILabel *recordMan; @property (weak, nonatomic) IBOutlet UILabel *TuikuanMoney; @property (weak, nonatomic) IBOutlet UILabel *shenHeMan; @property (weak, nonatomic) IBOutlet UILabel *shenHeStatus; @property (weak, nonatomic) IBOutlet UILabel *time; */ -(void)setDataDic:(NSDictionary *)dataDic{ _dataDic = dataDic; NSString *stateString = @"审核中"; switch ([dataDic[@"AUDITSTUATS"] integerValue]) { case 1: stateString = @"审核通过"; break; case 2: stateString = @"审核拒绝"; break; default: break; } _name.text = [NSString stringWithFormat:@"学生姓名: %@",dataDic[@"NAME"]]; _carType.text = [NSString stringWithFormat:@"车型: %@",dataDic[@"TRAINTYPE"]]; _recordMan.text = [NSString stringWithFormat:@"登记人: %@",dataDic[@"CRUSER"]]; _shenHeMan.text = [NSString stringWithFormat:@"审核人: %@",dataDic[@"AUDITUSER"]]; _time.text = [NSString stringWithFormat:@"申请时间: %@",dataDic[@"CRDATE"]]; _actullyPrice.text = [NSString stringWithFormat:@"实际价格: %@元",dataDic[@"MONEYCHARGE"]]; _getMoney.text = [NSString stringWithFormat:@"已收款金额: %@元",dataDic[@"MOENYR"]]; _TuikuanMoney.text = [NSString stringWithFormat:@"退款金额: %@元",dataDic[@"MONEYREFUND"]]; _shenHeStatus.text = [NSString stringWithFormat:@"审核状态: %@",stateString]; } @end