@ningboyz/types 1.4.76 → 1.4.77

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 (417) hide show
  1. package/.prettierrc +15 -15
  2. package/eslint.config.js +29 -29
  3. package/package.json +30 -30
  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 +49 -49
  8. package/src/antv/index.ts +5 -5
  9. package/src/app/ITab.ts +57 -57
  10. package/src/app/IUserData.ts +7 -7
  11. package/src/app/index.ts +4 -4
  12. package/src/axios/IAxiosConfig.ts +9 -9
  13. package/src/axios/index.ts +3 -3
  14. package/src/base/IBaseResponse.ts +25 -25
  15. package/src/bill/IBillCnfgResponse.ts +113 -113
  16. package/src/bill/IBillFindResponse.ts +36 -36
  17. package/src/bill/IBillMainResponse.ts +328 -328
  18. package/src/bill/index.ts +5 -5
  19. package/src/card/ICardBookResponse.ts +123 -123
  20. package/src/card/ICardDataResponse.ts +360 -360
  21. package/src/card/ICardFromResponse.ts +68 -68
  22. package/src/card/ICardFwczResponse.ts +199 -199
  23. package/src/card/ICardHyhbBillResponse.ts +95 -95
  24. package/src/card/ICardHyhbResponse.ts +91 -91
  25. package/src/card/ICardMainFindResponse.ts +95 -95
  26. package/src/card/ICardMainResponse.ts +781 -781
  27. package/src/card/ICardRoomResponse.ts +232 -232
  28. package/src/card/IGblbResponse.ts +138 -138
  29. package/src/card/IP4pzResponse.ts +68 -68
  30. package/src/card/ISyszclbgblbResponse.ts +67 -67
  31. package/src/card/ISyszclbgblbResponse.ts~ +67 -0
  32. package/src/card/IZcbdResponse.ts +205 -205
  33. package/src/card/IZccfResponse.ts +232 -232
  34. package/src/card/IZcczResponse.ts +222 -222
  35. package/src/card/IZcdbResponse.ts +237 -237
  36. package/src/card/IZclbResponse.ts +138 -138
  37. package/src/card/IZclbgblbResponse.ts~ +68 -0
  38. package/src/card/IZczjPropResponse.ts +94 -94
  39. package/src/card/IZczjResponse.ts +121 -121
  40. package/src/card/index.ts +62 -62
  41. package/src/cggz/ICggzBillResponse.ts +69 -69
  42. package/src/cggz/ICggzMainResponse.ts +188 -188
  43. package/src/cggz/index.ts +4 -4
  44. package/src/clas/IClasAttrResponse.ts +69 -69
  45. package/src/clas/IClasMainResponse.ts +67 -67
  46. package/src/conf/ICnfgMainResponse.ts +83 -83
  47. package/src/conf/IConfig.ts +77 -77
  48. package/src/conf/index.ts +3 -3
  49. package/src/const/const_align.ts +15 -15
  50. package/src/const/const_audit.ts +34 -34
  51. package/src/const/const_bizCode.ts +3 -3
  52. package/src/const/const_card.ts +16 -16
  53. package/src/const/const_clas.ts +72 -72
  54. package/src/const/const_cnfg.ts +92 -92
  55. package/src/const/const_data_from.ts +14 -14
  56. package/src/const/const_elem.ts +99 -99
  57. package/src/const/const_error_key.ts +2 -2
  58. package/src/const/const_flow.ts +7 -7
  59. package/src/const/const_gams_mode.ts +5 -5
  60. package/src/const/const_glpz_mode.ts +2 -2
  61. package/src/const/const_gzlm.ts +39 -39
  62. package/src/const/const_hznj.ts +4 -4
  63. package/src/const/const_hznk.ts +34 -34
  64. package/src/const/const_hznt.ts +75 -75
  65. package/src/const/const_module.ts +121 -121
  66. package/src/const/const_myoa.ts +90 -90
  67. package/src/const/const_p4pt.ts +8 -8
  68. package/src/const/const_page_mode.ts +7 -7
  69. package/src/const/const_part.ts +25 -25
  70. package/src/const/const_read.ts +2 -2
  71. package/src/const/const_stat.ts +403 -403
  72. package/src/const/const_take_type.ts +9 -9
  73. package/src/const/const_todo.ts +28 -28
  74. package/src/const/const_travel.ts +8 -8
  75. package/src/const/const_type.ts +66 -66
  76. package/src/const/const_type_name.ts +328 -328
  77. package/src/const/const_user.ts +2 -2
  78. package/src/const/const_user_acno.ts +6 -6
  79. package/src/const/const_vary.ts +1 -1
  80. package/src/const/const_wldy_item_type.ts +4 -4
  81. package/src/const/const_wtui_item_type.ts +24 -24
  82. package/src/const/const_wtui_item_type.ts~ +20 -0
  83. package/src/const/const_yiha.ts +32 -32
  84. package/src/const/const_zbzd.ts +10 -10
  85. package/src/const/index.ts +73 -73
  86. package/src/core/ICoreValidResponse.ts +21 -21
  87. package/src/core/IDeptBindResponse.ts +52 -52
  88. package/src/core/IDeptLiteResponse.ts +43 -43
  89. package/src/core/IDeptResponse.ts +197 -197
  90. package/src/core/IDeptResponse.ts~ +162 -0
  91. package/src/core/IDictResponse.ts +183 -183
  92. package/src/core/IDictResponseConf.ts +36 -36
  93. package/src/core/IDictResponseDictPara.ts +92 -92
  94. package/src/core/IEnvrResponse.ts +95 -95
  95. package/src/core/ILaidResponse.ts +161 -161
  96. package/src/core/IPartResponse.ts +135 -135
  97. package/src/core/IPathResponse.ts +138 -138
  98. package/src/core/IPathResponsePartPara.ts +17 -17
  99. package/src/core/ISourceItem.ts +55 -55
  100. package/src/core/IStypResponse.ts +45 -45
  101. package/src/core/ISysClasResponse.ts +57 -57
  102. package/src/core/ISysMenuWithCoreResponse.ts +154 -154
  103. package/src/core/ISysMenuWithCoreResponseMenuPara.ts +3 -3
  104. package/src/core/ISysMenuWithExpdResponse.ts +320 -320
  105. package/src/core/ISysTravelResponse.ts +133 -133
  106. package/src/core/ITypeResponse.ts +134 -134
  107. package/src/core/IUnitBindResponse.ts +62 -62
  108. package/src/core/IUnitResponse.ts +269 -269
  109. package/src/core/IUnitResponseElemPara.ts +11 -11
  110. package/src/core/IUserAcnoResponse.ts +184 -184
  111. package/src/core/IUserFindResponse.ts +140 -140
  112. package/src/core/IUserLiteResponse.ts +160 -160
  113. package/src/core/IUserPartResponse.ts +170 -170
  114. package/src/core/IUserResponse.ts +423 -423
  115. package/src/core/IUserSzdwResponse.ts +165 -165
  116. package/src/core/IWebSocketResponse.ts +41 -41
  117. package/src/core/index.ts +83 -83
  118. package/src/cron/ICronMainResponse.ts +174 -174
  119. package/src/cron/index.ts +3 -3
  120. package/src/custom/IValidReponse.ts +11 -11
  121. package/src/custom/index.ts +3 -3
  122. package/src/decorators/DConfigManager.ts +23 -23
  123. package/src/decorators/DConfigProperty.ts +7 -7
  124. package/src/decorators/IConfigProperty.ts +32 -32
  125. package/src/decorators/index.ts +4 -4
  126. package/src/elem/IElemDataResponse.ts +101 -101
  127. package/src/elem/IElemElemResponse.ts +102 -102
  128. package/src/elem/ISysElemResponse.ts +51 -51
  129. package/src/elem/index.ts +4 -4
  130. package/src/enums/btnMode.ts +151 -151
  131. package/src/enums/cardMode.ts +28 -28
  132. package/src/enums/doneMode.ts +8 -8
  133. package/src/enums/editMode.ts +22 -22
  134. package/src/enums/emitterType.ts +6 -6
  135. package/src/enums/formType.ts +10 -10
  136. package/src/enums/index.ts +13 -13
  137. package/src/enums/storeId.ts +13 -13
  138. package/src/enums/usesStat.ts +14 -14
  139. package/src/enums/viewMode.ts +7 -7
  140. package/src/enums/whatDone.ts +30 -30
  141. package/src/expd/IExpdBAXQResponse.ts +61 -61
  142. package/src/expd/IExpdCallResponse.ts +57 -57
  143. package/src/expd/IExpdCardResponse.ts +102 -102
  144. package/src/expd/IExpdCashResponse.ts +75 -75
  145. package/src/expd/IExpdHYHBResponse.ts +53 -53
  146. package/src/expd/IExpdHYMXResponse.ts +61 -61
  147. package/src/expd/IExpdLfmxResponse.ts +56 -56
  148. package/src/expd/IExpdMainResponse.ts +552 -552
  149. package/src/expd/IExpdP2pzResponse.ts +59 -59
  150. package/src/expd/IExpdP5pzResponse.ts +57 -57
  151. package/src/expd/IExpdSZMXResponse.ts +66 -66
  152. package/src/expd/IViewLockResponse.ts +63 -63
  153. package/src/expd/index.ts +36 -36
  154. package/src/find/IRangeVal.ts +11 -11
  155. package/src/find/index.ts +3 -3
  156. package/src/flow/IFlowBillResponse.ts +55 -55
  157. package/src/flow/IFlowCnfgResponse.ts +69 -69
  158. package/src/flow/IFlowDataResponse.ts +197 -197
  159. package/src/flow/IFlowDutyNodeParaConv.ts +7 -7
  160. package/src/flow/IFlowDutyResponse.ts +85 -85
  161. package/src/flow/IFlowMainResponse.ts +126 -126
  162. package/src/flow/IFlowNodeResponse.ts +509 -509
  163. package/src/flow/IFlowTypeResponse.ts +3 -3
  164. package/src/flow/IFlowUservoidResponse.ts +35 -35
  165. package/src/flow/IFlowVoidResponse.ts +73 -73
  166. package/src/flow/index.ts +30 -30
  167. package/src/gams/IGamsBillResponse.ts +348 -348
  168. package/src/gams/IGamsCnfgResponse.ts +79 -79
  169. package/src/gams/IGamsEachResponse.ts +67 -67
  170. package/src/gams/IGamsItemResponse.ts +109 -109
  171. package/src/gams/IGamsK0kmResponse.ts +97 -97
  172. package/src/gams/IGamsK8kmResponse.ts +158 -158
  173. package/src/gams/IGamsMainResponse.ts +223 -223
  174. package/src/gams/IGamsTypeResponse.ts +113 -113
  175. package/src/gams/IGamsWtdwResponse.ts +62 -62
  176. package/src/gams/index.ts +27 -27
  177. package/src/gzjg/IGzjgBodyLockResponse.ts +65 -65
  178. package/src/gzjg/IGzjgGzlmLandResponse.ts +88 -88
  179. package/src/gzjg/IGzjgGzlmResponse.ts +193 -193
  180. package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +25 -25
  181. package/src/gzjg/IGzjgGzlmWithResponse.ts +88 -88
  182. package/src/gzjg/IGzjgMainResponse.ts +240 -240
  183. package/src/gzjg/IGzjgMainResponseGzjgPara.ts +31 -31
  184. package/src/gzjg/IGzjgMainResponseWithYZPZ.ts +41 -41
  185. package/src/gzjg/IGzjgQzgsResponse.ts +55 -55
  186. package/src/gzjg/index.ts +27 -27
  187. package/src/gztb/IGztbMainResponse.ts +110 -110
  188. package/src/gztb/index.ts +3 -3
  189. package/src/gzzd/ICellEditResponse.ts +47 -47
  190. package/src/gzzd/IGzzdBillResponse.ts +160 -160
  191. package/src/gzzd/IGzzdLineResponse.ts +19 -19
  192. package/src/gzzd/IGzzdMainResponse.ts +218 -218
  193. package/src/gzzd/index.ts +6 -6
  194. package/src/hzcb/IHzcbMainResponse.ts +309 -309
  195. package/src/hzcb/IHzcbNdjhBillResponse.ts +85 -85
  196. package/src/hzcb/IHzcbNdjhResponse.ts +188 -188
  197. package/src/hzcb/IHzcbNodeResponse.ts +64 -64
  198. package/src/hzcb/IHzcbRypqResponse.ts +258 -258
  199. package/src/hzcb/IHzcbTdssResponse.ts +200 -200
  200. package/src/hzcb/IHzcbXmssBillResponse.ts +51 -51
  201. package/src/hzcb/IHzcbXmssResponse.ts +188 -188
  202. package/src/hzcb/IHzcbXmtzBillResponse.ts +105 -105
  203. package/src/hzcb/IHzcbXmtzResponse.ts +199 -199
  204. package/src/hzcb/IHzcbXmykResponse.ts +197 -197
  205. package/src/hzcb/IHzcbZjlyResponse.ts +73 -73
  206. package/src/hzcb/index.ts +39 -39
  207. package/src/hznj/IHznjBaseItemResponse.ts +115 -115
  208. package/src/hznj/IHznjBasePathResponse.ts +53 -53
  209. package/src/hznj/IHznjBaseResponse.ts +156 -156
  210. package/src/hznj/IHznjBillResponse.ts +123 -123
  211. package/src/hznj/IHznjDzqrResponse.ts +194 -194
  212. package/src/hznj/IHznjMainResponse.ts +206 -206
  213. package/src/hznj/IHznjNotiBillResponse.ts +261 -261
  214. package/src/hznj/IHznjNotiResponse.ts +212 -212
  215. package/src/hznj/IHznjRwqxResponse.ts +187 -187
  216. package/src/hznj/IHznjXmjjItemResponse.ts +85 -85
  217. package/src/hznj/IHznjXmjjResponse.ts +192 -192
  218. package/src/hznj/IHznjXmsyCjdwResponse.ts +89 -89
  219. package/src/hznj/IHznjXmsyItemResponse.ts +110 -110
  220. package/src/hznj/IHznjXmsyResponse.ts +313 -313
  221. package/src/hznj/IHznjXmsyWtdwResponse.ts +165 -165
  222. package/src/hznj/IHznjZbczBillResponse.ts +63 -63
  223. package/src/hznj/IHznjZbczItemResponse.ts +91 -91
  224. package/src/hznj/IHznjZbczResponse.ts +183 -183
  225. package/src/hznj/IHznjZbjgBillResponse.ts +93 -93
  226. package/src/hznj/IHznjZbjgItemResponse.ts +151 -151
  227. package/src/hznj/IHznjZbjgResponse.ts +192 -192
  228. package/src/hznj/IHznjZblrBillResponse.ts +65 -65
  229. package/src/hznj/IHznjZblrItemResponse.ts +104 -104
  230. package/src/hznj/IHznjZblrResponse.ts +183 -183
  231. package/src/hznj/IHznjZblyBillResponse.ts +66 -66
  232. package/src/hznj/IHznjZblyItemResponse.ts +112 -112
  233. package/src/hznj/IHznjZblyResponse.ts +198 -198
  234. package/src/hznj/IHznjZbthBillResponse.ts +63 -63
  235. package/src/hznj/IHznjZbthItemResponse.ts +105 -105
  236. package/src/hznj/IHznjZbthResponse.ts +187 -187
  237. package/src/hznj/index.ts +105 -105
  238. package/src/hznk/IHznkBaseNbyhResponse.ts +49 -49
  239. package/src/hznk/IHznkBasePathResponse.ts +47 -47
  240. package/src/hznk/IHznkBaseResponse.ts +217 -217
  241. package/src/hznk/IHznkBaseWbdwResponse.ts +55 -55
  242. package/src/hznk/IHznkBaseWbyhResponse.ts +49 -49
  243. package/src/hznk/IHznkDataBillResponse.ts +77 -77
  244. package/src/hznk/IHznkDataDeptResponse.ts +51 -51
  245. package/src/hznk/IHznkDataEachResponse.ts +49 -49
  246. package/src/hznk/IHznkDataItemResponse.ts +71 -71
  247. package/src/hznk/IHznkDataNbyhResponse.ts +56 -56
  248. package/src/hznk/IHznkDataPathResponse.ts +47 -47
  249. package/src/hznk/IHznkDataResponse.ts +356 -356
  250. package/src/hznk/IHznkFydwBillResponse.ts +93 -93
  251. package/src/hznk/IHznkFydwDeptResponse.ts +53 -53
  252. package/src/hznk/IHznkFydwFromResponse.ts +47 -47
  253. package/src/hznk/IHznkFydwItemResponse.ts +77 -77
  254. package/src/hznk/IHznkFydwPathResponse.ts +47 -47
  255. package/src/hznk/IHznkFydwResponse.ts +185 -185
  256. package/src/hznk/IHznkFydwWbdwResponse.ts +79 -79
  257. package/src/hznk/IHznkFytqBillResponse.ts +51 -51
  258. package/src/hznk/IHznkFytqResponse.ts +187 -187
  259. package/src/hznk/IHznkMainNbyhResponse.ts +49 -49
  260. package/src/hznk/IHznkMainResponse.ts +246 -246
  261. package/src/hznk/IHznkMainRwzbResponse.ts +57 -57
  262. package/src/hznk/IHznkMainWbdwResponse.ts +54 -54
  263. package/src/hznk/IHznkMainWbyhResponse.ts +49 -49
  264. package/src/hznk/IHznkNoteFromResponse.ts +47 -47
  265. package/src/hznk/IHznkNotePathResponse.ts +47 -47
  266. package/src/hznk/IHznkNoteResponse.ts +162 -162
  267. package/src/hznk/IHznkXmysDeptResponse.ts +51 -51
  268. package/src/hznk/IHznkXmysItemResponse.ts +57 -57
  269. package/src/hznk/IHznkXmysResponse.ts +212 -212
  270. package/src/hznk/IHznkXmysYsxqResponse.ts +51 -51
  271. package/src/hznk/IHznkYssqResponse.ts +190 -190
  272. package/src/hznk/IHznkYssqYsxqResponse.ts +51 -51
  273. package/src/hznk/index.ts +110 -110
  274. package/src/index.ts +111 -111
  275. package/src/japz/IJapzCnfgResponse.ts +82 -82
  276. package/src/japz/IJapzItemResponse.ts +148 -148
  277. package/src/japz/IJapzK0kmResponse.ts +74 -74
  278. package/src/japz/IJapzK7kmResponse.ts +81 -81
  279. package/src/japz/IJapzK8kmResponse.ts +95 -95
  280. package/src/japz/IJapzK9kmResponse.ts +82 -82
  281. package/src/japz/index.ts +21 -21
  282. package/src/japz/readme.md +8 -8
  283. package/src/load/ILoadCellResponse.ts +53 -53
  284. package/src/load/ILoadDataResponse.ts +54 -54
  285. package/src/load/ILoadLineResponse.ts +11 -11
  286. package/src/load/ILoadMainResponse.ts +116 -116
  287. package/src/load/ILoadNsdwResponse.ts +96 -96
  288. package/src/load/ILoadZydwResponse.ts +65 -65
  289. package/src/load/IYqdwResponse.ts +65 -65
  290. package/src/load/IYqkbResponse.ts +65 -65
  291. package/src/load/IYqkmResponse.ts +51 -51
  292. package/src/load/index.ts +31 -31
  293. package/src/micro/appData.ts +29 -29
  294. package/src/micro/appName.ts +8 -8
  295. package/src/micro/appTab.ts +15 -15
  296. package/src/micro/index.ts +6 -6
  297. package/src/myoa/IMyoaCashResponse.ts +107 -107
  298. package/src/myoa/IMyoaMainResponse.ts +527 -527
  299. package/src/myoa/IMyoaPGDWResponse.ts +49 -49
  300. package/src/myoa/IMyoaRoomResponse.ts +99 -99
  301. package/src/myoa/index.ts +6 -6
  302. package/src/noti/INotiMainResponse.ts +447 -447
  303. package/src/noti/index.ts +3 -3
  304. package/src/pzpt/IPzptCnfgMoreResponse.ts +59 -59
  305. package/src/pzpt/IPzptCnfgResponse.ts +171 -171
  306. package/src/pzpt/IPzptGlfaResponse.ts +84 -84
  307. package/src/pzpt/IPzptGlkmResponse.ts +98 -98
  308. package/src/pzpt/IPzptGlkmfdResponse.ts +59 -59
  309. package/src/pzpt/IPzptGlkmzdResponse.ts +59 -59
  310. package/src/pzpt/IPzptItemResponse.ts +104 -104
  311. package/src/pzpt/IPzptK0kmResponse.ts +69 -69
  312. package/src/pzpt/IPzptK8kmResponse.ts +183 -183
  313. package/src/pzpt/IPzptKbkmResponse.ts +139 -139
  314. package/src/pzpt/IPzptPzpzDataResponse.ts +79 -79
  315. package/src/pzpt/IPzptPzpzP6pzResponse.ts +138 -138
  316. package/src/pzpt/IPzptPzpzResponse.ts +116 -116
  317. package/src/pzpt/IPzptTypeResponse.ts +88 -88
  318. package/src/pzpt/IPzptUkkmResponse.ts +87 -87
  319. package/src/pzpt/index.ts +42 -42
  320. package/src/response/IResponse.ts +54 -54
  321. package/src/response/index.ts +2 -2
  322. package/src/store/dateState.ts +49 -49
  323. package/src/store/index.ts +8 -8
  324. package/src/store/menuState.ts +9 -9
  325. package/src/store/tabsState.ts +13 -13
  326. package/src/store/userState.ts +50 -50
  327. package/src/store/viewState.ts +9 -9
  328. package/src/tabl/ITablDataResponse.ts +72 -72
  329. package/src/tabl/ITablLineResponse.ts +13 -13
  330. package/src/tabl/ITablMainResponse.ts +187 -187
  331. package/src/tabl/index.ts +5 -5
  332. package/src/take/ITakeBillResponse.ts +144 -144
  333. package/src/take/ITakeMainResponse.ts +205 -205
  334. package/src/take/index.ts +4 -4
  335. package/src/talk/ITalkMainResponse.ts +115 -115
  336. package/src/talk/index.ts +3 -3
  337. package/src/task/ITaskMainResponse.ts +121 -121
  338. package/src/task/index.ts +3 -3
  339. package/src/vary/IVaryBillResponse.ts +61 -61
  340. package/src/vary/IVaryMainResponse.ts +184 -184
  341. package/src/vary/index.ts +4 -4
  342. package/src/wldy/IWldyDataResponse.ts +70 -70
  343. package/src/wldy/IWldyItemResponse.ts +74 -74
  344. package/src/wldy/IWldyPageParaResponse.ts +42 -42
  345. package/src/wldy/IWldyPageResponse.ts +110 -110
  346. package/src/wldy/index.ts +18 -18
  347. package/src/wlzf/IWlzfEnvrResponse.ts +116 -116
  348. package/src/wlzf/index.ts +3 -3
  349. package/src/wtui/ITodoResponse.ts +20 -20
  350. package/src/wtui/IViewCtrlResponse.ts +150 -150
  351. package/src/wtui/IWtuiColWidthResponse.ts +53 -53
  352. package/src/wtui/IWtuiFormParaResponse.ts +17 -17
  353. package/src/wtui/IWtuiFormResponse.ts +92 -92
  354. package/src/wtui/IWtuiItemCalc.ts +36 -36
  355. package/src/wtui/IWtuiItemEffect.ts +43 -43
  356. package/src/wtui/IWtuiItemParaResponse.ts +59 -59
  357. package/src/wtui/IWtuiItemResponse.ts +116 -116
  358. package/src/wtui/IWtuiMainResponse.ts +114 -114
  359. package/src/wtui/IWtuiNodeResponse.ts +81 -81
  360. package/src/wtui/IWtuiOperateResponse.ts +80 -80
  361. package/src/wtui/IWtuiRootResponse.ts +62 -62
  362. package/src/wtui/IWtuiTodoResponse.ts +103 -103
  363. package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -7
  364. package/src/wtui/IWtuiTodoResponseWithPara.ts +53 -53
  365. package/src/wtui/IWtuiUserCnfgResponse.ts +130 -130
  366. package/src/wtui/IWtuiViewResponse.ts +91 -91
  367. package/src/wtui/IWtuiZoneResponse.ts +61 -61
  368. package/src/wtui/index.ts +64 -64
  369. package/src/wzpz/IWzWithParaResponse.ts +147 -147
  370. package/src/wzpz/IWzpzCnfgResponse.ts +106 -106
  371. package/src/wzpz/IWzpzItemResponse.ts +78 -78
  372. package/src/wzpz/IWzpzK0kmResponse.ts +94 -94
  373. package/src/wzpz/IWzpzK8kmResponse.ts +141 -141
  374. package/src/wzpz/IWzpzKbkmResponse.ts +124 -124
  375. package/src/wzpz/IWzpzPckmResponse.ts +49 -49
  376. package/src/wzpz/IWzpzTypeResponse.ts +87 -87
  377. package/src/wzpz/index.ts +27 -27
  378. package/src/yzcb/ICbjgMainResponse.ts +133 -133
  379. package/src/yzcb/IYzcbBillResponse.ts +49 -49
  380. package/src/yzcb/IYzcbMainResponse.ts +189 -189
  381. package/src/yzcb/index.ts +5 -5
  382. package/src/yzcg/IYzcgBillResponse.ts +72 -72
  383. package/src/yzcg/IYzcgGshdResponse.ts +59 -59
  384. package/src/yzcg/IYzcgLockResponse.ts +41 -41
  385. package/src/yzcg/IYzcgMainResponse.ts +314 -314
  386. package/src/yzcg/index.ts +6 -6
  387. package/src/yzcq/IYzcqMainResponse.ts +120 -120
  388. package/src/yzcq/index.ts +3 -3
  389. package/src/yzht/IYzhtBillResponse.ts +188 -188
  390. package/src/yzht/IYzhtDzmxResponse.ts +57 -57
  391. package/src/yzht/IYzhtFymxResponse.ts +99 -99
  392. package/src/yzht/IYzhtGlfdResponse.ts +53 -53
  393. package/src/yzht/IYzhtGlpzResponse.ts +52 -52
  394. package/src/yzht/IYzhtGlzdResponse.ts +56 -56
  395. package/src/yzht/IYzhtMainResponse.ts +705 -705
  396. package/src/yzht/index.ts +24 -24
  397. package/src/yzpz/IYzpzCnfgResponse.ts +95 -95
  398. package/src/yzpz/IYzpzItemResponse.ts +83 -83
  399. package/src/yzpz/IYzpzK0kmResponse.ts +73 -73
  400. package/src/yzpz/IYzpzK8kmResponse.ts +162 -162
  401. package/src/yzpz/IYzpzKbkmResponse.ts +86 -86
  402. package/src/yzpz/IYzpzTypeResponse.ts +96 -96
  403. package/src/yzpz/IYzpzTypeResponseConf.ts +36 -36
  404. package/src/yzpz/index.ts +24 -24
  405. package/src/zbhd/IZbhdMainResponese.ts +246 -246
  406. package/src/zbhd/IZbzdCnfgResponse.ts +84 -84
  407. package/src/zbhd/index.ts +4 -4
  408. package/src/zbzd/IZbzbZbflResponse.ts +243 -243
  409. package/src/zbzd/IZbzdMainResponse.ts +382 -382
  410. package/src/zbzd/index.ts +4 -4
  411. package/src/zfht/IZfhtResponse.ts +103 -103
  412. package/src/zfht/index.ts +3 -3
  413. package/src/zfsq/IZfsqResponse.ts +193 -193
  414. package/src/zfsq/index.ts +3 -3
  415. package/tsconfig.json +22 -22
  416. package/vite.config.ts +33 -33
  417. package/pnpm-lock.yaml +0 -966
@@ -1,87 +1,87 @@
1
- import type { IPzptItemResponse } from "./IPzptItemResponse";
2
- import type { IPzptTypeResponse } from "./IPzptTypeResponse";
3
-
4
- export interface IPzptUkkmResponse {
5
- whoBuild: number; // #核算账套
6
- userIndx: number; // #核算账套
7
- sourceND: number; // #核算账套
8
- sourceID: number; // #核算账套
9
- ukkmKmid: number; // #科目组合
10
- k8kmKmid: number; // #核算科目
11
-
12
- parentID: number;
13
- hashCode: number;
14
- dataLevl: number;
15
- dataFrom: number;
16
- kjndKJQJ: number;
17
- dataStat: number;
18
- dataOrdr: number;
19
- dataDate: number;
20
- dataTime: number;
21
- dataHide: number;
22
- dataGUID: string;
23
- mastName: string;
24
- mastGUID: string;
25
- createBy: string;
26
- createAt: number;
27
- updateBy: string;
28
- updateAt: number;
29
- deleteBy: string;
30
- deleteAt: number;
31
- queuesBy: number;
32
- entityID: string;
33
- unionTyp: string;
34
- unionItm: string;
35
- unionTxt: string;
36
- k8kmQcje: number;
37
- k8kmYjje: number;
38
- k8kmYdje: number;
39
- k8kmLjje: number;
40
- k8kmLdje: number;
41
- k8kmQmje: number;
42
-
43
- listType: IPzptTypeResponse[];
44
- listItem: IPzptItemResponse[];
45
- }
46
-
47
- export class TPzptUkkmResponse implements IPzptUkkmResponse {
48
- whoBuild: number = 0;
49
- userIndx: number = 0;
50
- sourceND: number = 0;
51
- sourceID: number = 0;
52
- ukkmKmid: number = 0;
53
- k8kmKmid: number = 0;
54
- parentID: number = 0;
55
- hashCode: number = 0;
56
- dataLevl: number = 0;
57
- dataFrom: number = 0;
58
- kjndKJQJ: number = 0;
59
- dataStat: number = 0;
60
- dataOrdr: number = 0;
61
- dataDate: number = 0;
62
- dataTime: number = 0;
63
- dataHide: number = 0;
64
- dataGUID: string = "";
65
- mastName: string = "";
66
- mastGUID: string = "";
67
- createBy: string = "";
68
- createAt: number = 0;
69
- updateBy: string = "";
70
- updateAt: number = 0;
71
- deleteBy: string = "";
72
- deleteAt: number = 0;
73
- queuesBy: number = 0;
74
- entityID: string = "";
75
- unionTyp: string = "";
76
- unionItm: string = "";
77
- unionTxt: string = "";
78
- k8kmQcje: number = 0;
79
- k8kmYjje: number = 0;
80
- k8kmYdje: number = 0;
81
- k8kmLjje: number = 0;
82
- k8kmLdje: number = 0;
83
- k8kmQmje: number = 0;
84
-
85
- listType: IPzptTypeResponse[] = [];
86
- listItem: IPzptItemResponse[] = [];
87
- }
1
+ import type { IPzptItemResponse } from "./IPzptItemResponse";
2
+ import type { IPzptTypeResponse } from "./IPzptTypeResponse";
3
+
4
+ export interface IPzptUkkmResponse {
5
+ whoBuild: number; // #核算账套
6
+ userIndx: number; // #核算账套
7
+ sourceND: number; // #核算账套
8
+ sourceID: number; // #核算账套
9
+ ukkmKmid: number; // #科目组合
10
+ k8kmKmid: number; // #核算科目
11
+
12
+ parentID: number;
13
+ hashCode: number;
14
+ dataLevl: number;
15
+ dataFrom: number;
16
+ kjndKJQJ: number;
17
+ dataStat: number;
18
+ dataOrdr: number;
19
+ dataDate: number;
20
+ dataTime: number;
21
+ dataHide: number;
22
+ dataGUID: string;
23
+ mastName: string;
24
+ mastGUID: string;
25
+ createBy: string;
26
+ createAt: number;
27
+ updateBy: string;
28
+ updateAt: number;
29
+ deleteBy: string;
30
+ deleteAt: number;
31
+ queuesBy: number;
32
+ entityID: string;
33
+ unionTyp: string;
34
+ unionItm: string;
35
+ unionTxt: string;
36
+ k8kmQcje: number;
37
+ k8kmYjje: number;
38
+ k8kmYdje: number;
39
+ k8kmLjje: number;
40
+ k8kmLdje: number;
41
+ k8kmQmje: number;
42
+
43
+ listType: IPzptTypeResponse[];
44
+ listItem: IPzptItemResponse[];
45
+ }
46
+
47
+ export class TPzptUkkmResponse implements IPzptUkkmResponse {
48
+ whoBuild: number = 0;
49
+ userIndx: number = 0;
50
+ sourceND: number = 0;
51
+ sourceID: number = 0;
52
+ ukkmKmid: number = 0;
53
+ k8kmKmid: number = 0;
54
+ parentID: number = 0;
55
+ hashCode: number = 0;
56
+ dataLevl: number = 0;
57
+ dataFrom: number = 0;
58
+ kjndKJQJ: number = 0;
59
+ dataStat: number = 0;
60
+ dataOrdr: number = 0;
61
+ dataDate: number = 0;
62
+ dataTime: number = 0;
63
+ dataHide: number = 0;
64
+ dataGUID: string = "";
65
+ mastName: string = "";
66
+ mastGUID: string = "";
67
+ createBy: string = "";
68
+ createAt: number = 0;
69
+ updateBy: string = "";
70
+ updateAt: number = 0;
71
+ deleteBy: string = "";
72
+ deleteAt: number = 0;
73
+ queuesBy: number = 0;
74
+ entityID: string = "";
75
+ unionTyp: string = "";
76
+ unionItm: string = "";
77
+ unionTxt: string = "";
78
+ k8kmQcje: number = 0;
79
+ k8kmYjje: number = 0;
80
+ k8kmYdje: number = 0;
81
+ k8kmLjje: number = 0;
82
+ k8kmLdje: number = 0;
83
+ k8kmQmje: number = 0;
84
+
85
+ listType: IPzptTypeResponse[] = [];
86
+ listItem: IPzptItemResponse[] = [];
87
+ }
package/src/pzpt/index.ts CHANGED
@@ -1,42 +1,42 @@
1
- import { IPzptCnfgResponse, TPzptCnfgResponse } from "./IPzptCnfgResponse";
2
- import { IPzptCnfgMoreResponse, TPzptCnfgMoreResponse } from "./IPzptCnfgMoreResponse";
3
- import { IPzptItemResponse, TPzptItemResponse } from "./IPzptItemResponse";
4
- import { IPzptK0kmResponse, TPzptK0kmResponse } from "./IPzptK0kmResponse";
5
- import { IPzptK8kmResponse, TPzptK8kmResponse } from "./IPzptK8kmResponse";
6
- import { IPzptKbkmResponse, TPzptKbkmResponse } from "./IPzptKbkmResponse";
7
- import { IPzptTypeResponse, TPzptTypeResponse } from "./IPzptTypeResponse";
8
- import { IPzptUkkmResponse, TPzptUkkmResponse } from "./IPzptUkkmResponse";
9
- import { IPzptGlfaResponse, TPzptGlfaResponse } from "./IPzptGlfaResponse";
10
- import { IPzptGlkmResponse, TPzptGlkmResponse } from "./IPzptGlkmResponse";
11
- import { IPzptPzpzResponse, TPzptPzpzResponse } from "./IPzptPzpzResponse";
12
- import { IPzptPzpzP6pzResponse, TPzptPzpzP6pzResponse } from "./IPzptPzpzP6pzResponse";
13
- import { IPzptPzpzDataResponse, TPzptPzpzDataResponse } from "./IPzptPzpzDataResponse";
14
-
15
- export {
16
- type IPzptCnfgResponse,
17
- type IPzptCnfgMoreResponse,
18
- type IPzptItemResponse,
19
- type IPzptK0kmResponse,
20
- type IPzptK8kmResponse,
21
- type IPzptKbkmResponse,
22
- type IPzptTypeResponse,
23
- type IPzptUkkmResponse,
24
- type IPzptGlfaResponse,
25
- type IPzptGlkmResponse,
26
- type IPzptPzpzResponse,
27
- type IPzptPzpzP6pzResponse,
28
- type IPzptPzpzDataResponse,
29
- TPzptCnfgResponse,
30
- TPzptCnfgMoreResponse,
31
- TPzptItemResponse,
32
- TPzptK0kmResponse,
33
- TPzptK8kmResponse,
34
- TPzptKbkmResponse,
35
- TPzptTypeResponse,
36
- TPzptUkkmResponse,
37
- TPzptGlfaResponse,
38
- TPzptGlkmResponse,
39
- TPzptPzpzResponse,
40
- TPzptPzpzP6pzResponse,
41
- TPzptPzpzDataResponse
42
- };
1
+ import { IPzptCnfgResponse, TPzptCnfgResponse } from "./IPzptCnfgResponse";
2
+ import { IPzptCnfgMoreResponse, TPzptCnfgMoreResponse } from "./IPzptCnfgMoreResponse";
3
+ import { IPzptItemResponse, TPzptItemResponse } from "./IPzptItemResponse";
4
+ import { IPzptK0kmResponse, TPzptK0kmResponse } from "./IPzptK0kmResponse";
5
+ import { IPzptK8kmResponse, TPzptK8kmResponse } from "./IPzptK8kmResponse";
6
+ import { IPzptKbkmResponse, TPzptKbkmResponse } from "./IPzptKbkmResponse";
7
+ import { IPzptTypeResponse, TPzptTypeResponse } from "./IPzptTypeResponse";
8
+ import { IPzptUkkmResponse, TPzptUkkmResponse } from "./IPzptUkkmResponse";
9
+ import { IPzptGlfaResponse, TPzptGlfaResponse } from "./IPzptGlfaResponse";
10
+ import { IPzptGlkmResponse, TPzptGlkmResponse } from "./IPzptGlkmResponse";
11
+ import { IPzptPzpzResponse, TPzptPzpzResponse } from "./IPzptPzpzResponse";
12
+ import { IPzptPzpzP6pzResponse, TPzptPzpzP6pzResponse } from "./IPzptPzpzP6pzResponse";
13
+ import { IPzptPzpzDataResponse, TPzptPzpzDataResponse } from "./IPzptPzpzDataResponse";
14
+
15
+ export {
16
+ type IPzptCnfgResponse,
17
+ type IPzptCnfgMoreResponse,
18
+ type IPzptItemResponse,
19
+ type IPzptK0kmResponse,
20
+ type IPzptK8kmResponse,
21
+ type IPzptKbkmResponse,
22
+ type IPzptTypeResponse,
23
+ type IPzptUkkmResponse,
24
+ type IPzptGlfaResponse,
25
+ type IPzptGlkmResponse,
26
+ type IPzptPzpzResponse,
27
+ type IPzptPzpzP6pzResponse,
28
+ type IPzptPzpzDataResponse,
29
+ TPzptCnfgResponse,
30
+ TPzptCnfgMoreResponse,
31
+ TPzptItemResponse,
32
+ TPzptK0kmResponse,
33
+ TPzptK8kmResponse,
34
+ TPzptKbkmResponse,
35
+ TPzptTypeResponse,
36
+ TPzptUkkmResponse,
37
+ TPzptGlfaResponse,
38
+ TPzptGlkmResponse,
39
+ TPzptPzpzResponse,
40
+ TPzptPzpzP6pzResponse,
41
+ TPzptPzpzDataResponse
42
+ };
@@ -1,54 +1,54 @@
1
- import _ from "lodash";
2
-
3
- export interface IResponse<T> {
4
- DATASIZE: number;
5
- ERORCODE: number;
6
- ERORMEMO: string;
7
- LISTDATA: T;
8
- ONSTATUS: boolean;
9
- DATATIME: number;
10
- DATADATE: number;
11
- REALPAGE: number;
12
- PAGESIZE: number;
13
- TOTALCNT: number;
14
- ERRORCNT: number;
15
- ERRORKEY: string;
16
- }
17
-
18
- export class TResponse {
19
- public static toError = (message: string) => {
20
- const result: IResponse<any> = {
21
- DATASIZE: 0,
22
- ERORCODE: -1,
23
- ERORMEMO: message,
24
- LISTDATA: [],
25
- ONSTATUS: false,
26
- DATATIME: new Date().getTime(),
27
- DATADATE: 0,
28
- REALPAGE: 0,
29
- PAGESIZE: 0,
30
- TOTALCNT: 0,
31
- ERRORCNT: 0,
32
- ERRORKEY: ""
33
- };
34
- return result;
35
- };
36
-
37
- public static toTrue = <T>(data: T, message: string) => {
38
- const result: IResponse<any> = {
39
- DATASIZE: _.isArray(data) ? data.length : 0,
40
- ERORCODE: 0,
41
- ERORMEMO: message,
42
- LISTDATA: data,
43
- ONSTATUS: true,
44
- DATATIME: new Date().getTime(),
45
- DATADATE: 0,
46
- REALPAGE: 0,
47
- PAGESIZE: 0,
48
- TOTALCNT: 0,
49
- ERRORCNT: 0,
50
- ERRORKEY: ""
51
- };
52
- return result;
53
- };
54
- }
1
+ import _ from "lodash";
2
+
3
+ export interface IResponse<T> {
4
+ DATASIZE: number;
5
+ ERORCODE: number;
6
+ ERORMEMO: string;
7
+ LISTDATA: T;
8
+ ONSTATUS: boolean;
9
+ DATATIME: number;
10
+ DATADATE: number;
11
+ REALPAGE: number;
12
+ PAGESIZE: number;
13
+ TOTALCNT: number;
14
+ ERRORCNT: number;
15
+ ERRORKEY: string;
16
+ }
17
+
18
+ export class TResponse {
19
+ public static toError = (message: string) => {
20
+ const result: IResponse<any> = {
21
+ DATASIZE: 0,
22
+ ERORCODE: -1,
23
+ ERORMEMO: message,
24
+ LISTDATA: [],
25
+ ONSTATUS: false,
26
+ DATATIME: new Date().getTime(),
27
+ DATADATE: 0,
28
+ REALPAGE: 0,
29
+ PAGESIZE: 0,
30
+ TOTALCNT: 0,
31
+ ERRORCNT: 0,
32
+ ERRORKEY: ""
33
+ };
34
+ return result;
35
+ };
36
+
37
+ public static toTrue = <T>(data: T, message: string) => {
38
+ const result: IResponse<any> = {
39
+ DATASIZE: _.isArray(data) ? data.length : 0,
40
+ ERORCODE: 0,
41
+ ERORMEMO: message,
42
+ LISTDATA: data,
43
+ ONSTATUS: true,
44
+ DATATIME: new Date().getTime(),
45
+ DATADATE: 0,
46
+ REALPAGE: 0,
47
+ PAGESIZE: 0,
48
+ TOTALCNT: 0,
49
+ ERRORCNT: 0,
50
+ ERRORKEY: ""
51
+ };
52
+ return result;
53
+ };
54
+ }
@@ -1,2 +1,2 @@
1
- import { TResponse, IResponse } from "./IResponse";
2
- export { type IResponse, TResponse };
1
+ import { TResponse, IResponse } from "./IResponse";
2
+ export { type IResponse, TResponse };
@@ -1,49 +1,49 @@
1
- export interface IDateState {
2
- /**
3
- * 是否启用
4
- * 1启用
5
- * 0未启用
6
- */
7
- usesStat: number;
8
-
9
- /**
10
- * 折旧方法
11
- */
12
- realZjff: string;
13
- /**
14
- * 折旧年度
15
- * 2025
16
- */
17
- realKJND: string;
18
- /**
19
- * 折旧期间
20
- * 1月
21
- */
22
- realKJQJ: string;
23
-
24
- /** 启用年度 */
25
- usesKJND: string;
26
-
27
- /** 启用期间 */
28
- usesKJQJ: string;
29
-
30
- /**
31
- * 是否折旧单位
32
- */
33
- usesZczj: number;
34
-
35
- /**
36
- * 右上角当前年度
37
- */
38
- currentKJND: string;
39
-
40
- /**
41
- * 右上角当前期间
42
- */
43
- currentKJQJ: string;
44
-
45
- /**
46
- * 右上角当前年度期间
47
- */
48
- currentKJNDKJQJ: string;
49
- }
1
+ export interface IDateState {
2
+ /**
3
+ * 是否启用
4
+ * 1启用
5
+ * 0未启用
6
+ */
7
+ usesStat: number;
8
+
9
+ /**
10
+ * 折旧方法
11
+ */
12
+ realZjff: string;
13
+ /**
14
+ * 折旧年度
15
+ * 2025
16
+ */
17
+ realKJND: string;
18
+ /**
19
+ * 折旧期间
20
+ * 1月
21
+ */
22
+ realKJQJ: string;
23
+
24
+ /** 启用年度 */
25
+ usesKJND: string;
26
+
27
+ /** 启用期间 */
28
+ usesKJQJ: string;
29
+
30
+ /**
31
+ * 是否折旧单位
32
+ */
33
+ usesZczj: number;
34
+
35
+ /**
36
+ * 右上角当前年度
37
+ */
38
+ currentKJND: string;
39
+
40
+ /**
41
+ * 右上角当前期间
42
+ */
43
+ currentKJQJ: string;
44
+
45
+ /**
46
+ * 右上角当前年度期间
47
+ */
48
+ currentKJNDKJQJ: string;
49
+ }
@@ -1,8 +1,8 @@
1
- import { ISessionUserInfo, IUserState, TSessionUserInfo, TUserState } from "./userState";
2
- import { ITabsState, TTabsState } from "./tabsState";
3
- import { IViewState, TViewState } from "./viewState";
4
- import { IMenuState, TMenuState } from "./menuState";
5
- import { IDateState } from "./dateState";
6
-
7
- export { TMenuState, TSessionUserInfo, TTabsState, TUserState, TViewState };
8
- export type { IDateState, IMenuState, ISessionUserInfo, ITabsState, IUserState, IViewState };
1
+ import { ISessionUserInfo, IUserState, TSessionUserInfo, TUserState } from "./userState";
2
+ import { ITabsState, TTabsState } from "./tabsState";
3
+ import { IViewState, TViewState } from "./viewState";
4
+ import { IMenuState, TMenuState } from "./menuState";
5
+ import { IDateState } from "./dateState";
6
+
7
+ export { TMenuState, TSessionUserInfo, TTabsState, TUserState, TViewState };
8
+ export type { IDateState, IMenuState, ISessionUserInfo, ITabsState, IUserState, IViewState };
@@ -1,9 +1,9 @@
1
- import { IViewCtrlResponse } from "../wtui";
2
-
3
- export interface IMenuState {
4
- menuList: IViewCtrlResponse[];
5
- }
6
-
7
- export class TMenuState implements IMenuState {
8
- menuList: IViewCtrlResponse[] = [];
9
- }
1
+ import { IViewCtrlResponse } from "../wtui";
2
+
3
+ export interface IMenuState {
4
+ menuList: IViewCtrlResponse[];
5
+ }
6
+
7
+ export class TMenuState implements IMenuState {
8
+ menuList: IViewCtrlResponse[] = [];
9
+ }
@@ -1,13 +1,13 @@
1
- import { type ITab, TTab } from "../app/ITab";
2
-
3
- export interface ITabsState {
4
- allTabs: ITab[];
5
- cachedTabs: ITab[];
6
- currentTab: ITab;
7
- }
8
-
9
- export class TTabsState implements ITabsState {
10
- allTabs: ITab[] = [];
11
- cachedTabs: ITab[] = [];
12
- currentTab: ITab = new TTab();
13
- }
1
+ import { type ITab, TTab } from "../app/ITab";
2
+
3
+ export interface ITabsState {
4
+ allTabs: ITab[];
5
+ cachedTabs: ITab[];
6
+ currentTab: ITab;
7
+ }
8
+
9
+ export class TTabsState implements ITabsState {
10
+ allTabs: ITab[] = [];
11
+ cachedTabs: ITab[] = [];
12
+ currentTab: ITab = new TTab();
13
+ }
@@ -1,50 +1,50 @@
1
- import type { IUnitResponse, IUserResponse } from "../core";
2
-
3
- export interface IUserState {
4
- usrtoken: string;
5
- dbConfig: string;
6
- whobuild: number;
7
- userIndx: number;
8
- unitMain: number;
9
- deptMain: number;
10
- sourceNd: number;
11
- entityID: string;
12
- coverURL: string;
13
- user: IUserResponse | undefined;
14
- unit: IUnitResponse | undefined;
15
- isLogin: boolean;
16
- avatar: string;
17
- /** 全局虚拟字段,用以在资产卡片关联区中,获取重新选择过的单位unitMain */
18
- tempUnitMain: number;
19
- }
20
-
21
- export class TUserState implements IUserState {
22
- usrtoken: string = "";
23
- dbConfig: string = "";
24
- whobuild: number = 0;
25
- userIndx: number = 0;
26
- unitMain: number = 0;
27
- deptMain: number = 0;
28
- sourceNd: number = 0;
29
- entityID: string = "";
30
- coverURL: string = "";
31
- unit: IUnitResponse | undefined = undefined;
32
- user: IUserResponse | undefined = undefined;
33
- isLogin: boolean = false;
34
- avatar: string = "";
35
- tempUnitMain: number = 0;
36
- }
37
-
38
- export interface ISessionUserInfo {
39
- usrtoken: string;
40
- dbConfig: string;
41
- whobuild: number;
42
- userIndx: number;
43
- }
44
-
45
- export class TSessionUserInfo implements ISessionUserInfo {
46
- usrtoken: string = "";
47
- dbConfig: string = "";
48
- whobuild: number = 0;
49
- userIndx: number = 0;
50
- }
1
+ import type { IUnitResponse, IUserResponse } from "../core";
2
+
3
+ export interface IUserState {
4
+ usrtoken: string;
5
+ dbConfig: string;
6
+ whobuild: number;
7
+ userIndx: number;
8
+ unitMain: number;
9
+ deptMain: number;
10
+ sourceNd: number;
11
+ entityID: string;
12
+ coverURL: string;
13
+ user: IUserResponse | undefined;
14
+ unit: IUnitResponse | undefined;
15
+ isLogin: boolean;
16
+ avatar: string;
17
+ /** 全局虚拟字段,用以在资产卡片关联区中,获取重新选择过的单位unitMain */
18
+ tempUnitMain: number;
19
+ }
20
+
21
+ export class TUserState implements IUserState {
22
+ usrtoken: string = "";
23
+ dbConfig: string = "";
24
+ whobuild: number = 0;
25
+ userIndx: number = 0;
26
+ unitMain: number = 0;
27
+ deptMain: number = 0;
28
+ sourceNd: number = 0;
29
+ entityID: string = "";
30
+ coverURL: string = "";
31
+ unit: IUnitResponse | undefined = undefined;
32
+ user: IUserResponse | undefined = undefined;
33
+ isLogin: boolean = false;
34
+ avatar: string = "";
35
+ tempUnitMain: number = 0;
36
+ }
37
+
38
+ export interface ISessionUserInfo {
39
+ usrtoken: string;
40
+ dbConfig: string;
41
+ whobuild: number;
42
+ userIndx: number;
43
+ }
44
+
45
+ export class TSessionUserInfo implements ISessionUserInfo {
46
+ usrtoken: string = "";
47
+ dbConfig: string = "";
48
+ whobuild: number = 0;
49
+ userIndx: number = 0;
50
+ }
@@ -1,9 +1,9 @@
1
- import type { IViewCtrlResponse } from "../wtui/IViewCtrlResponse";
2
-
3
- export interface IViewState {
4
- view: IViewCtrlResponse[];
5
- }
6
-
7
- export class TViewState implements IViewState {
8
- view: IViewCtrlResponse[] = [];
9
- }
1
+ import type { IViewCtrlResponse } from "../wtui/IViewCtrlResponse";
2
+
3
+ export interface IViewState {
4
+ view: IViewCtrlResponse[];
5
+ }
6
+
7
+ export class TViewState implements IViewState {
8
+ view: IViewCtrlResponse[] = [];
9
+ }