@ningboyz/types 1.0.21 → 1.0.23
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/index.ts +8 -0
- package/package.json +1 -1
- package/src/antv/IAntvCnfgResponse.ts +69 -0
- package/src/antv/IAntvMainResponse.ts +67 -0
- package/src/antv/IAntvParaResponse.ts +48 -0
- package/src/antv/index.ts +5 -0
- package/src/card/ICardMainResponse.ts +256 -130
- package/src/card/IGblbResponse.ts +64 -5
- package/src/card/IP4pzResponse.ts +68 -0
- package/src/card/IZcbdResponse.ts +103 -9
- package/src/card/IZccfResponse.ts +141 -3
- package/src/card/IZcczResponse.ts +134 -0
- package/src/card/IZcdbResponse.ts +149 -0
- package/src/card/IZclbResponse.ts +138 -0
- package/src/card/IZczjPropResponse.ts +94 -0
- package/src/card/IZczjResponse.ts +121 -0
- package/src/card/index.ts +18 -6
- package/src/conf/IConfig.ts +1 -0
- package/src/conf/index.ts +1 -1
- package/src/const/const_bizCode.ts +3 -0
- package/src/const/const_module.ts +72 -0
- package/src/const/const_p4pt.ts +8 -0
- package/src/const/const_stat.ts +11 -2
- package/src/const/const_todo.ts +5 -0
- package/src/const/const_type_name.ts +10 -0
- package/src/const/const_wldy_item_type.ts +4 -0
- package/src/const/const_wtui_item_type.ts +20 -0
- package/src/const/index.ts +7 -1
- package/src/core/ICoreValidResponse.ts +21 -0
- package/src/core/IDeptLiteResponse.ts +0 -1
- package/src/core/IDeptResponse.ts +60 -0
- package/src/core/IDictResponse.ts +45 -2
- package/src/core/IDictResponseDictPara.ts +2 -0
- package/src/core/ILaidResponse.ts +34 -1
- package/src/core/IPartResponse.ts +29 -0
- package/src/core/ISysMenuWithCoreResponse.ts +3 -2
- package/src/core/ISysTravelResponse.ts +135 -0
- package/src/core/ITypeResponse.ts +27 -0
- package/src/core/IUnitResponse.ts +99 -5
- package/src/core/IUserLiteResponse.ts +2 -0
- package/src/core/IUserResponse.ts +29 -0
- package/src/core/index.ts +8 -0
- package/src/enums/btnMode.ts +82 -3
- package/src/enums/emitterType.ts +5 -0
- package/src/enums/index.ts +2 -2
- package/src/enums/storeId.ts +4 -1
- package/src/enums/usesStat.ts +13 -0
- package/src/enums/whatDone.ts +29 -0
- package/src/flow/IFlowCnfgResponse.ts +0 -2
- package/src/flow/IFlowDataResponse.ts +34 -0
- package/src/flow/IFlowDutyResponse.ts +3 -2
- package/src/flow/IFlowNodeResponse.ts +15 -1
- package/src/flow/IFlowUservoidResponse.ts +35 -0
- package/src/flow/index.ts +3 -1
- package/src/gzjg/IGzjgGzlmResponse.ts +3 -2
- package/src/gzjg/IGzjgGzlmResponseGzlmPara.ts +2 -0
- package/src/gzjg/IGzjgMainResponse.ts +5 -2
- package/src/gztb/IGztbMainResponse.ts +103 -0
- package/src/gztb/index.ts +3 -0
- package/src/load/index.ts +2 -2
- package/src/micro/appName.ts +2 -1
- package/src/noti/INotiMainResponse.ts +278 -0
- package/src/noti/index.ts +3 -0
- package/src/pzpt/IPzptItemResponse.ts +0 -2
- package/src/response/IResponse.ts +31 -0
- package/src/store/dateState.ts +48 -0
- package/src/store/index.ts +4 -2
- package/src/store/menuState.ts +9 -0
- package/src/store/userState.ts +3 -0
- package/src/tabl/ITablDataResponse.ts +2 -0
- package/src/tabl/ITablMainResponse.ts +2 -0
- package/src/task/ITaskMainResponse.ts +121 -0
- package/src/task/index.ts +3 -0
- package/src/wldy/IWldyPageResponse.ts +4 -3
- package/src/wldy/index.ts +5 -5
- package/src/wtui/ITodoResponse.ts +15 -0
- package/src/wtui/IViewCtrlResponse.ts +15 -7
- package/src/wtui/IWtuiColWidthResponse.ts +53 -0
- package/src/wtui/IWtuiFormParaResponse.ts +17 -0
- package/src/wtui/IWtuiFormResponse.ts +95 -0
- package/src/wtui/IWtuiItemCalc.ts +36 -0
- package/src/wtui/IWtuiItemEffect.ts +43 -0
- package/src/wtui/IWtuiItemParaResponse.ts +59 -0
- package/src/wtui/IWtuiItemResponse.ts +119 -0
- package/src/wtui/IWtuiMainResponse.ts +3 -0
- package/src/wtui/IWtuiNodeResponse.ts +71 -0
- package/src/wtui/IWtuiTodoResponse.ts +36 -0
- package/src/wtui/IWtuiTodoResponseTodoPara.ts +7 -0
- package/src/wtui/IWtuiTodoResponseWithPara.ts +32 -0
- package/src/wtui/IWtuiUserCnfgResponse.ts +100 -0
- package/src/wtui/IWtuiZoneResponse.ts +61 -0
- package/src/wtui/index.ts +46 -1
- package/src/enums/wldyItemType.ts +0 -5
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { IWtuiColWidthResponse, TWtuiColWidthResponse } from "./IWtuiColWidthResponse";
|
|
2
|
+
|
|
3
|
+
interface ICnfgPara {
|
|
4
|
+
pzptListBGColor: string; //凭证平台列表.表头背景色
|
|
5
|
+
pzptp1BGColor: string; //凭证平台列表.分录模式凭证所在行背景色
|
|
6
|
+
pzptBGColor: string; //凭证平台.录入界面.表头背景色
|
|
7
|
+
pzptEachBGColor: string; //凭证平台.录入界面.辅助核算.表头背景色
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class TCnfgPara implements ICnfgPara {
|
|
11
|
+
pzptListBGColor: string = "";
|
|
12
|
+
pzptp1BGColor: string = "";
|
|
13
|
+
pzptBGColor: string = "";
|
|
14
|
+
pzptEachBGColor: string = "";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface IWtuiUserCnfgResponse {
|
|
18
|
+
whoBuild: number;
|
|
19
|
+
userIndx: number;
|
|
20
|
+
cnfgIndx: number;
|
|
21
|
+
parentID: number;
|
|
22
|
+
hashCode: number;
|
|
23
|
+
dataLevl: number;
|
|
24
|
+
dataFrom: number;
|
|
25
|
+
dataType: number;
|
|
26
|
+
kjndKJQJ: number;
|
|
27
|
+
isLasted: number;
|
|
28
|
+
dataStat: number;
|
|
29
|
+
dataOrdr: number;
|
|
30
|
+
dataHide: number;
|
|
31
|
+
dataDate: number;
|
|
32
|
+
dataTime: number;
|
|
33
|
+
dataGUID: string;
|
|
34
|
+
mastName: string;
|
|
35
|
+
mastGUID: string;
|
|
36
|
+
createBy: string;
|
|
37
|
+
createAt: number;
|
|
38
|
+
updateBy: string;
|
|
39
|
+
updateAt: number;
|
|
40
|
+
deleteBy: string;
|
|
41
|
+
deleteAt: number;
|
|
42
|
+
queuesBy: number;
|
|
43
|
+
entityID: string; //#唯一标识
|
|
44
|
+
wtuiForm: number;
|
|
45
|
+
wtuiArea: number;
|
|
46
|
+
cnfgName: string;
|
|
47
|
+
cnfgMemo: string;
|
|
48
|
+
cnfgUses: string;
|
|
49
|
+
rowCount: number;
|
|
50
|
+
colCount: number;
|
|
51
|
+
realPage: number; //当前选择页签
|
|
52
|
+
cnfgPara: string;
|
|
53
|
+
billMain: number;
|
|
54
|
+
colWidth: IWtuiColWidthResponse[];
|
|
55
|
+
|
|
56
|
+
//虚拟字段
|
|
57
|
+
cnfg: TCnfgPara | undefined;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class TWtuiUserCnfgResponse implements IWtuiUserCnfgResponse {
|
|
61
|
+
whoBuild: number = 0;
|
|
62
|
+
userIndx: number = 0;
|
|
63
|
+
cnfgIndx: number = 0;
|
|
64
|
+
parentID: number = 0;
|
|
65
|
+
hashCode: number = 0;
|
|
66
|
+
dataLevl: number = 0;
|
|
67
|
+
dataFrom: number = 0;
|
|
68
|
+
dataType: number = 0;
|
|
69
|
+
kjndKJQJ: number = 0;
|
|
70
|
+
isLasted: number = 0;
|
|
71
|
+
dataStat: number = 0;
|
|
72
|
+
dataOrdr: number = 0;
|
|
73
|
+
dataHide: number = 0;
|
|
74
|
+
dataDate: number = 0;
|
|
75
|
+
dataTime: number = 0;
|
|
76
|
+
dataGUID: string = "";
|
|
77
|
+
mastName: string = "";
|
|
78
|
+
mastGUID: string = "";
|
|
79
|
+
createBy: string = "";
|
|
80
|
+
createAt: number = 0;
|
|
81
|
+
updateBy: string = "";
|
|
82
|
+
updateAt: number = 0;
|
|
83
|
+
deleteBy: string = "";
|
|
84
|
+
deleteAt: number = 0;
|
|
85
|
+
queuesBy: number = 0;
|
|
86
|
+
entityID: string = "";
|
|
87
|
+
/** 打印时添加的自定义配置,用以区分纵向还是横向打印,0为纵向,1为横向 */
|
|
88
|
+
wtuiForm: number = 0;
|
|
89
|
+
wtuiArea: number = 0;
|
|
90
|
+
cnfgName: string = "";
|
|
91
|
+
cnfgMemo: string = "";
|
|
92
|
+
cnfgUses: string = "";
|
|
93
|
+
rowCount: number = 0;
|
|
94
|
+
colCount: number = 0;
|
|
95
|
+
realPage: number = 0;
|
|
96
|
+
cnfgPara: string = "";
|
|
97
|
+
billMain: number = 0;
|
|
98
|
+
colWidth: TWtuiColWidthResponse[] = [];
|
|
99
|
+
cnfg: TCnfgPara | undefined = undefined;
|
|
100
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { IWtuiFormResponse } from "./IWtuiFormResponse";
|
|
2
|
+
|
|
3
|
+
//区
|
|
4
|
+
export interface IWtuiZoneResponse {
|
|
5
|
+
whoBuild: number;
|
|
6
|
+
userIndx: number;
|
|
7
|
+
zoneIndx: number;
|
|
8
|
+
wtuiMain: number;
|
|
9
|
+
parentID: number;
|
|
10
|
+
dataStat: number;
|
|
11
|
+
dataHide: number;
|
|
12
|
+
dataOrdr: number;
|
|
13
|
+
dataFrom: number;
|
|
14
|
+
dataDate: number;
|
|
15
|
+
dataTime: number;
|
|
16
|
+
mastName: string;
|
|
17
|
+
mastGUID: string;
|
|
18
|
+
createBy: string;
|
|
19
|
+
createAt: number;
|
|
20
|
+
updateBy: string;
|
|
21
|
+
updateAt: number;
|
|
22
|
+
deleteBy: string;
|
|
23
|
+
deleteAt: number;
|
|
24
|
+
entityID: string;
|
|
25
|
+
/** 区块名称 */
|
|
26
|
+
zoneName: string;
|
|
27
|
+
/** 区块图标 */
|
|
28
|
+
zoneIcon: string;
|
|
29
|
+
/** 默认展开 */
|
|
30
|
+
expandOn: number;
|
|
31
|
+
|
|
32
|
+
listForm: IWtuiFormResponse[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class TWtuiZoneResponse implements IWtuiZoneResponse {
|
|
36
|
+
whoBuild: number = 0;
|
|
37
|
+
userIndx: number = 0;
|
|
38
|
+
zoneIndx: number = 0;
|
|
39
|
+
wtuiMain: number = 0;
|
|
40
|
+
parentID: number = 0;
|
|
41
|
+
dataStat: number = 0;
|
|
42
|
+
dataHide: number = 0;
|
|
43
|
+
dataOrdr: number = 0;
|
|
44
|
+
dataFrom: number = 0;
|
|
45
|
+
dataDate: number = 0;
|
|
46
|
+
dataTime: number = 0;
|
|
47
|
+
mastName: string = "";
|
|
48
|
+
mastGUID: string = "";
|
|
49
|
+
createBy: string = "";
|
|
50
|
+
createAt: number = 0;
|
|
51
|
+
updateBy: string = "";
|
|
52
|
+
updateAt: number = 0;
|
|
53
|
+
deleteBy: string = "";
|
|
54
|
+
deleteAt: number = 0;
|
|
55
|
+
entityID: string = "";
|
|
56
|
+
zoneName: string = "";
|
|
57
|
+
zoneIcon: string = "";
|
|
58
|
+
expandOn: number = 0;
|
|
59
|
+
|
|
60
|
+
listForm: IWtuiFormResponse[] = [];
|
|
61
|
+
}
|
package/src/wtui/index.ts
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
import { IViewCtrlResponse, TViewCtrlResponse } from "./IViewCtrlResponse";
|
|
2
|
+
import { IWtuiFormResponse, TWtuiFormResponse } from "./IWtuiFormResponse";
|
|
3
|
+
import { IDictEffect, IDictEffectData, IDictEffectField, TDictEffect, TDictEffectData, TDictEffectField } from "./IWtuiItemEffect";
|
|
4
|
+
import { IWtuiItemParaResponse, TWtuiItemParaResponse } from "./IWtuiItemParaResponse";
|
|
5
|
+
import { IWtuiItemResponse, TWtuiItemResponse } from "./IWtuiItemResponse";
|
|
2
6
|
import { IWtuiMainResponse, TWtuiMainResponse } from "./IWtuiMainResponse";
|
|
3
7
|
import { IWtuiTodoResponse, TWtuiTodoResponse } from "./IWtuiTodoResponse";
|
|
4
8
|
import { IWtuiViewResponse, TWtuiViewResponse } from "./IWtuiViewResponse";
|
|
9
|
+
import { IWtuiZoneResponse, TWtuiZoneResponse } from "./IWtuiZoneResponse";
|
|
10
|
+
import { ITodoResponse } from "./ITodoResponse";
|
|
11
|
+
import { IWtuiTodoResponseTodoPara, TWtuiTodoResponseTodoPara } from "./IWtuiTodoResponseTodoPara";
|
|
12
|
+
import { IWtuiTodoResponseWithPara, TWtuiTodoResponseWithPara } from "./IWtuiTodoResponseWithPara";
|
|
13
|
+
import { IWtuiNodeResponse, TWtuiNodeResponse } from "./IWtuiNodeResponse";
|
|
14
|
+
import { IWtuiUserCnfgResponse, TWtuiUserCnfgResponse } from "./IWtuiUserCnfgResponse";
|
|
15
|
+
import { IWtuiColWidthResponse, TWtuiColWidthResponse } from "./IWtuiColWidthResponse";
|
|
5
16
|
|
|
6
|
-
export {
|
|
17
|
+
export {
|
|
18
|
+
type IDictEffect,
|
|
19
|
+
type IDictEffectData,
|
|
20
|
+
type IDictEffectField,
|
|
21
|
+
type ITodoResponse,
|
|
22
|
+
type IViewCtrlResponse,
|
|
23
|
+
type IWtuiColWidthResponse,
|
|
24
|
+
type IWtuiFormResponse,
|
|
25
|
+
type IWtuiItemParaResponse,
|
|
26
|
+
type IWtuiItemResponse,
|
|
27
|
+
type IWtuiMainResponse,
|
|
28
|
+
type IWtuiNodeResponse,
|
|
29
|
+
type IWtuiTodoResponse,
|
|
30
|
+
type IWtuiTodoResponseTodoPara,
|
|
31
|
+
type IWtuiTodoResponseWithPara,
|
|
32
|
+
type IWtuiUserCnfgResponse, // 位置调整 :ml-citation{ref="1,2" data="citationList"}
|
|
33
|
+
type IWtuiViewResponse,
|
|
34
|
+
type IWtuiZoneResponse, // 位置调整 :ml-citation{ref="1,2" data="citationList"}
|
|
35
|
+
TDictEffect,
|
|
36
|
+
TDictEffectData,
|
|
37
|
+
TDictEffectField,
|
|
38
|
+
TViewCtrlResponse,
|
|
39
|
+
TWtuiColWidthResponse,
|
|
40
|
+
TWtuiFormResponse,
|
|
41
|
+
TWtuiItemParaResponse,
|
|
42
|
+
TWtuiItemResponse,
|
|
43
|
+
TWtuiMainResponse,
|
|
44
|
+
TWtuiNodeResponse,
|
|
45
|
+
TWtuiTodoResponse,
|
|
46
|
+
TWtuiTodoResponseTodoPara,
|
|
47
|
+
TWtuiTodoResponseWithPara,
|
|
48
|
+
TWtuiUserCnfgResponse, // 位置调整 :ml-citation{ref="1,2" data="citationList"}
|
|
49
|
+
TWtuiViewResponse,
|
|
50
|
+
TWtuiZoneResponse // 位置调整 :ml-citation{ref="1,2" data="citationList"}
|
|
51
|
+
};
|