@ningboyz/types 1.0.112 → 1.0.113
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/index.ts +80 -80
- package/package.json +25 -25
- package/readme.md +1 -1
- package/src/antv/IAntvCnfgResponse.ts +69 -69
- package/src/antv/IAntvMainResponse.ts +67 -67
- package/src/antv/IAntvParaResponse.ts +48 -48
- package/src/antv/index.ts +5 -5
- package/src/app/ITab.ts +43 -43
- package/src/app/IUserData.ts +7 -7
- package/src/app/index.ts +4 -4
- package/src/base/IBaseResponse.ts +27 -27
- package/src/card/ICardMainFindResponse.ts +93 -93
- package/src/card/ICardMainResponse.ts +639 -639
- package/src/card/IGblbResponse.ts +133 -133
- package/src/card/IP4pzResponse.ts +68 -68
- package/src/card/ISyszclbgblbResponse.ts +67 -67
- 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/IZczjPropResponse.ts +94 -94
- package/src/card/IZczjResponse.ts +121 -121
- package/src/card/index.ts +41 -41
- 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 +33 -33
- package/src/conf/index.ts +3 -3
- package/src/const/const_align.ts +3 -3
- package/src/const/const_audit.ts +34 -34
- package/src/const/const_bizCode.ts +3 -3
- package/src/const/const_card.ts +6 -6
- 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 +86 -86
- package/src/const/const_flow.ts +7 -7
- package/src/const/const_gams_mode.ts +5 -5
- package/src/const/const_gzlm.ts +9 -9
- package/src/const/const_hznt.ts +61 -61
- package/src/const/const_module.ts +97 -97
- package/src/const/const_myoa.ts +24 -24
- package/src/const/const_p4pt.ts +8 -8
- package/src/const/const_part.ts +25 -25
- package/src/const/const_stat.ts +395 -395
- package/src/const/const_take_type.ts +9 -9
- package/src/const/const_todo.ts +25 -25
- package/src/const/const_travel.ts +8 -8
- package/src/const/const_type.ts +65 -65
- package/src/const/const_type_name.ts +169 -169
- package/src/const/const_user.ts +2 -2
- package/src/const/const_wldy_item_type.ts +4 -4
- package/src/const/const_wtui_item_type.ts +21 -21
- package/src/const/const_yiha.ts +32 -32
- package/src/const/const_yzcg.ts +9 -9
- package/src/const/const_zbzd.ts +10 -10
- package/src/const/index.ts +33 -33
- package/src/core/ICoreValidResponse.ts +21 -21
- package/src/core/IDeptLiteResponse.ts +43 -43
- package/src/core/IDeptResponse.ts +166 -166
- package/src/core/IDictResponse.ts +170 -170
- package/src/core/IDictResponseDictPara.ts +17 -17
- package/src/core/IEnvrResponse.ts +95 -95
- package/src/core/ILaidResponse.ts +143 -143
- package/src/core/IPartResponse.ts +99 -99
- package/src/core/IPathResponse.ts +122 -122
- 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 +152 -152
- package/src/core/ISysMenuWithCoreResponseMenuPara.ts +3 -3
- package/src/core/ISysMenuWithExpdResponse.ts +298 -298
- package/src/core/ISysTravelResponse.ts +135 -135
- package/src/core/ITypeResponse.ts +124 -124
- package/src/core/IUnitResponse.ts +236 -236
- package/src/core/IUnitResponseElemPara.ts +3 -3
- package/src/core/IUserAcnoResponse.ts +163 -163
- package/src/core/IUserFindResponse.ts +140 -140
- package/src/core/IUserLiteResponse.ts +137 -137
- package/src/core/IUserPartResponse.ts +170 -170
- package/src/core/IUserResponse.ts +356 -356
- package/src/core/IUserSzdwResponse.ts +165 -165
- package/src/core/index.ts +74 -74
- package/src/cron/ICronMainResponse.ts +176 -176
- package/src/cron/index.ts +3 -3
- package/src/elem/IElemElemResponse.ts +88 -88
- package/src/elem/index.ts +6 -6
- package/src/enums/btnMode.ts +100 -100
- package/src/enums/cardMode.ts +27 -27
- package/src/enums/doneMode.ts +7 -7
- package/src/enums/editMode.ts +18 -18
- package/src/enums/emitterType.ts +5 -5
- package/src/enums/formType.ts +8 -8
- package/src/enums/index.ts +25 -25
- package/src/enums/storeId.ts +10 -10
- package/src/enums/usesStat.ts +13 -13
- package/src/enums/viewMode.ts +7 -7
- package/src/enums/whatDone.ts +29 -29
- 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/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 +88 -88
- package/src/flow/IFlowMainResponse.ts +126 -126
- package/src/flow/IFlowNodeResponse.ts +475 -475
- 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 +69 -69
- package/src/gams/IGamsEachResponse.ts +67 -67
- package/src/gams/IGamsMainResponse.ts +223 -223
- package/src/gams/IZbhdMainResponese.ts +166 -166
- package/src/gams/index.ts +18 -18
- package/src/gzjg/IGzjgBodyLockResponse.ts +65 -65
- package/src/gzjg/IGzjgGzlmLandResponse.ts +88 -88
- package/src/gzjg/IGzjgGzlmResponse.ts +162 -162
- package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +25 -25
- package/src/gzjg/IGzjgGzlmWithResponse.ts +88 -88
- package/src/gzjg/IGzjgMainResponse.ts +251 -251
- package/src/gzjg/IGzjgMainResponseWithYZPZ.ts +41 -41
- package/src/gzjg/IGzjgQzgsResponse.ts +55 -55
- package/src/gzjg/index.ts +24 -24
- package/src/gztb/IGztbMainResponse.ts +103 -103
- package/src/gztb/index.ts +3 -3
- package/src/gzzd/IGzzdBillResponse.ts +160 -160
- package/src/gzzd/IGzzdLineResponse.ts +13 -13
- package/src/gzzd/IGzzdMainResponse.ts +172 -172
- package/src/gzzd/index.ts +5 -5
- package/src/hzcb/IHzcbRypqResponse.ts +202 -202
- package/src/hzcb/index.ts +3 -3
- package/src/load/ILoadDataResponse.ts +51 -51
- package/src/load/ILoadLineResponse.ts +11 -11
- package/src/load/ILoadMainResponse.ts +107 -107
- 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 +5 -5
- package/src/micro/appData.ts +29 -29
- package/src/micro/appName.ts +7 -7
- 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 +362 -362
- package/src/myoa/IMyoaPGDWResponse.ts +49 -49
- package/src/myoa/index.ts +12 -12
- package/src/noti/INotiMainResponse.ts +282 -282
- package/src/noti/index.ts +3 -3
- package/src/pzpt/IPzptCnfgResponse.ts +150 -150
- 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/IPzptTypeResponse.ts +88 -88
- package/src/pzpt/IPzptUkkmResponse.ts +87 -87
- package/src/pzpt/index.ts +30 -30
- package/src/response/IResponse.ts +48 -48
- 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 +46 -46
- 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 +148 -148
- 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/task/ITaskMainResponse.ts +121 -121
- package/src/task/index.ts +3 -3
- package/src/wldy/IWldyDataResponse.ts +68 -68
- package/src/wldy/IWldyItemResponse.ts +72 -72
- package/src/wldy/IWldyPageParaResponse.ts +42 -42
- package/src/wldy/IWldyPageResponse.ts +107 -107
- package/src/wldy/index.ts +18 -18
- package/src/wlzf/IWlzfEnvrResponse.ts +115 -115
- package/src/wlzf/index.ts +3 -3
- package/src/wtui/ITodoResponse.ts +15 -15
- package/src/wtui/IViewCtrlResponse.ts +77 -77
- package/src/wtui/IWtuiColWidthResponse.ts +53 -53
- package/src/wtui/IWtuiFormParaResponse.ts +17 -17
- package/src/wtui/IWtuiFormResponse.ts +95 -95
- 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 +119 -119
- package/src/wtui/IWtuiMainResponse.ts +114 -114
- package/src/wtui/IWtuiNodeResponse.ts +75 -75
- package/src/wtui/IWtuiOperateResponse.ts +80 -80
- package/src/wtui/IWtuiRootResponse.ts +62 -62
- package/src/wtui/IWtuiTodoResponse.ts +103 -103
- package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -7
- package/src/wtui/IWtuiTodoResponseWithPara.ts +32 -32
- package/src/wtui/IWtuiUserCnfgResponse.ts +100 -100
- package/src/wtui/IWtuiViewResponse.ts +91 -91
- package/src/wtui/IWtuiZoneResponse.ts +61 -61
- package/src/wtui/index.ts +57 -57
- 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 +12 -12
- 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 +307 -307
- package/src/yzcg/index.ts +15 -15
- package/src/yzcq/IYzcqMainResponse.ts +120 -120
- package/src/yzcq/index.ts +2 -2
- package/src/yzht/IYzhtBillResponse.ts +102 -102
- package/src/yzht/IYzhtMainResponse.ts +400 -400
- package/src/yzht/index.ts +4 -4
- package/src/zbhd/IZbhdMainResponese.ts +166 -166
- package/src/zbhd/index.ts +3 -3
- 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 +21 -21
- package/src/card/ISyszclbgblbResponse.ts~ +0 -67
- package/src/card/IZclbgblbResponse.ts~ +0 -68
- package/src/card/index.ts~ +0 -41
- package/src/const/const_wtui_item_type.ts~ +0 -20
- package/src/const/index.ts~ +0 -29
- package/src/core/IDeptResponse.ts~ +0 -162
- package/src/enums/btnMode.ts~ +0 -100
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_yzcg.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 财政业务审批系统-办公用品购置申请
|
|
3
|
-
*/
|
|
4
|
-
export const CONST_MODULE_YZCG_BGSQ = "CONST_MODULE_YZCG_BGSQ";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* 财政业务审批系统-办公用品购置审核
|
|
8
|
-
*/
|
|
9
|
-
export const CONST_MODULE_YZCG_BGSH = "CONST_MODULE_YZCG_BGSH";
|
|
1
|
+
/**
|
|
2
|
+
* 财政业务审批系统-办公用品购置申请
|
|
3
|
+
*/
|
|
4
|
+
export const CONST_MODULE_YZCG_BGSQ = "CONST_MODULE_YZCG_BGSQ";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 财政业务审批系统-办公用品购置审核
|
|
8
|
+
*/
|
|
9
|
+
export const CONST_MODULE_YZCG_BGSH = "CONST_MODULE_YZCG_BGSH";
|
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,34 +1,34 @@
|
|
|
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 Yzgc from "./const_yzcg";
|
|
28
|
-
|
|
29
|
-
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 };
|
|
30
|
-
|
|
31
|
-
export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
|
|
32
|
-
export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
|
|
33
|
-
export type YzgcModuleType = (typeof Yzgc)[keyof typeof Yzgc];
|
|
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 Yzgc from "./const_yzcg";
|
|
28
|
+
|
|
29
|
+
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 };
|
|
30
|
+
|
|
31
|
+
export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
|
|
32
|
+
export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
|
|
33
|
+
export type YzgcModuleType = (typeof Yzgc)[keyof typeof Yzgc];
|
|
34
34
|
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
|
+
}
|
|
@@ -1,166 +1,166 @@
|
|
|
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
|
-
listBMLX: Array<IDictResponse>;
|
|
62
|
-
/** 部门类型(新) */
|
|
63
|
-
listType: Array<IDictResponse>;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export class TDeptResponse extends TBaseResponse<IDeptResponse[]> implements IDeptResponse {
|
|
67
|
-
codeFull: string = "";
|
|
68
|
-
createAt: number = 0;
|
|
69
|
-
createBy: string = "";
|
|
70
|
-
dataDate: number = 0;
|
|
71
|
-
dataFrom: number = 0;
|
|
72
|
-
dataGUID: string = "";
|
|
73
|
-
dataHide: number = 0;
|
|
74
|
-
dataLevl: number = 0;
|
|
75
|
-
dataOrdr: number = 0;
|
|
76
|
-
dataStat: number = 0;
|
|
77
|
-
dataTime: number = 0;
|
|
78
|
-
dataType: number = 0;
|
|
79
|
-
deleteAt: number = 0;
|
|
80
|
-
deleteBy: string = "";
|
|
81
|
-
deptCall: string = "";
|
|
82
|
-
deptCode: string = "";
|
|
83
|
-
deptGnkm: string = "";
|
|
84
|
-
deptIndx: number = 0;
|
|
85
|
-
deptMast: string = "";
|
|
86
|
-
deptMemo: string = "";
|
|
87
|
-
deptName: string = "";
|
|
88
|
-
deptTypeText: string = "";
|
|
89
|
-
entityID: string = "";
|
|
90
|
-
gkbmText: string = "";
|
|
91
|
-
hashCode: number = 0;
|
|
92
|
-
isLasted: number = 0;
|
|
93
|
-
kjndKJQJ: number = 0;
|
|
94
|
-
mastGUID: string = "";
|
|
95
|
-
mastName: string = "";
|
|
96
|
-
nameFull: string = "";
|
|
97
|
-
parentID: number = 0;
|
|
98
|
-
uniqueID: number = 0;
|
|
99
|
-
unitMain: number = 0;
|
|
100
|
-
unitText: string = "";
|
|
101
|
-
updateAt: number = 0;
|
|
102
|
-
updateBy: string = "";
|
|
103
|
-
userIndx: number = 0;
|
|
104
|
-
whoBuild: number = 0;
|
|
105
|
-
matchVal: string = "";
|
|
106
|
-
dataMemo: string = "";
|
|
107
|
-
queuesBy: number = 0;
|
|
108
|
-
|
|
109
|
-
ratioVal: number = 0;
|
|
110
|
-
cardZcyz: number = 0;
|
|
111
|
-
|
|
112
|
-
sysclasc: number = 0;
|
|
113
|
-
|
|
114
|
-
listBMLX: IDictResponse[] = [];
|
|
115
|
-
/** 部门类型(新) */
|
|
116
|
-
listType: IDictResponse[] = [];
|
|
117
|
-
|
|
118
|
-
constructor(data: any = {}) {
|
|
119
|
-
super();
|
|
120
|
-
if (data) {
|
|
121
|
-
_.merge(this, _.pick(data, Object.keys(this)));
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
public static toTree(listDept: IDeptResponse[]) {
|
|
126
|
-
return construct(listDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
public static toList(treeDept: IDeptResponse[]) {
|
|
130
|
-
return destruct(treeDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
public static createDetp(deptMain: number, deptName: string) {
|
|
134
|
-
const dept = new TDeptResponse();
|
|
135
|
-
dept.deptIndx = deptMain;
|
|
136
|
-
dept.deptName = deptName;
|
|
137
|
-
return dept;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
static toTravel(dept: IDeptResponse, whatDone: string): TCore.ISysTravelResponse {
|
|
141
|
-
const travel = new TCore.TSysTravelResponse();
|
|
142
|
-
travel.whoBuild = dept.whoBuild;
|
|
143
|
-
travel.flowMain = 0;
|
|
144
|
-
travel.flowNode = 0;
|
|
145
|
-
travel.billUUID = dept.entityID;
|
|
146
|
-
travel.billMain = dept.deptIndx;
|
|
147
|
-
travel.billCode = dept.deptCode;
|
|
148
|
-
travel.mastName = dept.mastName;
|
|
149
|
-
travel.createBy = dept.createBy;
|
|
150
|
-
travel.whatDone = `${whatDone}${dept.deptName}`;
|
|
151
|
-
return travel;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/** 转换成记录日志需要的数据(第一层,不包含菜单) */
|
|
155
|
-
static toTravelData(card?: IDeptResponse | IDeptResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
|
|
156
|
-
if (_.isNil(card)) {
|
|
157
|
-
return [];
|
|
158
|
-
}
|
|
159
|
-
if (_.isArray(card)) {
|
|
160
|
-
return card.map((u) => {
|
|
161
|
-
return this.toTravel(u, whatDone);
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
return [this.toTravel(card, whatDone)];
|
|
165
|
-
}
|
|
166
|
-
}
|
|
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
|
+
listBMLX: Array<IDictResponse>;
|
|
62
|
+
/** 部门类型(新) */
|
|
63
|
+
listType: Array<IDictResponse>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export class TDeptResponse extends TBaseResponse<IDeptResponse[]> implements IDeptResponse {
|
|
67
|
+
codeFull: string = "";
|
|
68
|
+
createAt: number = 0;
|
|
69
|
+
createBy: string = "";
|
|
70
|
+
dataDate: number = 0;
|
|
71
|
+
dataFrom: number = 0;
|
|
72
|
+
dataGUID: string = "";
|
|
73
|
+
dataHide: number = 0;
|
|
74
|
+
dataLevl: number = 0;
|
|
75
|
+
dataOrdr: number = 0;
|
|
76
|
+
dataStat: number = 0;
|
|
77
|
+
dataTime: number = 0;
|
|
78
|
+
dataType: number = 0;
|
|
79
|
+
deleteAt: number = 0;
|
|
80
|
+
deleteBy: string = "";
|
|
81
|
+
deptCall: string = "";
|
|
82
|
+
deptCode: string = "";
|
|
83
|
+
deptGnkm: string = "";
|
|
84
|
+
deptIndx: number = 0;
|
|
85
|
+
deptMast: string = "";
|
|
86
|
+
deptMemo: string = "";
|
|
87
|
+
deptName: string = "";
|
|
88
|
+
deptTypeText: string = "";
|
|
89
|
+
entityID: string = "";
|
|
90
|
+
gkbmText: string = "";
|
|
91
|
+
hashCode: number = 0;
|
|
92
|
+
isLasted: number = 0;
|
|
93
|
+
kjndKJQJ: number = 0;
|
|
94
|
+
mastGUID: string = "";
|
|
95
|
+
mastName: string = "";
|
|
96
|
+
nameFull: string = "";
|
|
97
|
+
parentID: number = 0;
|
|
98
|
+
uniqueID: number = 0;
|
|
99
|
+
unitMain: number = 0;
|
|
100
|
+
unitText: string = "";
|
|
101
|
+
updateAt: number = 0;
|
|
102
|
+
updateBy: string = "";
|
|
103
|
+
userIndx: number = 0;
|
|
104
|
+
whoBuild: number = 0;
|
|
105
|
+
matchVal: string = "";
|
|
106
|
+
dataMemo: string = "";
|
|
107
|
+
queuesBy: number = 0;
|
|
108
|
+
|
|
109
|
+
ratioVal: number = 0;
|
|
110
|
+
cardZcyz: number = 0;
|
|
111
|
+
|
|
112
|
+
sysclasc: number = 0;
|
|
113
|
+
|
|
114
|
+
listBMLX: IDictResponse[] = [];
|
|
115
|
+
/** 部门类型(新) */
|
|
116
|
+
listType: IDictResponse[] = [];
|
|
117
|
+
|
|
118
|
+
constructor(data: any = {}) {
|
|
119
|
+
super();
|
|
120
|
+
if (data) {
|
|
121
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public static toTree(listDept: IDeptResponse[]) {
|
|
126
|
+
return construct(listDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public static toList(treeDept: IDeptResponse[]) {
|
|
130
|
+
return destruct(treeDept, { id: "deptIndx", pid: "parentID", children: "children" }) as IDeptResponse[];
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
public static createDetp(deptMain: number, deptName: string) {
|
|
134
|
+
const dept = new TDeptResponse();
|
|
135
|
+
dept.deptIndx = deptMain;
|
|
136
|
+
dept.deptName = deptName;
|
|
137
|
+
return dept;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
static toTravel(dept: IDeptResponse, whatDone: string): TCore.ISysTravelResponse {
|
|
141
|
+
const travel = new TCore.TSysTravelResponse();
|
|
142
|
+
travel.whoBuild = dept.whoBuild;
|
|
143
|
+
travel.flowMain = 0;
|
|
144
|
+
travel.flowNode = 0;
|
|
145
|
+
travel.billUUID = dept.entityID;
|
|
146
|
+
travel.billMain = dept.deptIndx;
|
|
147
|
+
travel.billCode = dept.deptCode;
|
|
148
|
+
travel.mastName = dept.mastName;
|
|
149
|
+
travel.createBy = dept.createBy;
|
|
150
|
+
travel.whatDone = `${whatDone}${dept.deptName}`;
|
|
151
|
+
return travel;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/** 转换成记录日志需要的数据(第一层,不包含菜单) */
|
|
155
|
+
static toTravelData(card?: IDeptResponse | IDeptResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
|
|
156
|
+
if (_.isNil(card)) {
|
|
157
|
+
return [];
|
|
158
|
+
}
|
|
159
|
+
if (_.isArray(card)) {
|
|
160
|
+
return card.map((u) => {
|
|
161
|
+
return this.toTravel(u, whatDone);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
return [this.toTravel(card, whatDone)];
|
|
165
|
+
}
|
|
166
|
+
}
|