//
//  PictureTableViewCell.h
//  patrol
//
//  Created by Javen on 2017/3/2.
//  Copyright © 2017年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PicViewModel.h"
#import "DBCameraViewController.h"
#import "TZImagePickerController.h"

typedef void (^repairBlock)(void);

@interface ZJPictureTableViewCell : UITableViewCell<UICollectionViewDelegate,
UICollectionViewDataSource,DBCameraViewControllerDelegate,DBCameraContainerDelegate,TZImagePickerControllerDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *layOut;
@property (weak, nonatomic) UIViewController *vc;
@property (strong, nonatomic) PicViewModel *viewModel;

/**
 附件选取类型
 */
@property (nonatomic, assign) PHOTO_TYPE type;

/**
 水印文字
 */
@property (nonatomic, copy) NSString *remarkString;

/** 是否显示添加按钮 */
@property (nonatomic, copy) repairBlock blockReloadData;


- (void)configCellWithViewModel:(PicViewModel *)viewModel indexPath:(NSIndexPath *)indexPath target:(UIViewController *)target remarkString:(NSString *)remarkString photoType:(PHOTO_TYPE)photoType;
- (void)pushImagePickerController;
@end
