@ningboyz/types 1.8.112 → 1.8.114
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/ICardMainFindResponse.ts +7 -2
- package/src/card/ICardMainResponse.ts +3 -3
- package/src/card/ICardUserResponse.ts +70 -70
- 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/hznj/IHznjNotiSummaryResponse.ts +53 -0
- package/src/hznj/index.ts +3 -0
package/package.json
CHANGED
|
@@ -14,6 +14,11 @@ export class TRangeVal implements IRangeVal {
|
|
|
14
14
|
endedVal: number = 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
export interface ICardZjztPara {
|
|
18
|
+
cardZjzt: 1 | 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
17
22
|
export interface ICardMainFindResponse {
|
|
18
23
|
unitMain: IUnitResponse[];
|
|
19
24
|
cardCode: string;
|
|
@@ -37,7 +42,7 @@ export interface ICardMainFindResponse {
|
|
|
37
42
|
fromCardStat: number;
|
|
38
43
|
cardZcyzRange: IRangeVal;
|
|
39
44
|
cardZcdjRange: IRangeVal;
|
|
40
|
-
cardZjzt:
|
|
45
|
+
cardZjzt: ICardZjztPara[];
|
|
41
46
|
cardSynxRange: IRangeVal;
|
|
42
47
|
cardZjnxRange: IRangeVal;
|
|
43
48
|
cardYzjeRange: IRangeVal;
|
|
@@ -77,7 +82,7 @@ export class TCardMainFindResponse implements ICardMainFindResponse {
|
|
|
77
82
|
fromCardStat: number = -3;
|
|
78
83
|
cardZcyzRange: IRangeVal = new TRangeVal();
|
|
79
84
|
cardZcdjRange: IRangeVal = new TRangeVal();
|
|
80
|
-
cardZjzt:
|
|
85
|
+
cardZjzt: ICardZjztPara[] = [];
|
|
81
86
|
cardSynxRange: IRangeVal = new TRangeVal();
|
|
82
87
|
cardZjnxRange: IRangeVal = new TRangeVal();
|
|
83
88
|
cardYzjeRange: IRangeVal = new TRangeVal();
|
|
@@ -126,7 +126,7 @@ export interface ICardMainResponse {
|
|
|
126
126
|
cardSyfx: number;
|
|
127
127
|
/** 发证时间 */
|
|
128
128
|
cardFzsj: number;
|
|
129
|
-
/** 证书号码 */
|
|
129
|
+
/** 证书号码 权属证号 */
|
|
130
130
|
cardZshm: string;
|
|
131
131
|
/** 坐落位置 */
|
|
132
132
|
cardZlwz: string;
|
|
@@ -141,7 +141,7 @@ export interface ICardMainResponse {
|
|
|
141
141
|
cardHqmj: number;
|
|
142
142
|
/** 出租面积 */
|
|
143
143
|
cardCzmj: number;
|
|
144
|
-
/** 出借面积 */
|
|
144
|
+
/** 出借面积 权属面积 */
|
|
145
145
|
cardCjmj: number;
|
|
146
146
|
/** 闲置面积 */
|
|
147
147
|
cardXzmj: number;
|
|
@@ -273,7 +273,7 @@ export interface ICardMainResponse {
|
|
|
273
273
|
userSize: number;
|
|
274
274
|
/** 车架编号 */
|
|
275
275
|
autoClno: string;
|
|
276
|
-
/** 引擎编号 */
|
|
276
|
+
/** 引擎编号 发动机号 */
|
|
277
277
|
autoYqno: string;
|
|
278
278
|
/** 对应钥匙 */
|
|
279
279
|
matchKey: string;
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import _ from "lodash";
|
|
2
|
-
|
|
3
|
-
export interface ICardUserResponse {
|
|
4
|
-
whoBuild: number;
|
|
5
|
-
cardIndx: number;
|
|
6
|
-
cardExid: number;
|
|
7
|
-
parentID: number;
|
|
8
|
-
hashCode: number;
|
|
9
|
-
dataLevl: number;
|
|
10
|
-
dataStat: number;
|
|
11
|
-
dataOrdr: number;
|
|
12
|
-
dataDate: number;
|
|
13
|
-
dataTime: number;
|
|
14
|
-
dataHide: number;
|
|
15
|
-
dataFrom: number;
|
|
16
|
-
kjndKJQJ: number;
|
|
17
|
-
dataGUID: string;
|
|
18
|
-
mastName: string;
|
|
19
|
-
mastGUID: string;
|
|
20
|
-
createBy: string;
|
|
21
|
-
createAt: number;
|
|
22
|
-
updateBy: string;
|
|
23
|
-
updateAt: number;
|
|
24
|
-
deleteBy: string;
|
|
25
|
-
deleteAt: number;
|
|
26
|
-
queuesBy: number;
|
|
27
|
-
dictMain: number;
|
|
28
|
-
dictText: string;
|
|
29
|
-
fromWhoBuild: number;
|
|
30
|
-
fromUserIndx: number;
|
|
31
|
-
fromUserExid: number;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export class TCardUserResponse implements ICardUserResponse {
|
|
36
|
-
whoBuild: number = 0;
|
|
37
|
-
cardIndx: number = 0;
|
|
38
|
-
cardExid: number = 0;
|
|
39
|
-
parentID: number = 0;
|
|
40
|
-
hashCode: number = 0;
|
|
41
|
-
dataLevl: number = 0;
|
|
42
|
-
dataStat: number = 0;
|
|
43
|
-
dataOrdr: number = 0;
|
|
44
|
-
dataDate: number = 0;
|
|
45
|
-
dataTime: number = 0;
|
|
46
|
-
dataHide: number = 0;
|
|
47
|
-
dataFrom: number = 0;
|
|
48
|
-
kjndKJQJ: number = 0;
|
|
49
|
-
dataGUID: string = "";
|
|
50
|
-
mastName: string = "";
|
|
51
|
-
mastGUID: string = "";
|
|
52
|
-
createBy: string = "";
|
|
53
|
-
createAt: number = 0;
|
|
54
|
-
updateBy: string = "";
|
|
55
|
-
updateAt: number = 0;
|
|
56
|
-
deleteBy: string = "";
|
|
57
|
-
deleteAt: number = 0;
|
|
58
|
-
queuesBy: number = 0;
|
|
59
|
-
dictMain: number = 0;
|
|
60
|
-
dictText: string = "";
|
|
61
|
-
fromWhoBuild: number = 0;
|
|
62
|
-
fromUserIndx: number = 0;
|
|
63
|
-
fromUserExid: number = 0;
|
|
64
|
-
|
|
65
|
-
constructor(data: Partial<ICardUserResponse> = {}) {
|
|
66
|
-
if (data) {
|
|
67
|
-
_.merge(this, _.pick(data, Object.keys(this)));
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
3
|
+
export interface ICardUserResponse {
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
cardIndx: number;
|
|
6
|
+
cardExid: number;
|
|
7
|
+
parentID: number;
|
|
8
|
+
hashCode: number;
|
|
9
|
+
dataLevl: number;
|
|
10
|
+
dataStat: number;
|
|
11
|
+
dataOrdr: number;
|
|
12
|
+
dataDate: number;
|
|
13
|
+
dataTime: number;
|
|
14
|
+
dataHide: number;
|
|
15
|
+
dataFrom: number;
|
|
16
|
+
kjndKJQJ: number;
|
|
17
|
+
dataGUID: string;
|
|
18
|
+
mastName: string;
|
|
19
|
+
mastGUID: string;
|
|
20
|
+
createBy: string;
|
|
21
|
+
createAt: number;
|
|
22
|
+
updateBy: string;
|
|
23
|
+
updateAt: number;
|
|
24
|
+
deleteBy: string;
|
|
25
|
+
deleteAt: number;
|
|
26
|
+
queuesBy: number;
|
|
27
|
+
dictMain: number;
|
|
28
|
+
dictText: string;
|
|
29
|
+
fromWhoBuild: number;
|
|
30
|
+
fromUserIndx: number;
|
|
31
|
+
fromUserExid: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
export class TCardUserResponse implements ICardUserResponse {
|
|
36
|
+
whoBuild: number = 0;
|
|
37
|
+
cardIndx: number = 0;
|
|
38
|
+
cardExid: number = 0;
|
|
39
|
+
parentID: number = 0;
|
|
40
|
+
hashCode: number = 0;
|
|
41
|
+
dataLevl: number = 0;
|
|
42
|
+
dataStat: number = 0;
|
|
43
|
+
dataOrdr: number = 0;
|
|
44
|
+
dataDate: number = 0;
|
|
45
|
+
dataTime: number = 0;
|
|
46
|
+
dataHide: number = 0;
|
|
47
|
+
dataFrom: number = 0;
|
|
48
|
+
kjndKJQJ: number = 0;
|
|
49
|
+
dataGUID: string = "";
|
|
50
|
+
mastName: string = "";
|
|
51
|
+
mastGUID: string = "";
|
|
52
|
+
createBy: string = "";
|
|
53
|
+
createAt: number = 0;
|
|
54
|
+
updateBy: string = "";
|
|
55
|
+
updateAt: number = 0;
|
|
56
|
+
deleteBy: string = "";
|
|
57
|
+
deleteAt: number = 0;
|
|
58
|
+
queuesBy: number = 0;
|
|
59
|
+
dictMain: number = 0;
|
|
60
|
+
dictText: string = "";
|
|
61
|
+
fromWhoBuild: number = 0;
|
|
62
|
+
fromUserIndx: number = 0;
|
|
63
|
+
fromUserExid: number = 0;
|
|
64
|
+
|
|
65
|
+
constructor(data: Partial<ICardUserResponse> = {}) {
|
|
66
|
+
if (data) {
|
|
67
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -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,53 @@
|
|
|
1
|
+
export interface IHznjNotiSummaryResponse {
|
|
2
|
+
whoBuild: number;
|
|
3
|
+
userIndx: number;
|
|
4
|
+
/** 当前人员分组第一条检测明细的标识,保留原页面代表记录 */
|
|
5
|
+
idEntity: number;
|
|
6
|
+
/** 代表记录的通知单标识 */
|
|
7
|
+
notiIndx: number;
|
|
8
|
+
/** 当前人员标识 */
|
|
9
|
+
userGUID: string;
|
|
10
|
+
/** 当前人员姓名 */
|
|
11
|
+
userName: string;
|
|
12
|
+
/** 当前人员所属部门,取分组第一条记录 */
|
|
13
|
+
userDeptText: string;
|
|
14
|
+
/** 检测样品数 */
|
|
15
|
+
beforeSampleNum: number;
|
|
16
|
+
/** 完成样品数 */
|
|
17
|
+
sampleNum: number;
|
|
18
|
+
/** 超时样品数 */
|
|
19
|
+
sampleTimeoutNum: number;
|
|
20
|
+
/** 检测项次数 */
|
|
21
|
+
beforeNum: number;
|
|
22
|
+
/** 完成项次数 */
|
|
23
|
+
num: number;
|
|
24
|
+
/** 超时项次数 */
|
|
25
|
+
timeoutNum: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class THznjNotiSummaryResponse implements IHznjNotiSummaryResponse {
|
|
29
|
+
whoBuild: number = 0;
|
|
30
|
+
userIndx: number = 0;
|
|
31
|
+
/** 当前人员分组第一条检测明细的标识,保留原页面代表记录 */
|
|
32
|
+
idEntity: number = 0;
|
|
33
|
+
/** 代表记录的通知单标识 */
|
|
34
|
+
notiIndx: number = 0;
|
|
35
|
+
/** 当前人员标识 */
|
|
36
|
+
userGUID: string = "";
|
|
37
|
+
/** 当前人员姓名 */
|
|
38
|
+
userName: string = "";
|
|
39
|
+
/** 当前人员所属部门,取分组第一条记录 */
|
|
40
|
+
userDeptText: string = "";
|
|
41
|
+
/** 检测样品数 */
|
|
42
|
+
beforeSampleNum: number = 0;
|
|
43
|
+
/** 完成样品数 */
|
|
44
|
+
sampleNum: number = 0;
|
|
45
|
+
/** 超时样品数 */
|
|
46
|
+
sampleTimeoutNum: number = 0;
|
|
47
|
+
/** 检测项次数 */
|
|
48
|
+
beforeNum: number = 0;
|
|
49
|
+
/** 完成项次数 */
|
|
50
|
+
num: number = 0;
|
|
51
|
+
/** 超时项次数 */
|
|
52
|
+
timeoutNum: number = 0;
|
|
53
|
+
}
|
package/src/hznj/index.ts
CHANGED
|
@@ -44,6 +44,7 @@ import { THznjBzgxResponse, IHznjBzgxResponse } from "./IHznjBzgxResponse";
|
|
|
44
44
|
//#main
|
|
45
45
|
import { THznjMainResponse, IHznjMainResponse } from "./IHznjMainResponse";
|
|
46
46
|
import { THznjBillResponse, IHznjBillResponse } from "./IHznjBillResponse";
|
|
47
|
+
import { THznjNotiSummaryResponse, IHznjNotiSummaryResponse } from "./IHznjNotiSummaryResponse";
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
export {
|
|
@@ -60,6 +61,7 @@ export {
|
|
|
60
61
|
THznjDzqrResponse,
|
|
61
62
|
THznjNotiResponse,
|
|
62
63
|
THznjNotiBillResponse,
|
|
64
|
+
THznjNotiSummaryResponse,
|
|
63
65
|
THznjZblrResponse,
|
|
64
66
|
THznjZblrBillResponse,
|
|
65
67
|
THznjZblrItemResponse,
|
|
@@ -91,6 +93,7 @@ export {
|
|
|
91
93
|
type IHznjDzqrResponse,
|
|
92
94
|
type IHznjNotiResponse,
|
|
93
95
|
type IHznjNotiBillResponse,
|
|
96
|
+
type IHznjNotiSummaryResponse,
|
|
94
97
|
type IHznjZblrResponse,
|
|
95
98
|
type IHznjZblrBillResponse,
|
|
96
99
|
type IHznjZblrItemResponse,
|