@ningboyz/types 1.1.179 → 1.1.180

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 (291) hide show
  1. package/.prettierrc +15 -15
  2. package/index.ts +79 -79
  3. package/package.json +25 -25
  4. package/pnpm-lock.yaml +39 -0
  5. package/readme.md +1 -1
  6. package/src/antv/IAntvCnfgResponse.ts +69 -69
  7. package/src/antv/IAntvMainResponse.ts +67 -67
  8. package/src/antv/IAntvParaResponse.ts +48 -48
  9. package/src/antv/index.ts +5 -5
  10. package/src/app/ITab.ts +43 -43
  11. package/src/app/IUserData.ts +7 -7
  12. package/src/app/index.ts +4 -4
  13. package/src/base/IBaseResponse.ts +25 -25
  14. package/src/card/ICardDataResponse.ts +249 -249
  15. package/src/card/ICardFromResponse.ts +70 -70
  16. package/src/card/ICardMainFindResponse.ts +95 -95
  17. package/src/card/ICardMainResponse.ts +725 -725
  18. package/src/card/ICardRoomResponse.ts +91 -91
  19. package/src/card/IGblbResponse.ts +133 -133
  20. package/src/card/IP4pzResponse.ts +68 -68
  21. package/src/card/ISyszclbgblbResponse.ts +67 -67
  22. package/src/card/IZcbdResponse.ts +205 -205
  23. package/src/card/IZccfResponse.ts +232 -232
  24. package/src/card/IZcczResponse.ts +222 -222
  25. package/src/card/IZcdbResponse.ts +237 -237
  26. package/src/card/IZclbResponse.ts +138 -138
  27. package/src/card/IZczjPropResponse.ts +94 -94
  28. package/src/card/IZczjResponse.ts +121 -121
  29. package/src/card/index.ts +44 -44
  30. package/src/cggz/ICggzBillResponse.ts +69 -69
  31. package/src/cggz/ICggzMainResponse.ts +188 -188
  32. package/src/cggz/index.ts +4 -4
  33. package/src/clas/IClasAttrResponse.ts +69 -69
  34. package/src/clas/IClasMainResponse.ts +67 -67
  35. package/src/conf/ICnfgMainResponse.ts +83 -83
  36. package/src/conf/IConfig.ts +50 -50
  37. package/src/conf/index.ts +3 -3
  38. package/src/const/const_align.ts +15 -15
  39. package/src/const/const_audit.ts +34 -34
  40. package/src/const/const_bizCode.ts +3 -3
  41. package/src/const/const_card.ts +6 -6
  42. package/src/const/const_clas.ts +72 -72
  43. package/src/const/const_cnfg.ts +92 -92
  44. package/src/const/const_data_from.ts +14 -14
  45. package/src/const/const_elem.ts +99 -99
  46. package/src/const/const_flow.ts +7 -7
  47. package/src/const/const_gams_mode.ts +5 -5
  48. package/src/const/const_gzlm.ts +39 -39
  49. package/src/const/const_hznt.ts +71 -71
  50. package/src/const/const_module.ts +114 -114
  51. package/src/const/const_myoa.ts +82 -82
  52. package/src/const/const_p4pt.ts +8 -8
  53. package/src/const/const_part.ts +25 -25
  54. package/src/const/const_stat.ts +395 -395
  55. package/src/const/const_take_type.ts +9 -9
  56. package/src/const/const_todo.ts +25 -25
  57. package/src/const/const_travel.ts +8 -8
  58. package/src/const/const_type.ts +66 -66
  59. package/src/const/const_type_name.ts +191 -191
  60. package/src/const/const_user.ts +2 -2
  61. package/src/const/const_wldy_item_type.ts +4 -4
  62. package/src/const/const_wtui_item_type.ts +24 -24
  63. package/src/const/const_yiha.ts +32 -32
  64. package/src/const/const_zbzd.ts +10 -10
  65. package/src/const/index.ts +31 -31
  66. package/src/core/ICoreValidResponse.ts +21 -21
  67. package/src/core/IDeptLiteResponse.ts +43 -43
  68. package/src/core/IDeptResponse.ts +172 -172
  69. package/src/core/IDictResponse.ts +181 -181
  70. package/src/core/IDictResponseDictPara.ts +38 -38
  71. package/src/core/IEnvrResponse.ts +95 -95
  72. package/src/core/ILaidResponse.ts +161 -161
  73. package/src/core/IPartResponse.ts +118 -118
  74. package/src/core/IPathResponse.ts +129 -129
  75. package/src/core/ISourceItem.ts +55 -55
  76. package/src/core/IStypResponse.ts +45 -45
  77. package/src/core/ISysClasResponse.ts +57 -57
  78. package/src/core/ISysMenuWithCoreResponse.ts +152 -152
  79. package/src/core/ISysMenuWithCoreResponseMenuPara.ts +3 -3
  80. package/src/core/ISysMenuWithExpdResponse.ts +319 -319
  81. package/src/core/ISysTravelResponse.ts +135 -135
  82. package/src/core/ITypeResponse.ts +127 -127
  83. package/src/core/IUnitBindResponse.ts +62 -62
  84. package/src/core/IUnitResponse.ts +260 -260
  85. package/src/core/IUnitResponseElemPara.ts +11 -11
  86. package/src/core/IUserAcnoResponse.ts +163 -163
  87. package/src/core/IUserFindResponse.ts +140 -140
  88. package/src/core/IUserLiteResponse.ts +137 -137
  89. package/src/core/IUserPartResponse.ts +170 -170
  90. package/src/core/IUserResponse.ts +420 -420
  91. package/src/core/IUserSzdwResponse.ts +165 -165
  92. package/src/core/index.ts +77 -77
  93. package/src/cron/ICronMainResponse.ts +174 -174
  94. package/src/cron/index.ts +3 -3
  95. package/src/decorators/DConfigManager.ts +23 -23
  96. package/src/decorators/DConfigProperty.ts +8 -8
  97. package/src/decorators/IConfigProperty.ts +25 -25
  98. package/src/decorators/index.ts +4 -4
  99. package/src/elem/IElemDataResponse.ts +101 -101
  100. package/src/elem/IElemElemResponse.ts +102 -102
  101. package/src/elem/ISysElemResponse.ts +51 -51
  102. package/src/elem/index.ts +4 -4
  103. package/src/enums/btnMode.ts +136 -136
  104. package/src/enums/cardMode.ts +27 -27
  105. package/src/enums/doneMode.ts +7 -7
  106. package/src/enums/editMode.ts +21 -21
  107. package/src/enums/emitterType.ts +5 -5
  108. package/src/enums/formType.ts +8 -8
  109. package/src/enums/index.ts +25 -25
  110. package/src/enums/storeId.ts +11 -11
  111. package/src/enums/usesStat.ts +13 -13
  112. package/src/enums/viewMode.ts +7 -7
  113. package/src/enums/whatDone.ts +29 -29
  114. package/src/expd/IExpdBAXQResponse.ts +61 -61
  115. package/src/expd/IExpdCallResponse.ts +57 -57
  116. package/src/expd/IExpdCardResponse.ts +102 -102
  117. package/src/expd/IExpdCashResponse.ts +75 -75
  118. package/src/expd/IExpdHYHBResponse.ts +53 -53
  119. package/src/expd/IExpdHYMXResponse.ts +61 -61
  120. package/src/expd/IExpdLfmxResponse.ts +56 -56
  121. package/src/expd/IExpdMainResponse.ts +552 -552
  122. package/src/expd/IExpdP2pzResponse.ts +59 -59
  123. package/src/expd/IExpdP5pzResponse.ts +57 -57
  124. package/src/expd/IExpdSZMXResponse.ts +66 -66
  125. package/src/expd/IViewLockResponse.ts +63 -63
  126. package/src/expd/index.ts +36 -36
  127. package/src/flow/IFlowCnfgResponse.ts +69 -69
  128. package/src/flow/IFlowDataResponse.ts +193 -193
  129. package/src/flow/IFlowDutyNodeParaConv.ts +7 -7
  130. package/src/flow/IFlowDutyResponse.ts +88 -88
  131. package/src/flow/IFlowMainResponse.ts +126 -126
  132. package/src/flow/IFlowNodeResponse.ts +475 -475
  133. package/src/flow/IFlowTypeResponse.ts +3 -3
  134. package/src/flow/IFlowUservoidResponse.ts +35 -35
  135. package/src/flow/IFlowVoidResponse.ts +73 -73
  136. package/src/flow/index.ts +27 -27
  137. package/src/gams/IGamsBillResponse.ts +348 -348
  138. package/src/gams/IGamsCnfgResponse.ts +74 -74
  139. package/src/gams/IGamsEachResponse.ts +67 -67
  140. package/src/gams/IGamsItemResponse.ts +82 -82
  141. package/src/gams/IGamsK0kmResponse.ts +97 -97
  142. package/src/gams/IGamsK8kmResponse.ts +157 -157
  143. package/src/gams/IGamsMainResponse.ts +223 -223
  144. package/src/gams/IGamsTypeResponse.ts +113 -113
  145. package/src/gams/index.ts +27 -27
  146. package/src/gzjg/IGzjgBodyLockResponse.ts +65 -65
  147. package/src/gzjg/IGzjgGzlmLandResponse.ts +88 -88
  148. package/src/gzjg/IGzjgGzlmResponse.ts +194 -194
  149. package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +25 -25
  150. package/src/gzjg/IGzjgGzlmWithResponse.ts +88 -88
  151. package/src/gzjg/IGzjgMainResponse.ts +265 -265
  152. package/src/gzjg/IGzjgMainResponseWithYZPZ.ts +41 -41
  153. package/src/gzjg/IGzjgQzgsResponse.ts +55 -55
  154. package/src/gzjg/index.ts +24 -24
  155. package/src/gztb/IGztbMainResponse.ts +110 -110
  156. package/src/gztb/index.ts +3 -3
  157. package/src/gzzd/ICellEditResponse.ts +48 -48
  158. package/src/gzzd/IGzzdBillResponse.ts +160 -160
  159. package/src/gzzd/IGzzdLineResponse.ts +19 -19
  160. package/src/gzzd/IGzzdMainResponse.ts +218 -218
  161. package/src/gzzd/index.ts +5 -5
  162. package/src/hzcb/IHzcbMainResponse.ts +191 -186
  163. package/src/hzcb/IHzcbRypqResponse.ts +258 -258
  164. package/src/hzcb/index.ts +5 -5
  165. package/src/load/ILoadCellResponse.ts +51 -0
  166. package/src/load/ILoadDataResponse.ts +54 -51
  167. package/src/load/ILoadLineResponse.ts +11 -11
  168. package/src/load/ILoadMainResponse.ts +116 -107
  169. package/src/load/ILoadZydwResponse.ts +57 -57
  170. package/src/load/IYqdwResponse.ts +65 -65
  171. package/src/load/IYqkbResponse.ts +65 -65
  172. package/src/load/IYqkmResponse.ts +51 -51
  173. package/src/load/index.ts +24 -24
  174. package/src/micro/appData.ts +29 -29
  175. package/src/micro/appName.ts +7 -7
  176. package/src/micro/appTab.ts +15 -15
  177. package/src/micro/index.ts +6 -6
  178. package/src/myoa/IMyoaCashResponse.ts +107 -107
  179. package/src/myoa/IMyoaMainResponse.ts +479 -479
  180. package/src/myoa/IMyoaPGDWResponse.ts +49 -49
  181. package/src/myoa/IMyoaRoomResponse.ts +99 -99
  182. package/src/myoa/index.ts +15 -15
  183. package/src/noti/INotiMainResponse.ts +394 -394
  184. package/src/noti/index.ts +3 -3
  185. package/src/pzpt/IPzptCnfgMoreResponse.ts +59 -59
  186. package/src/pzpt/IPzptCnfgResponse.ts +158 -158
  187. package/src/pzpt/IPzptGlfaResponse.ts +84 -84
  188. package/src/pzpt/IPzptGlkmResponse.ts +98 -98
  189. package/src/pzpt/IPzptGlkmfdResponse.ts +59 -59
  190. package/src/pzpt/IPzptGlkmzdResponse.ts +59 -59
  191. package/src/pzpt/IPzptItemResponse.ts +104 -104
  192. package/src/pzpt/IPzptK0kmResponse.ts +69 -69
  193. package/src/pzpt/IPzptK8kmResponse.ts +183 -183
  194. package/src/pzpt/IPzptKbkmResponse.ts +139 -139
  195. package/src/pzpt/IPzptPzpzDataResponse.ts +78 -78
  196. package/src/pzpt/IPzptPzpzP6pzResponse.ts +136 -136
  197. package/src/pzpt/IPzptPzpzResponse.ts +116 -116
  198. package/src/pzpt/IPzptTypeResponse.ts +88 -88
  199. package/src/pzpt/IPzptUkkmResponse.ts +87 -87
  200. package/src/pzpt/index.ts +42 -42
  201. package/src/response/IResponse.ts +48 -48
  202. package/src/store/dateState.ts +49 -49
  203. package/src/store/index.ts +8 -8
  204. package/src/store/menuState.ts +9 -9
  205. package/src/store/tabsState.ts +13 -13
  206. package/src/store/userState.ts +50 -50
  207. package/src/store/viewState.ts +9 -9
  208. package/src/tabl/ITablDataResponse.ts +72 -72
  209. package/src/tabl/ITablLineResponse.ts +13 -13
  210. package/src/tabl/ITablMainResponse.ts +184 -184
  211. package/src/tabl/index.ts +5 -5
  212. package/src/take/ITakeBillResponse.ts +144 -144
  213. package/src/take/ITakeMainResponse.ts +205 -205
  214. package/src/take/index.ts +4 -4
  215. package/src/talk/ITalkMainResponse.ts +95 -95
  216. package/src/task/ITaskMainResponse.ts +121 -121
  217. package/src/task/index.ts +3 -3
  218. package/src/wldy/IWldyDataResponse.ts +68 -68
  219. package/src/wldy/IWldyItemResponse.ts +72 -72
  220. package/src/wldy/IWldyPageParaResponse.ts +42 -42
  221. package/src/wldy/IWldyPageResponse.ts +107 -107
  222. package/src/wldy/index.ts +18 -18
  223. package/src/wlzf/IWlzfEnvrResponse.ts +116 -116
  224. package/src/wlzf/index.ts +4 -4
  225. package/src/wtui/ITodoResponse.ts +15 -15
  226. package/src/wtui/IViewCtrlResponse.ts +106 -106
  227. package/src/wtui/IWtuiColWidthResponse.ts +53 -53
  228. package/src/wtui/IWtuiFormParaResponse.ts +17 -17
  229. package/src/wtui/IWtuiFormResponse.ts +95 -95
  230. package/src/wtui/IWtuiItemCalc.ts +36 -36
  231. package/src/wtui/IWtuiItemEffect.ts +43 -43
  232. package/src/wtui/IWtuiItemParaResponse.ts +59 -59
  233. package/src/wtui/IWtuiItemResponse.ts +119 -119
  234. package/src/wtui/IWtuiMainResponse.ts +114 -114
  235. package/src/wtui/IWtuiNodeResponse.ts +75 -75
  236. package/src/wtui/IWtuiOperateResponse.ts +80 -80
  237. package/src/wtui/IWtuiRootResponse.ts +62 -62
  238. package/src/wtui/IWtuiTodoResponse.ts +103 -103
  239. package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -7
  240. package/src/wtui/IWtuiTodoResponseWithPara.ts +32 -32
  241. package/src/wtui/IWtuiUserCnfgResponse.ts +100 -100
  242. package/src/wtui/IWtuiViewResponse.ts +91 -91
  243. package/src/wtui/IWtuiZoneResponse.ts +61 -61
  244. package/src/wtui/index.ts +57 -57
  245. package/src/wzpz/IWzWithParaResponse.ts +148 -148
  246. package/src/wzpz/IWzpzCnfgResponse.ts +106 -106
  247. package/src/wzpz/IWzpzItemResponse.ts +78 -78
  248. package/src/wzpz/IWzpzK0kmResponse.ts +90 -90
  249. package/src/wzpz/IWzpzK8kmResponse.ts +141 -141
  250. package/src/wzpz/IWzpzKbkmResponse.ts +124 -124
  251. package/src/wzpz/IWzpzPckmResponse.ts +49 -49
  252. package/src/wzpz/IWzpzTypeResponse.ts +88 -88
  253. package/src/wzpz/index.ts +27 -27
  254. package/src/yzcb/ICbjgMainResponse.ts +133 -133
  255. package/src/yzcb/IYzcbBillResponse.ts +49 -49
  256. package/src/yzcb/IYzcbMainResponse.ts +189 -189
  257. package/src/yzcb/index.ts +12 -12
  258. package/src/yzcg/IYzcgBillResponse.ts +72 -72
  259. package/src/yzcg/IYzcgGshdResponse.ts +59 -59
  260. package/src/yzcg/IYzcgLockResponse.ts +41 -41
  261. package/src/yzcg/IYzcgMainResponse.ts +308 -308
  262. package/src/yzcg/index.ts +15 -15
  263. package/src/yzcq/IYzcqMainResponse.ts +120 -120
  264. package/src/yzcq/index.ts +2 -2
  265. package/src/yzht/IYzhtBillResponse.ts +136 -136
  266. package/src/yzht/IYzhtMainResponse.ts +413 -413
  267. package/src/yzht/index.ts +4 -4
  268. package/src/yzpz/IYzpzCnfgResponse.ts +95 -95
  269. package/src/yzpz/IYzpzItemResponse.ts +83 -83
  270. package/src/yzpz/IYzpzK0kmResponse.ts +73 -73
  271. package/src/yzpz/IYzpzK8kmResponse.ts +162 -162
  272. package/src/yzpz/IYzpzKbkmResponse.ts +86 -86
  273. package/src/yzpz/IYzpzTypeResponse.ts +97 -97
  274. package/src/yzpz/IYzpzTypeResponseConf.ts +36 -36
  275. package/src/yzpz/index.ts +25 -25
  276. package/src/zbhd/IZbhdMainResponese.ts +166 -166
  277. package/src/zbhd/index.ts +3 -3
  278. package/src/zbzd/IZbzbZbflResponse.ts +220 -220
  279. package/src/zbzd/IZbzdMainResponse.ts +284 -284
  280. package/src/zbzd/index.ts +9 -9
  281. package/src/zfht/IZfhtResponse.ts +103 -103
  282. package/src/zfht/index.ts +3 -3
  283. package/src/zfsq/IZfsqResponse.ts +193 -193
  284. package/src/zfsq/index.ts +3 -3
  285. package/tsconfig.json +22 -22
  286. package/src/card/ISyszclbgblbResponse.ts~ +0 -67
  287. package/src/card/IZclbgblbResponse.ts~ +0 -68
  288. package/src/const/const_wtui_item_type.ts~ +0 -20
  289. package/src/const/index.ts~ +0 -29
  290. package/src/core/IDeptResponse.ts~ +0 -162
  291. package/src/wtui/IViewCtrlResponse.ts~ +0 -93
@@ -1,67 +0,0 @@
1
- import _ from "lodash";
2
-
3
- export interface ISyszclbgblbResponse {
4
- whoBuild: number
5
- userIndx: number
6
- zclbIndx: number
7
- dataStat: number
8
- dataHide: number
9
- dataOrdr: number
10
- dataFrom: number
11
- dataDate: number
12
- dataTime: number
13
- createBy: string
14
- createAt: number
15
- updateBy: string
16
- updateAt: number
17
- deleteBy: string
18
- deleteAt: number
19
- queuesBy: number
20
- fromWhoBuild: number
21
- fromUserIndx: number
22
- fromGblbIndx: number
23
- sourceND: number
24
- fromSourceND: number
25
-
26
- zclbTypeText: string
27
- zclbCode: string
28
- zclbName: string
29
- gblbCode: string
30
- gblbName: string
31
- }
32
-
33
- export class TSyszclbgblbResponse implements ISyszclbgblbResponse {
34
- whoBuild: number = 0
35
- userIndx: number = 0
36
- zclbIndx: number = 0
37
- dataStat: number = 0
38
- dataHide: number = 0
39
- dataOrdr: number = 0
40
- dataFrom: number = 0
41
- dataDate: number = 0
42
- dataTime: number = 0
43
- createBy: string = ""
44
- createAt: number = 0
45
- updateBy: string = ""
46
- updateAt: number = 0
47
- deleteBy: string = ""
48
- deleteAt: number = 0
49
- queuesBy: number = 0
50
- fromWhoBuild: number = 0
51
- fromUserIndx: number = 0
52
- fromGblbIndx: number = 0
53
- sourceND: number = 0
54
- fromSourceND: number = 0
55
-
56
- zclbTypeText: string = ""
57
- zclbCode: string = ""
58
- zclbName: string = ""
59
- gblbCode: string = ""
60
- gblbName: string = ""
61
-
62
- constructor(data: any = {}) {
63
- if (data) {
64
- _.merge(this, _.pick(data, Object.keys(this)));
65
- }
66
- }
67
- }
@@ -1,68 +0,0 @@
1
- import _ from "lodash";
2
-
3
- export interface ISyszclbgblb{
4
- whoBuild : number
5
- userIndx : number
6
- zclbIndx : number
7
- dataStat : number
8
- dataHide : number
9
- dataOrdr : number
10
- dataFrom : number
11
- dataDate : number
12
- dataTime : number
13
- createBy : string
14
- createAt : number
15
- updateBy : string
16
- updateAt : number
17
- deleteBy : string
18
- deleteAt : number
19
- queuesBy : number
20
- fromWhoBuild: number
21
- fromUserIndx: number
22
- fromGblbIndx: number
23
- sourceND : number
24
- fromSourceND: number
25
-
26
- zclbTypeText : string
27
- zclbCode: string
28
- zclbName: string
29
- gblbCode: string
30
- gblbName: string
31
-
32
- }
33
-
34
- export class TSyszclbgblb implements ISyszclbgblb{
35
- whoBuild : number = 0
36
- userIndx : number = 0
37
- zclbIndx : number = 0
38
- dataStat : number = 0
39
- dataHide : number = 0
40
- dataOrdr : number = 0
41
- dataFrom : number = 0
42
- dataDate : number = 0
43
- dataTime : number = 0
44
- createBy : string =''
45
- createAt : number = 0
46
- updateBy : string =''
47
- updateAt : number = 0
48
- deleteBy : string =''
49
- deleteAt : number = 0
50
- queuesBy : number = 0
51
- fromWhoBuild: number = 0
52
- fromUserIndx: number = 0
53
- fromGblbIndx: number = 0
54
- sourceND : number = 0
55
- fromSourceND: number = 0
56
-
57
- zclbTypeText : string =""
58
- zclbCode: string =""
59
- zclbName: string =""
60
- gblbCode: string =""
61
- gblbName: string =""
62
-
63
- constructor(data: Partial<ISYSZCLBGBLB> = {}) {
64
- if (data) {
65
- _.merge(this, _.pick(data, Object.keys(this)));
66
- }
67
- }
68
- }
@@ -1,20 +0,0 @@
1
- export const CONST_ITEM_TYPE_TO_数值 = 0; // #数值
2
- export const CONST_ITEM_TYPE_TO_文本 = 1; // #文本
3
- export const CONST_ITEM_TYPE_TO_文本域 = 2; // #备注
4
- export const CONST_ITEM_TYPE_TO_日期 = 3; // #日期
5
- export const CONST_ITEM_TYPE_TO_字典 = 4; // #字典
6
-
7
- export const CONST_VALIDATE_TO_手机号码 = 0; // #整数
8
- export const CONST_VALIDATE_TO_邮箱 = 1; // #文本
9
- export const CONST_VALIDATE_TO_身份证 = 2; // #备注
10
- export const CONST_VALIDATE_TO_自定义 = 3;
11
-
12
- export const CONST_CLEARABLE_TO_不清空 = 0; //不清空
13
- export const CONST_CLEARABLE_TO_清空 = 1; //清空
14
- export const CONST_CLEARABLE_TO_询问 = 2; //询问
15
-
16
- export const CONST_OPERATOR_TO_大于 = 0; //大于
17
- export const CONST_OPERATOR_TO_等于 = 1; //等于
18
- export const CONST_OPERATOR_TO_小于 = 2; //小于
19
- export const CONST_OPERATOR_TO_大于等于 = 3; //大于等于
20
- export const CONST_OPERATOR_TO_小于等于 = 4; //小于等于
@@ -1,29 +0,0 @@
1
- import * as Align from "./const_align";
2
- import * as Audit from "./const_audit";
3
- import * as Card from "./const_card";
4
- import * as Clas from "./const_clas";
5
- import * as Cnfg from "./const_cnfg";
6
- import * as DataFrom from "./const_data_from";
7
- import * as Elem from "./const_elem";
8
- import * as Flow from "./const_flow";
9
- import * as GamsMode from "./const_gams_mode";
10
- import * as Gzlm from "./const_gzlm";
11
- import * as Myoa from "./const_myoa";
12
- import * as Part from "./const_part";
13
- import * as Stat from "./const_stat";
14
- import * as TakeType from "./const_take_type";
15
- import * as Todo from "./const_todo";
16
- import * as Travel from "./const_travel";
17
- import * as Type from "./const_type";
18
- import * as TypeName from "./const_type_name";
19
- import * as User from "./const_user";
20
- import * as Yiha from "./const_yiha";
21
- import * as Zbzd from "./const_zbzd";
22
- import * as WtuiItemType from "./const_wtui_item_type";
23
- import * as WldyItemType from "./const_wldy_item_type";
24
- import * as ConstModuleType from "./const_module";
25
- import * as Module from "./const_module";
26
-
27
- export { Align, Audit, Card, Clas, Cnfg, DataFrom, Elem, Flow, GamsMode, Gzlm, Module, Myoa, Part, Stat, TakeType, Todo, Travel, Type, TypeName, User, WldyItemType, WtuiItemType, Yiha, Zbzd };
28
-
29
- export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
@@ -1,162 +0,0 @@
1
- import { construct, destruct } from "@aximario/json-tree";
2
- import type { IBaseResponse } from "../base/IBaseResponse";
3
- import { TBaseResponse } from "../base/IBaseResponse";
4
- import type { IDictResponse } from "./IDictResponse";
5
- import _ from "lodash";
6
- import { TCore } from "../../index.ts";
7
-
8
- export interface IDeptResponse extends IBaseResponse<IDeptResponse[]> {
9
- codeFull: string;
10
- createAt: number;
11
- createBy: string;
12
- dataDate: number;
13
- dataFrom: number;
14
- dataGUID: string;
15
- dataHide: number;
16
- dataLevl: number;
17
- dataOrdr: number;
18
- dataStat: number;
19
- dataTime: number;
20
- dataType: number;
21
- deleteAt: number;
22
- deleteBy: string;
23
- /**联系电话 */
24
- deptCall: string;
25
- deptCode: string;
26
- deptGnkm: string;
27
- deptIndx: number;
28
- /** 负责人 */
29
- deptMast: string;
30
- /** 备注 */
31
- deptMemo: string;
32
- deptName: string;
33
- /** 部门类型(新) 文本 */
34
- deptTypeText: string;
35
- entityID: string;
36
- gkbmText: string;
37
- hashCode: number;
38
- isLasted: number;
39
- kjndKJQJ: number;
40
- mastGUID: string;
41
- mastName: string;
42
- nameFull: string;
43
- parentID: number;
44
- uniqueID: number;
45
- unitMain: number;
46
- unitText: string;
47
- updateAt: number;
48
- updateBy: string;
49
- userIndx: number;
50
- whoBuild: number;
51
- matchVal: string;
52
- dataMemo: string;
53
- queuesBy: number;
54
-
55
- ratioVal: number; //固定资产-部门分摊-占比
56
- cardZcyz: number; //固定资产-部门分摊-金额
57
-
58
- /** 部门类型 */
59
- listBMLX: Array<IDictResponse>;
60
- /** 部门类型(新) */
61
- listType: Array<IDictResponse>;
62
- }
63
-
64
- export class TDeptResponse extends TBaseResponse<IDeptResponse[]> implements IDeptResponse {
65
- codeFull: string = "";
66
- createAt: number = 0;
67
- createBy: string = "";
68
- dataDate: number = 0;
69
- dataFrom: number = 0;
70
- dataGUID: string = "";
71
- dataHide: number = 0;
72
- dataLevl: number = 0;
73
- dataOrdr: number = 0;
74
- dataStat: number = 0;
75
- dataTime: number = 0;
76
- dataType: number = 0;
77
- deleteAt: number = 0;
78
- deleteBy: string = "";
79
- deptCall: string = "";
80
- deptCode: string = "";
81
- deptGnkm: string = "";
82
- deptIndx: number = 0;
83
- deptMast: string = "";
84
- deptMemo: string = "";
85
- deptName: string = "";
86
- deptTypeText: string = "";
87
- entityID: string = "";
88
- gkbmText: string = "";
89
- hashCode: number = 0;
90
- isLasted: number = 0;
91
- kjndKJQJ: number = 0;
92
- mastGUID: string = "";
93
- mastName: string = "";
94
- nameFull: string = "";
95
- parentID: number = 0;
96
- uniqueID: number = 0;
97
- unitMain: number = 0;
98
- unitText: string = "";
99
- updateAt: number = 0;
100
- updateBy: string = "";
101
- userIndx: number = 0;
102
- whoBuild: number = 0;
103
- matchVal: string = "";
104
- dataMemo: string = "";
105
- queuesBy: number = 0;
106
-
107
- ratioVal: number = 0;
108
- cardZcyz: number = 0;
109
-
110
- listBMLX: IDictResponse[] = [];
111
- /** 部门类型(新) */
112
- listType: IDictResponse[] = [];
113
-
114
- constructor(data: any = {}) {
115
- super();
116
- if (data) {
117
- _.merge(this, _.pick(data, Object.keys(this)));
118
- }
119
- }
120
-
121
- public static toTree(listDept: IDeptResponse[]) {
122
- return construct(listDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
123
- }
124
-
125
- public static toList(treeDept: IDeptResponse[]) {
126
- return destruct(treeDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
127
- }
128
-
129
- public static createDetp(deptMain: number, deptName: string) {
130
- const dept = new TDeptResponse();
131
- dept.deptIndx = deptMain;
132
- dept.deptName = deptName;
133
- return dept;
134
- }
135
-
136
- static toTravel(dept: IDeptResponse, whatDone: string): TCore.ISysTravelResponse {
137
- const travel = new TCore.TSysTravelResponse();
138
- travel.whoBuild = dept.whoBuild;
139
- travel.flowMain = 0;
140
- travel.flowNode = 0;
141
- travel.billUUID = dept.entityID;
142
- travel.billMain = dept.deptIndx;
143
- travel.billCode = dept.deptCode;
144
- travel.mastName = dept.mastName;
145
- travel.createBy = dept.createBy;
146
- travel.whatDone = `${whatDone}${dept.deptName}`;
147
- return travel;
148
- }
149
-
150
- /** 转换成记录日志需要的数据(第一层,不包含菜单) */
151
- static toTravelData(card?: IDeptResponse | IDeptResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
152
- if (_.isNil(card)) {
153
- return [];
154
- }
155
- if (_.isArray(card)) {
156
- return card.map((u) => {
157
- return this.toTravel(u, whatDone);
158
- });
159
- }
160
- return [this.toTravel(card, whatDone)];
161
- }
162
- }
@@ -1,93 +0,0 @@
1
- import { construct } from "@aximario/json-tree";
2
- import { IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
3
-
4
- export interface IViewCtrlResponse extends IBaseResponse<IViewCtrlResponse> {
5
- asParent: number;
6
- ctrlCode: string;
7
- ctrlName: string;
8
- ctrlPara: string;
9
- entityID: string;
10
- formType: string;
11
- jsMethod: string;
12
- metaData: string;
13
- parentID: number;
14
- queuesBy: number;
15
- showCode: string;
16
- showName: string;
17
- uniqueID: number;
18
- userIndx: number;
19
- view4url: string;
20
- viewCode: string;
21
- viewIcon: string;
22
- viewMemo: string;
23
- viewName: string;
24
- viewPara: string;
25
- vitualID: number;
26
- whoBuild: number;
27
- withPara: string;
28
- wtuiMain: number;
29
- labelVal: string;
30
- viewIndx: number;
31
- //虚拟字段
32
- title: string;
33
- name: string;
34
- icon: string;
35
- /**
36
- * vxe中的路由
37
- * */
38
- routerLink?: {
39
- path?: string
40
- name?: string | number | null
41
- query?: any
42
- params?: any
43
- target?: null | '' | '_blank' | '_self' | '_parent' | '_top'
44
- };
45
- /**
46
- * 按钮权限
47
- * */
48
- permissions: IViewCtrlResponse[];
49
- }
50
-
51
- export class TViewCtrlResponse extends TBaseResponse<IViewCtrlResponse> implements IViewCtrlResponse {
52
- asParent: number = 0;
53
- ctrlCode: string = "";
54
- ctrlName: string = "";
55
- ctrlPara: string = "";
56
- entityID: string = "";
57
- formType: string = "";
58
- jsMethod: string = "";
59
- metaData: string = "";
60
- parentID: number = 0;
61
- queuesBy: number = 0;
62
- showCode: string = "";
63
- showName: string = "";
64
- uniqueID: number = 0;
65
- userIndx: number = 0;
66
- view4url: string = "";
67
- viewCode: string = "";
68
- viewIcon: string = "";
69
- viewMemo: string = "";
70
- viewName: string = "";
71
- viewPara: string = "";
72
- vitualID: number = 0;
73
- whoBuild: number = 0;
74
- withPara: string = "";
75
- wtuiMain: number = 0;
76
- labelVal: string = "";
77
- viewIndx: number = 0;
78
- title: string = "";
79
- name: string = "";
80
- icon: string = "";
81
-
82
- permissions: IViewCtrlResponse[] = [];
83
-
84
- static toTree(listView: IViewCtrlResponse[]) {
85
- listView.forEach((element) => {
86
- element.title = element.viewName;
87
- element.name = element.view4url;
88
- element.icon = `iconfont ${element.viewIcon}`;
89
- element.children = [];
90
- });
91
- return construct(listView, { id: "uniqueID", pid: "parentID", children: "children" }) as IViewCtrlResponse[];
92
- }
93
- }