@ningboyz/types 1.7.120 → 1.7.122
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
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,13 @@
|
|
|
1
|
+
export interface IUserSizeResponse {
|
|
2
|
+
userUnitText: string;
|
|
3
|
+
userTypeText: string;
|
|
4
|
+
kjndKJQJ: number;
|
|
5
|
+
userSize: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export class TUserSizeResponse implements IUserSizeResponse {
|
|
9
|
+
userUnitText: string = "";
|
|
10
|
+
userTypeText: string = "";
|
|
11
|
+
kjndKJQJ: number = -1;
|
|
12
|
+
userSize: number = -1;
|
|
13
|
+
}
|
package/src/core/index.ts
CHANGED
|
@@ -1,66 +1,37 @@
|
|
|
1
|
+
import { ICoreValidResponse, TCoreValidResponse } from "./ICoreValidResponse";
|
|
2
|
+
import { IDeptBindResponse, TDeptBindResponse } from "./IDeptBindResponse";
|
|
1
3
|
import { IDeptLiteResponse, TDeptLiteResponse } from "./IDeptLiteResponse";
|
|
2
4
|
import { IDeptResponse, TDeptResponse } from "./IDeptResponse";
|
|
3
5
|
import { IDictResponse, TDictResponse } from "./IDictResponse";
|
|
6
|
+
import { IEnvrResponse, TEnvrResponse } from "./IEnvrResponse";
|
|
4
7
|
import { ILaidResponse, TLaidResponse } from "./ILaidResponse";
|
|
5
8
|
import { IPartResponse, TPartResponse } from "./IPartResponse";
|
|
6
9
|
import { IPathResponse, TPathResponse } from "./IPathResponse";
|
|
7
10
|
import { ISourceItem, TSourceItem } from "./ISourceItem";
|
|
8
11
|
import { IStypResponse, TStypResponse } from "./IStypResponse";
|
|
9
12
|
import { ISysClasResponse, TSysClasResponse } from "./ISysClasResponse";
|
|
13
|
+
import { ISysKjndResponse, TSysKjndResponse } from "./ISysKjndResponse";
|
|
10
14
|
import { ISysMenuWithCoreResponse, TSysMenuWithCoreResponse } from "./ISysMenuWithCoreResponse";
|
|
11
15
|
import { ISysMenuWithExpdResponse, TSysMenuWithExpdResponse } from "./ISysMenuWithExpdResponse";
|
|
16
|
+
import { ISysTravelResponse, ISysTravelWithParaResponse, TSysTravelResponse, TSysTravelWithParaResponse } from "./ISysTravelResponse";
|
|
12
17
|
import { ITypeResponse, TTypeResponse } from "./ITypeResponse";
|
|
13
|
-
import { IUnitResponse, TUnitResponse } from "./IUnitResponse";
|
|
14
|
-
import { IUnitFindResponse, TUnitFindResponse } from "./IUnitFindResponse";
|
|
15
18
|
import { IUnitBindResponse, TUnitBindResponse } from "./IUnitBindResponse";
|
|
19
|
+
import { IUnitFindResponse, TUnitFindResponse } from "./IUnitFindResponse";
|
|
20
|
+
import { IUnitResponse, TUnitResponse } from "./IUnitResponse";
|
|
16
21
|
import { IUserAcnoResponse, TUserAcnoResponse } from "./IUserAcnoResponse";
|
|
22
|
+
import { IUserBodyResponse, TUserBodyResponse } from "./IUserBodyResponse";
|
|
17
23
|
import { IUserFindResponse, TUserFindResponse } from "./IUserFindResponse";
|
|
18
|
-
import { IUserResponse, TUserResponse } from "./IUserResponse";
|
|
19
|
-
import { IEnvrResponse, TEnvrResponse } from "./IEnvrResponse";
|
|
20
24
|
import { IUserLiteResponse, TUserLiteResponse } from "./IUserLiteResponse";
|
|
25
|
+
import { IUserMemoResponse, TUserMemoResponse } from "./IUserMemoResponse";
|
|
21
26
|
import { IUserPartResponse, TUserPartResponse } from "./IUserPartResponse";
|
|
27
|
+
import { IUserResponse, TUserResponse } from "./IUserResponse";
|
|
28
|
+
import { IUserSizeResponse, TUserSizeResponse } from "./IUserSizeResponse";
|
|
22
29
|
import { IUserSzdwResponse, TUserSzdwResponse } from "./IUserSzdwResponse";
|
|
23
|
-
import { ICoreValidResponse, TCoreValidResponse } from "./ICoreValidResponse";
|
|
24
|
-
import { ISysTravelResponse, TSysTravelResponse, ISysTravelWithParaResponse, TSysTravelWithParaResponse } from "./ISysTravelResponse";
|
|
25
30
|
import { IWebSocketResponse, TWebSocketResponse } from "./IWebSocketResponse";
|
|
26
|
-
import { IDeptBindResponse, TDeptBindResponse } from "./IDeptBindResponse";
|
|
27
|
-
import { ISysKjndResponse, TSysKjndResponse } from "./ISysKjndResponse";
|
|
28
|
-
import { IUserMemoResponse, TUserMemoResponse } from "./IUserMemoResponse";
|
|
29
|
-
import { IUserBodyResponse, TUserBodyResponse } from "./IUserBodyResponse";
|
|
30
31
|
export {
|
|
31
|
-
type ICoreValidResponse,
|
|
32
|
-
// 接口
|
|
33
|
-
type IDeptLiteResponse,
|
|
34
|
-
type IDeptResponse,
|
|
35
|
-
type IDictResponse,
|
|
36
|
-
type IEnvrResponse,
|
|
37
|
-
type ILaidResponse,
|
|
38
|
-
type IPartResponse,
|
|
39
|
-
type IPathResponse,
|
|
40
|
-
type ISourceItem,
|
|
41
|
-
type IStypResponse,
|
|
42
|
-
type ISysClasResponse,
|
|
43
|
-
type ISysMenuWithCoreResponse,
|
|
44
|
-
type ISysMenuWithExpdResponse,
|
|
45
|
-
type ISysTravelResponse,
|
|
46
|
-
type ISysTravelWithParaResponse,
|
|
47
|
-
type ITypeResponse,
|
|
48
|
-
type IUnitResponse,
|
|
49
|
-
type IUnitBindResponse,
|
|
50
|
-
type IUserAcnoResponse,
|
|
51
|
-
type IUserFindResponse,
|
|
52
|
-
type IUserLiteResponse,
|
|
53
|
-
type IUserResponse,
|
|
54
|
-
type IUserSzdwResponse,
|
|
55
|
-
type IUserPartResponse,
|
|
56
|
-
type IWebSocketResponse,
|
|
57
|
-
type IDeptBindResponse,
|
|
58
|
-
type ISysKjndResponse,
|
|
59
|
-
type IUserMemoResponse,
|
|
60
|
-
type IUserBodyResponse,
|
|
61
|
-
type IUnitFindResponse,
|
|
62
32
|
// 类
|
|
63
33
|
TCoreValidResponse,
|
|
34
|
+
TDeptBindResponse,
|
|
64
35
|
TDeptLiteResponse,
|
|
65
36
|
TDeptResponse,
|
|
66
37
|
TDictResponse,
|
|
@@ -71,23 +42,56 @@ export {
|
|
|
71
42
|
TSourceItem,
|
|
72
43
|
TStypResponse,
|
|
73
44
|
TSysClasResponse,
|
|
45
|
+
TSysKjndResponse,
|
|
74
46
|
TSysMenuWithCoreResponse,
|
|
75
47
|
TSysMenuWithExpdResponse,
|
|
76
48
|
TSysTravelResponse,
|
|
77
49
|
TSysTravelWithParaResponse,
|
|
78
50
|
TTypeResponse,
|
|
79
|
-
TUnitFindResponse,
|
|
80
51
|
TUnitBindResponse,
|
|
52
|
+
TUnitFindResponse,
|
|
53
|
+
TUnitResponse,
|
|
81
54
|
TUserAcnoResponse,
|
|
55
|
+
TUserBodyResponse,
|
|
82
56
|
TUserFindResponse,
|
|
83
57
|
TUserLiteResponse,
|
|
58
|
+
TUserMemoResponse,
|
|
59
|
+
TUserPartResponse,
|
|
84
60
|
TUserResponse,
|
|
61
|
+
TUserSizeResponse,
|
|
85
62
|
TUserSzdwResponse,
|
|
86
|
-
TUserPartResponse,
|
|
87
63
|
TWebSocketResponse,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
64
|
+
// 接口
|
|
65
|
+
type ICoreValidResponse,
|
|
66
|
+
type IDeptBindResponse,
|
|
67
|
+
type IDeptLiteResponse,
|
|
68
|
+
type IDeptResponse,
|
|
69
|
+
type IDictResponse,
|
|
70
|
+
type IEnvrResponse,
|
|
71
|
+
type ILaidResponse,
|
|
72
|
+
type IPartResponse,
|
|
73
|
+
type IPathResponse,
|
|
74
|
+
type ISourceItem,
|
|
75
|
+
type IStypResponse,
|
|
76
|
+
type ISysClasResponse,
|
|
77
|
+
type ISysKjndResponse,
|
|
78
|
+
type ISysMenuWithCoreResponse,
|
|
79
|
+
type ISysMenuWithExpdResponse,
|
|
80
|
+
type ISysTravelResponse,
|
|
81
|
+
type ISysTravelWithParaResponse,
|
|
82
|
+
type ITypeResponse,
|
|
83
|
+
type IUnitBindResponse,
|
|
84
|
+
type IUnitFindResponse,
|
|
85
|
+
type IUnitResponse,
|
|
86
|
+
type IUserAcnoResponse,
|
|
87
|
+
type IUserBodyResponse,
|
|
88
|
+
type IUserFindResponse,
|
|
89
|
+
type IUserLiteResponse,
|
|
90
|
+
type IUserMemoResponse,
|
|
91
|
+
type IUserPartResponse,
|
|
92
|
+
type IUserResponse,
|
|
93
|
+
type IUserSizeResponse,
|
|
94
|
+
type IUserSzdwResponse,
|
|
95
|
+
type IWebSocketResponse
|
|
93
96
|
};
|
|
97
|
+
|