Compare commits
1
Commits
5b719599ba
..
Dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfce0d5885 |
@@ -22,6 +22,7 @@
|
|||||||
#import "TUIGroupMemberCellData.h"
|
#import "TUIGroupMemberCellData.h"
|
||||||
#import <TUICallKit/TUICallKit.h>
|
#import <TUICallKit/TUICallKit.h>
|
||||||
#import "XJSelectContactViewController.h"
|
#import "XJSelectContactViewController.h"
|
||||||
|
#import "XJParticipatedOrderModel.h"
|
||||||
#import "TUITextMessageCellData.h"
|
#import "TUITextMessageCellData.h"
|
||||||
#import "QuestionViewController.h"
|
#import "QuestionViewController.h"
|
||||||
#import "SendReportModel.h"
|
#import "SendReportModel.h"
|
||||||
@@ -77,6 +78,11 @@
|
|||||||
@property (nonatomic, strong) NSMutableArray<NSDictionary *> *memberList;
|
@property (nonatomic, strong) NSMutableArray<NSDictionary *> *memberList;
|
||||||
@property (nonatomic, strong) UIImageView *refreshIcon;
|
@property (nonatomic, strong) UIImageView *refreshIcon;
|
||||||
|
|
||||||
|
@property (nonatomic, strong) NSMutableArray<XJParticipatedOrderModel *> *orderList;
|
||||||
|
@property (nonatomic, assign) NSInteger orderPage;
|
||||||
|
@property (nonatomic, strong) UITableView *orderPopupTable;
|
||||||
|
@property (nonatomic, assign) NSInteger selectedOrderIndex;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation ChatViewController
|
@implementation ChatViewController
|
||||||
@@ -597,6 +603,10 @@
|
|||||||
- (void)callMemberAction:(UIButton *)sender {
|
- (void)callMemberAction:(UIButton *)sender {
|
||||||
UITableViewCell *cell = (UITableViewCell *)sender.superview.superview;
|
UITableViewCell *cell = (UITableViewCell *)sender.superview.superview;
|
||||||
NSIndexPath *indexPath = [self.memberTableView indexPathForCell:cell];
|
NSIndexPath *indexPath = [self.memberTableView indexPathForCell:cell];
|
||||||
|
[self callMemberAtIndexPath:indexPath];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)callMemberAtIndexPath:(NSIndexPath *)indexPath {
|
||||||
if (!indexPath || indexPath.row >= self.memberList.count) return;
|
if (!indexPath || indexPath.row >= self.memberList.count) return;
|
||||||
NSDictionary *member = self.memberList[indexPath.row];
|
NSDictionary *member = self.memberList[indexPath.row];
|
||||||
NSString *phone = member[@"phone"];
|
NSString *phone = member[@"phone"];
|
||||||
@@ -609,6 +619,13 @@
|
|||||||
|
|
||||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
|
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||||
[tableView deselectRowAtIndexPath:indexPath animated:YES];
|
[tableView deselectRowAtIndexPath:indexPath animated:YES];
|
||||||
|
if (tableView == self.memberTableView) {
|
||||||
|
[self callMemberAtIndexPath:indexPath];
|
||||||
|
}
|
||||||
|
if (tableView == self.orderPopupTable) {
|
||||||
|
self.selectedOrderIndex = indexPath.row;
|
||||||
|
[tableView reloadData];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark:跳转到地图选择页
|
#pragma mark:跳转到地图选择页
|
||||||
|
|||||||
Reference in New Issue
Block a user