@ningboyz/types 1.2.186 → 1.2.188
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
|
@@ -16,21 +16,35 @@ export interface IHzcbNdjhBillResponse {
|
|
|
16
16
|
deleteBy: string;
|
|
17
17
|
deleteAt: number;
|
|
18
18
|
queuesBy: number;
|
|
19
|
+
/**展示亮点和最佳展示期 */
|
|
19
20
|
zsldText: string;
|
|
21
|
+
/**计划投入经费及内容 */
|
|
20
22
|
jhnrText: string;
|
|
23
|
+
/**项目id */
|
|
21
24
|
hznkMain: number;
|
|
25
|
+
/**项目名称 */
|
|
22
26
|
hznkName: string;
|
|
27
|
+
/**项目负责人 */
|
|
23
28
|
chargeBy: string;
|
|
29
|
+
/**实施开始日期--时限 */
|
|
24
30
|
startDay: number;
|
|
31
|
+
/**实施结束日期--时限 */
|
|
25
32
|
endedDay: number;
|
|
33
|
+
/**空档期-开始 */
|
|
26
34
|
startKdq: number;
|
|
35
|
+
/**空档期-结束 */
|
|
27
36
|
endedKdq: number;
|
|
37
|
+
/**状态id */
|
|
28
38
|
kdztMain: number;
|
|
39
|
+
/**状态 */
|
|
29
40
|
kdztText: string;
|
|
41
|
+
/**其他绩效目标说明 */
|
|
30
42
|
qtmbText: string;
|
|
31
43
|
fromWhoBuild: number;
|
|
32
44
|
fromUserIndx: number;
|
|
45
|
+
/**关联项目id */
|
|
33
46
|
fromHzcbIndx: number;
|
|
47
|
+
/**关联地块id */
|
|
34
48
|
fromNodeIndx: number;
|
|
35
49
|
}
|
|
36
50
|
|
|
@@ -37,15 +37,27 @@ export interface IHzcbNdjhResponse {
|
|
|
37
37
|
flowText: string;
|
|
38
38
|
menuMain: number;
|
|
39
39
|
menuUUID: string;
|
|
40
|
+
/**申请部门 */
|
|
40
41
|
sqbmText: string;
|
|
42
|
+
/**申请用户 */
|
|
41
43
|
sqyhText: string;
|
|
44
|
+
/**申请日期 */
|
|
42
45
|
ndjhDate: number;
|
|
46
|
+
/**流程状态:(0:制单;1:送审;2:终审) */
|
|
43
47
|
ndjhStat: number;
|
|
48
|
+
/**单据类型:检验类型 */
|
|
44
49
|
ndjhType: number;
|
|
50
|
+
/**编号 */
|
|
45
51
|
ndjhCode: string;
|
|
52
|
+
/**名称 */
|
|
46
53
|
ndjhName: string;
|
|
54
|
+
/**申请用途 */
|
|
47
55
|
ndjhUses: string;
|
|
56
|
+
/**基地ID */
|
|
57
|
+
hzcbMain: number;
|
|
58
|
+
/**基地名称 */
|
|
48
59
|
hzcbName: string;
|
|
60
|
+
/**备注说明 */
|
|
49
61
|
ndjhMemo: string;
|
|
50
62
|
|
|
51
63
|
coverURL: string;
|
|
@@ -113,6 +125,7 @@ export class THzcbNdjhResponse implements IHzcbNdjhResponse {
|
|
|
113
125
|
ndjhCode: string = "";
|
|
114
126
|
ndjhName: string = "";
|
|
115
127
|
ndjhUses: string = "";
|
|
128
|
+
hzcbMain: number = 0;
|
|
116
129
|
hzcbName: string = "";
|
|
117
130
|
ndjhMemo: string = "";
|
|
118
131
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -64,4 +66,10 @@ export class THznjBillResponse implements IHznjBillResponse {
|
|
|
64
66
|
fromWhoBuild: number = 0;
|
|
65
67
|
fromUserIndx: number = 0;
|
|
66
68
|
fromNotiBill: number = 0;
|
|
69
|
+
|
|
70
|
+
constructor(data: Partial<IHznjBillResponse> = {}) {
|
|
71
|
+
if (data) {
|
|
72
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
67
75
|
}
|
|
@@ -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 IHznjMainResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -63,6 +65,8 @@ export interface IHznjMainResponse {
|
|
|
63
65
|
lastMemo: string;
|
|
64
66
|
userName: string;
|
|
65
67
|
userGUID: string;
|
|
68
|
+
flowMain: number;
|
|
69
|
+
flowNode: number;
|
|
66
70
|
|
|
67
71
|
/**附件 */
|
|
68
72
|
listPath: TCore.IPathResponse[];
|
|
@@ -133,8 +137,42 @@ export class THznjMainResponse implements IHznjMainResponse {
|
|
|
133
137
|
lastMemo: string = "";
|
|
134
138
|
userName: string = "";
|
|
135
139
|
userGUID: string = "";
|
|
140
|
+
flowMain: number = 0;
|
|
141
|
+
flowNode: number = 0;
|
|
142
|
+
|
|
136
143
|
|
|
137
144
|
listPath: TCore.IPathResponse[] = [];
|
|
138
145
|
listBill: THznj.IHznjBillResponse[] = [];
|
|
139
146
|
listFrom: THznj.IHznjNotiResponse[] = [];
|
|
147
|
+
|
|
148
|
+
constructor(data: Partial<IHznjMainResponse> = {}) {
|
|
149
|
+
if (data) {
|
|
150
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
static toFlowData(data: IHznjMainResponse): TFlowDataResponse {
|
|
155
|
+
const result = new TFlowDataResponse();
|
|
156
|
+
result.whoBuild = data.whoBuild;
|
|
157
|
+
result.userIndx = data.userIndx;
|
|
158
|
+
result.flowMain = data.flowMain;
|
|
159
|
+
result.flowNode = data.flowNode;
|
|
160
|
+
result.notified = "";
|
|
161
|
+
result.entityID = data.entityID;
|
|
162
|
+
result.billMain = data.hznjIndx;
|
|
163
|
+
result.billCode = data.hznjCode;
|
|
164
|
+
result.billMemo = data.hznjMemo;
|
|
165
|
+
result.flowStat = data.hznjStat;
|
|
166
|
+
result.createAt = data.createAt;
|
|
167
|
+
result.mastName = data.mastName;
|
|
168
|
+
result.createBy = data.createBy;
|
|
169
|
+
result.unitMain = data.unitMain;
|
|
170
|
+
result.deptMain = data.deptMain;
|
|
171
|
+
result.menuUUID = data.menuUUID;
|
|
172
|
+
return result;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
static toFlowDatas(list: IHznjMainResponse[]): TFlowDataResponse[] {
|
|
176
|
+
return list.map((data) => this.toFlowData(data));
|
|
177
|
+
}
|
|
140
178
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
2
|
import _ from "lodash";
|
|
3
|
-
import {TFlowDataResponse} from "../flow";
|
|
3
|
+
import { TFlowDataResponse } from "../flow";
|
|
4
4
|
|
|
5
5
|
export interface IHznjZbthResponse {
|
|
6
6
|
whoBuild: number;
|
|
@@ -73,8 +73,8 @@ export interface IHznjZbthResponse {
|
|
|
73
73
|
/**附件 */
|
|
74
74
|
listPath: TCore.IPathResponse[];
|
|
75
75
|
listBill: THznj.IHznjZbthBillResponse[];
|
|
76
|
-
/**
|
|
77
|
-
listFrom: THznj.
|
|
76
|
+
/** 关联领用 */
|
|
77
|
+
listFrom: THznj.IHznjZblyResponse[];
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export class THznjZbthResponse implements IHznjZbthResponse {
|
|
@@ -140,7 +140,7 @@ export class THznjZbthResponse implements IHznjZbthResponse {
|
|
|
140
140
|
|
|
141
141
|
listPath: TCore.IPathResponse[] = [];
|
|
142
142
|
listBill: THznj.IHznjZbthBillResponse[] = [];
|
|
143
|
-
listFrom: THznj.
|
|
143
|
+
listFrom: THznj.IHznjZblyResponse[] = [];
|
|
144
144
|
|
|
145
145
|
constructor(data: Partial<IHznjZbthResponse> = {}) {
|
|
146
146
|
if (data) {
|