123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483 |
- //
- // FwzAppConfig.h
- // smartRhino
- //
- // Created by tederen on 2019/11/6.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #ifndef FwzAppConfig_h
- #define FwzAppConfig_h
- #pragma mark - 首页
- #pragma mark - 工作
- // 审批页 总入口
- typedef enum _MyApprovalPageType {
- /// 我的审批
- Type_ONEA = 0,
- /// 我发起的
- Type_ONEB,
- /// 抄送我的
- Type_ONEC
- } MyApprovalPageType;
- /// 审批页 顶部选项卡
- typedef enum _ApprovalPageSelectType {
- WaitApprovalType = 0,
- ApprovalType,
- } ApprovalPageSelectType;
- #pragma mark - 信源
- typedef enum AddUserType{
- AddChatUser = 0,
- AddGroupUser = 1,
- }AddUserType;
- typedef enum SmartBarType{
- SmartBarPhoto = 0,
- SmartBarCamera = 1,
- SmartBarNotes = 2,
- SmartBarCollection = 3,
- SmartBarFile = 4,
- }SmartBarType;
- typedef enum SuperPageTypeChatMsgNotice {
- /// 从信源 进入 通知
- SuperPageTypeChatMsgNotice1 = 1,
- /// 从信源 进入 站内信
- SuperPageTypeChatMsgNotice2 = 2,
- }SuperPageTypeChatMsgNotice;
- ///文件夹类型 0 文章 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信 7小组
- typedef enum CreateFileFolderType {
- ///0 文章
- CreateArticleType = 100,
- ///1 通知
- CreateNoticeType = 5,
- ///2 话题
- CreateTopicType = 2,
- ///3 收藏
- CreateCollectionType = 3,
- ///4笔记
- CreateNotesType = 4,
- ///- 4话题本
- CreateNewTopicType = -4,
- ///5 普通站内信
- CreateCommonType = 6,
- // ///6匿名站内信
- // CreateAnonymousType = 6,
- ///7小组
- CreateGroupType = 7,
- ///8会议
- CreateMeetingType = 8,
- ///收件箱
- CreateShouType = 800,
- }CreateFileFolderType;
- typedef enum ModiFyFileFolderType {
- ///1 创建
- CreateType = 1,
- ///2 修改
- ModifyType = 2,
-
- }ModiFyFileFolderType;
- typedef enum PageTypeFromShou {
- /// 全部
- PageTypeFromTitleAll = 0,
- /// 通知
- PageTypeFromTitleNotice = 5,
- /// 站内信
- PageTypeFromTitleMail = 6,
- /// 我审批的
- PageTypeFromTitleMeShen = 15,
- /// 系统审批
- PageTypeFromTitleSystem = 19,
- /// 我发出的
- PageTypeFromTitleMeSend = 16,
- /// 抄送我的
- PageTypeFromTitleChao = 17,
- /// 匿名信
- PageTypeFromTitleNoSign= 18,
- /// 草稿箱
- PageTypeFromTitleDraftBox = 2,
- /// 已删除
- PageTypeFromTitleDeleted = 3,
- }PageTypeFromShou;
- typedef enum MailListType {
- /// 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录 4其他
- MailListUserType = 0,
- MailListDesType = 1,
- MailListSysType = 2,
- MailListCusType = 3,
-
- MailListOtherType = 4,
- }MailListType;
- typedef enum ChatSearchType {
- /// 0 用户 1单聊 2群聊 3文件夹
- ChatSearchUserType = 0,
- ChatSearchOnlyType = 1,
- ChatSearchGroupType = 2,
- ChatSearchFileType = 3,
- }ChatSearchType;
- #pragma mark - 我的
- #pragma mark - 三方配置
- // 极光
- #define kJGAppKey @"2b860e460e1ef98729e4cac1"
- #define kJGSecret @"13d8bfab66752a256eb2ae71"
- static NSString * const TABLELEAVETOP = @"tableLeaveTop";
- static NSString * const TABLETOP = @"tableTop";
- #pragma mark - 网络请求
- /// 接收响应的方式
- typedef enum FWZRsponseStyle {
- /// JOSN格式 manager.responseSerializer = [AFJSONResponseSerializer serializer]
- JOSN = 1,
- /// 二进制数据 manager.responseSerializer = [AFHTTPResponseSerializer serializer];
- DATA = 2,
- /// XML manager.responseSerializer = [AFXMLParserResponseSerializer serializer];
- XML = 3,
- }FWZRsponseStyle;
- #pragma mark - 更新用户信息
- /// 接收响应的方式
- typedef enum UpadateUseinfoRequstStyle {
- /// 头像
- IMAGE = 1,
- /// 昵称
- NICK = 2,
- /// 名字
- NAME = 3,
- /// 签名
- Sign = 4,
- /// 介绍
- Description = 5,
- /// Sex
- Sex = 6,
- }UpadateUseinfoRequstStyle;
- //控制用户批量操作枚举
- typedef enum OperationStateEnum {
- /// 操作状态:无状态
- OperationStateEnum0 = 0,
- /// 操作状态:批量编辑
- OperationStateEnum1 = 1,
- /// 操作状态:移动
- OperationStateEnum2 = 2,
- /// 操作状态:选择
- OperationStateEnum3 = 3,
- }OperationStateEnum;
- //收藏页面类型
- typedef enum MyFavoriteListLevelType {
- /// 页面类型:一级列表
- MyFavoriteListLevelTypeA = 0,
- /// 页面类型:非一级列表
- MyFavoriteListLevelTypeB = 1,
- /// 页面类型:其他
- MyFavoriteListLevelTypeC = 2,
- }MyFavoriteListLevelType;
- //收藏页面类型
- typedef enum MyNoteBookListLevelType {
- /// 页面类型:一级列表
- MyNoteBookListLevelTypeA = 0,
- /// 页面类型:非一级列表
- MyNoteBookListLevelTypeB = 1,
- /// 页面类型:其他
- MyNoteBookListLevelTypeC = 2,
- }MyNoteBookListLevelType;
- typedef enum TopiclistCellType{
- TopiclistCellNone = 1,
- TopiclistCellImage = 2,
- TopiclistCellFile = 3,
- TopiclistDraft = 100,
- }TopiclistCellType;
- typedef enum CollectHanderType{
- CollectHanderType_Move = 1,
- CollectHanderType_Collect = 2,
- }CollectHanderType;
- typedef enum TopicAnalyzeType{
- PraiseType = 1, ///点赞
- CommentType = 2,///评论点赞
- }TopicAnalyzeType;
- typedef enum NoteListDataType{
- NoteListDataType_Text = 1,
- NoteListDataType_Img1 = 2,
- NoteListDataType_Img2 = 3,
- NoteListDataType_Img3 = 3,
- NoteListDataType_Img4 = 3,
- NoteListDataType_Img5 = 3,
- NoteListDataType_Img6 = 3,
- NoteListDataType_Img7 = 3,
- NoteListDataType_Img8 = 3,
- NoteListDataType_Img9 = 3,
- NoteListDataType_Img9plus = 3,
- }NoteListDataType;
- ///类型1 txt文字 2 img:图片 3 file:文件 4 Article:文章 5 notice通知 6 topic话题 7 note笔记 8 collection收藏 9站内信 10小组 11会议 12 收藏文件夹 13 笔记文件夹 14 审批
- typedef enum CollectDataType{
- /// 收藏列表类型 txt文字
- CollectDataType_Text = 1,
- /// 收藏列表类型 2 img:图片
- CollectDataType_IMG = 2,
- /// 收藏列表类型 3 file:文件
- CollectDataType_File = 3,
- /// 收藏列表类型 4 Article:文章
- CollectDataType_Article = 4,
- /// 收藏列表类型 5 notice通知
- CollectDataType_Notice = 5,
- /// 收藏列表类型 6 topic话题
- CollectDataType_Topic = 6,
- /// 收藏列表类型 7 note笔记
- CollectDataType_Note = 7,
- /// 收藏列表类型 8 collection收藏
- CollectDataType_Collect = 8,
- /// 收藏列表类型 9站内信
- CollectDataType_InterMail = 9,
- /// 收藏列表类型 10小组
- CollectDataType_Group = 10,
- /// 收藏列表类型 11 会议
- CollectDataType_Meeting = 11,
- /// 收藏列表类型 12 收藏文件夹
- CollectDataType_CollectFile = 12,
- /// 收藏列表类型 13 笔记文件夹
- CollectDataType_NoteFile = 13,
- /// 收藏列表类型 14 审批
- CollectDataType_Approval = 14,
- /// 收藏列表类型 300 电脑上传文件
- CollectDataType_PcFile = 300,
- }CollectDataType;
- typedef enum CreateNoteBookType{
- /// 新建笔记
- CreateNoteBookType_Create = 1,
- /// 修改笔记
- CreateNoteBookType_Modify = 2,
- /// 转发 我的二位码
- CreateNoteBookType_MyCode = 3,
- /// 转发 文章
- CreateNoteBookType_Article = 4,
- /// 转发 审批
- CreateNoteBookType_Approval = 5,
- /// 转发 话题
- CreateNoteBookType_Topic = 6,
- /// 转发 小组
- CreateNoteBookType_Group = 7,
- /// 转发 站内信
- CreateNoteBookType_InterLeter = 8,
- /// 转发 通知
- CreateNoteBookType_Notice = 9,
- }CreateNoteBookType;
- typedef enum ChatMsgNoticeType_Source{
- /// 来自 通知
- ChatMsgNoticeType_Source_1 = 1,
- /// 来自 站内信
- ChatMsgNoticeType_Source_2 = 2,
- }ChatMsgNoticeType_Source;
- /// 2话题 3 收藏 4笔记 5通知 6站内信 7小组 12 收藏文件夹 13笔记文件夹 14工作流审批 21 新版话题 100 文章 300 文件 301图片 400会议纪要 500会议详情 601 财务报表 602人事报表 603 出版报表
- typedef enum CollectModelType{
- CollectModel_Text = 1,
- CollectModel_Toipc = 2,
- CollectModel_Collect = 3,
- CollectModel_NoteBook = 4,
- CollectModel_Notice = 5,
- CollectModel_InterMail = 6,
- CollectModel_Group = 7,
- // CollectModel_meet = 8,
- CollectModel_meetMian = 8,
- CollectModel_CollectFile = 12,
- CollectModel_NoteFile = 13,
- CollectModel_work = 14,
- CollectModel_NoSignMail = 18,
- CollectModel_NewTopic = -4,
- CollectModel_TopicBooK = 41,
- CollectModel_TopicSubBooK = 42,
- CollectModel_CollectFileAll = 120,
- CollectModel_NoteFileAll = 130,
- CollectModel_Aritle = 100,
- CollectModel_file = 300,
- CollectModel_Image = 301,
- // CollectModel_meetMian = 8,
- CollectModel_meetDetail = 500,
- CollectModel_financeCount = 601,
- CollectModel_affairsCount = 602,
- CollectModel_publishCount = 603,
- CollectModel_ShouJian = 800,
- CollectModel_StoreBook = 20,
- CollectModel_StoreCousre = 30,
- CollectModel_StoreSound = 40,
- CollectModel_StoreQiKan = 50,
- CollectModel_StoreVideo = 60,
- }CollectModelType;
- /// 0 新建 1 回复 2 回复全部 3 编辑
- typedef enum MailReplayType{
- /// 新建
- MailReplayCreate = 0,
- /// 回复
- MailReplayOne = 1,
- /// 回复全部
- MailReplayAll = 2,
- /// 编辑
- MailReplayEdit = 3,
- }MailReplayType;
- /// 0 文章 1 话题 2 通知 3 笔记
- typedef enum ZanListPageType{
- /// 来自 文章
- ZanListPageType_Article = 0,
- /// 来自 话题
- ZanListPageType_Topic = 1,
- /// 来自 通知
- ZanListPageType_Notice = 2,
- /// 来自 笔记
- ZanListPageType_NoteBook = 3,
- }ZanListPageType;
- ///站内信操作
- typedef enum InterLeterHanderType{
- /// 创建站内信
- InterLeterHanderType_Create = 1,
- /// 修改站内信
- InterLeterHanderType_Modify = 2,
- /// 回复站内信
- InterLeterHanderType_Replay = 3,
- }InterLeterHanderType;
- typedef enum InterLeterDetialType{
- InterLeterDetialType_Sign= 1,
- InterLeterDetialType_NoSign = 2,
- InterLeterDetialType_Replay = 3,
- }InterLeterDetialType;
- typedef enum NoticeDetailType{
- NoticeDetailType_Detail= 1,
- NoticeDetailType_DraftBox = 2,
- }NoticeDetailType;
- typedef enum MailListByZuPageType {
- MailListByZuPageType_Sys = 1, // 系统默认组
- MailListByZuPageType_custom = 2, // 自定义组
- }MailListByZuPageType;
- typedef enum MailListDataModelType {
- /// 默认分组
- MailListByZu_SysGroup = 1,
- /// 自定义组
- MailListByZu_CusGroup = 2,
- ///默认分组成员
- MailListByZu_SysUser = 3,
- ///自建分组成员
- MailListByZu_CusUser = 4,
- }MailListDataModelType;
- //历史搜索记录
- typedef enum HistorySearchType {
- /// 首页
- HistorySearchType_Home = 1,
- /// 信源
- HistorySearchType_XinYuan = 2,
- /// 通知
- HistorySearchType_Notice = 3,
- /// 站内信
- HistorySearchType_InterMail = 4,
- /// 通讯录
- HistorySearchType_MailList = 5,
- /// 话题
- HistorySearchType_Topic = 6,
- /// 小组
- HistorySearchType_Group = 7,
- /// 收藏
- HistorySearchType_Collect = 8,
- /// 笔记
- HistorySearchType_Note = 9,
- ///工作
- HistorySearchType_Work = 10,
- ///文件夹
- HistorySearchType_FileJia = 11,
- ///联系人
- HistorySearchType_User = 12,
- ///
- HistorySearchType_Common = 13,
- ///
- HistorySearchType_SourceGroup = 14,
- ///
- HistorySearchType_TopicGroupManager = 15,
- ///
- HistorySearchType_Reply = 16,
- ///
- HistorySearchType_LikeList = 17,
- ///
- HistorySearchType_Square = 18,
- ///
- HistorySearchType_NoteTopicDraft = 19,
- ///
- HistorySearchType_SynopsisUser = 20,
- ///
- HistorySearchType_GroupDraft = 21,
- ///
- HistorySearchType_GroupInfoUser = 22,
- ///
- HistorySearchType_NoteFolderSearch = 23,
- }HistorySearchType;
- /// 书城
- typedef enum BookHomeType{
- BookHomeA = 0,
- BookHomeB = 1,
- BookHomeC = 2,
- BookHomeD = 3,///名栏
- BookHomeE = 4,///显示全部
- BookHomeF = 5,
- }BookHomeType;
- typedef enum BookChanelType{
- BookChanelPublic = 700, ///公众号
- BookChanelVideo = 710, ///视频
- BookChanelBook = 720, ///书
- }BookChanelType;
- typedef enum MediaType{
- MediaBookType = 20, ///书
- MediaCourseType = 30, ///课程
- MediaMusicType = 40, ///音频
- MediaQikanType = 50, ///期刊
- MediaVideoType = 60, ///视频
- MediaArticeType = 100, ///文章
- }MediaType;
- #define NOTIFI_ChaoSongRen @"NOTIFI_ChaoSongRen"
- #define NOTIFI_ApprovalRen @"NOTIFI_ApprovalRen"
- #define NOTIFI_NoteBookSelectNoteBook @"NOTIFI_NoteBookSelectNoteBook"
- #define NOTIFI_SelectPeopleAndDepartMent @"NOTIFI_SelectPeopleAndDepartMent"
- #define NOTIFI_SELECTCREATENOTEFOLDER @"NOTIFI_SELECTCREATENOTEFOLDER"
- #define BOOKMUSICSELECTARRAY @"BOOKMUSICSELECTARRAY"
- #define NEWFILESUCCESS @"NEWFILESUCCESS"
- #define NOTEBOOKSAVE @"NOTEBOOKSAVE"
- #endif /* FwzAppConfig_h */
|