@ningboyz/types 1.0.6 → 1.0.7
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 +22 -18
- package/package.json +1 -2
- package/src/app/IUserData.ts +5 -0
- package/src/app/index.ts +3 -5
- package/src/card/ICardMainResponse.ts +245 -0
- package/src/card/IGblbResponse.ts +74 -0
- package/src/card/IZcbdResponse.ts +106 -0
- package/src/card/IZccfResponse.ts +87 -0
- package/src/card/IZcczResponse.ts +83 -0
- package/src/card/IZcdbResponse.ts +83 -0
- package/src/card/index.ts +21 -0
- package/src/conf/ICnfgMainResponse.ts +83 -0
- package/src/conf/index.ts +7 -0
- package/src/const/const_align.ts +0 -1
- package/src/const/const_stat.ts +1 -7
- package/src/core/IDictResponse.ts +14 -0
- package/src/core/IDictResponseDictPara.ts +10 -2
- package/src/core/ITypeResponse.ts +12 -0
- package/src/core/IUnitResponseElemPara.ts +2 -6
- package/src/core/IUserResponse.ts +2 -2
- package/src/core/index.ts +17 -17
- package/src/enums/btnMode.ts +11 -0
- package/src/enums/cardMode.ts +23 -0
- package/src/enums/index.ts +3 -1
- package/src/flow/IFlowDutyNodeParaConv.ts +1 -1
- package/src/flow/IFlowTypeResponse.ts +2 -6
- package/src/flow/index.ts +5 -6
- package/src/gams/index.ts +1 -5
- package/src/gzjg/IGzjgGzlmResponse.ts +6 -2
- package/src/gzjg/index.ts +5 -6
- package/src/pzpt/IPzptK8kmResponse.ts +3 -4
- package/src/pzpt/index.ts +7 -8
- package/src/store/index.ts +3 -1
- package/src/store/tabsState.ts +1 -1
- package/src/store/viewState.ts +5 -1
- package/src/tabl/index.ts +1 -9
- package/src/wldy/IWldyDataResponse.ts +6 -0
- package/src/wldy/IWldyPageParaResponse.ts +42 -0
- package/src/wldy/IWldyPageResponse.ts +22 -0
- package/src/wldy/index.ts +9 -5
- package/src/wlzf/index.ts +1 -5
- package/src/wtui/IViewCtrlResponse.ts +3 -2
- package/src/wtui/index.ts +1 -11
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { IPathResponse } from "../core";
|
|
2
|
+
|
|
3
|
+
export interface IZcdbResponse {
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
userIndx: number;
|
|
6
|
+
zcdbIndx: number;
|
|
7
|
+
parentID: number;
|
|
8
|
+
hashCode: number;
|
|
9
|
+
dataLevl: number;
|
|
10
|
+
dataFrom: number;
|
|
11
|
+
kjndKJQJ: number;
|
|
12
|
+
dataStat: number;
|
|
13
|
+
dataOrdr: number;
|
|
14
|
+
dataHide: number;
|
|
15
|
+
dataType: number;
|
|
16
|
+
dataDate: number;
|
|
17
|
+
dataTime: number;
|
|
18
|
+
dataGUID: string;
|
|
19
|
+
userMain: number;
|
|
20
|
+
mastName: string;
|
|
21
|
+
mastGUID: string;
|
|
22
|
+
createBy: string;
|
|
23
|
+
createAt: number;
|
|
24
|
+
updateBy: string;
|
|
25
|
+
updateAt: number;
|
|
26
|
+
deleteBy: string;
|
|
27
|
+
deleteAt: number;
|
|
28
|
+
queuesBy: number;
|
|
29
|
+
entityID: string;
|
|
30
|
+
sourceND: number;
|
|
31
|
+
menuMain: number;
|
|
32
|
+
menuUUID: string;
|
|
33
|
+
unitMain: number;
|
|
34
|
+
deptMain: number;
|
|
35
|
+
sqyhText: string;
|
|
36
|
+
sqbmText: string;
|
|
37
|
+
flowUndo: number;
|
|
38
|
+
flowText: string;
|
|
39
|
+
flowUser: string;
|
|
40
|
+
|
|
41
|
+
listPath: IPathResponse[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export class TZcdbResponse implements IZcdbResponse {
|
|
45
|
+
whoBuild: number = 0;
|
|
46
|
+
userIndx: number = 0;
|
|
47
|
+
zcdbIndx: number = 0;
|
|
48
|
+
parentID: number = 0;
|
|
49
|
+
hashCode: number = 0;
|
|
50
|
+
dataLevl: number = 0;
|
|
51
|
+
dataFrom: number = 0;
|
|
52
|
+
kjndKJQJ: number = 0;
|
|
53
|
+
dataStat: number = 0;
|
|
54
|
+
dataOrdr: number = 0;
|
|
55
|
+
dataHide: number = 0;
|
|
56
|
+
dataType: number = 0;
|
|
57
|
+
dataDate: number = 0;
|
|
58
|
+
dataTime: number = 0;
|
|
59
|
+
dataGUID: string = "";
|
|
60
|
+
userMain: number = 0;
|
|
61
|
+
mastName: string = "";
|
|
62
|
+
mastGUID: string = "";
|
|
63
|
+
createBy: string = "";
|
|
64
|
+
createAt: number = 0;
|
|
65
|
+
updateBy: string = "";
|
|
66
|
+
updateAt: number = 0;
|
|
67
|
+
deleteBy: string = "";
|
|
68
|
+
deleteAt: number = 0;
|
|
69
|
+
queuesBy: number = 0;
|
|
70
|
+
entityID: string = "";
|
|
71
|
+
sourceND: number = 0;
|
|
72
|
+
menuMain: number = 0;
|
|
73
|
+
menuUUID: string = "";
|
|
74
|
+
unitMain: number = 0;
|
|
75
|
+
deptMain: number = 0;
|
|
76
|
+
sqyhText: string = "";
|
|
77
|
+
sqbmText: string = "";
|
|
78
|
+
flowUndo: number = 0;
|
|
79
|
+
flowText: string = "";
|
|
80
|
+
flowUser: string = "";
|
|
81
|
+
|
|
82
|
+
listPath: IPathResponse[] = [];
|
|
83
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ICardMainResponse, TCardMainResponse } from "./ICardMainResponse";
|
|
2
|
+
import { IGblbResponse, TGblbResponse } from "./IGblbResponse";
|
|
3
|
+
import { IZcbdResponse, TZcbdResponse } from "./IZcbdResponse";
|
|
4
|
+
import { IZccfResponse, TZccfResponse } from "./IZccfResponse";
|
|
5
|
+
import { IZcczResponse, TZcczResponse } from "./IZcczResponse";
|
|
6
|
+
import { IZcdbResponse, TZcdbResponse } from "./IZcdbResponse";
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
TCardMainResponse,
|
|
10
|
+
TGblbResponse,
|
|
11
|
+
TZcbdResponse,
|
|
12
|
+
TZccfResponse,
|
|
13
|
+
TZcczResponse,
|
|
14
|
+
TZcdbResponse,
|
|
15
|
+
type ICardMainResponse,
|
|
16
|
+
type IGblbResponse,
|
|
17
|
+
type IZcbdResponse,
|
|
18
|
+
type IZccfResponse,
|
|
19
|
+
type IZcczResponse,
|
|
20
|
+
type IZcdbResponse
|
|
21
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export interface ICnfgMainResponse {
|
|
2
|
+
whoBuild: number;
|
|
3
|
+
userIndx: number;
|
|
4
|
+
cnfgIndx: number;
|
|
5
|
+
cnfgMain: number;
|
|
6
|
+
|
|
7
|
+
parentID: number;
|
|
8
|
+
hashCode: number;
|
|
9
|
+
dataLevl: number;
|
|
10
|
+
dataFrom: number;
|
|
11
|
+
dataType: number;
|
|
12
|
+
kjndKJQJ: number;
|
|
13
|
+
isLasted: number;
|
|
14
|
+
dataStat: number;
|
|
15
|
+
dataOrdr: number;
|
|
16
|
+
dataHide: number;
|
|
17
|
+
dataDate: number;
|
|
18
|
+
dataTime: number;
|
|
19
|
+
dataGUID: string;
|
|
20
|
+
userMain: number;
|
|
21
|
+
mastName: string;
|
|
22
|
+
mastGUID: string;
|
|
23
|
+
createBy: string;
|
|
24
|
+
createAt: number;
|
|
25
|
+
updateBy: string;
|
|
26
|
+
updateAt: number;
|
|
27
|
+
deleteBy: string;
|
|
28
|
+
deleteAt: number;
|
|
29
|
+
entityID: string;
|
|
30
|
+
queuesBy: number;
|
|
31
|
+
|
|
32
|
+
isPublic: number; //#是否开放
|
|
33
|
+
cnfgCode: string; //#配置编码
|
|
34
|
+
cnfgName: string; //#配置名称
|
|
35
|
+
cnfgUses: string; //#配置用途
|
|
36
|
+
cnfgMemo: string; //#配置备注
|
|
37
|
+
cnfgPara: string; //#参数约定
|
|
38
|
+
|
|
39
|
+
cnfg4key: string; //#配置项键--唯一键值,不对外开放
|
|
40
|
+
cnfg4val: string; //#配置项值
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class TCnfgMainResponse implements ICnfgMainResponse {
|
|
44
|
+
whoBuild: number = 0;
|
|
45
|
+
userIndx: number = 0;
|
|
46
|
+
cnfgIndx: number = 0;
|
|
47
|
+
cnfgMain: number = 0; //#虚拟字段,回传后端
|
|
48
|
+
|
|
49
|
+
parentID: number = 0;
|
|
50
|
+
hashCode: number = 0;
|
|
51
|
+
dataLevl: number = 0;
|
|
52
|
+
dataFrom: number = 0;
|
|
53
|
+
dataType: number = 0;
|
|
54
|
+
kjndKJQJ: number = 0;
|
|
55
|
+
isLasted: number = 0;
|
|
56
|
+
dataStat: number = 0;
|
|
57
|
+
dataOrdr: number = 0;
|
|
58
|
+
dataHide: number = 0;
|
|
59
|
+
dataDate: number = 0;
|
|
60
|
+
dataTime: number = 0;
|
|
61
|
+
dataGUID: string = "";
|
|
62
|
+
userMain: number = 0;
|
|
63
|
+
mastName: string = "";
|
|
64
|
+
mastGUID: string = "";
|
|
65
|
+
createBy: string = "";
|
|
66
|
+
createAt: number = 0;
|
|
67
|
+
updateBy: string = "";
|
|
68
|
+
updateAt: number = 0;
|
|
69
|
+
deleteBy: string = "";
|
|
70
|
+
deleteAt: number = 0;
|
|
71
|
+
entityID: string = "";
|
|
72
|
+
queuesBy: number = 0;
|
|
73
|
+
|
|
74
|
+
isPublic: number = 0;
|
|
75
|
+
cnfgCode: string = "";
|
|
76
|
+
cnfgName: string = "";
|
|
77
|
+
cnfgUses: string = "";
|
|
78
|
+
cnfgMemo: string = "";
|
|
79
|
+
cnfgPara: string = "";
|
|
80
|
+
|
|
81
|
+
cnfg4key: string = "";
|
|
82
|
+
cnfg4val: string = "";
|
|
83
|
+
}
|
package/src/const/const_align.ts
CHANGED
package/src/const/const_stat.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
//审核状态
|
|
2
|
-
|
|
3
|
-
import { CONST_MODULE_HTGL_HTSQ } from "./const_module";
|
|
4
|
-
|
|
5
1
|
/**
|
|
6
2
|
* 终止/作废
|
|
7
3
|
*/
|
|
@@ -303,9 +299,7 @@ export type MenuType =
|
|
|
303
299
|
| typeof CONST_ZCGL_MENU_JFSY
|
|
304
300
|
| typeof CONST_ZCGL_MENU_HTQD
|
|
305
301
|
| typeof CONST_ZCGL_MENU_CJPX
|
|
306
|
-
| typeof CONST_ZCGL_MENU_ZXJF
|
|
307
|
-
| typeof CONST_MODULE_HTGL_HTSQ
|
|
308
|
-
| typeof CONST_MODULE_HTGL_HTSQ;
|
|
302
|
+
| typeof CONST_ZCGL_MENU_ZXJF;
|
|
309
303
|
|
|
310
304
|
/**
|
|
311
305
|
* 驾驶舱
|
|
@@ -103,4 +103,18 @@ export class TDictResponse extends TBaseResponse<IDictResponse[]> implements IDi
|
|
|
103
103
|
public static toList(listDict: IDictResponse[]) {
|
|
104
104
|
return destruct(listDict, { id: "dictIndx", pid: "parentID", children: "children" }) as IDictResponse[];
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
public static parseJson(dictPara: string) {
|
|
108
|
+
const defaultDictPara = new TDictResponseDictPara();
|
|
109
|
+
if (_.isEmpty(dictPara)) {
|
|
110
|
+
return defaultDictPara;
|
|
111
|
+
}
|
|
112
|
+
try {
|
|
113
|
+
const obj = JSON.parse(dictPara) as TDictResponseDictPara;
|
|
114
|
+
return _.merge(defaultDictPara, obj);
|
|
115
|
+
} catch (e: any) {
|
|
116
|
+
console.error(e.message);
|
|
117
|
+
}
|
|
118
|
+
return defaultDictPara;
|
|
119
|
+
}
|
|
106
120
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
export interface IDictResponseDictPara {
|
|
2
|
-
|
|
2
|
+
step: number;
|
|
3
|
+
zb: boolean;
|
|
4
|
+
required: boolean;
|
|
5
|
+
hidden: boolean;
|
|
6
|
+
show: boolean;
|
|
3
7
|
}
|
|
4
8
|
|
|
5
9
|
export class TDictResponseDictPara implements IDictResponseDictPara {
|
|
6
|
-
|
|
10
|
+
step: number = 0;
|
|
11
|
+
zb: boolean = false;
|
|
12
|
+
required: boolean = false;
|
|
13
|
+
hidden: boolean = false;
|
|
14
|
+
show: boolean = false;
|
|
7
15
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { construct, destruct } from "@aximario/json-tree";
|
|
1
2
|
import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
3
|
+
import _ from "lodash";
|
|
2
4
|
|
|
3
5
|
export interface ITypeResponse extends IBaseResponse<ITypeResponse[]> {
|
|
4
6
|
whoBuild: number;
|
|
@@ -38,6 +40,7 @@ export interface ITypeResponse extends IBaseResponse<ITypeResponse[]> {
|
|
|
38
40
|
iCascade: number;
|
|
39
41
|
sysClasc: number;
|
|
40
42
|
sysClasn: string;
|
|
43
|
+
label: string;
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
export class TTypeResponse extends TBaseResponse<ITypeResponse[]> implements ITypeResponse {
|
|
@@ -78,4 +81,13 @@ export class TTypeResponse extends TBaseResponse<ITypeResponse[]> implements ITy
|
|
|
78
81
|
iCascade: number = 0;
|
|
79
82
|
sysClasc: number = 0;
|
|
80
83
|
sysClasn: string = "";
|
|
84
|
+
label: string = "";
|
|
85
|
+
|
|
86
|
+
static toTree(listType: ITypeResponse[]) {
|
|
87
|
+
return construct(listType, { id: "typeMain", pid: "parentID", children: "children" }) as ITypeResponse[];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
static toList(treeType: ITypeResponse[]) {
|
|
91
|
+
return destruct(treeType, { id: "typeMain", pid: "parentID", children: "children" }) as ITypeResponse[];
|
|
92
|
+
}
|
|
81
93
|
}
|
|
@@ -108,7 +108,7 @@ export interface IUserResponse extends IBaseResponse<IUserResponse[]> {
|
|
|
108
108
|
userXzlvText: string; // #薪资级别(字典.名称)
|
|
109
109
|
userGwlxText: string;
|
|
110
110
|
userAcnoText: string;
|
|
111
|
-
|
|
111
|
+
employeeCode: string; // 登录三方的时候的verifyID
|
|
112
112
|
fromSourceND: number;
|
|
113
113
|
fromUserIndx: number;
|
|
114
114
|
fromWhoBuild: number;
|
|
@@ -192,7 +192,7 @@ export class TUserResponse extends TBaseResponse<IUserResponse[]> implements IUs
|
|
|
192
192
|
|
|
193
193
|
userExid: number = 0;
|
|
194
194
|
userGnkm: string = "";
|
|
195
|
-
|
|
195
|
+
employeeCode: string = "";
|
|
196
196
|
userIdcd: string = "";
|
|
197
197
|
|
|
198
198
|
userKJND: number = 0;
|
package/src/core/index.ts
CHANGED
|
@@ -18,23 +18,23 @@ import { IEnvrResponse, TEnvrResponse } from "./IEnvrResponse";
|
|
|
18
18
|
|
|
19
19
|
export {
|
|
20
20
|
// 接口
|
|
21
|
-
IDeptLiteResponse,
|
|
22
|
-
IDeptResponse,
|
|
23
|
-
IDictResponse,
|
|
24
|
-
ILaidResponse,
|
|
25
|
-
IPartResponse,
|
|
26
|
-
IPathResponse,
|
|
27
|
-
ISourceItem,
|
|
28
|
-
IStypResponse,
|
|
29
|
-
ISysClasResponse,
|
|
30
|
-
ISysMenuWithCoreResponse,
|
|
31
|
-
ISysMenuWithExpdResponse,
|
|
32
|
-
ITypeResponse,
|
|
33
|
-
IUnitResponse,
|
|
34
|
-
IUserAcnoResponse,
|
|
35
|
-
IUserFindResponse,
|
|
36
|
-
IUserResponse,
|
|
37
|
-
IEnvrResponse,
|
|
21
|
+
type IDeptLiteResponse,
|
|
22
|
+
type IDeptResponse,
|
|
23
|
+
type IDictResponse,
|
|
24
|
+
type ILaidResponse,
|
|
25
|
+
type IPartResponse,
|
|
26
|
+
type IPathResponse,
|
|
27
|
+
type ISourceItem,
|
|
28
|
+
type IStypResponse,
|
|
29
|
+
type ISysClasResponse,
|
|
30
|
+
type ISysMenuWithCoreResponse,
|
|
31
|
+
type ISysMenuWithExpdResponse,
|
|
32
|
+
type ITypeResponse,
|
|
33
|
+
type IUnitResponse,
|
|
34
|
+
type IUserAcnoResponse,
|
|
35
|
+
type IUserFindResponse,
|
|
36
|
+
type IUserResponse,
|
|
37
|
+
type IEnvrResponse,
|
|
38
38
|
|
|
39
39
|
// 类
|
|
40
40
|
TDeptLiteResponse,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// #资产卡片
|
|
2
|
+
export enum TabActive {
|
|
3
|
+
/** 全部 */
|
|
4
|
+
all = "all",
|
|
5
|
+
/** 制单 */
|
|
6
|
+
create = "create",
|
|
7
|
+
/** 已审 */
|
|
8
|
+
Reviewed = "Reviewed",
|
|
9
|
+
/** 出借 */
|
|
10
|
+
lend = "lend",
|
|
11
|
+
/** 归还 */
|
|
12
|
+
return = "return",
|
|
13
|
+
/** 退回 */
|
|
14
|
+
back = "back",
|
|
15
|
+
/** 完成 */
|
|
16
|
+
change = "change",
|
|
17
|
+
/** 送审 */
|
|
18
|
+
submit = "submit",
|
|
19
|
+
/** 审核 */
|
|
20
|
+
audit = "audit",
|
|
21
|
+
/** 确认 */
|
|
22
|
+
confirm = "confirm"
|
|
23
|
+
}
|
package/src/enums/index.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { TabActive } from "./cardMode";
|
|
1
2
|
import { TDoneMode } from "./doneMode";
|
|
2
3
|
import { TEditMode } from "./editMode";
|
|
3
4
|
import { TFormType } from "./formType";
|
|
4
5
|
import { TViewMode } from "./viewMode";
|
|
5
6
|
import { StoreId } from "./storeId";
|
|
7
|
+
import { TBtnActive } from "./btnMode";
|
|
6
8
|
|
|
7
|
-
export { TDoneMode, TEditMode, TFormType, TViewMode, StoreId };
|
|
9
|
+
export { TabActive, TDoneMode, TEditMode, TFormType, TViewMode, StoreId, TBtnActive };
|
package/src/flow/index.ts
CHANGED
|
@@ -5,12 +5,11 @@ import { IFlowVoidResponse, TFlowVoidResponse } from "./IFlowVoidResponse";
|
|
|
5
5
|
import { IFlowTypeResponse, TFlowTypeResponse } from "./IFlowTypeResponse";
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
|
-
IFlowDutyResponse,
|
|
9
|
-
IFlowMainResponse,
|
|
10
|
-
IFlowTypeResponse,
|
|
11
|
-
IFlowNodeResponse,
|
|
12
|
-
IFlowVoidResponse,
|
|
13
|
-
|
|
8
|
+
type IFlowDutyResponse,
|
|
9
|
+
type IFlowMainResponse,
|
|
10
|
+
type IFlowTypeResponse,
|
|
11
|
+
type IFlowNodeResponse,
|
|
12
|
+
type IFlowVoidResponse,
|
|
14
13
|
TFlowDutyResponse,
|
|
15
14
|
TFlowMainResponse,
|
|
16
15
|
TFlowTypeResponse,
|
package/src/gams/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface IGzjgGzlmResponse {
|
|
|
9
9
|
gzjgIndx: number;
|
|
10
10
|
gzlmFlid: number;
|
|
11
11
|
parentID: number;
|
|
12
|
-
parentCD: string;
|
|
12
|
+
parentCD: string | undefined;
|
|
13
13
|
dataLevl: number;
|
|
14
14
|
dataStat: number;
|
|
15
15
|
dataHide: number;
|
|
@@ -66,15 +66,19 @@ export interface IGzjgGzlmResponse {
|
|
|
66
66
|
|
|
67
67
|
dynamicField: string;
|
|
68
68
|
dynamicDict: any[];
|
|
69
|
+
jsScript: string;
|
|
70
|
+
sql4Load: string;
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
|
|
74
|
+
jsScript: string = "";
|
|
75
|
+
sql4Load: string = "";
|
|
72
76
|
whoBuild: number = 0;
|
|
73
77
|
userIndx: number = 0;
|
|
74
78
|
gzjgIndx: number = 0;
|
|
75
79
|
gzlmFlid: number = 0;
|
|
76
80
|
parentID: number = 0;
|
|
77
|
-
parentCD: string =
|
|
81
|
+
parentCD: string | undefined = undefined;
|
|
78
82
|
dataLevl: number = 0;
|
|
79
83
|
dataStat: number = 1;
|
|
80
84
|
dataHide: number = 0;
|
package/src/gzjg/index.ts
CHANGED
|
@@ -5,12 +5,11 @@ import { IGzjgMainResponse, TGzjgMainResponse } from "./IGzjgMainResponse";
|
|
|
5
5
|
import { IGzjgQzgsResponse, TGzjgQzgsResponse } from "./IGzjgQzgsResponse";
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
|
-
IGzjgBodyLockResponse,
|
|
9
|
-
IGzjgGzlmLandResponse,
|
|
10
|
-
IGzjgGzlmResponse,
|
|
11
|
-
IGzjgMainResponse,
|
|
12
|
-
IGzjgQzgsResponse,
|
|
13
|
-
|
|
8
|
+
type IGzjgBodyLockResponse,
|
|
9
|
+
type IGzjgGzlmLandResponse,
|
|
10
|
+
type IGzjgGzlmResponse,
|
|
11
|
+
type IGzjgMainResponse,
|
|
12
|
+
type IGzjgQzgsResponse,
|
|
14
13
|
TGzjgBodyLockResponse,
|
|
15
14
|
TGzjgGzlmLandResponse,
|
|
16
15
|
TGzjgGzlmResponse,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { construct } from "@aximario/json-tree";
|
|
2
2
|
import type { IPzptItemResponse } from "./IPzptItemResponse";
|
|
3
3
|
import type { IPzptTypeResponse } from "./IPzptTypeResponse";
|
|
4
|
+
import { IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
4
5
|
|
|
5
|
-
export interface IPzptK8kmResponse {
|
|
6
|
+
export interface IPzptK8kmResponse extends IBaseResponse<IPzptK8kmResponse> {
|
|
6
7
|
c0pzType: number;
|
|
7
8
|
createAt: number;
|
|
8
9
|
createBy: string;
|
|
@@ -49,7 +50,6 @@ export interface IPzptK8kmResponse {
|
|
|
49
50
|
parentCD: string;
|
|
50
51
|
parentID: number;
|
|
51
52
|
queuesBy: number;
|
|
52
|
-
readOnly: number;
|
|
53
53
|
sourceID: number;
|
|
54
54
|
sourceND: number;
|
|
55
55
|
typeSize: number;
|
|
@@ -82,7 +82,7 @@ export interface IPzptK8kmResponse {
|
|
|
82
82
|
listType: IPzptTypeResponse[];
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
export class TPzptK8kmResponse implements IPzptK8kmResponse {
|
|
85
|
+
export class TPzptK8kmResponse extends TBaseResponse<IPzptK8kmResponse> implements IPzptK8kmResponse {
|
|
86
86
|
c0pzType: number = 0;
|
|
87
87
|
createAt: number = 0;
|
|
88
88
|
createBy: string = "";
|
|
@@ -129,7 +129,6 @@ export class TPzptK8kmResponse implements IPzptK8kmResponse {
|
|
|
129
129
|
parentCD: string = "";
|
|
130
130
|
parentID: number = 0;
|
|
131
131
|
queuesBy: number = 0;
|
|
132
|
-
readOnly: number = 0;
|
|
133
132
|
sourceID: number = 0;
|
|
134
133
|
sourceND: number = 0;
|
|
135
134
|
typeSize: number = 0;
|
package/src/pzpt/index.ts
CHANGED
|
@@ -7,14 +7,13 @@ import { IPzptTypeResponse, TPzptTypeResponse } from "./IPzptTypeResponse";
|
|
|
7
7
|
import { IPzptUkkmResponse, TPzptUkkmResponse } from "./IPzptUkkmResponse";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
|
-
IPzptCnfgResponse,
|
|
11
|
-
IPzptItemResponse,
|
|
12
|
-
IPzptK0kmResponse,
|
|
13
|
-
IPzptK8kmResponse,
|
|
14
|
-
IPzptKbkmResponse,
|
|
15
|
-
IPzptTypeResponse,
|
|
16
|
-
IPzptUkkmResponse,
|
|
17
|
-
|
|
10
|
+
type IPzptCnfgResponse,
|
|
11
|
+
type IPzptItemResponse,
|
|
12
|
+
type IPzptK0kmResponse,
|
|
13
|
+
type IPzptK8kmResponse,
|
|
14
|
+
type IPzptKbkmResponse,
|
|
15
|
+
type IPzptTypeResponse,
|
|
16
|
+
type IPzptUkkmResponse,
|
|
18
17
|
TPzptCnfgResponse,
|
|
19
18
|
TPzptItemResponse,
|
|
20
19
|
TPzptK0kmResponse,
|
package/src/store/index.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ISessionUserInfo, IUserState, TSessionUserInfo, TUserState } from "./userState";
|
|
2
2
|
import { ITabsState, TTabsState } from "./tabsState";
|
|
3
|
+
import { IViewState, TViewState } from "./viewState";
|
|
3
4
|
|
|
4
|
-
export {
|
|
5
|
+
export { TUserState, TTabsState, TSessionUserInfo, TViewState };
|
|
6
|
+
export type { IUserState, ITabsState, ISessionUserInfo, IViewState };
|
package/src/store/tabsState.ts
CHANGED
package/src/store/viewState.ts
CHANGED
package/src/tabl/index.ts
CHANGED
|
@@ -2,12 +2,4 @@ import { ITablDataResponse, TTablDataResponse } from "./ITablDataResponse";
|
|
|
2
2
|
import { ITablLineResponse, TTablLineResponse } from "./ITablLineResponse";
|
|
3
3
|
import { ITablMainResponse, TTablMainResponse } from "./ITablMainResponse";
|
|
4
4
|
|
|
5
|
-
export {
|
|
6
|
-
ITablDataResponse,
|
|
7
|
-
ITablLineResponse,
|
|
8
|
-
ITablMainResponse,
|
|
9
|
-
|
|
10
|
-
TTablDataResponse,
|
|
11
|
-
TTablLineResponse,
|
|
12
|
-
TTablMainResponse
|
|
13
|
-
};
|
|
5
|
+
export { type ITablDataResponse, type ITablLineResponse, type ITablMainResponse, TTablDataResponse, TTablLineResponse, TTablMainResponse };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { IWldyItemResponse } from "./IWldyItemResponse";
|
|
2
|
+
|
|
1
3
|
export interface IWldyDataResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -27,6 +29,8 @@ export interface IWldyDataResponse {
|
|
|
27
29
|
dataMemo: string;
|
|
28
30
|
dataAttr: string;
|
|
29
31
|
loadText: string;
|
|
32
|
+
|
|
33
|
+
listItem: IWldyItemResponse[];
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
export class TWldyDataResponse implements IWldyDataResponse {
|
|
@@ -57,4 +61,6 @@ export class TWldyDataResponse implements IWldyDataResponse {
|
|
|
57
61
|
dataMemo: string = "";
|
|
58
62
|
dataAttr: string = "";
|
|
59
63
|
loadText: string = "";
|
|
64
|
+
|
|
65
|
+
listItem: IWldyItemResponse[] = [];
|
|
60
66
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface IPaperSize {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export class TPaperSize implements IPaperSize {
|
|
9
|
+
id: number = 0;
|
|
10
|
+
title: string = "";
|
|
11
|
+
width: number = 0;
|
|
12
|
+
height: number = 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface IWldyPageParaResponse {
|
|
16
|
+
paperSize: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export class TWldyPageParaResponse {
|
|
20
|
+
paperSize: number = 2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const listPaper: IPaperSize[] = [
|
|
24
|
+
{
|
|
25
|
+
id: 1,
|
|
26
|
+
title: "A3",
|
|
27
|
+
width: 420,
|
|
28
|
+
height: 297
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 2,
|
|
32
|
+
title: "A4",
|
|
33
|
+
width: 210,
|
|
34
|
+
height: 297
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 3,
|
|
38
|
+
title: "A5",
|
|
39
|
+
width: 210,
|
|
40
|
+
height: 148
|
|
41
|
+
}
|
|
42
|
+
];
|