@ningboyz/types 1.7.173 → 1.7.174
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/card/ISyszclbgblbResponse.ts~ +67 -0
- package/src/card/IZclbgblbResponse.ts~ +68 -0
- package/src/const/const_wtui_item_type.ts~ +20 -0
- package/src/gzjg/IGzjgBindResponse.ts +57 -0
- package/src/gzjg/IGzjgGzlmBindResponse.ts +49 -0
- package/src/gzjg/IGzjgMainResponse.ts +8 -4
- package/src/gzjg/index.ts +7 -1
package/package.json
CHANGED
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|
|
@@ -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; //小于等于
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { IGzjgGzlmBindResponse } from "./IGzjgGzlmBindResponse.ts";
|
|
2
|
+
|
|
3
|
+
export interface IGzjgBindResponse {
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
userIndx: number;
|
|
6
|
+
// 统发结构
|
|
7
|
+
gzjgIndx: number;
|
|
8
|
+
idEntity: number;
|
|
9
|
+
dataStat: number;
|
|
10
|
+
dataHide: number;
|
|
11
|
+
dataOrdr: number;
|
|
12
|
+
dataFrom: number;
|
|
13
|
+
dataDate: number;
|
|
14
|
+
dataTime: number;
|
|
15
|
+
createBy: string;
|
|
16
|
+
createAt: number;
|
|
17
|
+
updateBy: string;
|
|
18
|
+
updateAt: number;
|
|
19
|
+
deleteBy: string;
|
|
20
|
+
deleteAt: number;
|
|
21
|
+
// 统发任务
|
|
22
|
+
taskMain: number;
|
|
23
|
+
taskName: string;
|
|
24
|
+
// 人事人员
|
|
25
|
+
bindTabl: string;
|
|
26
|
+
// 人事数据
|
|
27
|
+
bindView: string;
|
|
28
|
+
bindText: string;
|
|
29
|
+
|
|
30
|
+
listItem: IGzjgGzlmBindResponse[];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export class TGzjgBindResponse implements IGzjgBindResponse {
|
|
34
|
+
whoBuild: number = 0;
|
|
35
|
+
userIndx: number = 0;
|
|
36
|
+
gzjgIndx: number = 0;
|
|
37
|
+
idEntity: 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
|
+
taskMain: number = 0;
|
|
51
|
+
taskName: string = "";
|
|
52
|
+
bindTabl: string = "";
|
|
53
|
+
bindView: string = "";
|
|
54
|
+
bindText: string = "";
|
|
55
|
+
|
|
56
|
+
listItem: IGzjgGzlmBindResponse[] = [];
|
|
57
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface IGzjgGzlmBindResponse {
|
|
2
|
+
whoBuild: number;
|
|
3
|
+
userIndx: number;
|
|
4
|
+
gzjgIndx: number;
|
|
5
|
+
gzlmFlid: number;
|
|
6
|
+
idEntity: 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
|
+
taskMain: number;
|
|
20
|
+
taskName: string;
|
|
21
|
+
bindTabl: string;
|
|
22
|
+
bindView: string;
|
|
23
|
+
bindText: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class TGzjgGzlmBindResponse implements IGzjgGzlmBindResponse {
|
|
27
|
+
whoBuild: number = 0;
|
|
28
|
+
userIndx: number = 0;
|
|
29
|
+
gzjgIndx: number = 0;
|
|
30
|
+
gzlmFlid: number = 0;
|
|
31
|
+
idEntity: number = 0;
|
|
32
|
+
dataStat: number = 0;
|
|
33
|
+
dataHide: number = 0;
|
|
34
|
+
dataOrdr: number = 0;
|
|
35
|
+
dataFrom: number = 0;
|
|
36
|
+
dataDate: number = 0;
|
|
37
|
+
dataTime: number = 0;
|
|
38
|
+
createBy: string = "";
|
|
39
|
+
createAt: number = 0;
|
|
40
|
+
updateBy: string = "";
|
|
41
|
+
updateAt: number = 0;
|
|
42
|
+
deleteBy: string = "";
|
|
43
|
+
deleteAt: number = 0;
|
|
44
|
+
taskMain: number = 0;
|
|
45
|
+
taskName: string = "";
|
|
46
|
+
bindTabl: string = "";
|
|
47
|
+
bindView: string = "";
|
|
48
|
+
bindText: string = "";
|
|
49
|
+
}
|
|
@@ -5,6 +5,7 @@ import type { IGzjgGzlmLandResponse } from "./IGzjgGzlmLandResponse";
|
|
|
5
5
|
import type { IGzjgGzlmResponse } from "./IGzjgGzlmResponse";
|
|
6
6
|
import { IGzjgMainResponseGzjgPara, TGzjgMainResponseGzjgPara } from "./IGzjgMainResponseGzjgPara";
|
|
7
7
|
import type { IGzjgQzgsResponse } from "./IGzjgQzgsResponse";
|
|
8
|
+
import { IGzjgMainResponseWithYZPZ } from "./IGzjgMainResponseWithYZPZ";
|
|
8
9
|
|
|
9
10
|
// #工资结构
|
|
10
11
|
export interface IGzjgMainResponse {
|
|
@@ -101,8 +102,8 @@ export interface IGzjgMainResponse {
|
|
|
101
102
|
useEqualWhenPzpt: number; //#启用平衡检查
|
|
102
103
|
usesFromCrossUnt: number; //#允许跨单位特殊人员
|
|
103
104
|
|
|
104
|
-
acnoType:number;
|
|
105
|
-
acnoTypeText:string;
|
|
105
|
+
acnoType: number;
|
|
106
|
+
acnoTypeText: string;
|
|
106
107
|
|
|
107
108
|
pathType: IDictResponse[]; //#附件类型
|
|
108
109
|
userType: IDictResponse[]; //#人员类型
|
|
@@ -117,6 +118,8 @@ export interface IGzjgMainResponse {
|
|
|
117
118
|
|
|
118
119
|
colsLand: IGzjgGzlmLandResponse[];
|
|
119
120
|
bodyLook: TGzjgBodyLockResponse[];
|
|
121
|
+
|
|
122
|
+
withYZPZ: IGzjgMainResponseWithYZPZ | object;
|
|
120
123
|
/** 表体对象,1:单位,2:部门,3:人员,4:字典 */
|
|
121
124
|
bodyFill: number;
|
|
122
125
|
// 虚拟字段
|
|
@@ -180,8 +183,8 @@ export class TGzjgMainResponse implements IGzjgMainResponse {
|
|
|
180
183
|
usesYzcg: number = 0;
|
|
181
184
|
usrGroup: string = "";
|
|
182
185
|
|
|
183
|
-
acnoType:number = 0;
|
|
184
|
-
acnoTypeText:string = "";
|
|
186
|
+
acnoType: number = 0;
|
|
187
|
+
acnoTypeText: string = "";
|
|
185
188
|
|
|
186
189
|
withBody: number = 0;
|
|
187
190
|
data4URL: string = "";
|
|
@@ -237,6 +240,7 @@ export class TGzjgMainResponse implements IGzjgMainResponse {
|
|
|
237
240
|
|
|
238
241
|
colsLand: IGzjgGzlmLandResponse[] = [];
|
|
239
242
|
bodyLook: IGzjgBodyLockResponse[] = [];
|
|
243
|
+
withYZPZ: IGzjgMainResponseWithYZPZ | object = {};
|
|
240
244
|
|
|
241
245
|
bodyFill: number = 0;
|
|
242
246
|
colIndex: number = 0;
|
package/src/gzjg/index.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { IGzjgMainResponse, TGzjgMainResponse } from "./IGzjgMainResponse";
|
|
|
7
7
|
import { IGzjgMainResponseGzjgPara, TGzjgMainResponseGzjgPara } from "./IGzjgMainResponseGzjgPara";
|
|
8
8
|
import { IGzjgMainResponseWithYZPZ, TGzjgMainResponseWithYZPZ } from "./IGzjgMainResponseWithYZPZ";
|
|
9
9
|
import { IGzjgQzgsResponse, TGzjgQzgsResponse } from "./IGzjgQzgsResponse";
|
|
10
|
+
import { IGzjgGzlmBindResponse, TGzjgGzlmBindResponse } from "./IGzjgGzlmBindResponse";
|
|
11
|
+
import { TGzjgBindResponse, IGzjgBindResponse } from "./IGzjgBindResponse";
|
|
10
12
|
|
|
11
13
|
export {
|
|
12
14
|
TElemElemResponse,
|
|
@@ -18,6 +20,8 @@ export {
|
|
|
18
20
|
TGzjgMainResponseWithYZPZ,
|
|
19
21
|
TGzjgQzgsResponse,
|
|
20
22
|
TGzjgGzlmResponseGzlmPara,
|
|
23
|
+
TGzjgBindResponse,
|
|
24
|
+
TGzjgGzlmBindResponse,
|
|
21
25
|
type IElemElemResponse,
|
|
22
26
|
type IGzjgBodyLockResponse,
|
|
23
27
|
type IGzjgGzlmLandResponse,
|
|
@@ -26,5 +30,7 @@ export {
|
|
|
26
30
|
type IGzjgMainResponseGzjgPara,
|
|
27
31
|
type IGzjgMainResponseWithYZPZ,
|
|
28
32
|
type IGzjgQzgsResponse,
|
|
29
|
-
type IGzjgGzlmResponseGzlmPara
|
|
33
|
+
type IGzjgGzlmResponseGzlmPara,
|
|
34
|
+
type IGzjgBindResponse,
|
|
35
|
+
type IGzjgGzlmBindResponse
|
|
30
36
|
};
|