@ningboyz/types 1.2.183 → 1.2.185
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/pnpm-lock.yaml +966 -0
- package/src/hzcb/IHzcbNdjhResponse.ts +40 -0
- package/src/hzcb/IHzcbTdssResponse.ts +115 -0
- package/src/hzcb/IHzcbXmssBillResponse.ts +55 -0
- package/src/hzcb/IHzcbXmssResponse.ts +131 -0
- package/src/hzcb/index.ts +12 -1
- package/src/hznj/IHznjBillResponse.ts +67 -0
- package/src/hznj/IHznjMainResponse.ts +140 -0
- package/src/hznj/IHznjNotiBillResponse.ts +38 -0
- package/src/hznj/IHznjZbczBillResponse.ts +8 -0
- package/src/hznj/IHznjZbczResponse.ts +33 -0
- package/src/hznj/IHznjZbjgBillResponse.ts +8 -0
- package/src/hznj/IHznjZbjgResponse.ts +33 -0
- package/src/hznj/IHznjZblyBillResponse.ts +8 -0
- package/src/hznj/IHznjZblyResponse.ts +33 -0
- package/src/hznj/IHznjZbthBillResponse.ts +8 -0
- package/src/hznj/IHznjZbthResponse.ts +33 -0
- package/src/hznj/index.ts +8 -1
- package/src/hznk/IHznkFytqResponse.ts +2 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { THzcb, TCore } from "..";
|
|
2
|
+
import { TFlowDataResponse } from "../flow";
|
|
3
|
+
import _ from "lodash";
|
|
2
4
|
|
|
3
5
|
export interface IHzcbNdjhResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -58,6 +60,8 @@ export interface IHzcbNdjhResponse {
|
|
|
58
60
|
lastMemo: string;
|
|
59
61
|
userName: string;
|
|
60
62
|
userGUID: string;
|
|
63
|
+
flowMain: number;
|
|
64
|
+
flowNode: number;
|
|
61
65
|
|
|
62
66
|
/**附件 */
|
|
63
67
|
listPath: TCore.IPathResponse[];
|
|
@@ -124,8 +128,44 @@ export class THzcbNdjhResponse implements IHzcbNdjhResponse {
|
|
|
124
128
|
lastMemo: string = "";
|
|
125
129
|
userName: string = "";
|
|
126
130
|
userGUID: string = "";
|
|
131
|
+
flowMain: number = 0;
|
|
132
|
+
flowNode: number = 0;
|
|
127
133
|
|
|
128
134
|
listPath: TCore.IPathResponse[] = [];
|
|
129
135
|
listBill: THzcb.IHzcbNdjhBillResponse[] = [];
|
|
130
136
|
listFrom: THzcb.IHzcbMainResponse[] = [];
|
|
137
|
+
|
|
138
|
+
constructor(response: any = {}) {
|
|
139
|
+
if (response) {
|
|
140
|
+
_.merge(this, _.pick(response, Object.keys(this)));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static toFlowDatas(notis: THzcbNdjhResponse[]): TFlowDataResponse[] {
|
|
145
|
+
return notis.map((u) => this.toFlowData(u));
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
static toFlowData(bill: THzcbNdjhResponse): TFlowDataResponse {
|
|
149
|
+
const result = new TFlowDataResponse();
|
|
150
|
+
result.whoBuild = bill.whoBuild;
|
|
151
|
+
result.userIndx = bill.userIndx;
|
|
152
|
+
result.flowMain = bill.flowMain;
|
|
153
|
+
result.flowNode = bill.flowNode;
|
|
154
|
+
result.notified = "";
|
|
155
|
+
result.entityID = bill.entityID;
|
|
156
|
+
result.billMain = bill.ndjhIndx;
|
|
157
|
+
result.billCode = bill.ndjhCode;
|
|
158
|
+
result.billMemo = bill.ndjhMemo;
|
|
159
|
+
result.billUses = "";
|
|
160
|
+
result.ysxmText = "";
|
|
161
|
+
result.outMoney = 0;
|
|
162
|
+
result.createAt = bill.createAt;
|
|
163
|
+
result.mastName = bill.mastName;
|
|
164
|
+
result.createBy = bill.createBy;
|
|
165
|
+
result.unitMain = bill.unitMain;
|
|
166
|
+
result.menuUUID = bill.menuUUID;
|
|
167
|
+
result.deptMain = bill.deptMain;
|
|
168
|
+
result.flowStat = bill.ndjhStat;
|
|
169
|
+
return result;
|
|
170
|
+
}
|
|
131
171
|
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { THzcb, TCore } from "..";
|
|
2
|
+
|
|
3
|
+
export interface IHzcbTdssResponse {
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
userIndx: number;
|
|
6
|
+
tdssIndx: number;
|
|
7
|
+
parentID: number;
|
|
8
|
+
hashCode: number;
|
|
9
|
+
dataLevl: number;
|
|
10
|
+
dataFrom: number;
|
|
11
|
+
kjndKJQJ: number;
|
|
12
|
+
dataStat: number;
|
|
13
|
+
dataOrdr: number;
|
|
14
|
+
dataHide: number;
|
|
15
|
+
dataType: number;
|
|
16
|
+
dataDate: number;
|
|
17
|
+
dataTime: number;
|
|
18
|
+
dataGUID: string;
|
|
19
|
+
mastName: string;
|
|
20
|
+
mastGUID: string;
|
|
21
|
+
userMain: number;
|
|
22
|
+
createBy: string;
|
|
23
|
+
createAt: number;
|
|
24
|
+
updateBy: string;
|
|
25
|
+
updateAt: number;
|
|
26
|
+
deleteBy: string;
|
|
27
|
+
deleteAt: number;
|
|
28
|
+
queuesBy: number;
|
|
29
|
+
entityID: string;
|
|
30
|
+
sourceND: number;
|
|
31
|
+
unitMain: number;
|
|
32
|
+
deptMain: number;
|
|
33
|
+
flowUndo: number;
|
|
34
|
+
flowUser: string;
|
|
35
|
+
flowText: string;
|
|
36
|
+
menuMain: number;
|
|
37
|
+
menuUUID: string;
|
|
38
|
+
sqbmText: string;
|
|
39
|
+
sqyhText: string;
|
|
40
|
+
tdssDate: number;
|
|
41
|
+
tdssStat: number;
|
|
42
|
+
tdssType: number;
|
|
43
|
+
tdssCode: string;
|
|
44
|
+
tdssName: string;
|
|
45
|
+
tdssUses: string;
|
|
46
|
+
tdssMemo: string;
|
|
47
|
+
hzcbName: string;
|
|
48
|
+
nodeText: string;
|
|
49
|
+
sqlxMain: number;
|
|
50
|
+
sqlxText: string;
|
|
51
|
+
sslxMain: number;
|
|
52
|
+
sslxText: string;
|
|
53
|
+
mjValue1: number;
|
|
54
|
+
|
|
55
|
+
/**附件 */
|
|
56
|
+
listPath: TCore.IPathResponse[];
|
|
57
|
+
/** 关联项目 */
|
|
58
|
+
listFrom: THzcb.IHzcbMainResponse[];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export class THzcbTdssResponse implements IHzcbTdssResponse {
|
|
62
|
+
whoBuild: number = 0;
|
|
63
|
+
userIndx: number = 0;
|
|
64
|
+
tdssIndx: number = 0;
|
|
65
|
+
parentID: number = 0;
|
|
66
|
+
hashCode: number = 0;
|
|
67
|
+
dataLevl: number = 0;
|
|
68
|
+
dataFrom: number = 0;
|
|
69
|
+
kjndKJQJ: number = 0;
|
|
70
|
+
dataStat: number = 0;
|
|
71
|
+
dataOrdr: number = 0;
|
|
72
|
+
dataHide: number = 0;
|
|
73
|
+
dataType: number = 0;
|
|
74
|
+
dataDate: number = 0;
|
|
75
|
+
dataTime: number = 0;
|
|
76
|
+
dataGUID: string = "";
|
|
77
|
+
mastName: string = "";
|
|
78
|
+
mastGUID: string = "";
|
|
79
|
+
userMain: number = 0;
|
|
80
|
+
createBy: string = "";
|
|
81
|
+
createAt: number = 0;
|
|
82
|
+
updateBy: string = "";
|
|
83
|
+
updateAt: number = 0;
|
|
84
|
+
deleteBy: string = "";
|
|
85
|
+
deleteAt: number = 0;
|
|
86
|
+
queuesBy: number = 0;
|
|
87
|
+
entityID: string = "";
|
|
88
|
+
sourceND: number = 0;
|
|
89
|
+
unitMain: number = 0;
|
|
90
|
+
deptMain: number = 0;
|
|
91
|
+
flowUndo: number = 0;
|
|
92
|
+
flowUser: string = "";
|
|
93
|
+
flowText: string = "";
|
|
94
|
+
menuMain: number = 0;
|
|
95
|
+
menuUUID: string = "";
|
|
96
|
+
sqbmText: string = "";
|
|
97
|
+
sqyhText: string = "";
|
|
98
|
+
tdssDate: number = 0;
|
|
99
|
+
tdssStat: number = 0;
|
|
100
|
+
tdssType: number = 0;
|
|
101
|
+
tdssCode: string = "";
|
|
102
|
+
tdssName: string = "";
|
|
103
|
+
tdssUses: string = "";
|
|
104
|
+
tdssMemo: string = "";
|
|
105
|
+
hzcbName: string = "";
|
|
106
|
+
nodeText: string = "";
|
|
107
|
+
sqlxMain: number = 0;
|
|
108
|
+
sqlxText: string = "";
|
|
109
|
+
sslxMain: number = 0;
|
|
110
|
+
sslxText: string = "";
|
|
111
|
+
mjValue1: number = 0;
|
|
112
|
+
|
|
113
|
+
listPath: TCore.IPathResponse[] = [];
|
|
114
|
+
listFrom: THzcb.IHzcbMainResponse[] = [];
|
|
115
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface IHzcbXmssBillResponse {
|
|
2
|
+
whoBuild: number;
|
|
3
|
+
userIndx: number;
|
|
4
|
+
xmssIndx: number;
|
|
5
|
+
idEntity: number;
|
|
6
|
+
dataStat: number;
|
|
7
|
+
dataHide: number;
|
|
8
|
+
dataOrdr: number;
|
|
9
|
+
dataFrom: number;
|
|
10
|
+
dataDate: number;
|
|
11
|
+
dataTime: number;
|
|
12
|
+
createBy: string;
|
|
13
|
+
createAt: number;
|
|
14
|
+
updateBy: string;
|
|
15
|
+
updateAt: number;
|
|
16
|
+
deleteBy: string;
|
|
17
|
+
deleteAt: number;
|
|
18
|
+
queuesBy: number;
|
|
19
|
+
zxqkText: string;
|
|
20
|
+
billMemo: string;
|
|
21
|
+
fromWhoBuild: number;
|
|
22
|
+
fromUserIndx: number;
|
|
23
|
+
fromHzcbIndx: number;
|
|
24
|
+
fromNodeIndx: number;
|
|
25
|
+
fromXmssIndx: number;
|
|
26
|
+
fromXmssBill: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export class THzcbXmssBillResponse implements IHzcbXmssBillResponse {
|
|
30
|
+
whoBuild: number = 0;
|
|
31
|
+
userIndx: number = 0;
|
|
32
|
+
xmssIndx: number = 0;
|
|
33
|
+
idEntity: number = 0;
|
|
34
|
+
dataStat: number = 0;
|
|
35
|
+
dataHide: number = 0;
|
|
36
|
+
dataOrdr: number = 0;
|
|
37
|
+
dataFrom: number = 0;
|
|
38
|
+
dataDate: number = 0;
|
|
39
|
+
dataTime: number = 0;
|
|
40
|
+
createBy: string = "";
|
|
41
|
+
createAt: number = 0;
|
|
42
|
+
updateBy: string = "";
|
|
43
|
+
updateAt: number = 0;
|
|
44
|
+
deleteBy: string = "";
|
|
45
|
+
deleteAt: number = 0;
|
|
46
|
+
queuesBy: number = 0;
|
|
47
|
+
zxqkText: string = "";
|
|
48
|
+
billMemo: string = "";
|
|
49
|
+
fromWhoBuild: number = 0;
|
|
50
|
+
fromUserIndx: number = 0;
|
|
51
|
+
fromHzcbIndx: number = 0;
|
|
52
|
+
fromNodeIndx: number = 0;
|
|
53
|
+
fromXmssIndx: number = 0;
|
|
54
|
+
fromXmssBill: number = 0;
|
|
55
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { THzcb, TCore } from "..";
|
|
2
|
+
|
|
3
|
+
export interface IHzcbXmssResponse {
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
userIndx: number;
|
|
6
|
+
xmssIndx: number;
|
|
7
|
+
parentID: number;
|
|
8
|
+
hashCode: number;
|
|
9
|
+
dataLevl: number;
|
|
10
|
+
dataFrom: number;
|
|
11
|
+
kjndKJQJ: number;
|
|
12
|
+
dataStat: number;
|
|
13
|
+
dataOrdr: number;
|
|
14
|
+
dataHide: number;
|
|
15
|
+
dataType: number;
|
|
16
|
+
dataDate: number;
|
|
17
|
+
dataTime: number;
|
|
18
|
+
dataGUID: string;
|
|
19
|
+
mastName: string;
|
|
20
|
+
mastGUID: string;
|
|
21
|
+
userMain: number;
|
|
22
|
+
createBy: string;
|
|
23
|
+
createAt: number;
|
|
24
|
+
updateBy: string;
|
|
25
|
+
updateAt: number;
|
|
26
|
+
deleteBy: string;
|
|
27
|
+
deleteAt: number;
|
|
28
|
+
queuesBy: number;
|
|
29
|
+
entityID: string;
|
|
30
|
+
sourceND: number;
|
|
31
|
+
unitMain: number;
|
|
32
|
+
deptMain: number;
|
|
33
|
+
flowUndo: number;
|
|
34
|
+
flowUser: string;
|
|
35
|
+
flowText: string;
|
|
36
|
+
menuMain: number;
|
|
37
|
+
menuUUID: string;
|
|
38
|
+
sqbmText: string;
|
|
39
|
+
sqyhText: string;
|
|
40
|
+
xmssDate: number;
|
|
41
|
+
xmssStat: number;
|
|
42
|
+
xmssType: number;
|
|
43
|
+
xmssCode: string;
|
|
44
|
+
xmssName: string;
|
|
45
|
+
xmssUses: string;
|
|
46
|
+
hzcbName: string;
|
|
47
|
+
xmssMemo: string;
|
|
48
|
+
|
|
49
|
+
coverURL: string;
|
|
50
|
+
touchURL: string;
|
|
51
|
+
unitText: string;
|
|
52
|
+
sourceDW: string;
|
|
53
|
+
|
|
54
|
+
lastDate: number;
|
|
55
|
+
lastTime: number;
|
|
56
|
+
flowStat: number;
|
|
57
|
+
didFirst: number;
|
|
58
|
+
lastMemo: string;
|
|
59
|
+
userName: string;
|
|
60
|
+
userGUID: string;
|
|
61
|
+
|
|
62
|
+
/**附件 */
|
|
63
|
+
listPath: TCore.IPathResponse[];
|
|
64
|
+
listBill: THzcb.IHzcbXmssBillResponse[];
|
|
65
|
+
/** 关联年度计划 */
|
|
66
|
+
listFrom: THzcb.IHzcbNdjhResponse[];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export class THzcbXmssResponse implements IHzcbXmssResponse {
|
|
70
|
+
whoBuild: number = 0;
|
|
71
|
+
userIndx: number = 0;
|
|
72
|
+
xmssIndx: number = 0;
|
|
73
|
+
parentID: number = 0;
|
|
74
|
+
hashCode: number = 0;
|
|
75
|
+
dataLevl: number = 0;
|
|
76
|
+
dataFrom: number = 0;
|
|
77
|
+
kjndKJQJ: number = 0;
|
|
78
|
+
dataStat: number = 0;
|
|
79
|
+
dataOrdr: number = 0;
|
|
80
|
+
dataHide: number = 0;
|
|
81
|
+
dataType: number = 0;
|
|
82
|
+
dataDate: number = 0;
|
|
83
|
+
dataTime: number = 0;
|
|
84
|
+
dataGUID: string = "";
|
|
85
|
+
mastName: string = "";
|
|
86
|
+
mastGUID: string = "";
|
|
87
|
+
userMain: number = 0;
|
|
88
|
+
createBy: string = "";
|
|
89
|
+
createAt: number = 0;
|
|
90
|
+
updateBy: string = "";
|
|
91
|
+
updateAt: number = 0;
|
|
92
|
+
deleteBy: string = "";
|
|
93
|
+
deleteAt: number = 0;
|
|
94
|
+
queuesBy: number = 0;
|
|
95
|
+
entityID: string = "";
|
|
96
|
+
sourceND: number = 0;
|
|
97
|
+
unitMain: number = 0;
|
|
98
|
+
deptMain: number = 0;
|
|
99
|
+
flowUndo: number = 0;
|
|
100
|
+
flowUser: string = "";
|
|
101
|
+
flowText: string = "";
|
|
102
|
+
menuMain: number = 0;
|
|
103
|
+
menuUUID: string = "";
|
|
104
|
+
sqbmText: string = "";
|
|
105
|
+
sqyhText: string = "";
|
|
106
|
+
xmssDate: number = 0;
|
|
107
|
+
xmssStat: number = 0;
|
|
108
|
+
xmssType: number = 0;
|
|
109
|
+
xmssCode: string = "";
|
|
110
|
+
xmssName: string = "";
|
|
111
|
+
xmssUses: string = "";
|
|
112
|
+
hzcbName: string = "";
|
|
113
|
+
xmssMemo: string = "";
|
|
114
|
+
|
|
115
|
+
coverURL: string = "";
|
|
116
|
+
touchURL: string = "";
|
|
117
|
+
unitText: string = "";
|
|
118
|
+
sourceDW: string = "";
|
|
119
|
+
|
|
120
|
+
lastDate: number = 0;
|
|
121
|
+
lastTime: number = 0;
|
|
122
|
+
flowStat: number = 0;
|
|
123
|
+
didFirst: number = 0;
|
|
124
|
+
lastMemo: string = "";
|
|
125
|
+
userName: string = "";
|
|
126
|
+
userGUID: string = "";
|
|
127
|
+
|
|
128
|
+
listPath: TCore.IPathResponse[] = [];
|
|
129
|
+
listBill: THzcb.IHzcbXmssBillResponse[] = [];
|
|
130
|
+
listFrom: THzcb.IHzcbNdjhResponse[] = [];
|
|
131
|
+
}
|
package/src/hzcb/index.ts
CHANGED
|
@@ -7,6 +7,11 @@ import { IHzcbNodeResponse, THzcbNodeResponse } from "./IHzcbNodeResponse";
|
|
|
7
7
|
//#ndjh
|
|
8
8
|
import { IHzcbNdjhResponse, THzcbNdjhResponse } from "./IHzcbNdjhResponse";
|
|
9
9
|
import { IHzcbNdjhBillResponse, THzcbNdjhBillResponse } from "./IHzcbNdjhBillResponse";
|
|
10
|
+
//#xmss
|
|
11
|
+
import { IHzcbXmssResponse, THzcbXmssResponse } from "./IHzcbXmssResponse";
|
|
12
|
+
import { IHzcbXmssBillResponse, THzcbXmssBillResponse } from "./IHzcbXmssBillResponse";
|
|
13
|
+
//#tdss
|
|
14
|
+
import { IHzcbTdssResponse, THzcbTdssResponse } from "./IHzcbTdssResponse";
|
|
10
15
|
|
|
11
16
|
export {
|
|
12
17
|
THzcbMainResponse,
|
|
@@ -17,6 +22,9 @@ export {
|
|
|
17
22
|
THzcbNodeResponse,
|
|
18
23
|
THzcbNdjhResponse,
|
|
19
24
|
THzcbNdjhBillResponse,
|
|
25
|
+
THzcbXmssResponse,
|
|
26
|
+
THzcbXmssBillResponse,
|
|
27
|
+
THzcbTdssResponse,
|
|
20
28
|
type IHzcbMainResponse,
|
|
21
29
|
type IHzcbRypqResponse,
|
|
22
30
|
type IHzcbXmtzResponse,
|
|
@@ -24,5 +32,8 @@ export {
|
|
|
24
32
|
type IHzcbZjlyResponse,
|
|
25
33
|
type IHzcbNodeResponse,
|
|
26
34
|
type IHzcbNdjhResponse,
|
|
27
|
-
type IHzcbNdjhBillResponse
|
|
35
|
+
type IHzcbNdjhBillResponse,
|
|
36
|
+
type IHzcbXmssResponse,
|
|
37
|
+
type IHzcbXmssBillResponse,
|
|
38
|
+
type IHzcbTdssResponse
|
|
28
39
|
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export interface IHznjBillResponse {
|
|
2
|
+
whoBuild: number;
|
|
3
|
+
userIndx: number;
|
|
4
|
+
hznjIndx: number;
|
|
5
|
+
idEntity: number;
|
|
6
|
+
dataStat: number;
|
|
7
|
+
dataHide: number;
|
|
8
|
+
dataOrdr: number;
|
|
9
|
+
dataFrom: number;
|
|
10
|
+
dataDate: number;
|
|
11
|
+
dataTime: number;
|
|
12
|
+
createBy: string;
|
|
13
|
+
createAt: number;
|
|
14
|
+
updateBy: string;
|
|
15
|
+
updateAt: number;
|
|
16
|
+
deleteBy: string;
|
|
17
|
+
deleteAt: number;
|
|
18
|
+
queuesBy: number;
|
|
19
|
+
itemMain: number;
|
|
20
|
+
itemName: string;
|
|
21
|
+
k9kmKmid: number;
|
|
22
|
+
k9kmKmmc: string;
|
|
23
|
+
limitVal: number;
|
|
24
|
+
levelVal: number;
|
|
25
|
+
jldwText: string;
|
|
26
|
+
actualAt: number;
|
|
27
|
+
actualAtText: string;
|
|
28
|
+
assessAt: number;
|
|
29
|
+
assessBy: string;
|
|
30
|
+
fromWhoBuild: number;
|
|
31
|
+
fromUserIndx: number;
|
|
32
|
+
fromNotiBill: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class THznjBillResponse implements IHznjBillResponse {
|
|
36
|
+
whoBuild: number = 0;
|
|
37
|
+
userIndx: number = 0;
|
|
38
|
+
hznjIndx: number = 0;
|
|
39
|
+
idEntity: number = 0;
|
|
40
|
+
dataStat: number = 0;
|
|
41
|
+
dataHide: number = 0;
|
|
42
|
+
dataOrdr: number = 0;
|
|
43
|
+
dataFrom: number = 0;
|
|
44
|
+
dataDate: number = 0;
|
|
45
|
+
dataTime: number = 0;
|
|
46
|
+
createBy: string = "";
|
|
47
|
+
createAt: number = 0;
|
|
48
|
+
updateBy: string = "";
|
|
49
|
+
updateAt: number = 0;
|
|
50
|
+
deleteBy: string = "";
|
|
51
|
+
deleteAt: number = 0;
|
|
52
|
+
queuesBy: number = 0;
|
|
53
|
+
itemMain: number = 0;
|
|
54
|
+
itemName: string = "";
|
|
55
|
+
k9kmKmid: number = 0;
|
|
56
|
+
k9kmKmmc: string = "";
|
|
57
|
+
limitVal: number = 0;
|
|
58
|
+
levelVal: number = 0;
|
|
59
|
+
jldwText: string = "";
|
|
60
|
+
actualAt: number = 0;
|
|
61
|
+
actualAtText: string = "";
|
|
62
|
+
assessAt: number = 0;
|
|
63
|
+
assessBy: string = "";
|
|
64
|
+
fromWhoBuild: number = 0;
|
|
65
|
+
fromUserIndx: number = 0;
|
|
66
|
+
fromNotiBill: number = 0;
|
|
67
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { THznj, TCore } from "..";
|
|
2
|
+
|
|
3
|
+
export interface IHznjMainResponse {
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
userIndx: number;
|
|
6
|
+
hznjIndx: number;
|
|
7
|
+
sourceID: number;
|
|
8
|
+
parentID: number;
|
|
9
|
+
hashCode: number;
|
|
10
|
+
dataLevl: number;
|
|
11
|
+
dataFrom: number;
|
|
12
|
+
kjndKJQJ: number;
|
|
13
|
+
dataStat: number;
|
|
14
|
+
dataOrdr: number;
|
|
15
|
+
dataDate: number;
|
|
16
|
+
dataType: number;
|
|
17
|
+
dataTime: number;
|
|
18
|
+
dataHide: number;
|
|
19
|
+
dataGUID: string;
|
|
20
|
+
userMain: number;
|
|
21
|
+
mastName: string;
|
|
22
|
+
mastGUID: string;
|
|
23
|
+
createBy: string;
|
|
24
|
+
createAt: number;
|
|
25
|
+
updateBy: string;
|
|
26
|
+
updateAt: number;
|
|
27
|
+
deleteBy: string;
|
|
28
|
+
deleteAt: number;
|
|
29
|
+
queuesBy: number;
|
|
30
|
+
entityID: string;
|
|
31
|
+
sourceND: number;
|
|
32
|
+
menuMain: number;
|
|
33
|
+
menuUUID: string;
|
|
34
|
+
unitMain: number;
|
|
35
|
+
deptMain: number;
|
|
36
|
+
sqyhText: string;
|
|
37
|
+
sqbmText: string;
|
|
38
|
+
flowUndo: number;
|
|
39
|
+
flowUser: string;
|
|
40
|
+
flowText: string;
|
|
41
|
+
hznjDate: number;
|
|
42
|
+
hznjStat: number;
|
|
43
|
+
hznjType: number;
|
|
44
|
+
hznjCode: string;
|
|
45
|
+
hznjName: string;
|
|
46
|
+
hznjUses: string;
|
|
47
|
+
hznjMemo: string;
|
|
48
|
+
hznjText: string;
|
|
49
|
+
envrText: string;
|
|
50
|
+
deviceBy: string;
|
|
51
|
+
k9kmKmmc: string;
|
|
52
|
+
itemText: string;
|
|
53
|
+
|
|
54
|
+
coverURL: string;
|
|
55
|
+
touchURL: string;
|
|
56
|
+
unitText: string;
|
|
57
|
+
sourceDW: string;
|
|
58
|
+
|
|
59
|
+
lastDate: number;
|
|
60
|
+
lastTime: number;
|
|
61
|
+
flowStat: number;
|
|
62
|
+
didFirst: number;
|
|
63
|
+
lastMemo: string;
|
|
64
|
+
userName: string;
|
|
65
|
+
userGUID: string;
|
|
66
|
+
|
|
67
|
+
/**附件 */
|
|
68
|
+
listPath: TCore.IPathResponse[];
|
|
69
|
+
listBill: THznj.IHznjBillResponse[];
|
|
70
|
+
listFrom: THznj.IHznjNotiResponse[];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export class THznjMainResponse implements IHznjMainResponse {
|
|
74
|
+
whoBuild: number = 0;
|
|
75
|
+
userIndx: number = 0;
|
|
76
|
+
hznjIndx: number = 0;
|
|
77
|
+
sourceID: number = 0;
|
|
78
|
+
parentID: number = 0;
|
|
79
|
+
hashCode: number = 0;
|
|
80
|
+
dataLevl: number = 0;
|
|
81
|
+
dataFrom: number = 0;
|
|
82
|
+
kjndKJQJ: number = 0;
|
|
83
|
+
dataStat: number = 0;
|
|
84
|
+
dataOrdr: number = 0;
|
|
85
|
+
dataDate: number = 0;
|
|
86
|
+
dataType: number = 0;
|
|
87
|
+
dataTime: number = 0;
|
|
88
|
+
dataHide: number = 0;
|
|
89
|
+
dataGUID: string = "";
|
|
90
|
+
userMain: number = 0;
|
|
91
|
+
mastName: string = "";
|
|
92
|
+
mastGUID: string = "";
|
|
93
|
+
createBy: string = "";
|
|
94
|
+
createAt: number = 0;
|
|
95
|
+
updateBy: string = "";
|
|
96
|
+
updateAt: number = 0;
|
|
97
|
+
deleteBy: string = "";
|
|
98
|
+
deleteAt: number = 0;
|
|
99
|
+
queuesBy: number = 0;
|
|
100
|
+
entityID: string = "";
|
|
101
|
+
sourceND: number = 0;
|
|
102
|
+
menuMain: number = 0;
|
|
103
|
+
menuUUID: string = "";
|
|
104
|
+
unitMain: number = 0;
|
|
105
|
+
deptMain: number = 0;
|
|
106
|
+
sqyhText: string = "";
|
|
107
|
+
sqbmText: string = "";
|
|
108
|
+
flowUndo: number = 0;
|
|
109
|
+
flowUser: string = "";
|
|
110
|
+
flowText: string = "";
|
|
111
|
+
hznjDate: number = 0;
|
|
112
|
+
hznjStat: number = 0;
|
|
113
|
+
hznjType: number = 0;
|
|
114
|
+
hznjCode: string = "";
|
|
115
|
+
hznjName: string = "";
|
|
116
|
+
hznjUses: string = "";
|
|
117
|
+
hznjMemo: string = "";
|
|
118
|
+
hznjText: string = "";
|
|
119
|
+
envrText: string = "";
|
|
120
|
+
deviceBy: string = "";
|
|
121
|
+
k9kmKmmc: string = "";
|
|
122
|
+
itemText: string = "";
|
|
123
|
+
|
|
124
|
+
coverURL: string = "";
|
|
125
|
+
touchURL: string = "";
|
|
126
|
+
unitText: string = "";
|
|
127
|
+
sourceDW: string = "";
|
|
128
|
+
|
|
129
|
+
lastDate: number = 0;
|
|
130
|
+
lastTime: number = 0;
|
|
131
|
+
flowStat: number = 0;
|
|
132
|
+
didFirst: number = 0;
|
|
133
|
+
lastMemo: string = "";
|
|
134
|
+
userName: string = "";
|
|
135
|
+
userGUID: string = "";
|
|
136
|
+
|
|
137
|
+
listPath: TCore.IPathResponse[] = [];
|
|
138
|
+
listBill: THznj.IHznjBillResponse[] = [];
|
|
139
|
+
listFrom: THznj.IHznjNotiResponse[] = [];
|
|
140
|
+
}
|
|
@@ -53,6 +53,31 @@ export interface IHznjNotiBillResponse {
|
|
|
53
53
|
billUses: string;
|
|
54
54
|
/**备注说明 */
|
|
55
55
|
billMemo: string;
|
|
56
|
+
getCount: number;
|
|
57
|
+
/** 检测项目 */
|
|
58
|
+
itemMain: number;
|
|
59
|
+
/** 检测名称 */
|
|
60
|
+
itemName: string;
|
|
61
|
+
/** 方法依据 */
|
|
62
|
+
k9kmKmid: number;
|
|
63
|
+
/** 方法依据名称 */
|
|
64
|
+
k9kmKmmc: string;
|
|
65
|
+
/** 检出/定量限 */
|
|
66
|
+
limitVal: number;
|
|
67
|
+
/** 指标 */
|
|
68
|
+
levelVal: number;
|
|
69
|
+
/** 计量单位 */
|
|
70
|
+
jldwText: string;
|
|
71
|
+
/** 以总量计 */
|
|
72
|
+
useTotal: number;
|
|
73
|
+
/** 总指标 */
|
|
74
|
+
totalVal: number;
|
|
75
|
+
/** 状态: 0:停用,1:启用 */
|
|
76
|
+
isActive: number;
|
|
77
|
+
/** 备注信息 */
|
|
78
|
+
itemMemo: string;
|
|
79
|
+
/** 组 */
|
|
80
|
+
groupTxt: string;
|
|
56
81
|
fromWhoBuild: number;
|
|
57
82
|
fromUserIndx: number;
|
|
58
83
|
fromXmjjItem: number;
|
|
@@ -104,6 +129,19 @@ export class THznjNotiBillResponse implements IHznjNotiBillResponse {
|
|
|
104
129
|
billName: string = "";
|
|
105
130
|
billUses: string = "";
|
|
106
131
|
billMemo: string = "";
|
|
132
|
+
getCount: number = 0;
|
|
133
|
+
itemMain: number = 0;
|
|
134
|
+
itemName: string = "";
|
|
135
|
+
k9kmKmid: number = 0;
|
|
136
|
+
k9kmKmmc: string = "";
|
|
137
|
+
limitVal: number = 0;
|
|
138
|
+
levelVal: number = 0;
|
|
139
|
+
jldwText: string = "";
|
|
140
|
+
useTotal: number = 0;
|
|
141
|
+
totalVal: number = 0;
|
|
142
|
+
isActive: number = 0;
|
|
143
|
+
groupTxt: string = "";
|
|
144
|
+
itemMemo: string = "";
|
|
107
145
|
fromWhoBuild: number = 0;
|
|
108
146
|
fromUserIndx: number = 0;
|
|
109
147
|
fromXmjjItem: number = 0;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjZbczBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -52,4 +54,10 @@ export class THznjZbczBillResponse implements IHznjZbczBillResponse {
|
|
|
52
54
|
fromNotiBill: number = 0;
|
|
53
55
|
fromZblrBill: number = 0;
|
|
54
56
|
fromZbjgBill: number = 0;
|
|
57
|
+
|
|
58
|
+
constructor(data: Partial<IHznjZbczBillResponse> = {}) {
|
|
59
|
+
if (data) {
|
|
60
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
55
63
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
3
|
+
import {TFlowDataResponse} from "../flow";
|
|
2
4
|
|
|
3
5
|
export interface IHznjZbczResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -139,4 +141,35 @@ export class THznjZbczResponse implements IHznjZbczResponse {
|
|
|
139
141
|
listPath: TCore.IPathResponse[] = [];
|
|
140
142
|
listBill: THznj.IHznjZbczBillResponse[] = [];
|
|
141
143
|
listFrom: THznj.IHznjZbjgResponse[] = [];
|
|
144
|
+
|
|
145
|
+
constructor(data: Partial<IHznjZbczResponse> = {}) {
|
|
146
|
+
if (data) {
|
|
147
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
static toFlowData(data: IHznjZbczResponse): TFlowDataResponse {
|
|
152
|
+
const result = new TFlowDataResponse();
|
|
153
|
+
result.whoBuild = data.whoBuild;
|
|
154
|
+
result.userIndx = data.userIndx;
|
|
155
|
+
result.flowMain = data.flowMain;
|
|
156
|
+
result.flowNode = data.flowNode;
|
|
157
|
+
result.notified = "";
|
|
158
|
+
result.entityID = data.entityID;
|
|
159
|
+
result.billMain = data.zbczIndx;
|
|
160
|
+
result.billCode = data.zbczCode;
|
|
161
|
+
result.billMemo = data.zbczMemo;
|
|
162
|
+
result.flowStat = data.zbczStat;
|
|
163
|
+
result.createAt = data.createAt;
|
|
164
|
+
result.mastName = data.mastName;
|
|
165
|
+
result.createBy = data.createBy;
|
|
166
|
+
result.unitMain = data.unitMain;
|
|
167
|
+
result.deptMain = data.deptMain;
|
|
168
|
+
result.menuUUID = data.menuUUID;
|
|
169
|
+
return result;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
static toFlowDatas(list: IHznjZbczResponse[]): TFlowDataResponse[] {
|
|
173
|
+
return list.map((data) => this.toFlowData(data));
|
|
174
|
+
}
|
|
142
175
|
}
|