ICRFunctionItemControl.h 1.63 KB
Newer Older
mei's avatar
mei committed
1 2 3 4 5 6 7 8 9 10 11 12 13
//
//  ICRFunctionItemControl.h
//  XFFruit
//
//  Created by Lili Wang on 15/4/1.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>

//@protocol ICRFuctionItemControlDelegate;

typedef NS_ENUM (NSUInteger, ICRFunctionID) {
freecui's avatar
freecui committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

    
    kFunctionNotice = 0, //公告
    kFunctionNewSurvey,  //新建行情调研
    kFunctionSeeSurvey,  //查看行情调研
    kFunctionFeeBackSurvey,   //填写行情反馈
    kFunctionNewPurchaseNotice,  //新建采购通知
    kFunctionSeePurchaseNotice,  //查看采购通知
    kFunctionNewPurchase,   // 新建采购单
    kFunctionSeePurchase,   //  查看采购单
    kFunctionExaminePurchase,   // 审核采购单【供应商】
    kFunctionNewShipment,     // 新建发运单
    kFunctionSeeShipment,   // 查看发运单
    kFunctionNewProcessing,  // 新增加工单
    kFunctionSeeProcessing,  //  查看加工单
    
朱朝吉's avatar
朱朝吉 committed
30
    
freecui's avatar
freecui committed
31 32 33 34 35 36 37 38 39
        kFunctionAnnouncement ,
        kFunctionTaskManagement,
        kFunctionPatrolPlan,
        kFunctionMyShop,
        kFunctionNavigation,
        kFunctionComeShopReg,
        kFunctionLeaveShopReg,
        kFunctionCreatTask,
        kFunctionHandleTask
mei's avatar
mei committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
};

@interface ICRFunctionItemControl : UIControl

//@property (weak, nonatomic) id <ICRFuctionItemControlDelegate> m_delegate;
@property (assign, nonatomic) BOOL highLightWhenTapped;
@property (strong, nonatomic) UIImageView *functionImage;
@property (strong, nonatomic) UILabel *functinNameLabel;

+ (ICRFunctionItemControl *)highLightControl;

@end

//@protocol ICRFuctionItemControlDelegate <NSObject>
//
//@optional
//- (void)singleImageClike:(ICRFunctionItemControl *)imageView;
//
//@end