@ningboyz/types 1.0.112 → 1.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/.prettierrc +15 -15
  2. package/index.ts +80 -80
  3. package/package.json +25 -25
  4. package/readme.md +1 -1
  5. package/src/antv/IAntvCnfgResponse.ts +69 -69
  6. package/src/antv/IAntvMainResponse.ts +67 -67
  7. package/src/antv/IAntvParaResponse.ts +48 -48
  8. package/src/antv/index.ts +5 -5
  9. package/src/app/ITab.ts +43 -43
  10. package/src/app/IUserData.ts +7 -7
  11. package/src/app/index.ts +4 -4
  12. package/src/base/IBaseResponse.ts +27 -27
  13. package/src/card/ICardMainFindResponse.ts +93 -93
  14. package/src/card/ICardMainResponse.ts +639 -639
  15. package/src/card/IGblbResponse.ts +133 -133
  16. package/src/card/IP4pzResponse.ts +68 -68
  17. package/src/card/ISyszclbgblbResponse.ts +67 -67
  18. package/src/card/IZcbdResponse.ts +205 -205
  19. package/src/card/IZccfResponse.ts +232 -232
  20. package/src/card/IZcczResponse.ts +222 -222
  21. package/src/card/IZcdbResponse.ts +237 -237
  22. package/src/card/IZclbResponse.ts +138 -138
  23. package/src/card/IZczjPropResponse.ts +94 -94
  24. package/src/card/IZczjResponse.ts +121 -121
  25. package/src/card/index.ts +41 -41
  26. package/src/cggz/ICggzBillResponse.ts +69 -69
  27. package/src/cggz/ICggzMainResponse.ts +188 -188
  28. package/src/cggz/index.ts +4 -4
  29. package/src/clas/IClasAttrResponse.ts +69 -69
  30. package/src/clas/IClasMainResponse.ts +67 -67
  31. package/src/conf/ICnfgMainResponse.ts +83 -83
  32. package/src/conf/IConfig.ts +33 -33
  33. package/src/conf/index.ts +3 -3
  34. package/src/const/const_align.ts +3 -3
  35. package/src/const/const_audit.ts +34 -34
  36. package/src/const/const_bizCode.ts +3 -3
  37. package/src/const/const_card.ts +6 -6
  38. package/src/const/const_clas.ts +72 -72
  39. package/src/const/const_cnfg.ts +92 -92
  40. package/src/const/const_data_from.ts +14 -14
  41. package/src/const/const_elem.ts +86 -86
  42. package/src/const/const_flow.ts +7 -7
  43. package/src/const/const_gams_mode.ts +5 -5
  44. package/src/const/const_gzlm.ts +9 -9
  45. package/src/const/const_hznt.ts +61 -61
  46. package/src/const/const_module.ts +97 -97
  47. package/src/const/const_myoa.ts +24 -24
  48. package/src/const/const_p4pt.ts +8 -8
  49. package/src/const/const_part.ts +25 -25
  50. package/src/const/const_stat.ts +395 -395
  51. package/src/const/const_take_type.ts +9 -9
  52. package/src/const/const_todo.ts +25 -25
  53. package/src/const/const_travel.ts +8 -8
  54. package/src/const/const_type.ts +65 -65
  55. package/src/const/const_type_name.ts +169 -169
  56. package/src/const/const_user.ts +2 -2
  57. package/src/const/const_wldy_item_type.ts +4 -4
  58. package/src/const/const_wtui_item_type.ts +21 -21
  59. package/src/const/const_yiha.ts +32 -32
  60. package/src/const/const_yzcg.ts +9 -9
  61. package/src/const/const_zbzd.ts +10 -10
  62. package/src/const/index.ts +33 -33
  63. package/src/core/ICoreValidResponse.ts +21 -21
  64. package/src/core/IDeptLiteResponse.ts +43 -43
  65. package/src/core/IDeptResponse.ts +166 -166
  66. package/src/core/IDictResponse.ts +170 -170
  67. package/src/core/IDictResponseDictPara.ts +17 -17
  68. package/src/core/IEnvrResponse.ts +95 -95
  69. package/src/core/ILaidResponse.ts +143 -143
  70. package/src/core/IPartResponse.ts +99 -99
  71. package/src/core/IPathResponse.ts +122 -122
  72. package/src/core/ISourceItem.ts +55 -55
  73. package/src/core/IStypResponse.ts +45 -45
  74. package/src/core/ISysClasResponse.ts +57 -57
  75. package/src/core/ISysMenuWithCoreResponse.ts +152 -152
  76. package/src/core/ISysMenuWithCoreResponseMenuPara.ts +3 -3
  77. package/src/core/ISysMenuWithExpdResponse.ts +298 -298
  78. package/src/core/ISysTravelResponse.ts +135 -135
  79. package/src/core/ITypeResponse.ts +124 -124
  80. package/src/core/IUnitResponse.ts +236 -236
  81. package/src/core/IUnitResponseElemPara.ts +3 -3
  82. package/src/core/IUserAcnoResponse.ts +163 -163
  83. package/src/core/IUserFindResponse.ts +140 -140
  84. package/src/core/IUserLiteResponse.ts +137 -137
  85. package/src/core/IUserPartResponse.ts +170 -170
  86. package/src/core/IUserResponse.ts +356 -356
  87. package/src/core/IUserSzdwResponse.ts +165 -165
  88. package/src/core/index.ts +74 -74
  89. package/src/cron/ICronMainResponse.ts +176 -176
  90. package/src/cron/index.ts +3 -3
  91. package/src/elem/IElemElemResponse.ts +88 -88
  92. package/src/elem/index.ts +6 -6
  93. package/src/enums/btnMode.ts +100 -100
  94. package/src/enums/cardMode.ts +27 -27
  95. package/src/enums/doneMode.ts +7 -7
  96. package/src/enums/editMode.ts +18 -18
  97. package/src/enums/emitterType.ts +5 -5
  98. package/src/enums/formType.ts +8 -8
  99. package/src/enums/index.ts +25 -25
  100. package/src/enums/storeId.ts +10 -10
  101. package/src/enums/usesStat.ts +13 -13
  102. package/src/enums/viewMode.ts +7 -7
  103. package/src/enums/whatDone.ts +29 -29
  104. package/src/expd/IExpdBAXQResponse.ts +61 -61
  105. package/src/expd/IExpdCallResponse.ts +57 -57
  106. package/src/expd/IExpdCardResponse.ts +102 -102
  107. package/src/expd/IExpdCashResponse.ts +75 -75
  108. package/src/expd/IExpdHYHBResponse.ts +53 -53
  109. package/src/expd/IExpdHYMXResponse.ts +61 -61
  110. package/src/expd/IExpdLfmxResponse.ts +56 -56
  111. package/src/expd/IExpdMainResponse.ts +552 -552
  112. package/src/expd/IExpdP2pzResponse.ts +59 -59
  113. package/src/expd/IExpdP5pzResponse.ts +57 -57
  114. package/src/expd/IViewLockResponse.ts +63 -63
  115. package/src/expd/index.ts +36 -36
  116. package/src/flow/IFlowCnfgResponse.ts +69 -69
  117. package/src/flow/IFlowDataResponse.ts +193 -193
  118. package/src/flow/IFlowDutyNodeParaConv.ts +7 -7
  119. package/src/flow/IFlowDutyResponse.ts +88 -88
  120. package/src/flow/IFlowMainResponse.ts +126 -126
  121. package/src/flow/IFlowNodeResponse.ts +475 -475
  122. package/src/flow/IFlowTypeResponse.ts +3 -3
  123. package/src/flow/IFlowUservoidResponse.ts +35 -35
  124. package/src/flow/IFlowVoidResponse.ts +73 -73
  125. package/src/flow/index.ts +27 -27
  126. package/src/gams/IGamsBillResponse.ts +348 -348
  127. package/src/gams/IGamsCnfgResponse.ts +69 -69
  128. package/src/gams/IGamsEachResponse.ts +67 -67
  129. package/src/gams/IGamsMainResponse.ts +223 -223
  130. package/src/gams/IZbhdMainResponese.ts +166 -166
  131. package/src/gams/index.ts +18 -18
  132. package/src/gzjg/IGzjgBodyLockResponse.ts +65 -65
  133. package/src/gzjg/IGzjgGzlmLandResponse.ts +88 -88
  134. package/src/gzjg/IGzjgGzlmResponse.ts +162 -162
  135. package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +25 -25
  136. package/src/gzjg/IGzjgGzlmWithResponse.ts +88 -88
  137. package/src/gzjg/IGzjgMainResponse.ts +251 -251
  138. package/src/gzjg/IGzjgMainResponseWithYZPZ.ts +41 -41
  139. package/src/gzjg/IGzjgQzgsResponse.ts +55 -55
  140. package/src/gzjg/index.ts +24 -24
  141. package/src/gztb/IGztbMainResponse.ts +103 -103
  142. package/src/gztb/index.ts +3 -3
  143. package/src/gzzd/IGzzdBillResponse.ts +160 -160
  144. package/src/gzzd/IGzzdLineResponse.ts +13 -13
  145. package/src/gzzd/IGzzdMainResponse.ts +172 -172
  146. package/src/gzzd/index.ts +5 -5
  147. package/src/hzcb/IHzcbRypqResponse.ts +202 -202
  148. package/src/hzcb/index.ts +3 -3
  149. package/src/load/ILoadDataResponse.ts +51 -51
  150. package/src/load/ILoadLineResponse.ts +11 -11
  151. package/src/load/ILoadMainResponse.ts +107 -107
  152. package/src/load/IYqdwResponse.ts +65 -65
  153. package/src/load/IYqkbResponse.ts +65 -65
  154. package/src/load/IYqkmResponse.ts +51 -51
  155. package/src/load/index.ts +5 -5
  156. package/src/micro/appData.ts +29 -29
  157. package/src/micro/appName.ts +7 -7
  158. package/src/micro/appTab.ts +15 -15
  159. package/src/micro/index.ts +6 -6
  160. package/src/myoa/IMyoaCashResponse.ts +107 -107
  161. package/src/myoa/IMyoaMainResponse.ts +362 -362
  162. package/src/myoa/IMyoaPGDWResponse.ts +49 -49
  163. package/src/myoa/index.ts +12 -12
  164. package/src/noti/INotiMainResponse.ts +282 -282
  165. package/src/noti/index.ts +3 -3
  166. package/src/pzpt/IPzptCnfgResponse.ts +150 -150
  167. package/src/pzpt/IPzptGlfaResponse.ts +84 -84
  168. package/src/pzpt/IPzptGlkmResponse.ts +98 -98
  169. package/src/pzpt/IPzptGlkmfdResponse.ts +59 -59
  170. package/src/pzpt/IPzptGlkmzdResponse.ts +59 -59
  171. package/src/pzpt/IPzptItemResponse.ts +104 -104
  172. package/src/pzpt/IPzptK0kmResponse.ts +69 -69
  173. package/src/pzpt/IPzptK8kmResponse.ts +183 -183
  174. package/src/pzpt/IPzptKbkmResponse.ts +139 -139
  175. package/src/pzpt/IPzptTypeResponse.ts +88 -88
  176. package/src/pzpt/IPzptUkkmResponse.ts +87 -87
  177. package/src/pzpt/index.ts +30 -30
  178. package/src/response/IResponse.ts +48 -48
  179. package/src/store/dateState.ts +49 -49
  180. package/src/store/index.ts +8 -8
  181. package/src/store/menuState.ts +9 -9
  182. package/src/store/tabsState.ts +13 -13
  183. package/src/store/userState.ts +46 -46
  184. package/src/store/viewState.ts +9 -9
  185. package/src/tabl/ITablDataResponse.ts +72 -72
  186. package/src/tabl/ITablLineResponse.ts +13 -13
  187. package/src/tabl/ITablMainResponse.ts +148 -148
  188. package/src/tabl/index.ts +5 -5
  189. package/src/take/ITakeBillResponse.ts +144 -144
  190. package/src/take/ITakeMainResponse.ts +205 -205
  191. package/src/take/index.ts +4 -4
  192. package/src/task/ITaskMainResponse.ts +121 -121
  193. package/src/task/index.ts +3 -3
  194. package/src/wldy/IWldyDataResponse.ts +68 -68
  195. package/src/wldy/IWldyItemResponse.ts +72 -72
  196. package/src/wldy/IWldyPageParaResponse.ts +42 -42
  197. package/src/wldy/IWldyPageResponse.ts +107 -107
  198. package/src/wldy/index.ts +18 -18
  199. package/src/wlzf/IWlzfEnvrResponse.ts +115 -115
  200. package/src/wlzf/index.ts +3 -3
  201. package/src/wtui/ITodoResponse.ts +15 -15
  202. package/src/wtui/IViewCtrlResponse.ts +77 -77
  203. package/src/wtui/IWtuiColWidthResponse.ts +53 -53
  204. package/src/wtui/IWtuiFormParaResponse.ts +17 -17
  205. package/src/wtui/IWtuiFormResponse.ts +95 -95
  206. package/src/wtui/IWtuiItemCalc.ts +36 -36
  207. package/src/wtui/IWtuiItemEffect.ts +43 -43
  208. package/src/wtui/IWtuiItemParaResponse.ts +59 -59
  209. package/src/wtui/IWtuiItemResponse.ts +119 -119
  210. package/src/wtui/IWtuiMainResponse.ts +114 -114
  211. package/src/wtui/IWtuiNodeResponse.ts +75 -75
  212. package/src/wtui/IWtuiOperateResponse.ts +80 -80
  213. package/src/wtui/IWtuiRootResponse.ts +62 -62
  214. package/src/wtui/IWtuiTodoResponse.ts +103 -103
  215. package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -7
  216. package/src/wtui/IWtuiTodoResponseWithPara.ts +32 -32
  217. package/src/wtui/IWtuiUserCnfgResponse.ts +100 -100
  218. package/src/wtui/IWtuiViewResponse.ts +91 -91
  219. package/src/wtui/IWtuiZoneResponse.ts +61 -61
  220. package/src/wtui/index.ts +57 -57
  221. package/src/yzcb/ICbjgMainResponse.ts +133 -133
  222. package/src/yzcb/IYzcbBillResponse.ts +49 -49
  223. package/src/yzcb/IYzcbMainResponse.ts +189 -189
  224. package/src/yzcb/index.ts +12 -12
  225. package/src/yzcg/IYzcgBillResponse.ts +72 -72
  226. package/src/yzcg/IYzcgGshdResponse.ts +59 -59
  227. package/src/yzcg/IYzcgLockResponse.ts +41 -41
  228. package/src/yzcg/IYzcgMainResponse.ts +307 -307
  229. package/src/yzcg/index.ts +15 -15
  230. package/src/yzcq/IYzcqMainResponse.ts +120 -120
  231. package/src/yzcq/index.ts +2 -2
  232. package/src/yzht/IYzhtBillResponse.ts +102 -102
  233. package/src/yzht/IYzhtMainResponse.ts +400 -400
  234. package/src/yzht/index.ts +4 -4
  235. package/src/zbhd/IZbhdMainResponese.ts +166 -166
  236. package/src/zbhd/index.ts +3 -3
  237. package/src/zfht/IZfhtResponse.ts +103 -103
  238. package/src/zfht/index.ts +3 -3
  239. package/src/zfsq/IZfsqResponse.ts +193 -193
  240. package/src/zfsq/index.ts +3 -3
  241. package/tsconfig.json +21 -21
  242. package/src/card/ISyszclbgblbResponse.ts~ +0 -67
  243. package/src/card/IZclbgblbResponse.ts~ +0 -68
  244. package/src/card/index.ts~ +0 -41
  245. package/src/const/const_wtui_item_type.ts~ +0 -20
  246. package/src/const/index.ts~ +0 -29
  247. package/src/core/IDeptResponse.ts~ +0 -162
  248. package/src/enums/btnMode.ts~ +0 -100
@@ -1,49 +1,49 @@
1
- export interface IMyoaPGDWResponse {
2
- whoBuild: number;
3
- userIndx: number;
4
- myoaIndx: number;
5
- detailID: number;
6
- dataStat: number;
7
- dataHide: number;
8
- dataOrdr: number;
9
- dataFrom: number;
10
- dataDate: number;
11
- dataTime: number;
12
- createBy: string;
13
- createAt: number;
14
- updateBy: string;
15
- updateAt: number;
16
- deleteBy: string;
17
- deleteAt: number;
18
- queuesBy: number;
19
-
20
- userName: string; // 姓名
21
- userIdcd: string; // 身份证
22
- mobileID: string; // 手机长号
23
- reasonBy: string; // 不参加理由
24
- }
25
-
26
- export class TMyoaPGDWResponse implements IMyoaPGDWResponse {
27
- whoBuild: number = 0;
28
- userIndx: number = 0;
29
- myoaIndx: number = 0;
30
- detailID: number = 0;
31
- dataStat: number = 0;
32
- dataHide: number = 0;
33
- dataOrdr: number = 0;
34
- dataFrom: number = 0;
35
- dataDate: number = 0;
36
- dataTime: number = 0;
37
- createBy: string = "";
38
- createAt: number = 0;
39
- updateBy: string = "";
40
- updateAt: number = 0;
41
- deleteBy: string = "";
42
- deleteAt: number = 0;
43
- queuesBy: number = 0;
44
-
45
- userName: string = "";
46
- userIdcd: string = "";
47
- mobileID: string = "";
48
- reasonBy: string = "";
49
- }
1
+ export interface IMyoaPGDWResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ myoaIndx: number;
5
+ detailID: number;
6
+ dataStat: number;
7
+ dataHide: number;
8
+ dataOrdr: number;
9
+ dataFrom: number;
10
+ dataDate: number;
11
+ dataTime: number;
12
+ createBy: string;
13
+ createAt: number;
14
+ updateBy: string;
15
+ updateAt: number;
16
+ deleteBy: string;
17
+ deleteAt: number;
18
+ queuesBy: number;
19
+
20
+ userName: string; // 姓名
21
+ userIdcd: string; // 身份证
22
+ mobileID: string; // 手机长号
23
+ reasonBy: string; // 不参加理由
24
+ }
25
+
26
+ export class TMyoaPGDWResponse implements IMyoaPGDWResponse {
27
+ whoBuild: number = 0;
28
+ userIndx: number = 0;
29
+ myoaIndx: number = 0;
30
+ detailID: number = 0;
31
+ dataStat: number = 0;
32
+ dataHide: number = 0;
33
+ dataOrdr: number = 0;
34
+ dataFrom: number = 0;
35
+ dataDate: number = 0;
36
+ dataTime: number = 0;
37
+ createBy: string = "";
38
+ createAt: number = 0;
39
+ updateBy: string = "";
40
+ updateAt: number = 0;
41
+ deleteBy: string = "";
42
+ deleteAt: number = 0;
43
+ queuesBy: number = 0;
44
+
45
+ userName: string = "";
46
+ userIdcd: string = "";
47
+ mobileID: string = "";
48
+ reasonBy: string = "";
49
+ }
package/src/myoa/index.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { IMyoaMainResponse, TMyoaMainResponse } from "./IMyoaMainResponse";
2
- import { IMyoaCashResponse, TMyoaCashResponse } from "./IMyoaCashResponse";
3
- import { IMyoaPGDWResponse, TMyoaPGDWResponse } from "./IMyoaPGDWResponse";
4
-
5
- export {
6
- type IMyoaMainResponse,
7
- type IMyoaCashResponse,
8
- type IMyoaPGDWResponse,
9
- TMyoaMainResponse,
10
- TMyoaCashResponse,
11
- TMyoaPGDWResponse
12
- };
1
+ import { IMyoaMainResponse, TMyoaMainResponse } from "./IMyoaMainResponse";
2
+ import { IMyoaCashResponse, TMyoaCashResponse } from "./IMyoaCashResponse";
3
+ import { IMyoaPGDWResponse, TMyoaPGDWResponse } from "./IMyoaPGDWResponse";
4
+
5
+ export {
6
+ type IMyoaMainResponse,
7
+ type IMyoaCashResponse,
8
+ type IMyoaPGDWResponse,
9
+ TMyoaMainResponse,
10
+ TMyoaCashResponse,
11
+ TMyoaPGDWResponse
12
+ };
@@ -1,282 +1,282 @@
1
- import { IPathResponse } from "../core/IPathResponse";
2
- import { TFlowDataResponse } from "../flow/IFlowDataResponse";
3
- import { IDictResponse, IPartResponse, IUnitResponse, IUserLiteResponse } from "../core";
4
- import _ from "lodash";
5
-
6
- /**
7
- *后端已校验
8
- */
9
-
10
- export interface INotiMainResponse {
11
- whoBuild: number; //#pk
12
- userIndx: number; //#pk
13
- notiIndx: number; //#pk
14
-
15
- parentID: number;
16
- hashCode: number;
17
- dataLevl: number;
18
- dataStat: number;
19
- dataOrdr: number;
20
- dataDate: number;
21
- dataTime: number;
22
- dataHide: number;
23
- dataFrom: number;
24
- kjndKJQJ: number;
25
- dataGUID: string;
26
- mastName: string;
27
- mastGUID: string;
28
- createBy: string;
29
- createAt: number;
30
- updateBy: string;
31
- updateAt: number;
32
- deleteBy: string;
33
- deleteAt: number;
34
- publicEd: number;
35
- publicAt: number;
36
- publicBy: string; //发布单位
37
- publicTo: string;
38
- entityID: string;
39
- notiStat: number;
40
- notiDate: number;
41
- notiCode: string;
42
- pathSize: number;
43
- userSize: number;
44
- readSize: number;
45
- printCnt: number;
46
- fetchCnt: number;
47
- partText: string;
48
- typeText: string;
49
- notiName: string;
50
- notiMemo: string;
51
- deadLine: number;
52
- deadDate: number;
53
- deadTime: number;
54
- canClose: number;
55
- sysClasc: number;
56
- sysClasn: string;
57
- everyOne: number;
58
- menuUUID: string;
59
- sysPartc: number;
60
- sourceND: number;
61
- unitMain: number;
62
- deptMain: number;
63
- flowUndo: number;
64
- flowText: string;
65
- notiBody: string;
66
- replyTxt: string;
67
- notiPara: string;
68
- notiKJND: number;
69
- notiKJQJ: number;
70
- menuName: string;
71
-
72
- //from Flow
73
- flowMain: number;
74
- flowNode: number;
75
- sourceDW: string;
76
- unitText: string;
77
- userMain: number;
78
- touchURL: string;
79
- coverURL: string;
80
- lastDate: number;
81
- lastTime: number;
82
- flowStat: number;
83
- didFirst: number;
84
- lastMemo: string;
85
- userName: string;
86
- userGUID: string;
87
- notified: string;
88
- fileName: string; //文件名称
89
- fileType: number; //文件分类
90
- fileArea: number; //发布层级
91
- fileCode: string; //文号
92
- didValid: number; //是否现行有效
93
-
94
- dxField0: string;
95
- wbField0: string;
96
- wbField1: string;
97
- wbField2: string;
98
- wbField3: string;
99
- wbField4: string;
100
- wbField5: string;
101
- wbField6: string;
102
- lockText: string; //对应法规,文件名称
103
- lockPara: string; //对应法规,跳转参数
104
- listLock: INotiMainResponse[];
105
-
106
- fromSysPartc: number;
107
- dictQueuesBy: number;
108
-
109
- notiTypeText: string;
110
-
111
- fileTypeText: string;
112
- fileAreaText: string;
113
-
114
- starType: number; //(评分等级,字典)
115
- starTypeText: string; //(视图)
116
- starSize: number; //(评分)
117
-
118
- listUnit: IUnitResponse[];
119
- usrPartn: IPartResponse[];
120
- listType: IDictResponse[];
121
- listPath: IPathResponse[];
122
- listUser: IUserLiteResponse[];
123
-
124
- //虚拟字段
125
- typeArray?: number[];
126
- unitArray?: number[];
127
- diskArray?: number[];
128
- }
129
-
130
- export class TNotiMainResponse implements INotiMainResponse {
131
- fileName: string = "";
132
- fileType: number = 0;
133
- fileArea: number = 0;
134
- whoBuild: number = 0;
135
- userIndx: number = 0;
136
- notiIndx: number = 0;
137
-
138
- parentID: number = 0;
139
- hashCode: number = 0;
140
- dataLevl: number = 0;
141
- dataStat: number = 0;
142
- dataOrdr: number = 0;
143
- dataDate: number = 0;
144
- dataTime: number = 0;
145
- dataHide: number = 0;
146
- dataFrom: number = 0;
147
- kjndKJQJ: number = 0;
148
- dataGUID: string = "";
149
- mastName: string = "";
150
- mastGUID: string = "";
151
- createBy: string = "";
152
- createAt: number = 0;
153
- updateBy: string = "";
154
- updateAt: number = 0;
155
- deleteBy: string = "";
156
- deleteAt: number = 0;
157
- publicEd: number = 0;
158
- publicAt: number = 0;
159
- publicBy: string = "";
160
- publicTo: string = "";
161
- entityID: string = "";
162
- notiStat: number = 0;
163
- notiDate: number = 0;
164
- notiCode: string = "";
165
- pathSize: number = 0;
166
- userSize: number = 0;
167
- readSize: number = 0;
168
- printCnt: number = 0;
169
- fetchCnt: number = 0;
170
- partText: string = "";
171
- typeText: string = "";
172
- notiName: string = "";
173
- notiMemo: string = "";
174
- deadLine: number = 0;
175
- deadDate: number = 0; //项目完成时间
176
- deadTime: number = 0;
177
- canClose: number = 0;
178
- sysClasc: number = 0;
179
- sysClasn: string = "";
180
- everyOne: number = 0;
181
- menuUUID: string = "";
182
- sysPartc: number = 0;
183
- sourceND: number = 0;
184
- sourceDW: string = "";
185
- unitText: string = "";
186
- unitMain: number = 0;
187
- deptMain: number = 0;
188
- flowUndo: number = 0;
189
- flowText: string = "";
190
- notiBody: string = "";
191
- replyTxt: string = "";
192
- notiPara: string = "";
193
- notiKJND: number = 0;
194
- notiKJQJ: number = 0;
195
- menuName: string = "";
196
-
197
- //from Flow
198
- flowMain: number = 0;
199
- flowNode: number = 0;
200
- userMain: number = 0;
201
- touchURL: string = "";
202
- coverURL: string = "";
203
- lastDate: number = 0;
204
- lastTime: number = 0;
205
- flowStat: number = 0;
206
- didFirst: number = 0;
207
- lastMemo: string = "";
208
- userName: string = "";
209
- userGUID: string = "";
210
- notified: string = "";
211
- fileCode: string = "";
212
- didValid: number = 0;
213
-
214
- dxField0: string = "";
215
- wbField0: string = "";
216
- wbField1: string = "";
217
- wbField2: string = "";
218
- wbField3: string = "";
219
- wbField4: string = "";
220
- wbField5: string = "";
221
- wbField6: string = "";
222
- lockText: string = ""; //对应法规,文件名称
223
- lockPara: string = ""; //对应法规,跳转参数
224
- listLock: INotiMainResponse[] = [];
225
-
226
- fromSysPartc: number = 0;
227
- dictQueuesBy: number = 0;
228
-
229
- notiTypeText: string = "";
230
-
231
- fileTypeText: string = "";
232
- fileAreaText: string = "";
233
-
234
- starType: number = 0; //(评分等级,字典)
235
- starTypeText: string = ""; //(视图)
236
- starSize: number = 0; //(评分)
237
-
238
- listUnit: IUnitResponse[] = [];
239
- usrPartn: IPartResponse[] = [];
240
- listType: IDictResponse[] = [];
241
- listPath: IPathResponse[] = [];
242
- listUser: IUserLiteResponse[] = [];
243
-
244
- typeArray?: number[] = [];
245
- unitArray?: number[] = [];
246
- diskArray?: number[] = [];
247
-
248
- constructor(card: any = {}) {
249
- if (card) {
250
- _.merge(this, _.pick(card, Object.keys(this)));
251
- }
252
- }
253
-
254
- static toFlowDatas(notis: TNotiMainResponse[]): TFlowDataResponse[] {
255
- return notis.map((u) => this.toFlowData(u));
256
- }
257
-
258
- static toFlowData(aNoti: TNotiMainResponse): TFlowDataResponse {
259
- const result = new TFlowDataResponse();
260
- result.whoBuild = aNoti.whoBuild;
261
- result.userIndx = aNoti.userIndx;
262
- result.flowMain = aNoti.flowMain; //#flowmain=0
263
- result.flowNode = aNoti.flowNode; //#flownode=0
264
- result.entityID = aNoti.entityID;
265
- result.billMain = aNoti.notiIndx;
266
- result.billCode = aNoti.notiCode;
267
- result.billMemo = "";
268
- result.billUses = "";
269
- result.ysxmText = "";
270
- result.outMoney = 0;
271
- result.notified = aNoti.notified;
272
- result.createAt = aNoti.createAt;
273
- result.mastName = aNoti.mastName;
274
- result.createBy = aNoti.createBy;
275
- result.unitMain = aNoti.unitMain;
276
- result.deptMain = aNoti.deptMain;
277
- result.flowStat = aNoti.notiStat;
278
- result.menuUUID = aNoti.menuUUID;
279
- //#result.touchURL = store.getState().userReducer!.touchURL;//TODO:XF-DEV
280
- return result;
281
- }
282
- }
1
+ import { IPathResponse } from "../core/IPathResponse";
2
+ import { TFlowDataResponse } from "../flow/IFlowDataResponse";
3
+ import { IDictResponse, IPartResponse, IUnitResponse, IUserLiteResponse } from "../core";
4
+ import _ from "lodash";
5
+
6
+ /**
7
+ *后端已校验
8
+ */
9
+
10
+ export interface INotiMainResponse {
11
+ whoBuild: number; //#pk
12
+ userIndx: number; //#pk
13
+ notiIndx: number; //#pk
14
+
15
+ parentID: number;
16
+ hashCode: number;
17
+ dataLevl: number;
18
+ dataStat: number;
19
+ dataOrdr: number;
20
+ dataDate: number;
21
+ dataTime: number;
22
+ dataHide: number;
23
+ dataFrom: number;
24
+ kjndKJQJ: number;
25
+ dataGUID: string;
26
+ mastName: string;
27
+ mastGUID: string;
28
+ createBy: string;
29
+ createAt: number;
30
+ updateBy: string;
31
+ updateAt: number;
32
+ deleteBy: string;
33
+ deleteAt: number;
34
+ publicEd: number;
35
+ publicAt: number;
36
+ publicBy: string; //发布单位
37
+ publicTo: string;
38
+ entityID: string;
39
+ notiStat: number;
40
+ notiDate: number;
41
+ notiCode: string;
42
+ pathSize: number;
43
+ userSize: number;
44
+ readSize: number;
45
+ printCnt: number;
46
+ fetchCnt: number;
47
+ partText: string;
48
+ typeText: string;
49
+ notiName: string;
50
+ notiMemo: string;
51
+ deadLine: number;
52
+ deadDate: number;
53
+ deadTime: number;
54
+ canClose: number;
55
+ sysClasc: number;
56
+ sysClasn: string;
57
+ everyOne: number;
58
+ menuUUID: string;
59
+ sysPartc: number;
60
+ sourceND: number;
61
+ unitMain: number;
62
+ deptMain: number;
63
+ flowUndo: number;
64
+ flowText: string;
65
+ notiBody: string;
66
+ replyTxt: string;
67
+ notiPara: string;
68
+ notiKJND: number;
69
+ notiKJQJ: number;
70
+ menuName: string;
71
+
72
+ //from Flow
73
+ flowMain: number;
74
+ flowNode: number;
75
+ sourceDW: string;
76
+ unitText: string;
77
+ userMain: number;
78
+ touchURL: string;
79
+ coverURL: string;
80
+ lastDate: number;
81
+ lastTime: number;
82
+ flowStat: number;
83
+ didFirst: number;
84
+ lastMemo: string;
85
+ userName: string;
86
+ userGUID: string;
87
+ notified: string;
88
+ fileName: string; //文件名称
89
+ fileType: number; //文件分类
90
+ fileArea: number; //发布层级
91
+ fileCode: string; //文号
92
+ didValid: number; //是否现行有效
93
+
94
+ dxField0: string;
95
+ wbField0: string;
96
+ wbField1: string;
97
+ wbField2: string;
98
+ wbField3: string;
99
+ wbField4: string;
100
+ wbField5: string;
101
+ wbField6: string;
102
+ lockText: string; //对应法规,文件名称
103
+ lockPara: string; //对应法规,跳转参数
104
+ listLock: INotiMainResponse[];
105
+
106
+ fromSysPartc: number;
107
+ dictQueuesBy: number;
108
+
109
+ notiTypeText: string;
110
+
111
+ fileTypeText: string;
112
+ fileAreaText: string;
113
+
114
+ starType: number; //(评分等级,字典)
115
+ starTypeText: string; //(视图)
116
+ starSize: number; //(评分)
117
+
118
+ listUnit: IUnitResponse[];
119
+ usrPartn: IPartResponse[];
120
+ listType: IDictResponse[];
121
+ listPath: IPathResponse[];
122
+ listUser: IUserLiteResponse[];
123
+
124
+ //虚拟字段
125
+ typeArray?: number[];
126
+ unitArray?: number[];
127
+ diskArray?: number[];
128
+ }
129
+
130
+ export class TNotiMainResponse implements INotiMainResponse {
131
+ fileName: string = "";
132
+ fileType: number = 0;
133
+ fileArea: number = 0;
134
+ whoBuild: number = 0;
135
+ userIndx: number = 0;
136
+ notiIndx: number = 0;
137
+
138
+ parentID: number = 0;
139
+ hashCode: number = 0;
140
+ dataLevl: number = 0;
141
+ dataStat: number = 0;
142
+ dataOrdr: number = 0;
143
+ dataDate: number = 0;
144
+ dataTime: number = 0;
145
+ dataHide: number = 0;
146
+ dataFrom: number = 0;
147
+ kjndKJQJ: number = 0;
148
+ dataGUID: string = "";
149
+ mastName: string = "";
150
+ mastGUID: string = "";
151
+ createBy: string = "";
152
+ createAt: number = 0;
153
+ updateBy: string = "";
154
+ updateAt: number = 0;
155
+ deleteBy: string = "";
156
+ deleteAt: number = 0;
157
+ publicEd: number = 0;
158
+ publicAt: number = 0;
159
+ publicBy: string = "";
160
+ publicTo: string = "";
161
+ entityID: string = "";
162
+ notiStat: number = 0;
163
+ notiDate: number = 0;
164
+ notiCode: string = "";
165
+ pathSize: number = 0;
166
+ userSize: number = 0;
167
+ readSize: number = 0;
168
+ printCnt: number = 0;
169
+ fetchCnt: number = 0;
170
+ partText: string = "";
171
+ typeText: string = "";
172
+ notiName: string = "";
173
+ notiMemo: string = "";
174
+ deadLine: number = 0;
175
+ deadDate: number = 0; //项目完成时间
176
+ deadTime: number = 0;
177
+ canClose: number = 0;
178
+ sysClasc: number = 0;
179
+ sysClasn: string = "";
180
+ everyOne: number = 0;
181
+ menuUUID: string = "";
182
+ sysPartc: number = 0;
183
+ sourceND: number = 0;
184
+ sourceDW: string = "";
185
+ unitText: string = "";
186
+ unitMain: number = 0;
187
+ deptMain: number = 0;
188
+ flowUndo: number = 0;
189
+ flowText: string = "";
190
+ notiBody: string = "";
191
+ replyTxt: string = "";
192
+ notiPara: string = "";
193
+ notiKJND: number = 0;
194
+ notiKJQJ: number = 0;
195
+ menuName: string = "";
196
+
197
+ //from Flow
198
+ flowMain: number = 0;
199
+ flowNode: number = 0;
200
+ userMain: number = 0;
201
+ touchURL: string = "";
202
+ coverURL: string = "";
203
+ lastDate: number = 0;
204
+ lastTime: number = 0;
205
+ flowStat: number = 0;
206
+ didFirst: number = 0;
207
+ lastMemo: string = "";
208
+ userName: string = "";
209
+ userGUID: string = "";
210
+ notified: string = "";
211
+ fileCode: string = "";
212
+ didValid: number = 0;
213
+
214
+ dxField0: string = "";
215
+ wbField0: string = "";
216
+ wbField1: string = "";
217
+ wbField2: string = "";
218
+ wbField3: string = "";
219
+ wbField4: string = "";
220
+ wbField5: string = "";
221
+ wbField6: string = "";
222
+ lockText: string = ""; //对应法规,文件名称
223
+ lockPara: string = ""; //对应法规,跳转参数
224
+ listLock: INotiMainResponse[] = [];
225
+
226
+ fromSysPartc: number = 0;
227
+ dictQueuesBy: number = 0;
228
+
229
+ notiTypeText: string = "";
230
+
231
+ fileTypeText: string = "";
232
+ fileAreaText: string = "";
233
+
234
+ starType: number = 0; //(评分等级,字典)
235
+ starTypeText: string = ""; //(视图)
236
+ starSize: number = 0; //(评分)
237
+
238
+ listUnit: IUnitResponse[] = [];
239
+ usrPartn: IPartResponse[] = [];
240
+ listType: IDictResponse[] = [];
241
+ listPath: IPathResponse[] = [];
242
+ listUser: IUserLiteResponse[] = [];
243
+
244
+ typeArray?: number[] = [];
245
+ unitArray?: number[] = [];
246
+ diskArray?: number[] = [];
247
+
248
+ constructor(card: any = {}) {
249
+ if (card) {
250
+ _.merge(this, _.pick(card, Object.keys(this)));
251
+ }
252
+ }
253
+
254
+ static toFlowDatas(notis: TNotiMainResponse[]): TFlowDataResponse[] {
255
+ return notis.map((u) => this.toFlowData(u));
256
+ }
257
+
258
+ static toFlowData(aNoti: TNotiMainResponse): TFlowDataResponse {
259
+ const result = new TFlowDataResponse();
260
+ result.whoBuild = aNoti.whoBuild;
261
+ result.userIndx = aNoti.userIndx;
262
+ result.flowMain = aNoti.flowMain; //#flowmain=0
263
+ result.flowNode = aNoti.flowNode; //#flownode=0
264
+ result.entityID = aNoti.entityID;
265
+ result.billMain = aNoti.notiIndx;
266
+ result.billCode = aNoti.notiCode;
267
+ result.billMemo = "";
268
+ result.billUses = "";
269
+ result.ysxmText = "";
270
+ result.outMoney = 0;
271
+ result.notified = aNoti.notified;
272
+ result.createAt = aNoti.createAt;
273
+ result.mastName = aNoti.mastName;
274
+ result.createBy = aNoti.createBy;
275
+ result.unitMain = aNoti.unitMain;
276
+ result.deptMain = aNoti.deptMain;
277
+ result.flowStat = aNoti.notiStat;
278
+ result.menuUUID = aNoti.menuUUID;
279
+ //#result.touchURL = store.getState().userReducer!.touchURL;//TODO:XF-DEV
280
+ return result;
281
+ }
282
+ }