@ningboyz/types 1.6.134 → 1.6.136
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/package.json +1 -1
- package/src/core/IDeptResponse.ts +4 -0
- package/src/core/IDictResponse.ts +28 -0
- package/src/core/IUserResponse.ts +4 -2
- package/src/hzcb/IHzcbMainResponse.ts +2 -0
- package/src/tabl/ITablWzk8Response.ts +18 -0
- package/src/card/ISyszclbgblbResponse.ts~ +0 -67
- package/src/card/IZclbgblbResponse.ts~ +0 -68
- package/src/const/const_wtui_item_type.ts~ +0 -20
package/package.json
CHANGED
|
@@ -66,6 +66,8 @@ export interface IDeptResponse extends IBaseResponse<IDeptResponse> {
|
|
|
66
66
|
k4kmKmbm: string; //#核算项目
|
|
67
67
|
k1kmKmbm: string; //#功能科目
|
|
68
68
|
unitCode: string;
|
|
69
|
+
nameLite: string;
|
|
70
|
+
k2kmKmbm: string;
|
|
69
71
|
|
|
70
72
|
/**
|
|
71
73
|
* 参数约定
|
|
@@ -136,6 +138,8 @@ export class TDeptResponse extends TBaseResponse<IDeptResponse> implements IDept
|
|
|
136
138
|
k4kmKmbm: string = "";
|
|
137
139
|
k1kmKmbm: string = "";
|
|
138
140
|
unitCode: string = "";
|
|
141
|
+
nameLite: string = "";
|
|
142
|
+
k2kmKmbm: string = "";
|
|
139
143
|
|
|
140
144
|
/** 部门类型 */
|
|
141
145
|
listBMLX: IDictResponse[] = [];
|
|
@@ -64,6 +64,20 @@ export interface IDictResponse extends IBaseResponse<IDictResponse> {
|
|
|
64
64
|
|
|
65
65
|
thirdApp: string;
|
|
66
66
|
|
|
67
|
+
/** 172 */
|
|
68
|
+
startVal:number
|
|
69
|
+
/** 4*/
|
|
70
|
+
endedVal:number;
|
|
71
|
+
/** 176*/
|
|
72
|
+
finalVal:number
|
|
73
|
+
/** 身高=172+4*/
|
|
74
|
+
startTxt:string;
|
|
75
|
+
endedTxt:string;
|
|
76
|
+
/** 身高=176*/
|
|
77
|
+
finalTxt: string;
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
67
81
|
/**
|
|
68
82
|
* 字典详情名称
|
|
69
83
|
*/
|
|
@@ -132,6 +146,20 @@ export class TDictResponse extends TBaseResponse<IDictResponse> implements IDict
|
|
|
132
146
|
detailName: string = "";
|
|
133
147
|
detailCode: string = "";
|
|
134
148
|
dictParaConv: IDictResponseDictPara = new TDictResponseDictPara();
|
|
149
|
+
/** 172 */
|
|
150
|
+
startVal:number = 0;
|
|
151
|
+
/** 4*/
|
|
152
|
+
endedVal:number = 0;
|
|
153
|
+
/** 176*/
|
|
154
|
+
finalVal:number = 0;
|
|
155
|
+
/** 身高=172+4*/
|
|
156
|
+
startTxt:string = "";
|
|
157
|
+
endedTxt:string = "";
|
|
158
|
+
/** 身高=176*/
|
|
159
|
+
finalTxt: string = "";
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
135
163
|
|
|
136
164
|
public static toTree(listDict: IDictResponse[]) {
|
|
137
165
|
return construct(listDict, { id: "dictIndx", pid: "parentID", children: "children" }) as IDictResponse[];
|
|
@@ -180,7 +180,8 @@ export interface IUserResponse extends IBaseResponse<IUserResponse> {
|
|
|
180
180
|
userTxrq: number;
|
|
181
181
|
/**是否挂起 */
|
|
182
182
|
ignoreOn: number;
|
|
183
|
-
|
|
183
|
+
/**是否为内测用户 */
|
|
184
|
+
asInside: number;
|
|
184
185
|
listHardware: any[];
|
|
185
186
|
listSysPartc: any[];
|
|
186
187
|
listUserDept: IDeptResponse[]; // 归属部门
|
|
@@ -342,7 +343,8 @@ export class TUserResponse extends TBaseResponse<IUserResponse> implements IUser
|
|
|
342
343
|
userTxrq: number = 0;
|
|
343
344
|
userDeptList: [] = [];
|
|
344
345
|
userRylxList: [] = [];
|
|
345
|
-
|
|
346
|
+
/**是否为内测用户 */
|
|
347
|
+
asInside: number = 0;
|
|
346
348
|
userRdrq: number = 0;
|
|
347
349
|
listUserZzmm: IDictResponse[] = [];
|
|
348
350
|
userZzmm: number = 0;
|
|
@@ -143,6 +143,7 @@ export interface IHzcbMainResponse {
|
|
|
143
143
|
/** 送审/审核时间 */
|
|
144
144
|
lastTime: number;
|
|
145
145
|
hzcbMain: number;
|
|
146
|
+
unitText: string;
|
|
146
147
|
|
|
147
148
|
/** 附件 */
|
|
148
149
|
listPath: TCore.IPathResponse[];
|
|
@@ -271,6 +272,7 @@ export class THzcbMainResponse implements IHzcbMainResponse {
|
|
|
271
272
|
/** 送审/审核时间 */
|
|
272
273
|
lastTime: number = 0;
|
|
273
274
|
hzcbMain: number = 0;
|
|
275
|
+
unitText: string = "";
|
|
274
276
|
|
|
275
277
|
listPath: TCore.IPathResponse[] = [];
|
|
276
278
|
listZJLY: THzcb.IHzcbZjlyResponse[] = [];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _ from "lodash";
|
|
2
|
+
import { TCore } from "..";
|
|
2
3
|
|
|
3
4
|
export interface ITablWzk8Response {
|
|
4
5
|
whoBuild: number;
|
|
@@ -39,6 +40,14 @@ export interface ITablWzk8Response {
|
|
|
39
40
|
gztbMain: number;
|
|
40
41
|
userMain: number;
|
|
41
42
|
userName: string;
|
|
43
|
+
|
|
44
|
+
/** 身高=172+4;衣长=70+4*/
|
|
45
|
+
startTxt:string;
|
|
46
|
+
endedTxt:string;
|
|
47
|
+
/** 身高=176;衣长=74*/
|
|
48
|
+
finalTxt: string;
|
|
49
|
+
|
|
50
|
+
listDict: TCore.IDictResponse[];
|
|
42
51
|
}
|
|
43
52
|
|
|
44
53
|
export class TTablWzk8Response implements ITablWzk8Response {
|
|
@@ -100,6 +109,15 @@ export class TTablWzk8Response implements ITablWzk8Response {
|
|
|
100
109
|
gztbMain: number = 0;
|
|
101
110
|
userMain: number = 0;
|
|
102
111
|
userName: string = "";
|
|
112
|
+
|
|
113
|
+
/** 身高=172+4;衣长=70+4*/
|
|
114
|
+
startTxt:string = "";
|
|
115
|
+
endedTxt:string = "";
|
|
116
|
+
/** 身高=176;衣长=74*/
|
|
117
|
+
finalTxt: string = "";
|
|
118
|
+
|
|
119
|
+
listDict: TCore.IDictResponse[] = [];
|
|
120
|
+
|
|
103
121
|
|
|
104
122
|
constructor(data: Partial<ITablWzk8Response> = {}) {
|
|
105
123
|
if (data) {
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import _ from "lodash";
|
|
2
|
-
|
|
3
|
-
export interface ISyszclbgblbResponse {
|
|
4
|
-
whoBuild: number
|
|
5
|
-
userIndx: number
|
|
6
|
-
zclbIndx: number
|
|
7
|
-
dataStat: number
|
|
8
|
-
dataHide: number
|
|
9
|
-
dataOrdr: number
|
|
10
|
-
dataFrom: number
|
|
11
|
-
dataDate: number
|
|
12
|
-
dataTime: number
|
|
13
|
-
createBy: string
|
|
14
|
-
createAt: number
|
|
15
|
-
updateBy: string
|
|
16
|
-
updateAt: number
|
|
17
|
-
deleteBy: string
|
|
18
|
-
deleteAt: number
|
|
19
|
-
queuesBy: number
|
|
20
|
-
fromWhoBuild: number
|
|
21
|
-
fromUserIndx: number
|
|
22
|
-
fromGblbIndx: number
|
|
23
|
-
sourceND: number
|
|
24
|
-
fromSourceND: number
|
|
25
|
-
|
|
26
|
-
zclbTypeText: string
|
|
27
|
-
zclbCode: string
|
|
28
|
-
zclbName: string
|
|
29
|
-
gblbCode: string
|
|
30
|
-
gblbName: string
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export class TSyszclbgblbResponse implements ISyszclbgblbResponse {
|
|
34
|
-
whoBuild: number = 0
|
|
35
|
-
userIndx: number = 0
|
|
36
|
-
zclbIndx: number = 0
|
|
37
|
-
dataStat: number = 0
|
|
38
|
-
dataHide: number = 0
|
|
39
|
-
dataOrdr: number = 0
|
|
40
|
-
dataFrom: number = 0
|
|
41
|
-
dataDate: number = 0
|
|
42
|
-
dataTime: number = 0
|
|
43
|
-
createBy: string = ""
|
|
44
|
-
createAt: number = 0
|
|
45
|
-
updateBy: string = ""
|
|
46
|
-
updateAt: number = 0
|
|
47
|
-
deleteBy: string = ""
|
|
48
|
-
deleteAt: number = 0
|
|
49
|
-
queuesBy: number = 0
|
|
50
|
-
fromWhoBuild: number = 0
|
|
51
|
-
fromUserIndx: number = 0
|
|
52
|
-
fromGblbIndx: number = 0
|
|
53
|
-
sourceND: number = 0
|
|
54
|
-
fromSourceND: number = 0
|
|
55
|
-
|
|
56
|
-
zclbTypeText: string = ""
|
|
57
|
-
zclbCode: string = ""
|
|
58
|
-
zclbName: string = ""
|
|
59
|
-
gblbCode: string = ""
|
|
60
|
-
gblbName: string = ""
|
|
61
|
-
|
|
62
|
-
constructor(data: any = {}) {
|
|
63
|
-
if (data) {
|
|
64
|
-
_.merge(this, _.pick(data, Object.keys(this)));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import _ from "lodash";
|
|
2
|
-
|
|
3
|
-
export interface ISyszclbgblb{
|
|
4
|
-
whoBuild : number
|
|
5
|
-
userIndx : number
|
|
6
|
-
zclbIndx : number
|
|
7
|
-
dataStat : number
|
|
8
|
-
dataHide : number
|
|
9
|
-
dataOrdr : number
|
|
10
|
-
dataFrom : number
|
|
11
|
-
dataDate : number
|
|
12
|
-
dataTime : number
|
|
13
|
-
createBy : string
|
|
14
|
-
createAt : number
|
|
15
|
-
updateBy : string
|
|
16
|
-
updateAt : number
|
|
17
|
-
deleteBy : string
|
|
18
|
-
deleteAt : number
|
|
19
|
-
queuesBy : number
|
|
20
|
-
fromWhoBuild: number
|
|
21
|
-
fromUserIndx: number
|
|
22
|
-
fromGblbIndx: number
|
|
23
|
-
sourceND : number
|
|
24
|
-
fromSourceND: number
|
|
25
|
-
|
|
26
|
-
zclbTypeText : string
|
|
27
|
-
zclbCode: string
|
|
28
|
-
zclbName: string
|
|
29
|
-
gblbCode: string
|
|
30
|
-
gblbName: string
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export class TSyszclbgblb implements ISyszclbgblb{
|
|
35
|
-
whoBuild : number = 0
|
|
36
|
-
userIndx : number = 0
|
|
37
|
-
zclbIndx : number = 0
|
|
38
|
-
dataStat : number = 0
|
|
39
|
-
dataHide : number = 0
|
|
40
|
-
dataOrdr : number = 0
|
|
41
|
-
dataFrom : number = 0
|
|
42
|
-
dataDate : number = 0
|
|
43
|
-
dataTime : number = 0
|
|
44
|
-
createBy : string =''
|
|
45
|
-
createAt : number = 0
|
|
46
|
-
updateBy : string =''
|
|
47
|
-
updateAt : number = 0
|
|
48
|
-
deleteBy : string =''
|
|
49
|
-
deleteAt : number = 0
|
|
50
|
-
queuesBy : number = 0
|
|
51
|
-
fromWhoBuild: number = 0
|
|
52
|
-
fromUserIndx: number = 0
|
|
53
|
-
fromGblbIndx: number = 0
|
|
54
|
-
sourceND : number = 0
|
|
55
|
-
fromSourceND: number = 0
|
|
56
|
-
|
|
57
|
-
zclbTypeText : string =""
|
|
58
|
-
zclbCode: string =""
|
|
59
|
-
zclbName: string =""
|
|
60
|
-
gblbCode: string =""
|
|
61
|
-
gblbName: string =""
|
|
62
|
-
|
|
63
|
-
constructor(data: Partial<ISYSZCLBGBLB> = {}) {
|
|
64
|
-
if (data) {
|
|
65
|
-
_.merge(this, _.pick(data, Object.keys(this)));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
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; //小于等于
|