FwzAppConfig.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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 = 0,
  48. ///1 通知
  49. CreateNoticeType = 1,
  50. ///2 话题
  51. CreateTopicType = 2,
  52. ///3 收藏
  53. CreateCollectionType = 3,
  54. ///4笔记
  55. CreateNotesType = 4,
  56. ///5 普通站内信
  57. CreateCommonType = 5,
  58. ///6匿名站内信
  59. CreateAnonymousType = 6,
  60. ///7小组
  61. CreateGroupType = 7,
  62. ///8会议
  63. CreateMeetingType = 8,
  64. }CreateFileFolderType;
  65. typedef enum ModiFyFileFolderType {
  66. ///1 创建
  67. CreateType = 1,
  68. ///2 修改
  69. ModifyType = 2,
  70. }ModiFyFileFolderType;
  71. typedef enum PageTypeFromTitleBtn {
  72. /// 全部
  73. PageTypeFromTitleAll = 1,
  74. /// 我的
  75. PageTypeFromTitleMy = 2,
  76. /// 草稿箱
  77. PageTypeFromTitleDraftBox = 3,
  78. /// 已删除
  79. PageTypeFromTitleDeleted = 4,
  80. /// 匿名信
  81. PageTypeFromTitleNoSign= 5,
  82. }PageTypeFromTitleBtn;
  83. #pragma mark - 我的
  84. #pragma mark - 三方配置
  85. // 极光
  86. #define kJGAppKey @"2b860e460e1ef98729e4cac1"
  87. #define kJGSecret @"13d8bfab66752a256eb2ae71"
  88. static NSString * const TABLELEAVETOP = @"tableLeaveTop";
  89. static NSString * const TABLETOP = @"tableTop";
  90. #pragma mark - 网络请求
  91. /// 接收响应的方式
  92. typedef enum FWZRsponseStyle {
  93. /// JOSN格式 manager.responseSerializer = [AFJSONResponseSerializer serializer]
  94. JOSN = 1,
  95. /// 二进制数据 manager.responseSerializer = [AFHTTPResponseSerializer serializer];
  96. DATA = 2,
  97. /// XML manager.responseSerializer = [AFXMLParserResponseSerializer serializer];
  98. XML = 3,
  99. }FWZRsponseStyle;
  100. #pragma mark - 更新用户信息
  101. /// 接收响应的方式
  102. typedef enum UpadateUseinfoRequstStyle {
  103. /// 头像
  104. IMAGE = 1,
  105. /// 昵称
  106. NICK = 2,
  107. /// 名字
  108. NAME = 3,
  109. /// 签名
  110. Sign = 4,
  111. /// 介绍
  112. Description = 5,
  113. /// Sex
  114. Sex = 6,
  115. }UpadateUseinfoRequstStyle;
  116. //控制用户批量操作枚举
  117. typedef enum OperationStateEnum {
  118. /// 操作状态:无状态
  119. OperationStateEnum0 = 0,
  120. /// 操作状态:批量编辑
  121. OperationStateEnum1 = 1,
  122. /// 操作状态:移动
  123. OperationStateEnum2 = 2,
  124. /// 操作状态:选择
  125. OperationStateEnum3 = 3,
  126. }OperationStateEnum;
  127. //收藏页面类型
  128. typedef enum MyFavoriteListLevelType {
  129. /// 页面类型:一级列表
  130. MyFavoriteListLevelTypeA = 0,
  131. /// 页面类型:非一级列表
  132. MyFavoriteListLevelTypeB = 1,
  133. /// 页面类型:其他
  134. MyFavoriteListLevelTypeC = 2,
  135. }MyFavoriteListLevelType;
  136. //收藏页面类型
  137. typedef enum MyNoteBookListLevelType {
  138. /// 页面类型:一级列表
  139. MyNoteBookListLevelTypeA = 0,
  140. /// 页面类型:非一级列表
  141. MyNoteBookListLevelTypeB = 1,
  142. /// 页面类型:其他
  143. MyNoteBookListLevelTypeC = 2,
  144. }MyNoteBookListLevelType;
  145. typedef enum TopiclistCellType{
  146. TopiclistCellNone = 1,
  147. TopiclistCellImage = 2,
  148. TopiclistCellFile = 3,
  149. }TopiclistCellType;
  150. typedef enum CollectHanderType{
  151. CollectHanderType_Move = 1,
  152. CollectHanderType_Collect = 2,
  153. }CollectHanderType;
  154. typedef enum TopicAnalyzeType{
  155. PraiseType = 1, ///点赞
  156. CommentType = 2,///评论点赞
  157. }TopicAnalyzeType;
  158. typedef enum NoteListDataType{
  159. NoteListDataType_Text = 1,
  160. NoteListDataType_Img1 = 2,
  161. NoteListDataType_Img2 = 3,
  162. NoteListDataType_Img3 = 3,
  163. NoteListDataType_Img4 = 3,
  164. NoteListDataType_Img5 = 3,
  165. NoteListDataType_Img6 = 3,
  166. NoteListDataType_Img7 = 3,
  167. NoteListDataType_Img8 = 3,
  168. NoteListDataType_Img9 = 3,
  169. NoteListDataType_Img9plus = 3,
  170. }NoteListDataType;
  171. ///类型1 txt文字 2 img:图片 3 file:文件 4 Article:文章 5 notice通知 6 topic话题 7 note笔记 8 collection收藏 9站内信 10小组 11会议 12 收藏文件夹 13 笔记文件夹 14 审批
  172. typedef enum CollectDataType{
  173. /// 收藏列表类型 txt文字
  174. CollectDataType_Text = 1,
  175. /// 收藏列表类型 2 img:图片
  176. CollectDataType_IMG = 2,
  177. /// 收藏列表类型 3 file:文件
  178. CollectDataType_File = 3,
  179. /// 收藏列表类型 4 Article:文章
  180. CollectDataType_Article = 4,
  181. /// 收藏列表类型 5 notice通知
  182. CollectDataType_Notice = 5,
  183. /// 收藏列表类型 6 topic话题
  184. CollectDataType_Topic = 6,
  185. /// 收藏列表类型 7 note笔记
  186. CollectDataType_Note = 7,
  187. /// 收藏列表类型 8 collection收藏
  188. CollectDataType_Collect = 8,
  189. /// 收藏列表类型 9站内信
  190. CollectDataType_InterMail = 9,
  191. /// 收藏列表类型 10小组
  192. CollectDataType_Group = 10,
  193. /// 收藏列表类型 11 会议
  194. CollectDataType_Meeting = 11,
  195. /// 收藏列表类型 12 收藏文件夹
  196. CollectDataType_CollectFile = 12,
  197. /// 收藏列表类型 13 笔记文件夹
  198. CollectDataType_NoteFile = 13,
  199. /// 收藏列表类型 14 审批
  200. CollectDataType_Approval = 14,
  201. /// 收藏列表类型 300 电脑上传文件
  202. CollectDataType_PcFile = 300,
  203. }CollectDataType;
  204. typedef enum CreateNoteBookType{
  205. /// 新建笔记
  206. CreateNoteBookType_Create = 1,
  207. /// 修改笔记
  208. CreateNoteBookType_Modify = 2,
  209. /// 转发 我的二位码
  210. CreateNoteBookType_MyCode = 3,
  211. /// 转发 文章
  212. CreateNoteBookType_Article = 4,
  213. /// 转发 审批
  214. CreateNoteBookType_Approval = 5,
  215. /// 转发 话题
  216. CreateNoteBookType_Topic = 6,
  217. /// 转发 小组
  218. CreateNoteBookType_Group = 7,
  219. /// 转发 站内信
  220. CreateNoteBookType_InterLeter = 8,
  221. /// 转发 通知
  222. CreateNoteBookType_Notice = 9,
  223. }CreateNoteBookType;
  224. typedef enum ChatMsgNoticeType_Source{
  225. /// 来自 通知
  226. ChatMsgNoticeType_Source_1 = 1,
  227. /// 来自 站内信
  228. ChatMsgNoticeType_Source_2 = 2,
  229. }ChatMsgNoticeType_Source;
  230. ///1文章 2话题 3 收藏 4笔记 5通知 6站内信 7小组 12 收藏文件夹 13笔记文件夹 14工作流审批 21 新版话题 300 文件 301图片 400会议纪要 500会议详情 601 财务报表 602人事报表 603 出版报表
  231. typedef enum CollectModelType{
  232. CollectModel_Text = 1,
  233. CollectModel_Toipc = 2,
  234. CollectModel_Collect = 3,
  235. CollectModel_NoteBook = 4,
  236. CollectModel_Notice = 5,
  237. CollectModel_InterMail = 6,
  238. CollectModel_Group = 7,
  239. CollectModel_meet = 8,
  240. CollectModel_CollectFile = 12,
  241. CollectModel_NoteFile = 13,
  242. CollectModel_work = 14,
  243. CollectModel_NewTopic = 21,
  244. CollectModel_CollectFileAll = 120,
  245. CollectModel_NoteFileAll = 130,
  246. CollectModel_Aritle = 100,
  247. CollectModel_file = 300,
  248. CollectModel_Image = 301,
  249. CollectModel_meetMian = 400,
  250. CollectModel_meetDetail = 500,
  251. CollectModel_financeCount = 601,
  252. CollectModel_affairsCount = 602,
  253. CollectModel_publishCount = 603,
  254. }CollectModelType;
  255. /// 0 新建 1 回复 2 回复全部 3 编辑
  256. typedef enum MailReplayType{
  257. /// 新建
  258. MailReplayCreate = 0,
  259. /// 回复
  260. MailReplayOne = 1,
  261. /// 回复全部
  262. MailReplayAll = 2,
  263. /// 编辑
  264. MailReplayEdit = 3,
  265. }MailReplayType;
  266. /// 0 文章 1 话题 2 通知 3 笔记
  267. typedef enum ZanListPageType{
  268. /// 来自 文章
  269. ZanListPageType_Article = 0,
  270. /// 来自 话题
  271. ZanListPageType_Topic = 1,
  272. /// 来自 通知
  273. ZanListPageType_Notice = 2,
  274. /// 来自 笔记
  275. ZanListPageType_NoteBook = 3,
  276. }ZanListPageType;
  277. ///站内信操作
  278. typedef enum InterLeterHanderType{
  279. /// 创建站内信
  280. InterLeterHanderType_Create = 1,
  281. /// 修改站内信
  282. InterLeterHanderType_Modify = 2,
  283. /// 回复站内信
  284. InterLeterHanderType_Replay = 3,
  285. }InterLeterHanderType;
  286. typedef enum InterLeterDetialType{
  287. InterLeterDetialType_Sign= 1,
  288. InterLeterDetialType_NoSign = 2,
  289. InterLeterDetialType_Replay = 3,
  290. }InterLeterDetialType;
  291. typedef enum NoticeDetailType{
  292. NoticeDetailType_Detail= 1,
  293. NoticeDetailType_DraftBox = 2,
  294. }NoticeDetailType;
  295. typedef enum MailListByZuPageType {
  296. MailListByZuPageType_Sys = 1, // 系统默认组
  297. MailListByZuPageType_custom = 2, // 自定义组
  298. }MailListByZuPageType;
  299. typedef enum MailListDataModelType {
  300. /// 默认分组
  301. MailListByZu_SysGroup = 1,
  302. /// 自定义组
  303. MailListByZu_CusGroup = 2,
  304. ///默认分组成员
  305. MailListByZu_SysUser = 3,
  306. ///自建分组成员
  307. MailListByZu_CusUser = 4,
  308. }MailListDataModelType;
  309. //历史搜索记录
  310. typedef enum HistorySearchType {
  311. /// 首页
  312. HistorySearchType_Home = 1,
  313. /// 信源
  314. HistorySearchType_XinYuan = 2,
  315. /// 通知
  316. HistorySearchType_Notice = 3,
  317. /// 站内信
  318. HistorySearchType_InterMail = 4,
  319. /// 通讯录
  320. HistorySearchType_MailList = 5,
  321. /// 话题
  322. HistorySearchType_Topic = 6,
  323. /// 小组
  324. HistorySearchType_Group = 7,
  325. /// 收藏
  326. HistorySearchType_Collect = 8,
  327. /// 笔记
  328. HistorySearchType_Note = 9,
  329. ///工作
  330. HistorySearchType_Work = 10,
  331. ///文件夹
  332. HistorySearchType_FileJia = 11,
  333. }HistorySearchType;
  334. #define NOTIFI_ChaoSongRen @"NOTIFI_ChaoSongRen"
  335. #define NOTIFI_ApprovalRen @"NOTIFI_ApprovalRen"
  336. #define NOTIFI_NoteBookSelectNoteBook @"NOTIFI_NoteBookSelectNoteBook"
  337. #define NOTIFI_SelectPeopleAndDepartMent @"NOTIFI_SelectPeopleAndDepartMent"
  338. #define NOTIFI_SELECTCREATENOTEFOLDER @"NOTIFI_SELECTCREATENOTEFOLDER"
  339. #endif /* FwzAppConfig_h */