@ningboyz/types 1.6.88 → 1.6.90
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
package/src/conf/IConfig.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -45,12 +45,14 @@ import * as TWtui from "./wtui";
|
|
|
45
45
|
import * as TWzpz from "./wzpz";
|
|
46
46
|
import * as TYzcb from "./yzcb";
|
|
47
47
|
import * as TYzcg from "./yzcg";
|
|
48
|
+
import * as TYzcq from "./yzcq";
|
|
48
49
|
import * as TYzht from "./yzht";
|
|
49
50
|
import * as TYzpz from "./yzpz";
|
|
50
51
|
import * as TZbhd from "./zbhd";
|
|
51
52
|
import * as TZbzd from "./zbzd";
|
|
52
53
|
import * as TZfht from "./zfht";
|
|
53
54
|
import * as TZfsq from "./zfsq";
|
|
55
|
+
import * as TYzcq from "./yzcq";
|
|
54
56
|
|
|
55
57
|
export {
|
|
56
58
|
Const,
|
|
@@ -98,12 +100,14 @@ export {
|
|
|
98
100
|
TWzpz,
|
|
99
101
|
TYzcb,
|
|
100
102
|
TYzcg,
|
|
103
|
+
TYzcq,
|
|
101
104
|
TYzht,
|
|
102
105
|
TYzpz,
|
|
103
106
|
TZbhd,
|
|
104
107
|
TZbzd,
|
|
105
108
|
TZfht,
|
|
106
109
|
TZfsq,
|
|
110
|
+
TYzcq,
|
|
107
111
|
type IAboutConfig,
|
|
108
112
|
type IBaseConfig,
|
|
109
113
|
type IBaseResponse,
|
|
@@ -113,3 +117,4 @@ export {
|
|
|
113
117
|
type IToolDownLoadData,
|
|
114
118
|
type IWtuiConfig
|
|
115
119
|
};
|
|
120
|
+
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IPathResponse } from "../core/IPathResponse";
|
|
2
2
|
import { IUserLiteResponse } from "../core/IUserLiteResponse";
|
|
3
|
+
import { TFlowDataResponse } from "../flow";
|
|
4
|
+
import _ from "lodash";
|
|
3
5
|
|
|
4
6
|
export interface IYzcqMainResponse {
|
|
5
7
|
whoBuild: number;
|
|
@@ -44,8 +46,16 @@ export interface IYzcqMainResponse {
|
|
|
44
46
|
matchVal: string;
|
|
45
47
|
billMain: number;
|
|
46
48
|
hashText: string;
|
|
49
|
+
cqbzText: string;
|
|
50
|
+
hzcbName: string;
|
|
51
|
+
outMoney: number;
|
|
52
|
+
jsdwText: string;
|
|
53
|
+
flowMain: number;
|
|
54
|
+
flowNode: number;
|
|
55
|
+
menuUUID: string;
|
|
47
56
|
|
|
48
57
|
listPath: IPathResponse[];
|
|
58
|
+
listDDDW: IUserLiteResponse[];
|
|
49
59
|
listZBDW: IUserLiteResponse[];
|
|
50
60
|
}
|
|
51
61
|
|
|
@@ -94,27 +104,47 @@ export class TYzcqMainResponse implements IYzcqMainResponse {
|
|
|
94
104
|
billMain: number = 0;
|
|
95
105
|
hashText: string = "";
|
|
96
106
|
|
|
107
|
+
cqbzText: string = "";
|
|
108
|
+
hzcbName: string = "";
|
|
109
|
+
outMoney: number = 0;
|
|
110
|
+
jsdwText: string = "";
|
|
111
|
+
flowMain: number = 0;
|
|
112
|
+
flowNode: number = 0;
|
|
113
|
+
menuUUID: string = "";
|
|
114
|
+
|
|
97
115
|
listPath: IPathResponse[] = [];
|
|
116
|
+
listDDDW: IUserLiteResponse[] = [];
|
|
98
117
|
listZBDW: IUserLiteResponse[] = [];
|
|
99
118
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
119
|
+
constructor(ntio: any = {}) {
|
|
120
|
+
if (ntio) {
|
|
121
|
+
_.merge(this, _.pick(ntio, Object.keys(this)));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
static toFlowDatas(yzcqs: TYzcqMainResponse[]): TFlowDataResponse[] {
|
|
126
|
+
return yzcqs.map((u) => this.toFlowData(u));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static toFlowData(yzcq: TYzcqMainResponse): TFlowDataResponse {
|
|
130
|
+
let result = new TFlowDataResponse();
|
|
131
|
+
result.whoBuild = yzcq.whoBuild;
|
|
132
|
+
result.userIndx = yzcq.userIndx;
|
|
133
|
+
result.flowMain = yzcq.flowMain;
|
|
134
|
+
result.flowNode = yzcq.flowNode;
|
|
135
|
+
result.flowStat = yzcq.yzcqStat;
|
|
136
|
+
result.notified = "";
|
|
137
|
+
result.entityID = yzcq.entityID;
|
|
138
|
+
result.billMain = yzcq.yzcqIndx;
|
|
139
|
+
result.billCode = yzcq.yzcqCode;
|
|
140
|
+
result.billMemo = yzcq.yzcqMemo;
|
|
141
|
+
result.outMoney = yzcq.outMoney;
|
|
142
|
+
result.createAt = yzcq.createAt;
|
|
143
|
+
result.mastName = yzcq.mastName;
|
|
144
|
+
result.createBy = yzcq.createBy;
|
|
145
|
+
result.unitMain = yzcq.unitMain;
|
|
146
|
+
result.deptMain = yzcq.deptMain;
|
|
147
|
+
result.menuUUID = yzcq.menuUUID;
|
|
148
|
+
return result;
|
|
149
|
+
}
|
|
120
150
|
}
|
|
@@ -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; //小于等于
|