@ningboyz/types 1.2.105 → 1.2.106

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 (336) hide show
  1. package/.prettierrc +15 -15
  2. package/eslint.config.js +29 -29
  3. package/index.ts +96 -96
  4. package/package.json +33 -33
  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 +49 -49
  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/bill/IBillCnfgResponse.ts +110 -110
  15. package/src/bill/IBillMainResponse.ts +195 -195
  16. package/src/bill/index.ts +4 -4
  17. package/src/card/ICardBookResponse.ts +123 -123
  18. package/src/card/ICardDataResponse.ts +249 -249
  19. package/src/card/ICardFromResponse.ts +68 -68
  20. package/src/card/ICardFwczResponse.ts +168 -168
  21. package/src/card/ICardHyhbBillResponse.ts +95 -95
  22. package/src/card/ICardHyhbResponse.ts +85 -85
  23. package/src/card/ICardMainFindResponse.ts +95 -95
  24. package/src/card/ICardMainResponse.ts +762 -762
  25. package/src/card/ICardRoomResponse.ts +182 -182
  26. package/src/card/IGblbResponse.ts +133 -133
  27. package/src/card/IP4pzResponse.ts +68 -68
  28. package/src/card/ISyszclbgblbResponse.ts +67 -67
  29. package/src/card/ISyszclbgblbResponse.ts~ +67 -0
  30. package/src/card/IZcbdResponse.ts +205 -205
  31. package/src/card/IZccfResponse.ts +232 -232
  32. package/src/card/IZcczResponse.ts +222 -222
  33. package/src/card/IZcdbResponse.ts +237 -237
  34. package/src/card/IZclbResponse.ts +138 -138
  35. package/src/card/IZclbgblbResponse.ts~ +68 -0
  36. package/src/card/IZczjPropResponse.ts +94 -94
  37. package/src/card/IZczjResponse.ts +121 -121
  38. package/src/card/index.ts +63 -60
  39. package/src/cggz/ICggzBillResponse.ts +69 -69
  40. package/src/cggz/ICggzMainResponse.ts +188 -188
  41. package/src/cggz/index.ts +4 -4
  42. package/src/clas/IClasAttrResponse.ts +69 -69
  43. package/src/clas/IClasMainResponse.ts +67 -67
  44. package/src/conf/ICnfgMainResponse.ts +83 -83
  45. package/src/conf/IConfig.ts +50 -50
  46. package/src/conf/index.ts +3 -3
  47. package/src/const/const_align.ts +15 -15
  48. package/src/const/const_audit.ts +34 -34
  49. package/src/const/const_bizCode.ts +3 -3
  50. package/src/const/const_card.ts +6 -6
  51. package/src/const/const_clas.ts +72 -72
  52. package/src/const/const_cnfg.ts +92 -92
  53. package/src/const/const_data_from.ts +14 -14
  54. package/src/const/const_elem.ts +99 -99
  55. package/src/const/const_flow.ts +7 -7
  56. package/src/const/const_gams_mode.ts +5 -5
  57. package/src/const/const_glpz_mode.ts +2 -2
  58. package/src/const/const_gzlm.ts +39 -39
  59. package/src/const/const_hznk.ts +17 -17
  60. package/src/const/const_hznt.ts +71 -71
  61. package/src/const/const_module.ts +112 -112
  62. package/src/const/const_myoa.ts +79 -79
  63. package/src/const/const_p4pt.ts +8 -8
  64. package/src/const/const_part.ts +25 -25
  65. package/src/const/const_stat.ts +400 -400
  66. package/src/const/const_take_type.ts +9 -9
  67. package/src/const/const_todo.ts +28 -28
  68. package/src/const/const_travel.ts +8 -8
  69. package/src/const/const_type.ts +66 -66
  70. package/src/const/const_type_name.ts +223 -223
  71. package/src/const/const_user.ts +2 -2
  72. package/src/const/const_user_acno.ts +3 -3
  73. package/src/const/const_wldy_item_type.ts +4 -4
  74. package/src/const/const_wtui_item_type.ts +24 -24
  75. package/src/const/const_wtui_item_type.ts~ +20 -0
  76. package/src/const/const_yiha.ts +32 -32
  77. package/src/const/const_zbzd.ts +10 -10
  78. package/src/const/index.ts +60 -60
  79. package/src/const/index.ts~ +29 -0
  80. package/src/core/ICoreValidResponse.ts +21 -21
  81. package/src/core/IDeptLiteResponse.ts +43 -43
  82. package/src/core/IDeptResponse.ts +171 -171
  83. package/src/core/IDeptResponse.ts~ +162 -0
  84. package/src/core/IDictResponse.ts +183 -183
  85. package/src/core/IDictResponseConf.ts +36 -36
  86. package/src/core/IDictResponseDictPara.ts +38 -38
  87. package/src/core/IEnvrResponse.ts +95 -95
  88. package/src/core/ILaidResponse.ts +161 -161
  89. package/src/core/IPartResponse.ts +120 -120
  90. package/src/core/IPathResponse.ts +133 -133
  91. package/src/core/ISourceItem.ts +55 -55
  92. package/src/core/IStypResponse.ts +45 -45
  93. package/src/core/ISysClasResponse.ts +57 -57
  94. package/src/core/ISysMenuWithCoreResponse.ts +152 -152
  95. package/src/core/ISysMenuWithCoreResponseMenuPara.ts +3 -3
  96. package/src/core/ISysMenuWithExpdResponse.ts +320 -320
  97. package/src/core/ISysTravelResponse.ts +133 -133
  98. package/src/core/ITypeResponse.ts +127 -127
  99. package/src/core/IUnitBindResponse.ts +62 -62
  100. package/src/core/IUnitResponse.ts +257 -257
  101. package/src/core/IUnitResponseElemPara.ts +11 -11
  102. package/src/core/IUserAcnoResponse.ts +182 -182
  103. package/src/core/IUserFindResponse.ts +140 -140
  104. package/src/core/IUserLiteResponse.ts +137 -137
  105. package/src/core/IUserPartResponse.ts +170 -170
  106. package/src/core/IUserResponse.ts +419 -419
  107. package/src/core/IUserSzdwResponse.ts +165 -165
  108. package/src/core/index.ts +77 -77
  109. package/src/cron/ICronMainResponse.ts +174 -174
  110. package/src/cron/index.ts +3 -3
  111. package/src/decorators/DConfigManager.ts +23 -23
  112. package/src/decorators/DConfigProperty.ts +7 -7
  113. package/src/decorators/IConfigProperty.ts +32 -32
  114. package/src/decorators/index.ts +4 -4
  115. package/src/elem/IElemDataResponse.ts +101 -101
  116. package/src/elem/IElemElemResponse.ts +102 -102
  117. package/src/elem/ISysElemResponse.ts +51 -51
  118. package/src/elem/index.ts +4 -4
  119. package/src/enums/btnMode.ts +137 -137
  120. package/src/enums/cardMode.ts +28 -28
  121. package/src/enums/doneMode.ts +8 -8
  122. package/src/enums/editMode.ts +22 -22
  123. package/src/enums/emitterType.ts +6 -6
  124. package/src/enums/formType.ts +10 -10
  125. package/src/enums/index.ts +13 -13
  126. package/src/enums/storeId.ts +12 -12
  127. package/src/enums/usesStat.ts +14 -14
  128. package/src/enums/viewMode.ts +7 -7
  129. package/src/enums/whatDone.ts +30 -30
  130. package/src/expd/IExpdBAXQResponse.ts +61 -61
  131. package/src/expd/IExpdCallResponse.ts +57 -57
  132. package/src/expd/IExpdCardResponse.ts +102 -102
  133. package/src/expd/IExpdCashResponse.ts +75 -75
  134. package/src/expd/IExpdHYHBResponse.ts +53 -53
  135. package/src/expd/IExpdHYMXResponse.ts +61 -61
  136. package/src/expd/IExpdLfmxResponse.ts +56 -56
  137. package/src/expd/IExpdMainResponse.ts +552 -552
  138. package/src/expd/IExpdP2pzResponse.ts +59 -59
  139. package/src/expd/IExpdP5pzResponse.ts +57 -57
  140. package/src/expd/IExpdSZMXResponse.ts +66 -66
  141. package/src/expd/IViewLockResponse.ts +63 -63
  142. package/src/expd/index.ts +36 -36
  143. package/src/flow/IFlowCnfgResponse.ts +69 -69
  144. package/src/flow/IFlowDataResponse.ts +193 -193
  145. package/src/flow/IFlowDutyNodeParaConv.ts +7 -7
  146. package/src/flow/IFlowDutyResponse.ts +85 -85
  147. package/src/flow/IFlowMainResponse.ts +126 -126
  148. package/src/flow/IFlowNodeResponse.ts +473 -473
  149. package/src/flow/IFlowTypeResponse.ts +3 -3
  150. package/src/flow/IFlowUservoidResponse.ts +35 -35
  151. package/src/flow/IFlowVoidResponse.ts +73 -73
  152. package/src/flow/index.ts +27 -27
  153. package/src/gams/IGamsBillResponse.ts +348 -348
  154. package/src/gams/IGamsCnfgResponse.ts +79 -79
  155. package/src/gams/IGamsEachResponse.ts +67 -67
  156. package/src/gams/IGamsItemResponse.ts +109 -109
  157. package/src/gams/IGamsK0kmResponse.ts +97 -97
  158. package/src/gams/IGamsK8kmResponse.ts +158 -158
  159. package/src/gams/IGamsMainResponse.ts +223 -223
  160. package/src/gams/IGamsTypeResponse.ts +113 -113
  161. package/src/gams/IGamsWtdwResponse.ts +62 -62
  162. package/src/gams/index.ts +27 -27
  163. package/src/gzjg/IGzjgBodyLockResponse.ts +65 -65
  164. package/src/gzjg/IGzjgGzlmLandResponse.ts +88 -88
  165. package/src/gzjg/IGzjgGzlmResponse.ts +193 -193
  166. package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +25 -25
  167. package/src/gzjg/IGzjgGzlmWithResponse.ts +88 -88
  168. package/src/gzjg/IGzjgMainResponse.ts +240 -240
  169. package/src/gzjg/IGzjgMainResponseGzjgPara.ts +31 -31
  170. package/src/gzjg/IGzjgMainResponseWithYZPZ.ts +41 -41
  171. package/src/gzjg/IGzjgQzgsResponse.ts +55 -55
  172. package/src/gzjg/index.ts +27 -27
  173. package/src/gztb/IGztbMainResponse.ts +110 -110
  174. package/src/gztb/index.ts +3 -3
  175. package/src/gzzd/ICellEditResponse.ts +47 -47
  176. package/src/gzzd/IGzzdBillResponse.ts +160 -160
  177. package/src/gzzd/IGzzdLineResponse.ts +19 -19
  178. package/src/gzzd/IGzzdMainResponse.ts +218 -218
  179. package/src/gzzd/index.ts +6 -6
  180. package/src/hzcb/IHzcbMainResponse.ts +263 -263
  181. package/src/hzcb/IHzcbRypqResponse.ts +258 -258
  182. package/src/hzcb/IHzcbXmtzBillResponse.ts +105 -105
  183. package/src/hzcb/IHzcbXmtzResponse.ts +195 -195
  184. package/src/hzcb/IHzcbXmykResponse.ts +197 -197
  185. package/src/hzcb/IHzcbZjlyResponse.ts +73 -73
  186. package/src/hzcb/index.ts +18 -18
  187. package/src/hznk/IHznkBaseNbyhResponse.ts +49 -49
  188. package/src/hznk/IHznkBasePathResponse.ts +47 -47
  189. package/src/hznk/IHznkBaseResponse.ts +143 -143
  190. package/src/hznk/IHznkBaseWbdwResponse.ts +47 -47
  191. package/src/hznk/IHznkBaseWbyhResponse.ts +49 -49
  192. package/src/hznk/IHznkDataEachResponse.ts +49 -49
  193. package/src/hznk/IHznkDataItemResponse.ts +49 -49
  194. package/src/hznk/IHznkDataNbyhResponse.ts +48 -48
  195. package/src/hznk/IHznkDataPathResponse.ts +47 -47
  196. package/src/hznk/IHznkDataResponse.ts +246 -246
  197. package/src/hznk/IHznkMainNbyhResponse.ts +49 -49
  198. package/src/hznk/IHznkMainResponse.ts +164 -164
  199. package/src/hznk/IHznkMainWbdwResponse.ts +47 -47
  200. package/src/hznk/IHznkMainWbyhResponse.ts +49 -49
  201. package/src/hznk/index.ts +7 -7
  202. package/src/japz/IJapzCnfgResponse.ts +73 -73
  203. package/src/japz/IJapzItemResponse.ts +69 -69
  204. package/src/japz/IJapzK0kmResponse.ts +64 -64
  205. package/src/japz/IJapzK7kmResponse.ts +64 -64
  206. package/src/japz/IJapzK8kmResponse.ts +71 -71
  207. package/src/japz/IJapzK9kmResponse.ts +64 -64
  208. package/src/japz/index.ts +21 -21
  209. package/src/japz/readme.md +8 -8
  210. package/src/load/ILoadCellResponse.ts +53 -53
  211. package/src/load/ILoadDataResponse.ts +54 -54
  212. package/src/load/ILoadLineResponse.ts +11 -11
  213. package/src/load/ILoadMainResponse.ts +116 -116
  214. package/src/load/ILoadZydwResponse.ts +57 -57
  215. package/src/load/IYqdwResponse.ts +65 -65
  216. package/src/load/IYqkbResponse.ts +65 -65
  217. package/src/load/IYqkmResponse.ts +51 -51
  218. package/src/load/index.ts +27 -27
  219. package/src/micro/appData.ts +29 -29
  220. package/src/micro/appName.ts +8 -8
  221. package/src/micro/appTab.ts +15 -15
  222. package/src/micro/index.ts +6 -6
  223. package/src/myoa/IMyoaCashResponse.ts +107 -107
  224. package/src/myoa/IMyoaMainResponse.ts +479 -479
  225. package/src/myoa/IMyoaPGDWResponse.ts +49 -49
  226. package/src/myoa/IMyoaRoomResponse.ts +99 -99
  227. package/src/myoa/index.ts +6 -6
  228. package/src/noti/INotiMainResponse.ts +394 -394
  229. package/src/noti/index.ts +3 -3
  230. package/src/pzpt/IPzptCnfgMoreResponse.ts +59 -59
  231. package/src/pzpt/IPzptCnfgResponse.ts +171 -171
  232. package/src/pzpt/IPzptGlfaResponse.ts +84 -84
  233. package/src/pzpt/IPzptGlkmResponse.ts +98 -98
  234. package/src/pzpt/IPzptGlkmfdResponse.ts +59 -59
  235. package/src/pzpt/IPzptGlkmzdResponse.ts +59 -59
  236. package/src/pzpt/IPzptItemResponse.ts +104 -104
  237. package/src/pzpt/IPzptK0kmResponse.ts +69 -69
  238. package/src/pzpt/IPzptK8kmResponse.ts +183 -183
  239. package/src/pzpt/IPzptKbkmResponse.ts +139 -139
  240. package/src/pzpt/IPzptPzpzDataResponse.ts +79 -79
  241. package/src/pzpt/IPzptPzpzP6pzResponse.ts +136 -136
  242. package/src/pzpt/IPzptPzpzResponse.ts +116 -116
  243. package/src/pzpt/IPzptTypeResponse.ts +88 -88
  244. package/src/pzpt/IPzptUkkmResponse.ts +87 -87
  245. package/src/pzpt/index.ts +42 -42
  246. package/src/response/IResponse.ts +48 -48
  247. package/src/store/dateState.ts +49 -49
  248. package/src/store/index.ts +8 -8
  249. package/src/store/menuState.ts +9 -9
  250. package/src/store/tabsState.ts +13 -13
  251. package/src/store/userState.ts +50 -50
  252. package/src/store/viewState.ts +9 -9
  253. package/src/tabl/ITablDataResponse.ts +72 -72
  254. package/src/tabl/ITablLineResponse.ts +13 -13
  255. package/src/tabl/ITablMainResponse.ts +184 -184
  256. package/src/tabl/index.ts +5 -5
  257. package/src/take/ITakeBillResponse.ts +144 -144
  258. package/src/take/ITakeMainResponse.ts +205 -205
  259. package/src/take/index.ts +4 -4
  260. package/src/talk/ITalkMainResponse.ts +95 -95
  261. package/src/task/ITaskMainResponse.ts +121 -121
  262. package/src/task/index.ts +3 -3
  263. package/src/wldy/IWldyDataResponse.ts +70 -70
  264. package/src/wldy/IWldyItemResponse.ts +74 -74
  265. package/src/wldy/IWldyPageParaResponse.ts +42 -42
  266. package/src/wldy/IWldyPageResponse.ts +104 -104
  267. package/src/wldy/index.ts +18 -18
  268. package/src/wlzf/IWlzfEnvrResponse.ts +116 -116
  269. package/src/wlzf/index.ts +3 -3
  270. package/src/wtui/ITodoResponse.ts +15 -15
  271. package/src/wtui/IViewCtrlResponse.ts +106 -106
  272. package/src/wtui/IViewCtrlResponse.ts~ +93 -0
  273. package/src/wtui/IWtuiColWidthResponse.ts +53 -53
  274. package/src/wtui/IWtuiFormParaResponse.ts +17 -17
  275. package/src/wtui/IWtuiFormResponse.ts +92 -92
  276. package/src/wtui/IWtuiItemCalc.ts +36 -36
  277. package/src/wtui/IWtuiItemEffect.ts +43 -43
  278. package/src/wtui/IWtuiItemParaResponse.ts +59 -59
  279. package/src/wtui/IWtuiItemResponse.ts +116 -116
  280. package/src/wtui/IWtuiMainResponse.ts +114 -114
  281. package/src/wtui/IWtuiNodeResponse.ts +75 -75
  282. package/src/wtui/IWtuiOperateResponse.ts +80 -80
  283. package/src/wtui/IWtuiRootResponse.ts +62 -62
  284. package/src/wtui/IWtuiTodoResponse.ts +99 -99
  285. package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -7
  286. package/src/wtui/IWtuiTodoResponseWithPara.ts +32 -32
  287. package/src/wtui/IWtuiUserCnfgResponse.ts +100 -100
  288. package/src/wtui/IWtuiViewResponse.ts +91 -91
  289. package/src/wtui/IWtuiZoneResponse.ts +61 -61
  290. package/src/wtui/index.ts +57 -57
  291. package/src/wzpz/IWzWithParaResponse.ts +147 -147
  292. package/src/wzpz/IWzpzCnfgResponse.ts +106 -106
  293. package/src/wzpz/IWzpzItemResponse.ts +78 -78
  294. package/src/wzpz/IWzpzK0kmResponse.ts +94 -94
  295. package/src/wzpz/IWzpzK8kmResponse.ts +141 -141
  296. package/src/wzpz/IWzpzKbkmResponse.ts +124 -124
  297. package/src/wzpz/IWzpzPckmResponse.ts +49 -49
  298. package/src/wzpz/IWzpzTypeResponse.ts +87 -87
  299. package/src/wzpz/index.ts +27 -27
  300. package/src/yzcb/ICbjgMainResponse.ts +133 -133
  301. package/src/yzcb/IYzcbBillResponse.ts +49 -49
  302. package/src/yzcb/IYzcbMainResponse.ts +189 -189
  303. package/src/yzcb/index.ts +5 -5
  304. package/src/yzcg/IYzcgBillResponse.ts +72 -72
  305. package/src/yzcg/IYzcgGshdResponse.ts +59 -59
  306. package/src/yzcg/IYzcgLockResponse.ts +41 -41
  307. package/src/yzcg/IYzcgMainResponse.ts +308 -308
  308. package/src/yzcg/index.ts +6 -6
  309. package/src/yzcq/IYzcqMainResponse.ts +120 -120
  310. package/src/yzcq/index.ts +3 -3
  311. package/src/yzht/IYzhtBillResponse.ts +170 -170
  312. package/src/yzht/IYzhtGlfdResponse.ts +53 -53
  313. package/src/yzht/IYzhtGlpzResponse.ts +52 -52
  314. package/src/yzht/IYzhtGlzdResponse.ts +56 -56
  315. package/src/yzht/IYzhtMainResponse.ts +425 -425
  316. package/src/yzht/index.ts +18 -18
  317. package/src/yzpz/IYzpzCnfgResponse.ts +95 -95
  318. package/src/yzpz/IYzpzItemResponse.ts +83 -83
  319. package/src/yzpz/IYzpzK0kmResponse.ts +73 -73
  320. package/src/yzpz/IYzpzK8kmResponse.ts +162 -162
  321. package/src/yzpz/IYzpzKbkmResponse.ts +86 -86
  322. package/src/yzpz/IYzpzTypeResponse.ts +96 -96
  323. package/src/yzpz/IYzpzTypeResponseConf.ts +36 -36
  324. package/src/yzpz/index.ts +24 -24
  325. package/src/zbhd/IZbhdMainResponese.ts +246 -246
  326. package/src/zbhd/IZbzdCnfgResponse.ts +84 -84
  327. package/src/zbhd/index.ts +4 -4
  328. package/src/zbzd/IZbzbZbflResponse.ts +226 -226
  329. package/src/zbzd/IZbzdMainResponse.ts +321 -321
  330. package/src/zbzd/index.ts +4 -4
  331. package/src/zfht/IZfhtResponse.ts +103 -103
  332. package/src/zfht/index.ts +3 -3
  333. package/src/zfsq/IZfsqResponse.ts +193 -193
  334. package/src/zfsq/index.ts +3 -3
  335. package/tsconfig.json +22 -22
  336. package/pnpm-lock.yaml +0 -966
@@ -1,10 +1,10 @@
1
- export const CONST_ZBZD_ZBZD_FROM_TYPE = 0; // #手工录入
2
- export const CONST_ZBZD_ZBZD_FROM_YZBZ = 1; // #预算编制
3
- export const CONST_ZBZD_ZBZD_FROM_ZBFJ = 2; // #指标分解
4
-
5
- export const CONST_ZBZD_FROM_TEXT_YZBZ = "预算编制";
6
- export const CONST_ZBZD_FROM_TEXT_ZBFJ = "指标分解";
7
-
8
- export const CONST_ZBHD_MAIN_ZBHD_CTRL_TO_默认严格 = 0;
9
- export const CONST_ZBHD_MAIN_ZBHD_CTRL_TO_警告模式 = 1;
10
- export const CONST_ZBHD_MAIN_ZBHD_CTRL_TO_严格模式 = 2;
1
+ export const CONST_ZBZD_ZBZD_FROM_TYPE = 0; // #手工录入
2
+ export const CONST_ZBZD_ZBZD_FROM_YZBZ = 1; // #预算编制
3
+ export const CONST_ZBZD_ZBZD_FROM_ZBFJ = 2; // #指标分解
4
+
5
+ export const CONST_ZBZD_FROM_TEXT_YZBZ = "预算编制";
6
+ export const CONST_ZBZD_FROM_TEXT_ZBFJ = "指标分解";
7
+
8
+ export const CONST_ZBHD_MAIN_ZBHD_CTRL_TO_默认严格 = 0;
9
+ export const CONST_ZBHD_MAIN_ZBHD_CTRL_TO_警告模式 = 1;
10
+ export const CONST_ZBHD_MAIN_ZBHD_CTRL_TO_严格模式 = 2;
@@ -1,60 +1,60 @@
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
- import * as Hznt from "./const_hznt";
27
- import * as GlpzMode from "./const_glpz_mode";
28
- import * as UserAcnoDataType from "./const_user_acno";
29
- export {
30
- Align,
31
- Audit,
32
- Card,
33
- Clas,
34
- Cnfg,
35
- DataFrom,
36
- Elem,
37
- Flow,
38
- GamsMode,
39
- Gzlm,
40
- Module,
41
- Myoa,
42
- Part,
43
- Stat,
44
- TakeType,
45
- Todo,
46
- Travel,
47
- Type,
48
- TypeName,
49
- User,
50
- WldyItemType,
51
- WtuiItemType,
52
- Yiha,
53
- Zbzd,
54
- GlpzMode,
55
- UserAcnoDataType
56
- };
57
-
58
- export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
59
- export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
60
- export type MyoaModuleType = (typeof Myoa)[keyof typeof Myoa];
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
+ import * as Hznt from "./const_hznt";
27
+ import * as GlpzMode from "./const_glpz_mode";
28
+ import * as UserAcnoDataType from "./const_user_acno";
29
+ export {
30
+ Align,
31
+ Audit,
32
+ Card,
33
+ Clas,
34
+ Cnfg,
35
+ DataFrom,
36
+ Elem,
37
+ Flow,
38
+ GamsMode,
39
+ Gzlm,
40
+ Module,
41
+ Myoa,
42
+ Part,
43
+ Stat,
44
+ TakeType,
45
+ Todo,
46
+ Travel,
47
+ Type,
48
+ TypeName,
49
+ User,
50
+ WldyItemType,
51
+ WtuiItemType,
52
+ Yiha,
53
+ Zbzd,
54
+ GlpzMode,
55
+ UserAcnoDataType
56
+ };
57
+
58
+ export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
59
+ export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
60
+ export type MyoaModuleType = (typeof Myoa)[keyof typeof Myoa];
@@ -0,0 +1,29 @@
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,21 +1,21 @@
1
- export interface ICoreValidResponse {
2
- entityID: string;
3
- flowStat: number;
4
- metaDate: string;
5
- userName: string;
6
- userUUID: string;
7
- validInt: number;
8
- validMsg: string;
9
- validVal: boolean;
10
- }
11
-
12
- export class TCoreValidResponse implements ICoreValidResponse {
13
- entityID: string = "";
14
- flowStat: number = 0;
15
- metaDate: string = "";
16
- userName: string = "";
17
- userUUID: string = "";
18
- validInt: number = 0;
19
- validMsg: string = "";
20
- validVal: boolean = false;
21
- }
1
+ export interface ICoreValidResponse {
2
+ entityID: string;
3
+ flowStat: number;
4
+ metaDate: string;
5
+ userName: string;
6
+ userUUID: string;
7
+ validInt: number;
8
+ validMsg: string;
9
+ validVal: boolean;
10
+ }
11
+
12
+ export class TCoreValidResponse implements ICoreValidResponse {
13
+ entityID: string = "";
14
+ flowStat: number = 0;
15
+ metaDate: string = "";
16
+ userName: string = "";
17
+ userUUID: string = "";
18
+ validInt: number = 0;
19
+ validMsg: string = "";
20
+ validVal: boolean = false;
21
+ }
@@ -1,43 +1,43 @@
1
- import { construct, destruct } from "@aximario/json-tree";
2
- import type { IBaseResponse } from "../base/IBaseResponse";
3
- import { TBaseResponse } from "../base/IBaseResponse";
4
-
5
- export interface IDeptLiteResponse extends IBaseResponse<IDeptLiteResponse> {
6
- whoBuild: number; // #用户实例
7
- userIndx: number; // #用户实例
8
- uniqueID: number;
9
- parentID: number; // @父级标识
10
- entityID: string;
11
- showCode: string;
12
- showName: string;
13
- codeFull: string;
14
- nameFull: string;
15
- nameLite: string;
16
- asParent: number;
17
- vitualID: number;
18
- unitMain: number;
19
- }
20
-
21
- export class TDeptLiteResponse extends TBaseResponse<IDeptLiteResponse> implements IDeptLiteResponse {
22
- whoBuild: number = 0; // #用户实例
23
- userIndx: number = 0; // #用户实例
24
- uniqueID: number = 0;
25
- parentID: number = 0; // @父级标识
26
- entityID: string = "";
27
- showCode: string = "";
28
- showName: string = "";
29
- codeFull: string = "";
30
- nameFull: string = "";
31
- nameLite: string = "";
32
- asParent: number = 0;
33
- vitualID: number = 0;
34
- unitMain: number = 0;
35
-
36
- public static toTree(listDept: IDeptLiteResponse[]) {
37
- return construct(listDept, { id: "uniqueID", pid: "parentID", children: "children" }) as IDeptLiteResponse[];
38
- }
39
-
40
- public static toList(treeDept: IDeptLiteResponse[]) {
41
- return destruct(treeDept, { id: "uniqueID", pid: "parentID", children: "children" }) as IDeptLiteResponse[];
42
- }
43
- }
1
+ import { construct, destruct } from "@aximario/json-tree";
2
+ import type { IBaseResponse } from "../base/IBaseResponse";
3
+ import { TBaseResponse } from "../base/IBaseResponse";
4
+
5
+ export interface IDeptLiteResponse extends IBaseResponse<IDeptLiteResponse> {
6
+ whoBuild: number; // #用户实例
7
+ userIndx: number; // #用户实例
8
+ uniqueID: number;
9
+ parentID: number; // @父级标识
10
+ entityID: string;
11
+ showCode: string;
12
+ showName: string;
13
+ codeFull: string;
14
+ nameFull: string;
15
+ nameLite: string;
16
+ asParent: number;
17
+ vitualID: number;
18
+ unitMain: number;
19
+ }
20
+
21
+ export class TDeptLiteResponse extends TBaseResponse<IDeptLiteResponse> implements IDeptLiteResponse {
22
+ whoBuild: number = 0; // #用户实例
23
+ userIndx: number = 0; // #用户实例
24
+ uniqueID: number = 0;
25
+ parentID: number = 0; // @父级标识
26
+ entityID: string = "";
27
+ showCode: string = "";
28
+ showName: string = "";
29
+ codeFull: string = "";
30
+ nameFull: string = "";
31
+ nameLite: string = "";
32
+ asParent: number = 0;
33
+ vitualID: number = 0;
34
+ unitMain: number = 0;
35
+
36
+ public static toTree(listDept: IDeptLiteResponse[]) {
37
+ return construct(listDept, { id: "uniqueID", pid: "parentID", children: "children" }) as IDeptLiteResponse[];
38
+ }
39
+
40
+ public static toList(treeDept: IDeptLiteResponse[]) {
41
+ return destruct(treeDept, { id: "uniqueID", pid: "parentID", children: "children" }) as IDeptLiteResponse[];
42
+ }
43
+ }
@@ -1,171 +1,171 @@
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
- sysclasc: number;
59
- /**
60
- * 参数约定
61
- */
62
- deptPara: string;
63
-
64
- /** 部门类型 */
65
- listBMLX: Array<IDictResponse>;
66
- /** 部门类型(新) */
67
- listType: Array<IDictResponse>;
68
- }
69
-
70
- export class TDeptResponse extends TBaseResponse<IDeptResponse> implements IDeptResponse {
71
- codeFull: string = "";
72
- createAt: number = 0;
73
- createBy: string = "";
74
- dataDate: number = 0;
75
- dataFrom: number = 0;
76
- dataGUID: string = "";
77
- dataHide: number = 0;
78
- dataLevl: number = 0;
79
- dataOrdr: number = 0;
80
- dataStat: number = 0;
81
- dataTime: number = 0;
82
- dataType: number = 0;
83
- deleteAt: number = 0;
84
- deleteBy: string = "";
85
- deptCall: string = "";
86
- deptCode: string = "";
87
- deptGnkm: string = "";
88
- deptIndx: number = 0;
89
- deptMast: string = "";
90
- deptMemo: string = "";
91
- deptName: string = "";
92
- deptTypeText: string = "";
93
- entityID: string = "";
94
- gkbmText: string = "";
95
- hashCode: number = 0;
96
- isLasted: number = 0;
97
- kjndKJQJ: number = 0;
98
- mastGUID: string = "";
99
- mastName: string = "";
100
- nameFull: string = "";
101
- parentID: number = 0;
102
- uniqueID: number = 0;
103
- unitMain: number = 0;
104
- unitText: string = "";
105
- updateAt: number = 0;
106
- updateBy: string = "";
107
- userIndx: number = 0;
108
- whoBuild: number = 0;
109
- matchVal: string = "";
110
- dataMemo: string = "";
111
- queuesBy: number = 0;
112
-
113
- ratioVal: number = 0;
114
- cardZcyz: number = 0;
115
-
116
- sysclasc: number = 0;
117
- deptPara: string = "";
118
-
119
- listBMLX: IDictResponse[] = [];
120
- /** 部门类型(新) */
121
- listType: IDictResponse[] = [];
122
-
123
- constructor(data: any = {}) {
124
- super();
125
- if (data) {
126
- _.merge(this, _.pick(data, Object.keys(this)));
127
- }
128
- }
129
-
130
- public static toTree(listDept: IDeptResponse[]) {
131
- return construct(listDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
132
- }
133
-
134
- public static toList(treeDept: IDeptResponse[]) {
135
- return destruct(treeDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
136
- }
137
-
138
- public static createDetp(deptMain: number, deptName: string) {
139
- const dept = new TDeptResponse();
140
- dept.deptIndx = deptMain;
141
- dept.deptName = deptName;
142
- return dept;
143
- }
144
-
145
- static toTravel(dept: IDeptResponse, whatDone: string): TCore.ISysTravelResponse {
146
- const travel = new TCore.TSysTravelResponse();
147
- travel.whoBuild = dept.whoBuild;
148
- travel.flowMain = 0;
149
- travel.flowNode = 0;
150
- travel.billUUID = dept.entityID;
151
- travel.billMain = dept.deptIndx;
152
- travel.billCode = dept.deptCode;
153
- travel.mastName = dept.mastName;
154
- travel.createBy = dept.createBy;
155
- travel.whatDone = `${whatDone}${dept.deptName}`;
156
- return travel;
157
- }
158
-
159
- /** 转换成记录日志需要的数据(第一层,不包含菜单) */
160
- static toTravelData(card?: IDeptResponse | IDeptResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
161
- if (_.isNil(card)) {
162
- return [];
163
- }
164
- if (_.isArray(card)) {
165
- return card.map((u) => {
166
- return this.toTravel(u, whatDone);
167
- });
168
- }
169
- return [this.toTravel(card, whatDone)];
170
- }
171
- }
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
+ sysclasc: number;
59
+ /**
60
+ * 参数约定
61
+ */
62
+ deptPara: string;
63
+
64
+ /** 部门类型 */
65
+ listBMLX: Array<IDictResponse>;
66
+ /** 部门类型(新) */
67
+ listType: Array<IDictResponse>;
68
+ }
69
+
70
+ export class TDeptResponse extends TBaseResponse<IDeptResponse> implements IDeptResponse {
71
+ codeFull: string = "";
72
+ createAt: number = 0;
73
+ createBy: string = "";
74
+ dataDate: number = 0;
75
+ dataFrom: number = 0;
76
+ dataGUID: string = "";
77
+ dataHide: number = 0;
78
+ dataLevl: number = 0;
79
+ dataOrdr: number = 0;
80
+ dataStat: number = 0;
81
+ dataTime: number = 0;
82
+ dataType: number = 0;
83
+ deleteAt: number = 0;
84
+ deleteBy: string = "";
85
+ deptCall: string = "";
86
+ deptCode: string = "";
87
+ deptGnkm: string = "";
88
+ deptIndx: number = 0;
89
+ deptMast: string = "";
90
+ deptMemo: string = "";
91
+ deptName: string = "";
92
+ deptTypeText: string = "";
93
+ entityID: string = "";
94
+ gkbmText: string = "";
95
+ hashCode: number = 0;
96
+ isLasted: number = 0;
97
+ kjndKJQJ: number = 0;
98
+ mastGUID: string = "";
99
+ mastName: string = "";
100
+ nameFull: string = "";
101
+ parentID: number = 0;
102
+ uniqueID: number = 0;
103
+ unitMain: number = 0;
104
+ unitText: string = "";
105
+ updateAt: number = 0;
106
+ updateBy: string = "";
107
+ userIndx: number = 0;
108
+ whoBuild: number = 0;
109
+ matchVal: string = "";
110
+ dataMemo: string = "";
111
+ queuesBy: number = 0;
112
+
113
+ ratioVal: number = 0;
114
+ cardZcyz: number = 0;
115
+
116
+ sysclasc: number = 0;
117
+ deptPara: string = "";
118
+
119
+ listBMLX: IDictResponse[] = [];
120
+ /** 部门类型(新) */
121
+ listType: IDictResponse[] = [];
122
+
123
+ constructor(data: any = {}) {
124
+ super();
125
+ if (data) {
126
+ _.merge(this, _.pick(data, Object.keys(this)));
127
+ }
128
+ }
129
+
130
+ public static toTree(listDept: IDeptResponse[]) {
131
+ return construct(listDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
132
+ }
133
+
134
+ public static toList(treeDept: IDeptResponse[]) {
135
+ return destruct(treeDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
136
+ }
137
+
138
+ public static createDetp(deptMain: number, deptName: string) {
139
+ const dept = new TDeptResponse();
140
+ dept.deptIndx = deptMain;
141
+ dept.deptName = deptName;
142
+ return dept;
143
+ }
144
+
145
+ static toTravel(dept: IDeptResponse, whatDone: string): TCore.ISysTravelResponse {
146
+ const travel = new TCore.TSysTravelResponse();
147
+ travel.whoBuild = dept.whoBuild;
148
+ travel.flowMain = 0;
149
+ travel.flowNode = 0;
150
+ travel.billUUID = dept.entityID;
151
+ travel.billMain = dept.deptIndx;
152
+ travel.billCode = dept.deptCode;
153
+ travel.mastName = dept.mastName;
154
+ travel.createBy = dept.createBy;
155
+ travel.whatDone = `${whatDone}${dept.deptName}`;
156
+ return travel;
157
+ }
158
+
159
+ /** 转换成记录日志需要的数据(第一层,不包含菜单) */
160
+ static toTravelData(card?: IDeptResponse | IDeptResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
161
+ if (_.isNil(card)) {
162
+ return [];
163
+ }
164
+ if (_.isArray(card)) {
165
+ return card.map((u) => {
166
+ return this.toTravel(u, whatDone);
167
+ });
168
+ }
169
+ return [this.toTravel(card, whatDone)];
170
+ }
171
+ }