@ningboyz/types 1.0.5 → 1.0.7

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 (48) hide show
  1. package/index.ts +22 -20
  2. package/package.json +1 -5
  3. package/src/app/IUserData.ts +5 -0
  4. package/src/app/index.ts +3 -5
  5. package/src/card/ICardMainResponse.ts +245 -0
  6. package/src/{yzpz/IYzpzCnfgResponse.ts → card/IGblbResponse.ts} +27 -30
  7. package/src/card/IZcbdResponse.ts +106 -0
  8. package/src/card/IZccfResponse.ts +87 -0
  9. package/src/card/IZcczResponse.ts +83 -0
  10. package/src/card/IZcdbResponse.ts +83 -0
  11. package/src/card/index.ts +21 -0
  12. package/src/conf/ICnfgMainResponse.ts +83 -0
  13. package/src/conf/index.ts +7 -0
  14. package/src/const/const_align.ts +3 -0
  15. package/src/const/const_stat.ts +386 -0
  16. package/src/const/const_user.ts +1 -0
  17. package/src/const/index.ts +3 -1
  18. package/src/core/IDictResponse.ts +14 -0
  19. package/src/core/IDictResponseDictPara.ts +10 -2
  20. package/src/core/ITypeResponse.ts +12 -0
  21. package/src/core/IUnitResponseElemPara.ts +2 -6
  22. package/src/core/IUserResponse.ts +2 -2
  23. package/src/core/index.ts +17 -17
  24. package/src/enums/btnMode.ts +11 -0
  25. package/src/enums/cardMode.ts +23 -0
  26. package/src/enums/index.ts +3 -1
  27. package/src/flow/IFlowDutyNodeParaConv.ts +1 -1
  28. package/src/flow/IFlowTypeResponse.ts +2 -6
  29. package/src/flow/index.ts +5 -6
  30. package/src/gams/index.ts +1 -5
  31. package/src/gzjg/IGzjgGzlmResponse.ts +6 -2
  32. package/src/gzjg/index.ts +5 -6
  33. package/src/pzpt/IPzptK8kmResponse.ts +3 -4
  34. package/src/pzpt/index.ts +7 -8
  35. package/src/store/index.ts +3 -1
  36. package/src/store/tabsState.ts +1 -1
  37. package/src/store/viewState.ts +5 -1
  38. package/src/tabl/index.ts +1 -9
  39. package/src/wldy/IWldyDataResponse.ts +6 -0
  40. package/src/wldy/IWldyPageParaResponse.ts +42 -0
  41. package/src/wldy/IWldyPageResponse.ts +22 -0
  42. package/src/wldy/index.ts +9 -5
  43. package/src/wlzf/index.ts +1 -5
  44. package/src/wtui/IViewCtrlResponse.ts +3 -2
  45. package/src/wtui/index.ts +1 -11
  46. package/src/yzpz/IYzbzItemResponse.ts +0 -7
  47. package/src/yzpz/IYzpzK8kmResponse.ts +0 -111
  48. package/src/yzpz/index.ts +0 -13
@@ -0,0 +1,83 @@
1
+ import { IPathResponse } from "../core";
2
+
3
+ export interface IZcczResponse {
4
+ whoBuild: number;
5
+ userIndx: number;
6
+ zcczIndx: number;
7
+ parentID: number;
8
+ hashCode: number;
9
+ dataLevl: number;
10
+ dataFrom: number;
11
+ kjndKJQJ: number;
12
+ dataStat: number;
13
+ dataOrdr: number;
14
+ dataHide: number;
15
+ dataType: number;
16
+ dataDate: number;
17
+ dataTime: number;
18
+ dataGUID: string;
19
+ userMain: number;
20
+ mastName: string;
21
+ mastGUID: string;
22
+ createBy: string;
23
+ createAt: number;
24
+ updateBy: string;
25
+ updateAt: number;
26
+ deleteBy: string;
27
+ deleteAt: number;
28
+ queuesBy: number;
29
+ entityID: string;
30
+ sourceND: number;
31
+ menuMain: number;
32
+ menuUUID: string;
33
+ unitMain: number;
34
+ deptMain: number;
35
+ sqyhText: string;
36
+ sqbmText: string;
37
+ flowUndo: number;
38
+ flowText: string;
39
+ flowUser: string;
40
+
41
+ listPath: IPathResponse[];
42
+ }
43
+
44
+ export class TZcczResponse implements IZcczResponse {
45
+ whoBuild: number = 0;
46
+ userIndx: number = 0;
47
+ zcczIndx: number = 0;
48
+ parentID: number = 0;
49
+ hashCode: number = 0;
50
+ dataLevl: number = 0;
51
+ dataFrom: number = 0;
52
+ kjndKJQJ: number = 0;
53
+ dataStat: number = 0;
54
+ dataOrdr: number = 0;
55
+ dataHide: number = 0;
56
+ dataType: number = 0;
57
+ dataDate: number = 0;
58
+ dataTime: number = 0;
59
+ dataGUID: string = "";
60
+ userMain: number = 0;
61
+ mastName: string = "";
62
+ mastGUID: string = "";
63
+ createBy: string = "";
64
+ createAt: number = 0;
65
+ updateBy: string = "";
66
+ updateAt: number = 0;
67
+ deleteBy: string = "";
68
+ deleteAt: number = 0;
69
+ queuesBy: number = 0;
70
+ entityID: string = "";
71
+ sourceND: number = 0;
72
+ menuMain: number = 0;
73
+ menuUUID: string = "";
74
+ unitMain: number = 0;
75
+ deptMain: number = 0;
76
+ sqyhText: string = "";
77
+ sqbmText: string = "";
78
+ flowUndo: number = 0;
79
+ flowText: string = "";
80
+ flowUser: string = "";
81
+
82
+ listPath: IPathResponse[] = [];
83
+ }
@@ -0,0 +1,83 @@
1
+ import { IPathResponse } from "../core";
2
+
3
+ export interface IZcdbResponse {
4
+ whoBuild: number;
5
+ userIndx: number;
6
+ zcdbIndx: number;
7
+ parentID: number;
8
+ hashCode: number;
9
+ dataLevl: number;
10
+ dataFrom: number;
11
+ kjndKJQJ: number;
12
+ dataStat: number;
13
+ dataOrdr: number;
14
+ dataHide: number;
15
+ dataType: number;
16
+ dataDate: number;
17
+ dataTime: number;
18
+ dataGUID: string;
19
+ userMain: number;
20
+ mastName: string;
21
+ mastGUID: string;
22
+ createBy: string;
23
+ createAt: number;
24
+ updateBy: string;
25
+ updateAt: number;
26
+ deleteBy: string;
27
+ deleteAt: number;
28
+ queuesBy: number;
29
+ entityID: string;
30
+ sourceND: number;
31
+ menuMain: number;
32
+ menuUUID: string;
33
+ unitMain: number;
34
+ deptMain: number;
35
+ sqyhText: string;
36
+ sqbmText: string;
37
+ flowUndo: number;
38
+ flowText: string;
39
+ flowUser: string;
40
+
41
+ listPath: IPathResponse[];
42
+ }
43
+
44
+ export class TZcdbResponse implements IZcdbResponse {
45
+ whoBuild: number = 0;
46
+ userIndx: number = 0;
47
+ zcdbIndx: number = 0;
48
+ parentID: number = 0;
49
+ hashCode: number = 0;
50
+ dataLevl: number = 0;
51
+ dataFrom: number = 0;
52
+ kjndKJQJ: number = 0;
53
+ dataStat: number = 0;
54
+ dataOrdr: number = 0;
55
+ dataHide: number = 0;
56
+ dataType: number = 0;
57
+ dataDate: number = 0;
58
+ dataTime: number = 0;
59
+ dataGUID: string = "";
60
+ userMain: number = 0;
61
+ mastName: string = "";
62
+ mastGUID: string = "";
63
+ createBy: string = "";
64
+ createAt: number = 0;
65
+ updateBy: string = "";
66
+ updateAt: number = 0;
67
+ deleteBy: string = "";
68
+ deleteAt: number = 0;
69
+ queuesBy: number = 0;
70
+ entityID: string = "";
71
+ sourceND: number = 0;
72
+ menuMain: number = 0;
73
+ menuUUID: string = "";
74
+ unitMain: number = 0;
75
+ deptMain: number = 0;
76
+ sqyhText: string = "";
77
+ sqbmText: string = "";
78
+ flowUndo: number = 0;
79
+ flowText: string = "";
80
+ flowUser: string = "";
81
+
82
+ listPath: IPathResponse[] = [];
83
+ }
@@ -0,0 +1,21 @@
1
+ import { ICardMainResponse, TCardMainResponse } from "./ICardMainResponse";
2
+ import { IGblbResponse, TGblbResponse } from "./IGblbResponse";
3
+ import { IZcbdResponse, TZcbdResponse } from "./IZcbdResponse";
4
+ import { IZccfResponse, TZccfResponse } from "./IZccfResponse";
5
+ import { IZcczResponse, TZcczResponse } from "./IZcczResponse";
6
+ import { IZcdbResponse, TZcdbResponse } from "./IZcdbResponse";
7
+
8
+ export {
9
+ TCardMainResponse,
10
+ TGblbResponse,
11
+ TZcbdResponse,
12
+ TZccfResponse,
13
+ TZcczResponse,
14
+ TZcdbResponse,
15
+ type ICardMainResponse,
16
+ type IGblbResponse,
17
+ type IZcbdResponse,
18
+ type IZccfResponse,
19
+ type IZcczResponse,
20
+ type IZcdbResponse
21
+ };
@@ -0,0 +1,83 @@
1
+ export interface ICnfgMainResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ cnfgIndx: number;
5
+ cnfgMain: number;
6
+
7
+ parentID: number;
8
+ hashCode: number;
9
+ dataLevl: number;
10
+ dataFrom: number;
11
+ dataType: number;
12
+ kjndKJQJ: number;
13
+ isLasted: number;
14
+ dataStat: number;
15
+ dataOrdr: number;
16
+ dataHide: number;
17
+ dataDate: number;
18
+ dataTime: number;
19
+ dataGUID: string;
20
+ userMain: number;
21
+ mastName: string;
22
+ mastGUID: string;
23
+ createBy: string;
24
+ createAt: number;
25
+ updateBy: string;
26
+ updateAt: number;
27
+ deleteBy: string;
28
+ deleteAt: number;
29
+ entityID: string;
30
+ queuesBy: number;
31
+
32
+ isPublic: number; //#是否开放
33
+ cnfgCode: string; //#配置编码
34
+ cnfgName: string; //#配置名称
35
+ cnfgUses: string; //#配置用途
36
+ cnfgMemo: string; //#配置备注
37
+ cnfgPara: string; //#参数约定
38
+
39
+ cnfg4key: string; //#配置项键--唯一键值,不对外开放
40
+ cnfg4val: string; //#配置项值
41
+ }
42
+
43
+ export class TCnfgMainResponse implements ICnfgMainResponse {
44
+ whoBuild: number = 0;
45
+ userIndx: number = 0;
46
+ cnfgIndx: number = 0;
47
+ cnfgMain: number = 0; //#虚拟字段,回传后端
48
+
49
+ parentID: number = 0;
50
+ hashCode: number = 0;
51
+ dataLevl: number = 0;
52
+ dataFrom: number = 0;
53
+ dataType: number = 0;
54
+ kjndKJQJ: number = 0;
55
+ isLasted: number = 0;
56
+ dataStat: number = 0;
57
+ dataOrdr: number = 0;
58
+ dataHide: number = 0;
59
+ dataDate: number = 0;
60
+ dataTime: number = 0;
61
+ dataGUID: string = "";
62
+ userMain: number = 0;
63
+ mastName: string = "";
64
+ mastGUID: string = "";
65
+ createBy: string = "";
66
+ createAt: number = 0;
67
+ updateBy: string = "";
68
+ updateAt: number = 0;
69
+ deleteBy: string = "";
70
+ deleteAt: number = 0;
71
+ entityID: string = "";
72
+ queuesBy: number = 0;
73
+
74
+ isPublic: number = 0;
75
+ cnfgCode: string = "";
76
+ cnfgName: string = "";
77
+ cnfgUses: string = "";
78
+ cnfgMemo: string = "";
79
+ cnfgPara: string = "";
80
+
81
+ cnfg4key: string = "";
82
+ cnfg4val: string = "";
83
+ }
@@ -0,0 +1,7 @@
1
+ import { ICnfgMainResponse, TCnfgMainResponse } from "./ICnfgMainResponse";
2
+
3
+
4
+ export {
5
+ TCnfgMainResponse,
6
+ type ICnfgMainResponse
7
+ }
@@ -0,0 +1,3 @@
1
+ export const tableLeft = "left";
2
+ export const tableCenter = "center";
3
+ export const tableRight = "right";
@@ -0,0 +1,386 @@
1
+ /**
2
+ * 终止/作废
3
+ */
4
+ export const CONST_STAT_DARK = -2;
5
+
6
+ /**
7
+ * 退回
8
+ */
9
+ export const CONST_STAT_UNDO = -1;
10
+
11
+ /**
12
+ * 制单
13
+ */
14
+ export const CONST_STAT_MAKE = 0;
15
+
16
+ /**
17
+ * 审核中
18
+ */
19
+ export const CONST_STAT_WAIT = 1;
20
+
21
+ /**
22
+ * 终审
23
+ */
24
+ export const CONST_STAT_DONE = 2;
25
+
26
+ /**
27
+ * 暂存
28
+ */
29
+ export const CONST_STAT_TEMP = 3;
30
+
31
+ export type AuditStat = typeof CONST_STAT_UNDO | typeof CONST_STAT_MAKE | typeof CONST_STAT_WAIT | typeof CONST_STAT_DONE | typeof CONST_STAT_DARK | typeof CONST_STAT_TEMP;
32
+
33
+ //tabs 页签
34
+
35
+ /**
36
+ * 待处理业务
37
+ */
38
+ export const CONST_TABS_TODO = "CONST_TABS_TODO";
39
+
40
+ /**
41
+ * 已处理业务
42
+ */
43
+ export const CONST_TABS_PROC = "CONST_TABS_PROC";
44
+
45
+ /**
46
+ * 所有业务
47
+ */
48
+ export const CONST_TABS_ALL = "CONST_TABS_ALL";
49
+
50
+ /**
51
+ * 待审核业务
52
+ */
53
+ export const CONST_TABS_AUDIT_TODO = "CONST_TABS_AUDIT_TODO";
54
+
55
+ /**
56
+ * 已处理业务(审核)
57
+ */
58
+ export const CONST_TABS_AUDIT_PROC = "CONST_TABS_AUDIT_PROC";
59
+
60
+ /**
61
+ * 所有业务(审核)
62
+ */
63
+ export const CONST_TABS_AUDIT_ALL = "CONST_TABS_AUDIT_ALL";
64
+
65
+ /**
66
+ * 网络支付 未支付
67
+ */
68
+ export const CONST_TABS_WLZF_WAIT = "CONST_TABS_WLZF_WAIT";
69
+
70
+ /**
71
+ * 网络支付 已支付
72
+ */
73
+ export const CONST_TABS_WLZF_DONE = "CONST_TABS_WLZF_DONE";
74
+
75
+ /**
76
+ * 撤消申请审核
77
+ */
78
+ export const CONST_TABS_AUDIT_UNDO = "CONST_TABS_AUDIT_UNDO";
79
+
80
+ /**
81
+ * 申请解锁
82
+ */
83
+ export const CONST_TABS_LOCK = "CONST_TABS_LOCK";
84
+
85
+ /**
86
+ * 已解锁
87
+ */
88
+ export const CONST_TABS_ALREADY_LOCK = "CONST_TABS_ALREADY_LOCK";
89
+
90
+ /**
91
+ * 解锁审核
92
+ */
93
+ export const CONST_TABS_AUDIT_LOCK = "CONST_TABS_AUDIT_LOCK";
94
+
95
+ /**
96
+ * 待提取
97
+ */
98
+ export const CONST_TABS_EXTRACT_LOCK = "CONST_TABS_EXTRACT_LOCK";
99
+ /**
100
+ * 所有业务(未处理+待提取)
101
+ */
102
+ export const CONST_TABS_AUDIT_LOCK_ALL = "CONST_TABS_AUDIT_LOCK_ALL";
103
+
104
+ /**
105
+ * 事项查询
106
+ */
107
+ export const CONST_TABS_SXCX_ALL = "CONST_TABS_SXCX_ALL";
108
+
109
+ /**
110
+ * 页签类型
111
+ */
112
+ export type TabsStat =
113
+ | typeof CONST_TABS_AUDIT_UNDO
114
+ | typeof CONST_TABS_TODO
115
+ | typeof CONST_TABS_PROC
116
+ | typeof CONST_TABS_ALL
117
+ | typeof CONST_TABS_AUDIT_TODO
118
+ | typeof CONST_TABS_AUDIT_PROC
119
+ | typeof CONST_TABS_AUDIT_ALL
120
+ | typeof CONST_TABS_WLZF_WAIT
121
+ | typeof CONST_TABS_WLZF_DONE
122
+ | typeof CONST_STATUS_NOCREATE
123
+ | typeof CONST_TABS_LOCK
124
+ | typeof CONST_TABS_AUDIT_LOCK
125
+ | typeof CONST_TABS_EXTRACT_LOCK
126
+ | typeof CONST_TABS_ALREADY_LOCK
127
+ | typeof CONST_TABS_AUDIT_LOCK_ALL
128
+ | typeof CONST_TABS_SXCX_ALL;
129
+
130
+ //============按钮名称===============
131
+
132
+ /**
133
+ * 新增按钮
134
+ */
135
+ export const CONST_BUTTON_ADD = "CONST_BUTTON_ADD";
136
+
137
+ /**
138
+ * 编辑按钮
139
+ */
140
+ export const CONST_BUTTON_EDIT = "CONST_BUTTON_EDIT";
141
+
142
+ /**
143
+ * 保存按钮
144
+ */
145
+ export const CONST_BUTTON_SAVE = "CONST_BUTTON_SAVE";
146
+
147
+ /**
148
+ * 删除按钮
149
+ */
150
+ export const CONST_BUTTON_DEL = "CONST_BUTTON_DEL";
151
+
152
+ /**
153
+ * 作废按钮
154
+ */
155
+ export const CONST_BUTTON_INVALID = "CONST_BUTTON_INVALID";
156
+
157
+ /**
158
+ * 关闭按钮
159
+ */
160
+ export const CONST_BUTTON_CLOSE = "CONST_BUTTON_CLOSE";
161
+
162
+ /**
163
+ * 提交按钮
164
+ */
165
+ export const CONST_BUTTON_SUBMIT = "CONST_BUTTON_SUBMIT";
166
+
167
+ /**
168
+ * 明细按钮
169
+ */
170
+ export const CONST_BUTTON_DETAIL = "CONST_BUTTON_DETAIL";
171
+
172
+ /**
173
+ * 查询关联单据
174
+ */
175
+ export const CONST_BUTTON_DETAIL_RELATION = "CONST_BUTTON_DETAIL_RELATION";
176
+
177
+ /**
178
+ * 导出附件
179
+ */
180
+ export const CONST_BUTTON_PATH = "CONST_BUTTON_PATH";
181
+
182
+ /**
183
+ * 详情按钮待审核
184
+ */
185
+ export const CONST_BUTTON_INFLOW = "CONST_BUTTON_INFLOW";
186
+
187
+ /**
188
+ * 审核按钮
189
+ */
190
+ export const CONST_BUTTON_AUDIT = "CONST_BUTTON_AUDIT";
191
+
192
+ /**
193
+ *退回按钮
194
+ */
195
+ export const CONST_BUTTON_BACK = "CONST_BUTTON_BACK";
196
+
197
+ /**
198
+ * 撤消审核按钮
199
+ */
200
+ export const CONST_BUTTON_UNAUDIT = "CONST_BUTTON_UNAUDIT";
201
+
202
+ /**
203
+ * 撤消送审按钮
204
+ */
205
+ export const CONST_BUTTON_UNSUBMIT = "CONST_BUTTON_UNSUBMIT";
206
+
207
+ /**
208
+ * 打印按钮
209
+ */
210
+ export const CONST_BUTTON_PRINT = "CONST_BUTTON_PRINT";
211
+
212
+ /**
213
+ * 导出按钮
214
+ */
215
+ export const CONST_BUTTON_EXPORT = "CONST_BUTTON_EXPORT";
216
+
217
+ /**
218
+ * 查看流程按钮
219
+ */
220
+ export const CONST_BUTTON_FLOW = "CONST_BUTTON_FLOW";
221
+
222
+ /**
223
+ * 刷新按钮
224
+ */
225
+ export const CONST_BUTTON_REFRESH = "CONST_BUTTON_REFRESH";
226
+
227
+ export const CONST_BUTTON_UNDO_AUDIT = "CONST_BUTTON_UNDO_AUDIT";
228
+
229
+ export const CONST_BUTTON_UNDO_RETURN = "CONST_BUTTON_UNDO_RETURN";
230
+
231
+ export type ButtonType =
232
+ | typeof CONST_BUTTON_UNDO_AUDIT
233
+ | typeof CONST_BUTTON_UNDO_RETURN
234
+ | typeof CONST_BUTTON_EXPORT
235
+ | typeof CONST_BUTTON_ADD
236
+ | typeof CONST_BUTTON_EDIT
237
+ | typeof CONST_BUTTON_SAVE
238
+ | typeof CONST_BUTTON_DEL
239
+ | typeof CONST_BUTTON_INVALID
240
+ | typeof CONST_BUTTON_SUBMIT
241
+ | typeof CONST_BUTTON_DETAIL
242
+ | typeof CONST_BUTTON_AUDIT
243
+ | typeof CONST_BUTTON_BACK
244
+ | typeof CONST_BUTTON_UNAUDIT
245
+ | typeof CONST_BUTTON_PRINT
246
+ | typeof CONST_BUTTON_FLOW
247
+ | typeof CONST_BUTTON_REFRESH
248
+ | typeof CONST_BUTTON_UNSUBMIT
249
+ | typeof CONST_BUTTON_CLOSE
250
+ | typeof CONST_BUTTON_INFLOW
251
+ | typeof CONST_BUTTON_DETAIL_RELATION
252
+ | typeof CONST_BUTTON_PATH;
253
+
254
+ export const CONST_SXGL_MENU_CCSP = "CONST_SXGL_MENU_CCSP";
255
+ export const CONST_SXGL_MENU_GWJD = "CONST_SXGL_MENU_GWJD";
256
+ export const CONST_SXGL_MENU_JBHY = "CONST_SXGL_MENU_JBHY";
257
+ export const CONST_SXGL_MENU_JBPX = "CONST_SXGL_MENU_JBPX";
258
+ export const CONST_SXGL_MENU_CJPX = "CONST_SXGL_MENU_CJPX";
259
+ export const CONST_SXGL_MENU_QTSX = "CONST_SXGL_MENU_QTSX";
260
+ export const CONST_SXGL_MENU_JKD = "CONST_SXGL_MENU_JKD";
261
+ export const CONST_ZCGL_MENU_CCSP = "CONST_ZCGL_MENU_CCSP";
262
+ export const CONST_ZCGL_MENU_GWJD = "CONST_ZCGL_MENU_GWJD";
263
+ export const CONST_ZCGL_MENU_JBHY = "CONST_ZCGL_MENU_JBHY";
264
+ export const CONST_ZCGL_MENU_JBPX = "CONST_ZCGL_MENU_JBPX";
265
+ export const CONST_ZCGL_MENU_CJPX = "CONST_ZCGL_MENU_CJPX";
266
+ export const CONST_ZCGL_MENU_QTSX = "CONST_ZCGL_MENU_QTSX";
267
+ export const CONST_ZCGL_MENU_LWF = "CONST_ZCGL_MENU_LWF";
268
+ export const CONST_ZCGL_MENU_YEBJF = "CONST_ZCGL_MENU_YEBJF";
269
+ export const CONST_ZCGL_MENU_JFZC = "CONST_ZCGL_MENU_JFZC";
270
+ export const CONST_ZCGL_MENU_WPLY = "CONST_ZCGL_MENU_WPLY";
271
+ export const CONST_ZCGL_MENU_SHSY = "CONST_ZCGL_MENU_SHSY";
272
+ export const CONST_ZCGL_MENU_JFSY = "CONST_ZCGL_MENU_JFSY";
273
+ export const CONST_ZCGL_MENU_HTQD = "CONST_ZCGL_MENU_HTQD";
274
+ export const CONST_ZCGL_MENU_ZXJF = "CONST_ZCGL_MENU_ZXJF";
275
+ export const CONST_HTGL_MENU_HTSQ = "CONST_HTGL_MENU_HTSQ";
276
+
277
+ export const CONST_MENU_APPLY = "CONST_MENU_APPLY";
278
+ export const CONST_MENU_AUDIT = "CONST_MENU_AUDIT";
279
+
280
+ export type MenuType =
281
+ | typeof CONST_SXGL_MENU_CCSP
282
+ | typeof CONST_SXGL_MENU_GWJD
283
+ | typeof CONST_SXGL_MENU_JBHY
284
+ | typeof CONST_SXGL_MENU_JBPX
285
+ | typeof CONST_SXGL_MENU_QTSX
286
+ | typeof CONST_SXGL_MENU_JKD
287
+ | typeof CONST_ZCGL_MENU_CCSP
288
+ | typeof CONST_ZCGL_MENU_GWJD
289
+ | typeof CONST_ZCGL_MENU_JBHY
290
+ | typeof CONST_ZCGL_MENU_JBPX
291
+ | typeof CONST_ZCGL_MENU_QTSX
292
+ | typeof CONST_MENU_APPLY
293
+ | typeof CONST_MENU_AUDIT
294
+ | typeof CONST_ZCGL_MENU_LWF
295
+ | typeof CONST_ZCGL_MENU_YEBJF
296
+ | typeof CONST_ZCGL_MENU_JFZC
297
+ | typeof CONST_ZCGL_MENU_WPLY
298
+ | typeof CONST_ZCGL_MENU_SHSY
299
+ | typeof CONST_ZCGL_MENU_JFSY
300
+ | typeof CONST_ZCGL_MENU_HTQD
301
+ | typeof CONST_ZCGL_MENU_CJPX
302
+ | typeof CONST_ZCGL_MENU_ZXJF;
303
+
304
+ /**
305
+ * 驾驶舱
306
+ */
307
+ export const CONST_MODULE_NEW_WINDOW = "CONST_MODULE_NEW_WINDOW";
308
+
309
+ /**
310
+ * 未支付
311
+ */
312
+ export const CONST_DONEWLZF_PAY_WAIT = 0;
313
+
314
+ /**
315
+ * 已支付
316
+ */
317
+ export const CONST_DONEWLZF_PAY_DONE = 1;
318
+
319
+ export type DoneWlzfType = typeof CONST_DONEWLZF_PAY_DONE | typeof CONST_DONEWLZF_PAY_WAIT;
320
+
321
+ /**
322
+ * =================================封存状态======================
323
+ */
324
+ export const CONST_CURRENT_YEAR_UNENDED = 0; //未封存
325
+ export const CONST_CURRENT_YEAR_ENDED = 1; //已封存
326
+ export type EndedType = typeof CONST_CURRENT_YEAR_UNENDED | typeof CONST_CURRENT_YEAR_ENDED;
327
+
328
+ /**
329
+ * =================================签订状态======================
330
+ */
331
+ export const CONST_YZHT_NOMAKE = "CONST_YZHT_NOMAKE"; //未签订
332
+ export const CONST_YZHT_MAKE = "CONST_YZHT_MAKE"; //已签订
333
+ export type YzhtSIGNType = typeof CONST_YZHT_MAKE | typeof CONST_YZHT_NOMAKE;
334
+ /**
335
+ * =================================归档状态======================
336
+ */
337
+ export const CONST_YZHT_NOGD = "CONST_YZHT_NOGD"; //未归档
338
+ export const CONST_YZHT_GD = "CONST_YZHT_GD"; //已归档
339
+ export type YzhtGdType = typeof CONST_YZHT_GD | typeof CONST_YZHT_NOGD;
340
+ /**
341
+ * =================================验收状态======================
342
+ */
343
+ export const CONST_YZHT_NOYS = "CONST_YZHT_NOYS"; //未归档
344
+ export const CONST_YZHT_YS = "CONST_YZHT_YS"; //已归档
345
+ export type YzhtYsType = typeof CONST_YZHT_YS | typeof CONST_YZHT_NOYS;
346
+
347
+ /**
348
+ * =================================确认状态======================
349
+ */
350
+ /**
351
+ * 已确认
352
+ */
353
+ export const CONST_STATUS_CONFIRM = "CONST_STATUS_CONFIRM";
354
+ /**
355
+ * 未确认
356
+ */
357
+ export const CONST_STATUS_NOCONFIRM = "CONST_STATUS_NOCONFIRM";
358
+ /**
359
+ * 已核销
360
+ */
361
+ export const CONST_STATUS_WRITEOFF = "CONST_STATUS_WRITEOFF";
362
+ export type ConfirmType = typeof CONST_STATUS_CONFIRM | typeof CONST_STATUS_NOCONFIRM | typeof CONST_STATUS_WRITEOFF;
363
+
364
+ /**
365
+ * =================================归集状态======================
366
+ */
367
+ /**
368
+ * 待归集
369
+ */
370
+ export const CONST_STATUS_NOCREATE = "CONST_STATUS_NOCREATE";
371
+
372
+ export type CreateType = typeof CONST_TABS_TODO | typeof CONST_TABS_PROC | typeof CONST_STATUS_NOCREATE;
373
+
374
+ /**
375
+ * =================================归集状态======================
376
+ */
377
+ /**
378
+ * 保证金管理中已保存状态
379
+ */
380
+ export const CONST_BZJGL_SAVE = 1;
381
+
382
+ /**
383
+ * 保证金管理中已提交状态
384
+ */
385
+ export const CONST_BZJGL_COMMIT = 2;
386
+ export type BZJGLType = typeof CONST_BZJGL_SAVE | typeof CONST_BZJGL_COMMIT;
@@ -1 +1,2 @@
1
1
  export const LOGIN_USER: string = "LOGIN_USER";
2
+ export const USER_SESSION_INFO: string = "USER_SESSION_INFO";
@@ -16,5 +16,7 @@ import * as Type from "./const_type";
16
16
  import * as User from "./const_user";
17
17
  import * as Yiha from "./const_yiha";
18
18
  import * as Zbzd from "./const_zbzd";
19
+ import * as Align from "./const_align";
20
+ import * as Stat from "./const_stat";
19
21
 
20
- export { Audit, Card, Clas, Cnfg, DataFrom, Elem, Flow, GamsMode, Myoa, Part, TakeType, Todo, Travel, TypeName, Type, User, Yiha, Zbzd };
22
+ export { Audit, Card, Clas, Cnfg, DataFrom, Elem, Flow, GamsMode, Myoa, Part, TakeType, Todo, Travel, TypeName, Type, User, Yiha, Zbzd, Align, Stat };
@@ -103,4 +103,18 @@ export class TDictResponse extends TBaseResponse<IDictResponse[]> implements IDi
103
103
  public static toList(listDict: IDictResponse[]) {
104
104
  return destruct(listDict, { id: "dictIndx", pid: "parentID", children: "children" }) as IDictResponse[];
105
105
  }
106
+
107
+ public static parseJson(dictPara: string) {
108
+ const defaultDictPara = new TDictResponseDictPara();
109
+ if (_.isEmpty(dictPara)) {
110
+ return defaultDictPara;
111
+ }
112
+ try {
113
+ const obj = JSON.parse(dictPara) as TDictResponseDictPara;
114
+ return _.merge(defaultDictPara, obj);
115
+ } catch (e: any) {
116
+ console.error(e.message);
117
+ }
118
+ return defaultDictPara;
119
+ }
106
120
  }