@ningboyz/types 1.3.133 → 1.3.135
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.
- package/.prettierrc +15 -15
- package/eslint.config.js +29 -29
- package/package.json +30 -30
- package/readme.md +1 -1
- package/src/antv/IAntvCnfgResponse.ts +69 -69
- package/src/antv/IAntvMainResponse.ts +67 -67
- package/src/antv/IAntvParaResponse.ts +49 -49
- package/src/antv/index.ts +5 -5
- package/src/app/ITab.ts +57 -57
- package/src/app/IUserData.ts +7 -7
- package/src/app/index.ts +4 -4
- package/src/axios/IAxiosConfig.ts +9 -9
- package/src/axios/index.ts +3 -3
- package/src/base/IBaseResponse.ts +25 -25
- package/src/bill/IBillCnfgResponse.ts +113 -113
- package/src/bill/IBillMainResponse.ts +328 -328
- package/src/bill/index.ts +4 -4
- package/src/card/ICardBookResponse.ts +123 -123
- package/src/card/ICardDataResponse.ts +349 -349
- package/src/card/ICardFromResponse.ts +68 -68
- package/src/card/ICardFwczResponse.ts +195 -195
- package/src/card/ICardHyhbBillResponse.ts +95 -95
- package/src/card/ICardHyhbResponse.ts +85 -85
- package/src/card/ICardMainFindResponse.ts +95 -95
- package/src/card/ICardMainResponse.ts +775 -775
- package/src/card/ICardRoomResponse.ts +176 -176
- package/src/card/IGblbResponse.ts +138 -138
- package/src/card/IP4pzResponse.ts +68 -68
- package/src/card/ISyszclbgblbResponse.ts +67 -67
- package/src/card/ISyszclbgblbResponse.ts~ +67 -0
- package/src/card/IZcbdResponse.ts +205 -205
- package/src/card/IZccfResponse.ts +232 -232
- package/src/card/IZcczResponse.ts +222 -222
- package/src/card/IZcdbResponse.ts +237 -237
- package/src/card/IZclbResponse.ts +138 -138
- package/src/card/IZclbgblbResponse.ts~ +68 -0
- package/src/card/IZczjPropResponse.ts +94 -94
- package/src/card/IZczjResponse.ts +121 -121
- package/src/card/index.ts +62 -62
- package/src/cggz/ICggzBillResponse.ts +69 -69
- package/src/cggz/ICggzMainResponse.ts +188 -188
- package/src/cggz/index.ts +4 -4
- package/src/clas/IClasAttrResponse.ts +69 -69
- package/src/clas/IClasMainResponse.ts +67 -67
- package/src/conf/ICnfgMainResponse.ts +83 -83
- package/src/conf/IConfig.ts +75 -75
- package/src/conf/index.ts +3 -3
- package/src/const/const_align.ts +15 -15
- package/src/const/const_audit.ts +34 -34
- package/src/const/const_bizCode.ts +3 -3
- package/src/const/const_card.ts +16 -16
- package/src/const/const_clas.ts +72 -72
- package/src/const/const_cnfg.ts +92 -92
- package/src/const/const_data_from.ts +14 -14
- package/src/const/const_elem.ts +99 -99
- package/src/const/const_flow.ts +7 -7
- package/src/const/const_gams_mode.ts +5 -5
- package/src/const/const_glpz_mode.ts +2 -2
- package/src/const/const_gzlm.ts +39 -39
- package/src/const/const_hznj.ts +4 -4
- package/src/const/const_hznk.ts +33 -33
- package/src/const/const_hznt.ts +71 -71
- package/src/const/const_module.ts +112 -112
- package/src/const/const_myoa.ts +90 -90
- package/src/const/const_p4pt.ts +8 -8
- package/src/const/const_part.ts +25 -25
- package/src/const/const_stat.ts +400 -400
- package/src/const/const_take_type.ts +9 -9
- package/src/const/const_todo.ts +28 -28
- package/src/const/const_travel.ts +8 -8
- package/src/const/const_type.ts +66 -66
- package/src/const/const_type_name.ts +278 -278
- package/src/const/const_user.ts +2 -2
- package/src/const/const_user_acno.ts +6 -6
- package/src/const/const_vary.ts +1 -1
- package/src/const/const_wldy_item_type.ts +4 -4
- package/src/const/const_wtui_item_type.ts +24 -24
- package/src/const/const_wtui_item_type.ts~ +20 -0
- package/src/const/const_yiha.ts +32 -32
- package/src/const/const_zbzd.ts +10 -10
- package/src/const/index.ts +67 -67
- package/src/core/ICoreValidResponse.ts +21 -21
- package/src/core/IDeptLiteResponse.ts +43 -43
- package/src/core/IDeptResponse.ts +176 -176
- package/src/core/IDeptResponse.ts~ +162 -0
- package/src/core/IDictResponse.ts +183 -183
- package/src/core/IDictResponseConf.ts +36 -36
- package/src/core/IDictResponseDictPara.ts +73 -73
- package/src/core/IEnvrResponse.ts +95 -95
- package/src/core/ILaidResponse.ts +161 -161
- package/src/core/IPartResponse.ts +120 -120
- package/src/core/IPathResponse.ts +138 -138
- package/src/core/ISourceItem.ts +55 -55
- package/src/core/IStypResponse.ts +45 -45
- package/src/core/ISysClasResponse.ts +57 -57
- package/src/core/ISysMenuWithCoreResponse.ts +154 -154
- package/src/core/ISysMenuWithCoreResponseMenuPara.ts +3 -3
- package/src/core/ISysMenuWithExpdResponse.ts +320 -320
- package/src/core/ISysTravelResponse.ts +133 -133
- package/src/core/ITypeResponse.ts +127 -127
- package/src/core/IUnitBindResponse.ts +62 -62
- package/src/core/IUnitResponse.ts +266 -266
- package/src/core/IUnitResponseElemPara.ts +11 -11
- package/src/core/IUserAcnoResponse.ts +182 -182
- package/src/core/IUserFindResponse.ts +140 -140
- package/src/core/IUserLiteResponse.ts +158 -158
- package/src/core/IUserPartResponse.ts +170 -170
- package/src/core/IUserResponse.ts +423 -423
- package/src/core/IUserSzdwResponse.ts +165 -165
- package/src/core/index.ts +77 -77
- package/src/cron/ICronMainResponse.ts +174 -174
- package/src/cron/index.ts +3 -3
- package/src/custom/IValidReponse.ts +11 -11
- package/src/custom/index.ts +3 -3
- package/src/decorators/DConfigManager.ts +23 -23
- package/src/decorators/DConfigProperty.ts +7 -7
- package/src/decorators/IConfigProperty.ts +32 -32
- package/src/decorators/index.ts +4 -4
- package/src/elem/IElemDataResponse.ts +101 -101
- package/src/elem/IElemElemResponse.ts +102 -102
- package/src/elem/ISysElemResponse.ts +51 -51
- package/src/elem/index.ts +4 -4
- package/src/enums/btnMode.ts +143 -143
- package/src/enums/cardMode.ts +28 -28
- package/src/enums/doneMode.ts +8 -8
- package/src/enums/editMode.ts +22 -22
- package/src/enums/emitterType.ts +6 -6
- package/src/enums/formType.ts +10 -10
- package/src/enums/index.ts +13 -13
- package/src/enums/storeId.ts +13 -13
- package/src/enums/usesStat.ts +14 -14
- package/src/enums/viewMode.ts +7 -7
- package/src/enums/whatDone.ts +30 -30
- package/src/expd/IExpdBAXQResponse.ts +61 -61
- package/src/expd/IExpdCallResponse.ts +57 -57
- package/src/expd/IExpdCardResponse.ts +102 -102
- package/src/expd/IExpdCashResponse.ts +75 -75
- package/src/expd/IExpdHYHBResponse.ts +53 -53
- package/src/expd/IExpdHYMXResponse.ts +61 -61
- package/src/expd/IExpdLfmxResponse.ts +56 -56
- package/src/expd/IExpdMainResponse.ts +552 -552
- package/src/expd/IExpdP2pzResponse.ts +59 -59
- package/src/expd/IExpdP5pzResponse.ts +57 -57
- package/src/expd/IExpdSZMXResponse.ts +66 -66
- package/src/expd/IViewLockResponse.ts +63 -63
- package/src/expd/index.ts +36 -36
- package/src/flow/IFlowCnfgResponse.ts +69 -69
- package/src/flow/IFlowDataResponse.ts +193 -193
- package/src/flow/IFlowDutyNodeParaConv.ts +7 -7
- package/src/flow/IFlowDutyResponse.ts +85 -85
- package/src/flow/IFlowMainResponse.ts +126 -126
- package/src/flow/IFlowNodeResponse.ts +473 -473
- package/src/flow/IFlowTypeResponse.ts +3 -3
- package/src/flow/IFlowUservoidResponse.ts +35 -35
- package/src/flow/IFlowVoidResponse.ts +73 -73
- package/src/flow/index.ts +27 -27
- package/src/gams/IGamsBillResponse.ts +348 -348
- package/src/gams/IGamsCnfgResponse.ts +79 -79
- package/src/gams/IGamsEachResponse.ts +67 -67
- package/src/gams/IGamsItemResponse.ts +109 -109
- package/src/gams/IGamsK0kmResponse.ts +97 -97
- package/src/gams/IGamsK8kmResponse.ts +158 -158
- package/src/gams/IGamsMainResponse.ts +223 -223
- package/src/gams/IGamsTypeResponse.ts +113 -113
- package/src/gams/IGamsWtdwResponse.ts +62 -62
- package/src/gams/index.ts +27 -27
- package/src/gzjg/IGzjgBodyLockResponse.ts +65 -65
- package/src/gzjg/IGzjgGzlmLandResponse.ts +88 -88
- package/src/gzjg/IGzjgGzlmResponse.ts +193 -193
- package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +25 -25
- package/src/gzjg/IGzjgGzlmWithResponse.ts +88 -88
- package/src/gzjg/IGzjgMainResponse.ts +240 -240
- package/src/gzjg/IGzjgMainResponseGzjgPara.ts +31 -31
- package/src/gzjg/IGzjgMainResponseWithYZPZ.ts +41 -41
- package/src/gzjg/IGzjgQzgsResponse.ts +55 -55
- package/src/gzjg/index.ts +27 -27
- package/src/gztb/IGztbMainResponse.ts +110 -110
- package/src/gztb/index.ts +3 -3
- package/src/gzzd/ICellEditResponse.ts +47 -47
- package/src/gzzd/IGzzdBillResponse.ts +160 -160
- package/src/gzzd/IGzzdLineResponse.ts +19 -19
- package/src/gzzd/IGzzdMainResponse.ts +218 -218
- package/src/gzzd/index.ts +6 -6
- package/src/hzcb/IHzcbMainResponse.ts +309 -309
- package/src/hzcb/IHzcbNdjhBillResponse.ts +85 -85
- package/src/hzcb/IHzcbNdjhResponse.ts +188 -188
- package/src/hzcb/IHzcbNodeResponse.ts +64 -64
- package/src/hzcb/IHzcbRypqResponse.ts +258 -258
- package/src/hzcb/IHzcbTdssResponse.ts +200 -200
- package/src/hzcb/IHzcbXmssBillResponse.ts +51 -51
- package/src/hzcb/IHzcbXmssResponse.ts +188 -188
- package/src/hzcb/IHzcbXmtzBillResponse.ts +105 -105
- package/src/hzcb/IHzcbXmtzResponse.ts +195 -195
- package/src/hzcb/IHzcbXmykResponse.ts +197 -197
- package/src/hzcb/IHzcbZjlyResponse.ts +73 -73
- package/src/hzcb/index.ts +39 -39
- package/src/hznj/IHznjBaseItemResponse.ts +95 -95
- package/src/hznj/IHznjBasePathResponse.ts +53 -53
- package/src/hznj/IHznjBaseResponse.ts +152 -152
- package/src/hznj/IHznjBillResponse.ts +90 -90
- package/src/hznj/IHznjDzqrResponse.ts +194 -194
- package/src/hznj/IHznjMainResponse.ts +195 -195
- package/src/hznj/IHznjNotiBillResponse.ts +228 -228
- package/src/hznj/IHznjNotiResponse.ts +212 -212
- package/src/hznj/IHznjRwqxResponse.ts +187 -187
- package/src/hznj/IHznjXmjjItemResponse.ts +85 -85
- package/src/hznj/IHznjXmjjResponse.ts +192 -192
- package/src/hznj/IHznjXmsyCjdwResponse.ts +89 -89
- package/src/hznj/IHznjXmsyItemResponse.ts +84 -84
- package/src/hznj/IHznjXmsyResponse.ts +297 -297
- package/src/hznj/IHznjXmsyWtdwResponse.ts +158 -158
- package/src/hznj/IHznjZbczBillResponse.ts +63 -63
- package/src/hznj/IHznjZbczItemResponse.ts +91 -91
- package/src/hznj/IHznjZbczResponse.ts +183 -183
- package/src/hznj/IHznjZbjgBillResponse.ts +93 -93
- package/src/hznj/IHznjZbjgItemResponse.ts +151 -151
- package/src/hznj/IHznjZbjgResponse.ts +189 -189
- package/src/hznj/IHznjZblrBillResponse.ts +65 -65
- package/src/hznj/IHznjZblrItemResponse.ts +100 -100
- package/src/hznj/IHznjZblrResponse.ts +183 -183
- package/src/hznj/IHznjZblyBillResponse.ts +66 -66
- package/src/hznj/IHznjZblyItemResponse.ts +103 -103
- package/src/hznj/IHznjZblyResponse.ts +198 -198
- package/src/hznj/IHznjZbthBillResponse.ts +63 -63
- package/src/hznj/IHznjZbthItemResponse.ts +97 -97
- package/src/hznj/IHznjZbthResponse.ts +187 -187
- package/src/hznj/index.ts +105 -105
- package/src/hznk/IHznkBaseNbyhResponse.ts +49 -49
- package/src/hznk/IHznkBasePathResponse.ts +47 -47
- package/src/hznk/IHznkBaseResponse.ts +217 -217
- package/src/hznk/IHznkBaseWbdwResponse.ts +55 -55
- package/src/hznk/IHznkBaseWbyhResponse.ts +49 -49
- package/src/hznk/IHznkDataBillResponse.ts +72 -72
- package/src/hznk/IHznkDataEachResponse.ts +49 -49
- package/src/hznk/IHznkDataItemResponse.ts +67 -67
- package/src/hznk/IHznkDataNbyhResponse.ts +56 -56
- package/src/hznk/IHznkDataPathResponse.ts +47 -47
- package/src/hznk/IHznkDataResponse.ts +294 -294
- package/src/hznk/IHznkFydwBillResponse.ts +93 -93
- package/src/hznk/IHznkFydwDeptResponse.ts +49 -49
- package/src/hznk/IHznkFydwFromResponse.ts +47 -47
- package/src/hznk/IHznkFydwItemResponse.ts +71 -71
- package/src/hznk/IHznkFydwPathResponse.ts +47 -47
- package/src/hznk/IHznkFydwResponse.ts +185 -185
- package/src/hznk/IHznkFydwWbdwResponse.ts +79 -79
- package/src/hznk/IHznkFytqBillResponse.ts +51 -51
- package/src/hznk/IHznkFytqResponse.ts +184 -184
- package/src/hznk/IHznkMainNbyhResponse.ts +49 -49
- package/src/hznk/IHznkMainResponse.ts +239 -239
- package/src/hznk/IHznkMainRwzbResponse.ts +57 -57
- package/src/hznk/IHznkMainWbdwResponse.ts +54 -54
- package/src/hznk/IHznkMainWbyhResponse.ts +49 -49
- package/src/hznk/IHznkNoteFromResponse.ts +47 -47
- package/src/hznk/IHznkNotePathResponse.ts +47 -47
- package/src/hznk/IHznkNoteResponse.ts +159 -159
- package/src/hznk/IHznkXmysItemResponse.ts +57 -57
- package/src/hznk/IHznkXmysResponse.ts +179 -179
- package/src/hznk/IHznkXmysYsxqResponse.ts +51 -51
- package/src/hznk/IHznkYssqResponse.ts +170 -170
- package/src/hznk/IHznkYssqYsxqResponse.ts +51 -51
- package/src/hznk/index.ts +104 -104
- package/src/index.ts +107 -107
- package/src/japz/IJapzCnfgResponse.ts +73 -73
- package/src/japz/IJapzItemResponse.ts +75 -75
- package/src/japz/IJapzK0kmResponse.ts +64 -64
- package/src/japz/IJapzK7kmResponse.ts +64 -64
- package/src/japz/IJapzK8kmResponse.ts +71 -71
- package/src/japz/IJapzK9kmResponse.ts +67 -67
- package/src/japz/index.ts +21 -21
- package/src/japz/readme.md +8 -8
- package/src/load/ILoadCellResponse.ts +53 -53
- package/src/load/ILoadDataResponse.ts +54 -54
- package/src/load/ILoadLineResponse.ts +11 -11
- package/src/load/ILoadMainResponse.ts +116 -116
- package/src/load/ILoadZydwResponse.ts +57 -57
- package/src/load/IYqdwResponse.ts +65 -65
- package/src/load/IYqkbResponse.ts +65 -65
- package/src/load/IYqkmResponse.ts +51 -51
- package/src/load/index.ts +27 -27
- package/src/micro/appData.ts +29 -29
- package/src/micro/appName.ts +8 -8
- package/src/micro/appTab.ts +15 -15
- package/src/micro/index.ts +6 -6
- package/src/myoa/IMyoaCashResponse.ts +107 -107
- package/src/myoa/IMyoaMainResponse.ts +508 -508
- package/src/myoa/IMyoaPGDWResponse.ts +49 -49
- package/src/myoa/IMyoaRoomResponse.ts +99 -99
- package/src/myoa/index.ts +6 -6
- package/src/noti/INotiMainResponse.ts +396 -396
- package/src/noti/index.ts +3 -3
- package/src/pzpt/IPzptCnfgMoreResponse.ts +59 -59
- package/src/pzpt/IPzptCnfgResponse.ts +171 -171
- package/src/pzpt/IPzptGlfaResponse.ts +84 -84
- package/src/pzpt/IPzptGlkmResponse.ts +98 -98
- package/src/pzpt/IPzptGlkmfdResponse.ts +59 -59
- package/src/pzpt/IPzptGlkmzdResponse.ts +59 -59
- package/src/pzpt/IPzptItemResponse.ts +104 -104
- package/src/pzpt/IPzptK0kmResponse.ts +69 -69
- package/src/pzpt/IPzptK8kmResponse.ts +183 -183
- package/src/pzpt/IPzptKbkmResponse.ts +139 -139
- package/src/pzpt/IPzptPzpzDataResponse.ts +79 -79
- package/src/pzpt/IPzptPzpzP6pzResponse.ts +138 -138
- package/src/pzpt/IPzptPzpzResponse.ts +116 -116
- package/src/pzpt/IPzptTypeResponse.ts +88 -88
- package/src/pzpt/IPzptUkkmResponse.ts +87 -87
- package/src/pzpt/index.ts +42 -42
- package/src/response/IResponse.ts +48 -48
- package/src/response/index.ts +2 -2
- package/src/store/dateState.ts +49 -49
- package/src/store/index.ts +8 -8
- package/src/store/menuState.ts +9 -9
- package/src/store/tabsState.ts +13 -13
- package/src/store/userState.ts +50 -50
- package/src/store/viewState.ts +9 -9
- package/src/tabl/ITablDataResponse.ts +72 -72
- package/src/tabl/ITablLineResponse.ts +13 -13
- package/src/tabl/ITablMainResponse.ts +187 -187
- package/src/tabl/index.ts +5 -5
- package/src/take/ITakeBillResponse.ts +144 -144
- package/src/take/ITakeMainResponse.ts +205 -205
- package/src/take/index.ts +4 -4
- package/src/talk/ITalkMainResponse.ts +95 -95
- package/src/task/ITaskMainResponse.ts +121 -121
- package/src/task/index.ts +3 -3
- package/src/vary/IVaryBillResponse.ts +61 -61
- package/src/vary/IVaryMainResponse.ts +184 -184
- package/src/vary/index.ts +4 -4
- package/src/wldy/IWldyDataResponse.ts +70 -70
- package/src/wldy/IWldyItemResponse.ts +74 -74
- package/src/wldy/IWldyPageParaResponse.ts +42 -42
- package/src/wldy/IWldyPageResponse.ts +104 -104
- package/src/wldy/index.ts +18 -18
- package/src/wlzf/IWlzfEnvrResponse.ts +116 -116
- package/src/wlzf/index.ts +3 -3
- package/src/wtui/ITodoResponse.ts +20 -20
- package/src/wtui/IViewCtrlResponse.ts +135 -135
- package/src/wtui/IWtuiColWidthResponse.ts +53 -53
- package/src/wtui/IWtuiFormParaResponse.ts +17 -17
- package/src/wtui/IWtuiFormResponse.ts +92 -92
- package/src/wtui/IWtuiItemCalc.ts +36 -36
- package/src/wtui/IWtuiItemEffect.ts +43 -43
- package/src/wtui/IWtuiItemParaResponse.ts +59 -59
- package/src/wtui/IWtuiItemResponse.ts +116 -116
- package/src/wtui/IWtuiMainResponse.ts +114 -114
- package/src/wtui/IWtuiNodeResponse.ts +79 -79
- package/src/wtui/IWtuiOperateResponse.ts +80 -80
- package/src/wtui/IWtuiRootResponse.ts +62 -62
- package/src/wtui/IWtuiTodoResponse.ts +99 -99
- package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -7
- package/src/wtui/IWtuiTodoResponseWithPara.ts +36 -36
- package/src/wtui/IWtuiUserCnfgResponse.ts +130 -130
- package/src/wtui/IWtuiViewResponse.ts +91 -91
- package/src/wtui/IWtuiZoneResponse.ts +61 -61
- package/src/wtui/index.ts +57 -57
- package/src/wzpz/IWzWithParaResponse.ts +147 -147
- package/src/wzpz/IWzpzCnfgResponse.ts +106 -106
- package/src/wzpz/IWzpzItemResponse.ts +78 -78
- package/src/wzpz/IWzpzK0kmResponse.ts +94 -94
- package/src/wzpz/IWzpzK8kmResponse.ts +141 -141
- package/src/wzpz/IWzpzKbkmResponse.ts +124 -124
- package/src/wzpz/IWzpzPckmResponse.ts +49 -49
- package/src/wzpz/IWzpzTypeResponse.ts +87 -87
- package/src/wzpz/index.ts +27 -27
- package/src/yzcb/ICbjgMainResponse.ts +133 -133
- package/src/yzcb/IYzcbBillResponse.ts +49 -49
- package/src/yzcb/IYzcbMainResponse.ts +189 -189
- package/src/yzcb/index.ts +5 -5
- package/src/yzcg/IYzcgBillResponse.ts +72 -72
- package/src/yzcg/IYzcgGshdResponse.ts +59 -59
- package/src/yzcg/IYzcgLockResponse.ts +41 -41
- package/src/yzcg/IYzcgMainResponse.ts +308 -308
- package/src/yzcg/index.ts +6 -6
- package/src/yzcq/IYzcqMainResponse.ts +120 -120
- package/src/yzcq/index.ts +3 -3
- package/src/yzht/IYzhtBillResponse.ts +188 -188
- package/src/yzht/IYzhtDzmxResponse.ts +57 -57
- package/src/yzht/IYzhtFymxResponse.ts +99 -99
- package/src/yzht/IYzhtGlfdResponse.ts +53 -53
- package/src/yzht/IYzhtGlpzResponse.ts +52 -52
- package/src/yzht/IYzhtGlzdResponse.ts +56 -56
- package/src/yzht/IYzhtMainResponse.ts +705 -705
- package/src/yzht/index.ts +24 -24
- package/src/yzpz/IYzpzCnfgResponse.ts +95 -95
- package/src/yzpz/IYzpzItemResponse.ts +83 -83
- package/src/yzpz/IYzpzK0kmResponse.ts +73 -73
- package/src/yzpz/IYzpzK8kmResponse.ts +162 -162
- package/src/yzpz/IYzpzKbkmResponse.ts +86 -86
- package/src/yzpz/IYzpzTypeResponse.ts +96 -96
- package/src/yzpz/IYzpzTypeResponseConf.ts +36 -36
- package/src/yzpz/index.ts +24 -24
- package/src/zbhd/IZbhdMainResponese.ts +246 -246
- package/src/zbhd/IZbzdCnfgResponse.ts +84 -84
- package/src/zbhd/index.ts +4 -4
- package/src/zbzd/IZbzbZbflResponse.ts +241 -241
- package/src/zbzd/IZbzdMainResponse.ts +351 -351
- package/src/zbzd/index.ts +4 -4
- package/src/zfht/IZfhtResponse.ts +103 -103
- package/src/zfht/index.ts +3 -3
- package/src/zfsq/IZfsqResponse.ts +193 -193
- package/src/zfsq/index.ts +3 -3
- package/tsconfig.json +22 -22
- package/vite.config.ts +33 -33
- package/pnpm-lock.yaml +0 -966
|
@@ -1,24 +1,24 @@
|
|
|
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
|
-
export const CONST_ITEM_TYPE_TO_单选 = 5; // #单选
|
|
7
|
-
export const CONST_VALIDATE_TO_弹窗 = 1001; //弹窗
|
|
8
|
-
export const CONST_MODAL_DOUBLE_TABLE_弹窗 = 1002; //表格弹窗
|
|
9
|
-
export const CONST_IMAGE_UPLOAD_图片 = 1003; //图片上传
|
|
10
|
-
|
|
11
|
-
export const CONST_VALIDATE_TO_手机号码 = 0; // #整数
|
|
12
|
-
export const CONST_VALIDATE_TO_邮箱 = 1; // #文本
|
|
13
|
-
export const CONST_VALIDATE_TO_身份证 = 2; // #备注
|
|
14
|
-
export const CONST_VALIDATE_TO_自定义 = 3;
|
|
15
|
-
|
|
16
|
-
export const CONST_CLEARABLE_TO_不清空 = 0; //不清空
|
|
17
|
-
export const CONST_CLEARABLE_TO_清空 = 1; //清空
|
|
18
|
-
export const CONST_CLEARABLE_TO_询问 = 2; //询问
|
|
19
|
-
|
|
20
|
-
export const CONST_OPERATOR_TO_大于 = 0; //大于
|
|
21
|
-
export const CONST_OPERATOR_TO_等于 = 1; //等于
|
|
22
|
-
export const CONST_OPERATOR_TO_小于 = 2; //小于
|
|
23
|
-
export const CONST_OPERATOR_TO_大于等于 = 3; //大于等于
|
|
24
|
-
export const CONST_OPERATOR_TO_小于等于 = 4; //小于等于
|
|
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
|
+
export const CONST_ITEM_TYPE_TO_单选 = 5; // #单选
|
|
7
|
+
export const CONST_VALIDATE_TO_弹窗 = 1001; //弹窗
|
|
8
|
+
export const CONST_MODAL_DOUBLE_TABLE_弹窗 = 1002; //表格弹窗
|
|
9
|
+
export const CONST_IMAGE_UPLOAD_图片 = 1003; //图片上传
|
|
10
|
+
|
|
11
|
+
export const CONST_VALIDATE_TO_手机号码 = 0; // #整数
|
|
12
|
+
export const CONST_VALIDATE_TO_邮箱 = 1; // #文本
|
|
13
|
+
export const CONST_VALIDATE_TO_身份证 = 2; // #备注
|
|
14
|
+
export const CONST_VALIDATE_TO_自定义 = 3;
|
|
15
|
+
|
|
16
|
+
export const CONST_CLEARABLE_TO_不清空 = 0; //不清空
|
|
17
|
+
export const CONST_CLEARABLE_TO_清空 = 1; //清空
|
|
18
|
+
export const CONST_CLEARABLE_TO_询问 = 2; //询问
|
|
19
|
+
|
|
20
|
+
export const CONST_OPERATOR_TO_大于 = 0; //大于
|
|
21
|
+
export const CONST_OPERATOR_TO_等于 = 1; //等于
|
|
22
|
+
export const CONST_OPERATOR_TO_小于 = 2; //小于
|
|
23
|
+
export const CONST_OPERATOR_TO_大于等于 = 3; //大于等于
|
|
24
|
+
export const CONST_OPERATOR_TO_小于等于 = 4; //小于等于
|
|
@@ -0,0 +1,20 @@
|
|
|
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; //小于等于
|
package/src/const/const_yiha.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export const CONST_WLZF_TYIHA_NBYH_YIHA_CODE = "NBYH";
|
|
2
|
-
export const CONST_WLZF_TYIHA_NBYH_YIHA_NAME = "宁波银行";
|
|
3
|
-
|
|
4
|
-
export const CONST_WLZF_TYIHA_YZYH_YIHA_CODE = "YZYH";
|
|
5
|
-
export const CONST_WLZF_TYIHA_YZYH_YIHA_NAME = "鄞州银行";
|
|
6
|
-
|
|
7
|
-
export const CONST_WLZF_TYIHA_PFYH_YIHA_CODE = "PFYH";
|
|
8
|
-
export const CONST_WLZF_TYIHA_PFYH_YIHA_NAME = "浦发银行";
|
|
9
|
-
|
|
10
|
-
export const CONST_WLZF_TYIHA_NYYH_YIHA_CODE = "NYYH";
|
|
11
|
-
export const CONST_WLZF_TYIHA_NYYH_YIHA_NAME = "农业银行";
|
|
12
|
-
|
|
13
|
-
export const CONST_WLZF_TYIHA_GSYH_YIHA_CODE = "GSYH";
|
|
14
|
-
export const CONST_WLZF_TYIHA_GSYH_YIHA_NAME = "工商银行";
|
|
15
|
-
|
|
16
|
-
export const CONST_WLZF_TYIHA_ZGYH_YIHA_CODE = "ZGYH";
|
|
17
|
-
export const CONST_WLZF_TYIHA_ZGYH_YIHA_NAME = "中国银行";
|
|
18
|
-
|
|
19
|
-
export const CONST_WLZF_TYIHA_JSYH_YIHA_CODE = "JSYH";
|
|
20
|
-
export const CONST_WLZF_TYIHA_JSYH_YIHA_NAME = "建设银行";
|
|
21
|
-
|
|
22
|
-
export const CONST_WLZF_TYIHA_JTYH_YIHA_CODE = "JTYH";
|
|
23
|
-
export const CONST_WLZF_TYIHA_JTYH_YIHA_NAME = "交通银行";
|
|
24
|
-
|
|
25
|
-
export const CONST_WLZF_TYIHA_ZXYH_YIHA_CODE = "ZXYH";
|
|
26
|
-
export const CONST_WLZF_TYIHA_ZXYH_YIHA_NAME = "中信银行";
|
|
27
|
-
|
|
28
|
-
export const CONST_WLZF_TYIHA_ZJNX_YIHA_CODE = "ZJNX";
|
|
29
|
-
export const CONST_WLZF_TYIHA_ZJNX_YIHA_NAME = "农信联社";
|
|
30
|
-
|
|
31
|
-
export const CONST_WLZF_TYIHA_ZSYH_YIHA_CODE = "ZSYH";
|
|
32
|
-
export const CONST_WLZF_TYIHA_ZSYH_YIHA_NAME = "浙商银行";
|
|
1
|
+
export const CONST_WLZF_TYIHA_NBYH_YIHA_CODE = "NBYH";
|
|
2
|
+
export const CONST_WLZF_TYIHA_NBYH_YIHA_NAME = "宁波银行";
|
|
3
|
+
|
|
4
|
+
export const CONST_WLZF_TYIHA_YZYH_YIHA_CODE = "YZYH";
|
|
5
|
+
export const CONST_WLZF_TYIHA_YZYH_YIHA_NAME = "鄞州银行";
|
|
6
|
+
|
|
7
|
+
export const CONST_WLZF_TYIHA_PFYH_YIHA_CODE = "PFYH";
|
|
8
|
+
export const CONST_WLZF_TYIHA_PFYH_YIHA_NAME = "浦发银行";
|
|
9
|
+
|
|
10
|
+
export const CONST_WLZF_TYIHA_NYYH_YIHA_CODE = "NYYH";
|
|
11
|
+
export const CONST_WLZF_TYIHA_NYYH_YIHA_NAME = "农业银行";
|
|
12
|
+
|
|
13
|
+
export const CONST_WLZF_TYIHA_GSYH_YIHA_CODE = "GSYH";
|
|
14
|
+
export const CONST_WLZF_TYIHA_GSYH_YIHA_NAME = "工商银行";
|
|
15
|
+
|
|
16
|
+
export const CONST_WLZF_TYIHA_ZGYH_YIHA_CODE = "ZGYH";
|
|
17
|
+
export const CONST_WLZF_TYIHA_ZGYH_YIHA_NAME = "中国银行";
|
|
18
|
+
|
|
19
|
+
export const CONST_WLZF_TYIHA_JSYH_YIHA_CODE = "JSYH";
|
|
20
|
+
export const CONST_WLZF_TYIHA_JSYH_YIHA_NAME = "建设银行";
|
|
21
|
+
|
|
22
|
+
export const CONST_WLZF_TYIHA_JTYH_YIHA_CODE = "JTYH";
|
|
23
|
+
export const CONST_WLZF_TYIHA_JTYH_YIHA_NAME = "交通银行";
|
|
24
|
+
|
|
25
|
+
export const CONST_WLZF_TYIHA_ZXYH_YIHA_CODE = "ZXYH";
|
|
26
|
+
export const CONST_WLZF_TYIHA_ZXYH_YIHA_NAME = "中信银行";
|
|
27
|
+
|
|
28
|
+
export const CONST_WLZF_TYIHA_ZJNX_YIHA_CODE = "ZJNX";
|
|
29
|
+
export const CONST_WLZF_TYIHA_ZJNX_YIHA_NAME = "农信联社";
|
|
30
|
+
|
|
31
|
+
export const CONST_WLZF_TYIHA_ZSYH_YIHA_CODE = "ZSYH";
|
|
32
|
+
export const CONST_WLZF_TYIHA_ZSYH_YIHA_NAME = "浙商银行";
|
package/src/const/const_zbzd.ts
CHANGED
|
@@ -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;
|
package/src/const/index.ts
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
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 Hznj from "./const_hznj";
|
|
28
|
-
import * as GlpzMode from "./const_glpz_mode";
|
|
29
|
-
import * as UserAcnoDataType from "./const_user_acno";
|
|
30
|
-
import * as TabsStat from "./const_stat";
|
|
31
|
-
import * as Vary from "./const_vary";
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
Align,
|
|
35
|
-
Audit,
|
|
36
|
-
Card,
|
|
37
|
-
Clas,
|
|
38
|
-
Cnfg,
|
|
39
|
-
DataFrom,
|
|
40
|
-
Elem,
|
|
41
|
-
Flow,
|
|
42
|
-
GamsMode,
|
|
43
|
-
Gzlm,
|
|
44
|
-
Module,
|
|
45
|
-
Myoa,
|
|
46
|
-
Part,
|
|
47
|
-
Stat,
|
|
48
|
-
TakeType,
|
|
49
|
-
Todo,
|
|
50
|
-
Travel,
|
|
51
|
-
Type,
|
|
52
|
-
TypeName,
|
|
53
|
-
User,
|
|
54
|
-
WldyItemType,
|
|
55
|
-
WtuiItemType,
|
|
56
|
-
Yiha,
|
|
57
|
-
Zbzd,
|
|
58
|
-
GlpzMode,
|
|
59
|
-
UserAcnoDataType,
|
|
60
|
-
TabsStat,
|
|
61
|
-
Hznj,
|
|
62
|
-
Vary
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
|
|
66
|
-
export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
|
|
67
|
-
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 Hznj from "./const_hznj";
|
|
28
|
+
import * as GlpzMode from "./const_glpz_mode";
|
|
29
|
+
import * as UserAcnoDataType from "./const_user_acno";
|
|
30
|
+
import * as TabsStat from "./const_stat";
|
|
31
|
+
import * as Vary from "./const_vary";
|
|
32
|
+
|
|
33
|
+
export {
|
|
34
|
+
Align,
|
|
35
|
+
Audit,
|
|
36
|
+
Card,
|
|
37
|
+
Clas,
|
|
38
|
+
Cnfg,
|
|
39
|
+
DataFrom,
|
|
40
|
+
Elem,
|
|
41
|
+
Flow,
|
|
42
|
+
GamsMode,
|
|
43
|
+
Gzlm,
|
|
44
|
+
Module,
|
|
45
|
+
Myoa,
|
|
46
|
+
Part,
|
|
47
|
+
Stat,
|
|
48
|
+
TakeType,
|
|
49
|
+
Todo,
|
|
50
|
+
Travel,
|
|
51
|
+
Type,
|
|
52
|
+
TypeName,
|
|
53
|
+
User,
|
|
54
|
+
WldyItemType,
|
|
55
|
+
WtuiItemType,
|
|
56
|
+
Yiha,
|
|
57
|
+
Zbzd,
|
|
58
|
+
GlpzMode,
|
|
59
|
+
UserAcnoDataType,
|
|
60
|
+
TabsStat,
|
|
61
|
+
Hznj,
|
|
62
|
+
Vary
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
|
|
66
|
+
export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
|
|
67
|
+
export type MyoaModuleType = (typeof Myoa)[keyof typeof Myoa];
|
|
@@ -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
|
+
}
|