FwzAppConfig.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. //
  2. // FwzAppConfig.h
  3. // smartRhino
  4. //
  5. // Created by tederen on 2019/11/6.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #ifndef FwzAppConfig_h
  9. #define FwzAppConfig_h
  10. #pragma mark - 首页
  11. #pragma mark - 工作
  12. // 审批页 总入口
  13. typedef enum _MyApprovalPageType {
  14. /// 我的审批
  15. Type_ONEA = 0,
  16. /// 我发起的
  17. Type_ONEB,
  18. /// 抄送我的
  19. Type_ONEC
  20. } MyApprovalPageType;
  21. /// 审批页 顶部选项卡
  22. typedef enum _ApprovalPageSelectType {
  23. WaitApprovalType = 0,
  24. ApprovalType,
  25. } ApprovalPageSelectType;
  26. #pragma mark - 信源
  27. typedef enum AddUserType{
  28. AddChatUser = 0,
  29. AddGroupUser = 1,
  30. }AddUserType;
  31. typedef enum SmartBarType{
  32. SmartBarPhoto = 0,
  33. SmartBarCamera = 1,
  34. SmartBarNotes = 2,
  35. SmartBarCollection = 3,
  36. SmartBarFile = 4,
  37. }SmartBarType;
  38. typedef enum SuperPageTypeChatMsgNotice {
  39. /// 从信源 进入 通知
  40. SuperPageTypeChatMsgNotice1 = 1,
  41. /// 从信源 进入 站内信
  42. SuperPageTypeChatMsgNotice2 = 2,
  43. }SuperPageTypeChatMsgNotice;
  44. ///文件夹类型 0 文章 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信 7小组
  45. typedef enum CreateFileFolderType {
  46. ///0 文章
  47. CreateArticleType = 100,
  48. ///1 通知
  49. CreateNoticeType = 5,
  50. ///2 话题
  51. CreateTopicType = 2,
  52. ///3 收藏
  53. CreateCollectionType = 3,
  54. ///4笔记
  55. CreateNotesType = 4,
  56. ///- 4话题本
  57. CreateNewTopicType = -4,
  58. ///5 普通站内信
  59. CreateCommonType = 6,
  60. // ///6匿名站内信
  61. // CreateAnonymousType = 6,
  62. ///7小组
  63. CreateGroupType = 7,
  64. ///8会议
  65. CreateMeetingType = 8,
  66. ///收件箱
  67. CreateShouType = 800,
  68. }CreateFileFolderType;
  69. typedef enum ModiFyFileFolderType {
  70. ///1 创建
  71. CreateType = 1,
  72. ///2 修改
  73. ModifyType = 2,
  74. }ModiFyFileFolderType;
  75. typedef enum PageTypeFromShou {
  76. /// 全部
  77. PageTypeFromTitleAll = 0,
  78. /// 通知
  79. PageTypeFromTitleNotice = 5,
  80. /// 站内信
  81. PageTypeFromTitleMail = 6,
  82. /// 我审批的
  83. PageTypeFromTitleMeShen = 15,
  84. /// 系统审批
  85. PageTypeFromTitleSystem = 19,
  86. /// 我发出的
  87. PageTypeFromTitleMeSend = 16,
  88. /// 抄送我的
  89. PageTypeFromTitleChao = 17,
  90. /// 匿名信
  91. PageTypeFromTitleNoSign= 18,
  92. /// 草稿箱
  93. PageTypeFromTitleDraftBox = 2,
  94. /// 已删除
  95. PageTypeFromTitleDeleted = 3,
  96. }PageTypeFromShou;
  97. typedef enum MailListType {
  98. /// 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录 4其他
  99. MailListUserType = 0,
  100. MailListDesType = 1,
  101. MailListSysType = 2,
  102. MailListCusType = 3,
  103. MailListOtherType = 4,
  104. }MailListType;
  105. typedef enum ChatSearchType {
  106. /// 0 用户 1单聊 2群聊 3文件夹
  107. ChatSearchUserType = 0,
  108. ChatSearchOnlyType = 1,
  109. ChatSearchGroupType = 2,
  110. ChatSearchFileType = 3,
  111. }ChatSearchType;
  112. #pragma mark - 我的
  113. #pragma mark - 三方配置
  114. // 极光
  115. #define kJGAppKey @"2b860e460e1ef98729e4cac1"
  116. #define kJGSecret @"13d8bfab66752a256eb2ae71"
  117. static NSString * const TABLELEAVETOP = @"tableLeaveTop";
  118. static NSString * const TABLETOP = @"tableTop";
  119. #pragma mark - 网络请求
  120. /// 接收响应的方式
  121. typedef enum FWZRsponseStyle {
  122. /// JOSN格式 manager.responseSerializer = [AFJSONResponseSerializer serializer]
  123. JOSN = 1,
  124. /// 二进制数据 manager.responseSerializer = [AFHTTPResponseSerializer serializer];
  125. DATA = 2,
  126. /// XML manager.responseSerializer = [AFXMLParserResponseSerializer serializer];
  127. XML = 3,
  128. }FWZRsponseStyle;
  129. #pragma mark - 更新用户信息
  130. /// 接收响应的方式
  131. typedef enum UpadateUseinfoRequstStyle {
  132. /// 头像
  133. IMAGE = 1,
  134. /// 昵称
  135. NICK = 2,
  136. /// 名字
  137. NAME = 3,
  138. /// 签名
  139. Sign = 4,
  140. /// 介绍
  141. Description = 5,
  142. /// Sex
  143. Sex = 6,
  144. }UpadateUseinfoRequstStyle;
  145. //控制用户批量操作枚举
  146. typedef enum OperationStateEnum {
  147. /// 操作状态:无状态
  148. OperationStateEnum0 = 0,
  149. /// 操作状态:批量编辑
  150. OperationStateEnum1 = 1,
  151. /// 操作状态:移动
  152. OperationStateEnum2 = 2,
  153. /// 操作状态:选择
  154. OperationStateEnum3 = 3,
  155. }OperationStateEnum;
  156. //收藏页面类型
  157. typedef enum MyFavoriteListLevelType {
  158. /// 页面类型:一级列表
  159. MyFavoriteListLevelTypeA = 0,
  160. /// 页面类型:非一级列表
  161. MyFavoriteListLevelTypeB = 1,
  162. /// 页面类型:其他
  163. MyFavoriteListLevelTypeC = 2,
  164. }MyFavoriteListLevelType;
  165. //收藏页面类型
  166. typedef enum MyNoteBookListLevelType {
  167. /// 页面类型:一级列表
  168. MyNoteBookListLevelTypeA = 0,
  169. /// 页面类型:非一级列表
  170. MyNoteBookListLevelTypeB = 1,
  171. /// 页面类型:其他
  172. MyNoteBookListLevelTypeC = 2,
  173. }MyNoteBookListLevelType;
  174. typedef enum TopiclistCellType{
  175. TopiclistCellNone = 1,
  176. TopiclistCellImage = 2,
  177. TopiclistCellFile = 3,
  178. TopiclistDraft = 100,
  179. }TopiclistCellType;
  180. typedef enum CollectHanderType{
  181. CollectHanderType_Move = 1,
  182. CollectHanderType_Collect = 2,
  183. }CollectHanderType;
  184. typedef enum TopicAnalyzeType{
  185. PraiseType = 1, ///点赞
  186. CommentType = 2,///评论点赞
  187. }TopicAnalyzeType;
  188. typedef enum NoteListDataType{
  189. NoteListDataType_Text = 1,
  190. NoteListDataType_Img1 = 2,
  191. NoteListDataType_Img2 = 3,
  192. NoteListDataType_Img3 = 3,
  193. NoteListDataType_Img4 = 3,
  194. NoteListDataType_Img5 = 3,
  195. NoteListDataType_Img6 = 3,
  196. NoteListDataType_Img7 = 3,
  197. NoteListDataType_Img8 = 3,
  198. NoteListDataType_Img9 = 3,
  199. NoteListDataType_Img9plus = 3,
  200. }NoteListDataType;
  201. ///类型1 txt文字 2 img:图片 3 file:文件 4 Article:文章 5 notice通知 6 topic话题 7 note笔记 8 collection收藏 9站内信 10小组 11会议 12 收藏文件夹 13 笔记文件夹 14 审批
  202. typedef enum CollectDataType{
  203. /// 收藏列表类型 txt文字
  204. CollectDataType_Text = 1,
  205. /// 收藏列表类型 2 img:图片
  206. CollectDataType_IMG = 2,
  207. /// 收藏列表类型 3 file:文件
  208. CollectDataType_File = 3,
  209. /// 收藏列表类型 4 Article:文章
  210. CollectDataType_Article = 4,
  211. /// 收藏列表类型 5 notice通知
  212. CollectDataType_Notice = 5,
  213. /// 收藏列表类型 6 topic话题
  214. CollectDataType_Topic = 6,
  215. /// 收藏列表类型 7 note笔记
  216. CollectDataType_Note = 7,
  217. /// 收藏列表类型 8 collection收藏
  218. CollectDataType_Collect = 8,
  219. /// 收藏列表类型 9站内信
  220. CollectDataType_InterMail = 9,
  221. /// 收藏列表类型 10小组
  222. CollectDataType_Group = 10,
  223. /// 收藏列表类型 11 会议
  224. CollectDataType_Meeting = 11,
  225. /// 收藏列表类型 12 收藏文件夹
  226. CollectDataType_CollectFile = 12,
  227. /// 收藏列表类型 13 笔记文件夹
  228. CollectDataType_NoteFile = 13,
  229. /// 收藏列表类型 14 审批
  230. CollectDataType_Approval = 14,
  231. /// 收藏列表类型 300 电脑上传文件
  232. CollectDataType_PcFile = 300,
  233. }CollectDataType;
  234. typedef enum CreateNoteBookType{
  235. /// 新建笔记
  236. CreateNoteBookType_Create = 1,
  237. /// 修改笔记
  238. CreateNoteBookType_Modify = 2,
  239. /// 转发 我的二位码
  240. CreateNoteBookType_MyCode = 3,
  241. /// 转发 文章
  242. CreateNoteBookType_Article = 4,
  243. /// 转发 审批
  244. CreateNoteBookType_Approval = 5,
  245. /// 转发 话题
  246. CreateNoteBookType_Topic = 6,
  247. /// 转发 小组
  248. CreateNoteBookType_Group = 7,
  249. /// 转发 站内信
  250. CreateNoteBookType_InterLeter = 8,
  251. /// 转发 通知
  252. CreateNoteBookType_Notice = 9,
  253. }CreateNoteBookType;
  254. typedef enum ChatMsgNoticeType_Source{
  255. /// 来自 通知
  256. ChatMsgNoticeType_Source_1 = 1,
  257. /// 来自 站内信
  258. ChatMsgNoticeType_Source_2 = 2,
  259. }ChatMsgNoticeType_Source;
  260. /// 2话题 3 收藏 4笔记 5通知 6站内信 7小组 12 收藏文件夹 13笔记文件夹 14工作流审批 21 新版话题 100 文章 300 文件 301图片 400会议纪要 500会议详情 601 财务报表 602人事报表 603 出版报表
  261. typedef enum CollectModelType{
  262. CollectModel_Text = 1,
  263. CollectModel_Toipc = 2,
  264. CollectModel_Collect = 3,
  265. CollectModel_NoteBook = 4,
  266. CollectModel_Notice = 5,
  267. CollectModel_InterMail = 6,
  268. CollectModel_Group = 7,
  269. // CollectModel_meet = 8,
  270. CollectModel_meetMian = 8,
  271. CollectModel_CollectFile = 12,
  272. CollectModel_NoteFile = 13,
  273. CollectModel_work = 14,
  274. CollectModel_NoSignMail = 18,
  275. CollectModel_NewTopic = -4,
  276. CollectModel_TopicBooK = 41,
  277. CollectModel_TopicSubBooK = 42,
  278. CollectModel_CollectFileAll = 120,
  279. CollectModel_NoteFileAll = 130,
  280. CollectModel_Aritle = 100,
  281. CollectModel_file = 300,
  282. CollectModel_Image = 301,
  283. // CollectModel_meetMian = 8,
  284. CollectModel_meetDetail = 500,
  285. CollectModel_financeCount = 601,
  286. CollectModel_affairsCount = 602,
  287. CollectModel_publishCount = 603,
  288. CollectModel_ShouJian = 800,
  289. CollectModel_StoreBook = 20,
  290. CollectModel_StoreCousre = 30,
  291. CollectModel_StoreSound = 40,
  292. CollectModel_StoreQiKan = 50,
  293. CollectModel_StoreVideo = 60,
  294. }CollectModelType;
  295. /// 0 新建 1 回复 2 回复全部 3 编辑
  296. typedef enum MailReplayType{
  297. /// 新建
  298. MailReplayCreate = 0,
  299. /// 回复
  300. MailReplayOne = 1,
  301. /// 回复全部
  302. MailReplayAll = 2,
  303. /// 编辑
  304. MailReplayEdit = 3,
  305. }MailReplayType;
  306. /// 0 文章 1 话题 2 通知 3 笔记
  307. typedef enum ZanListPageType{
  308. /// 来自 文章
  309. ZanListPageType_Article = 0,
  310. /// 来自 话题
  311. ZanListPageType_Topic = 1,
  312. /// 来自 通知
  313. ZanListPageType_Notice = 2,
  314. /// 来自 笔记
  315. ZanListPageType_NoteBook = 3,
  316. }ZanListPageType;
  317. ///站内信操作
  318. typedef enum InterLeterHanderType{
  319. /// 创建站内信
  320. InterLeterHanderType_Create = 1,
  321. /// 修改站内信
  322. InterLeterHanderType_Modify = 2,
  323. /// 回复站内信
  324. InterLeterHanderType_Replay = 3,
  325. }InterLeterHanderType;
  326. typedef enum InterLeterDetialType{
  327. InterLeterDetialType_Sign= 1,
  328. InterLeterDetialType_NoSign = 2,
  329. InterLeterDetialType_Replay = 3,
  330. }InterLeterDetialType;
  331. typedef enum NoticeDetailType{
  332. NoticeDetailType_Detail= 1,
  333. NoticeDetailType_DraftBox = 2,
  334. }NoticeDetailType;
  335. typedef enum MailListByZuPageType {
  336. MailListByZuPageType_Sys = 1, // 系统默认组
  337. MailListByZuPageType_custom = 2, // 自定义组
  338. }MailListByZuPageType;
  339. typedef enum MailListDataModelType {
  340. /// 默认分组
  341. MailListByZu_SysGroup = 1,
  342. /// 自定义组
  343. MailListByZu_CusGroup = 2,
  344. ///默认分组成员
  345. MailListByZu_SysUser = 3,
  346. ///自建分组成员
  347. MailListByZu_CusUser = 4,
  348. }MailListDataModelType;
  349. //历史搜索记录
  350. typedef enum HistorySearchType {
  351. /// 首页
  352. HistorySearchType_Home = 1,
  353. /// 信源
  354. HistorySearchType_XinYuan = 2,
  355. /// 通知
  356. HistorySearchType_Notice = 3,
  357. /// 站内信
  358. HistorySearchType_InterMail = 4,
  359. /// 通讯录
  360. HistorySearchType_MailList = 5,
  361. /// 话题
  362. HistorySearchType_Topic = 6,
  363. /// 小组
  364. HistorySearchType_Group = 7,
  365. /// 收藏
  366. HistorySearchType_Collect = 8,
  367. /// 笔记
  368. HistorySearchType_Note = 9,
  369. ///工作
  370. HistorySearchType_Work = 10,
  371. ///文件夹
  372. HistorySearchType_FileJia = 11,
  373. ///联系人
  374. HistorySearchType_User = 12,
  375. ///
  376. HistorySearchType_Common = 13,
  377. ///
  378. HistorySearchType_SourceGroup = 14,
  379. ///
  380. HistorySearchType_TopicGroupManager = 15,
  381. ///
  382. HistorySearchType_Reply = 16,
  383. ///
  384. HistorySearchType_LikeList = 17,
  385. ///
  386. HistorySearchType_Square = 18,
  387. ///
  388. HistorySearchType_NoteTopicDraft = 19,
  389. ///
  390. HistorySearchType_SynopsisUser = 20,
  391. ///
  392. HistorySearchType_GroupDraft = 21,
  393. ///
  394. HistorySearchType_GroupInfoUser = 22,
  395. ///
  396. HistorySearchType_NoteFolderSearch = 23,
  397. }HistorySearchType;
  398. /// 书城
  399. typedef enum BookHomeType{
  400. BookHomeA = 0,
  401. BookHomeB = 1,
  402. BookHomeC = 2,
  403. BookHomeD = 3,///名栏
  404. BookHomeE = 4,///显示全部
  405. BookHomeF = 5,
  406. }BookHomeType;
  407. typedef enum BookChanelType{
  408. BookChanelPublic = 700, ///公众号
  409. BookChanelVideo = 710, ///视频
  410. BookChanelBook = 720, ///书
  411. }BookChanelType;
  412. typedef enum MediaType{
  413. MediaBookType = 20, ///书
  414. MediaCourseType = 30, ///课程
  415. MediaMusicType = 40, ///音频
  416. MediaQikanType = 50, ///期刊
  417. MediaVideoType = 60, ///视频
  418. MediaArticeType = 100, ///文章
  419. }MediaType;
  420. #define NOTIFI_ChaoSongRen @"NOTIFI_ChaoSongRen"
  421. #define NOTIFI_ApprovalRen @"NOTIFI_ApprovalRen"
  422. #define NOTIFI_NoteBookSelectNoteBook @"NOTIFI_NoteBookSelectNoteBook"
  423. #define NOTIFI_SelectPeopleAndDepartMent @"NOTIFI_SelectPeopleAndDepartMent"
  424. #define NOTIFI_SELECTCREATENOTEFOLDER @"NOTIFI_SELECTCREATENOTEFOLDER"
  425. #define BOOKMUSICSELECTARRAY @"BOOKMUSICSELECTARRAY"
  426. #define NEWFILESUCCESS @"NEWFILESUCCESS"
  427. #define NOTEBOOKSAVE @"NOTEBOOKSAVE"
  428. #endif /* FwzAppConfig_h */