@ningboyz/types 1.2.170 → 1.2.172
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/bill/IBillMainResponse.ts +28 -0
- package/src/hznj/IHznjBasePathResponse.ts +8 -0
- package/src/hznj/IHznjDzqrResponse.ts +40 -3
- package/src/hznj/IHznjNotiBillResponse.ts +8 -0
- package/src/hznj/IHznjNotiResponse.ts +39 -2
- package/src/hznj/IHznjRwqxResponse.ts +41 -4
- package/src/hznj/IHznjXmjjItemResponse.ts +8 -0
- package/src/hznj/IHznjXmjjResponse.ts +42 -3
- package/src/hznj/IHznjXmsyCjdwResponse.ts +8 -0
- package/src/hznj/IHznjXmsyItemResponse.ts +8 -0
- package/src/hznj/IHznjXmsyResponse.ts +40 -3
- package/src/hznj/IHznjXmsyWtdwResponse.ts +8 -0
- package/src/hznj/IHznjZblrBillResponse.ts +8 -0
- package/src/hznj/IHznjZblrResponse.ts +40 -2
- package/src/hznk/IHznkXmysResponse.ts +2 -2
package/package.json
CHANGED
|
@@ -103,8 +103,22 @@ export interface IBillMainResponse {
|
|
|
103
103
|
/** 会计主管 */
|
|
104
104
|
finaMast: string;
|
|
105
105
|
|
|
106
|
+
/** 开始日期 */
|
|
107
|
+
startDay: number;
|
|
108
|
+
/** 结束日期 */
|
|
109
|
+
ended_day: number;
|
|
106
110
|
/** 收支方向:0:收入;1:支出 */
|
|
107
111
|
isExpend: number;
|
|
112
|
+
|
|
113
|
+
/** 关闭类型:0:手工;1:系统 */
|
|
114
|
+
closeType: number;
|
|
115
|
+
/** 关闭状态:0:未关闭;1:已关闭 */
|
|
116
|
+
canClose: number;
|
|
117
|
+
/** 关闭人 */
|
|
118
|
+
closeBy: string;
|
|
119
|
+
/** 关闭时间 */
|
|
120
|
+
closeAt: number;
|
|
121
|
+
|
|
108
122
|
/** 支付方式(字典) */
|
|
109
123
|
billZffs: number;
|
|
110
124
|
/** 支付方式(文本) */
|
|
@@ -228,8 +242,22 @@ export class TBillMainResponse implements IBillMainResponse {
|
|
|
228
242
|
/** 会计主管 */
|
|
229
243
|
finaMast: string = "";
|
|
230
244
|
|
|
245
|
+
/** 开始日期 */
|
|
246
|
+
startDay: number = 0;
|
|
247
|
+
/** 结束日期 */
|
|
248
|
+
ended_day: number = 0;
|
|
231
249
|
/** 收支方向:0:收入;1:支出 */
|
|
232
250
|
isExpend: number = 0;
|
|
251
|
+
|
|
252
|
+
/** 关闭类型:0:手工;1:系统 */
|
|
253
|
+
closeType: number = 0;
|
|
254
|
+
/** 关闭状态:0:未关闭;1:已关闭 */
|
|
255
|
+
canClose: number = 0;
|
|
256
|
+
/** 关闭人 */
|
|
257
|
+
closeBy: string = "";
|
|
258
|
+
/** 关闭时间 */
|
|
259
|
+
closeAt: number = 0;
|
|
260
|
+
|
|
233
261
|
/** 支付方式(字典) */
|
|
234
262
|
billZffs: number = 0;
|
|
235
263
|
/** 支付方式(文本) */
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjBasePathResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -42,4 +44,10 @@ export class THznjBasePathResponse implements IHznjBasePathResponse {
|
|
|
42
44
|
fromUserIndx: number = 0;
|
|
43
45
|
fromSysPathc: number = 0;
|
|
44
46
|
fromPathUUID: string = "";
|
|
47
|
+
|
|
48
|
+
constructor(data: Partial<IHznjBasePathResponse> = {}) {
|
|
49
|
+
if (data) {
|
|
50
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
45
53
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {THznj, TCore} from "..";
|
|
2
|
+
import _ from "lodash";
|
|
3
|
+
import {TFlowDataResponse} from "../flow";
|
|
2
4
|
|
|
3
5
|
export interface IHznjDzqrResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -67,6 +69,8 @@ export interface IHznjDzqrResponse {
|
|
|
67
69
|
lastMemo: string;
|
|
68
70
|
userName: string;
|
|
69
71
|
userGUID: string;
|
|
72
|
+
flowMain: number;
|
|
73
|
+
flowNode: number;
|
|
70
74
|
|
|
71
75
|
/**附件 */
|
|
72
76
|
listPath: TCore.IPathResponse[];
|
|
@@ -133,8 +137,41 @@ export class THznjDzqrResponse implements IHznjDzqrResponse {
|
|
|
133
137
|
didFirst: number = 0;
|
|
134
138
|
lastMemo: string = "";
|
|
135
139
|
userName: string = "";
|
|
136
|
-
userGUID: string = "";
|
|
140
|
+
userGUID: string = "";
|
|
141
|
+
flowMain: number = 0;
|
|
142
|
+
flowNode: number = 0;
|
|
137
143
|
|
|
138
144
|
listPath: TCore.IPathResponse[] = [];
|
|
139
|
-
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
145
|
+
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
146
|
+
|
|
147
|
+
constructor(data: Partial<IHznjDzqrResponse> = {}) {
|
|
148
|
+
if (data) {
|
|
149
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static toFlowData(data: IHznjDzqrResponse): TFlowDataResponse {
|
|
154
|
+
const result = new TFlowDataResponse();
|
|
155
|
+
result.whoBuild = data.whoBuild;
|
|
156
|
+
result.userIndx = data.userIndx;
|
|
157
|
+
result.flowMain = data.flowMain;
|
|
158
|
+
result.flowNode = data.flowNode;
|
|
159
|
+
result.notified = "";
|
|
160
|
+
result.entityID = data.entityID;
|
|
161
|
+
result.billMain = data.dzqrIndx;
|
|
162
|
+
result.billCode = data.dzqrCode;
|
|
163
|
+
result.billMemo = data.dzqrMemo;
|
|
164
|
+
result.flowStat = data.dzqrStat;
|
|
165
|
+
result.createAt = data.createAt;
|
|
166
|
+
result.mastName = data.mastName;
|
|
167
|
+
result.createBy = data.createBy;
|
|
168
|
+
result.unitMain = data.unitMain;
|
|
169
|
+
result.deptMain = data.deptMain;
|
|
170
|
+
result.menuUUID = data.menuUUID;
|
|
171
|
+
return result;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
static toFlowDatas(list: IHznjDzqrResponse[]): TFlowDataResponse[] {
|
|
175
|
+
return list.map((data) => this.toFlowData(data));
|
|
176
|
+
}
|
|
140
177
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjNotiBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -105,4 +107,10 @@ export class THznjNotiBillResponse implements IHznjNotiBillResponse {
|
|
|
105
107
|
fromWhoBuild: number = 0;
|
|
106
108
|
fromUserIndx: number = 0;
|
|
107
109
|
fromXmjjItem: number = 0;
|
|
110
|
+
|
|
111
|
+
constructor(data: Partial<IHznjNotiBillResponse> = {}) {
|
|
112
|
+
if (data) {
|
|
113
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
114
|
+
}
|
|
115
|
+
}
|
|
108
116
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {THznj} from "..";
|
|
2
|
+
import _ from "lodash";
|
|
3
|
+
import {TFlowDataResponse} from "../flow";
|
|
2
4
|
|
|
3
5
|
export interface IHznjNotiResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -69,6 +71,8 @@ export interface IHznjNotiResponse {
|
|
|
69
71
|
lastMemo: string;
|
|
70
72
|
userName: string;
|
|
71
73
|
userGUID: string;
|
|
74
|
+
flowMain: number;
|
|
75
|
+
flowNode: number;
|
|
72
76
|
|
|
73
77
|
/**任务通知.拆分 */
|
|
74
78
|
listBill: THznj.IHznjNotiBillResponse[];
|
|
@@ -135,7 +139,40 @@ export class THznjNotiResponse implements IHznjNotiResponse {
|
|
|
135
139
|
lastMemo: string = "";
|
|
136
140
|
userName: string = "";
|
|
137
141
|
userGUID: string = "";
|
|
142
|
+
flowMain: number = 0;
|
|
143
|
+
flowNode: number = 0;
|
|
138
144
|
|
|
139
145
|
|
|
140
|
-
listBill: THznj.IHznjNotiBillResponse[] = [];
|
|
146
|
+
listBill: THznj.IHznjNotiBillResponse[] = [];
|
|
147
|
+
|
|
148
|
+
constructor(data: Partial<IHznjNotiResponse> = {}) {
|
|
149
|
+
if (data) {
|
|
150
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
static toFlowData(data: IHznjNotiResponse): 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.notiIndx;
|
|
163
|
+
result.billCode = data.notiCode;
|
|
164
|
+
result.billMemo = data.notiMemo;
|
|
165
|
+
result.flowStat = data.notiStat;
|
|
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: IHznjNotiResponse[]): TFlowDataResponse[] {
|
|
176
|
+
return list.map((data) => this.toFlowData(data));
|
|
177
|
+
}
|
|
141
178
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {THznj, TCore, Const} from "..";
|
|
2
|
+
import _ from "lodash";
|
|
3
|
+
import {TFlowDataResponse} from "../flow";
|
|
2
4
|
|
|
3
5
|
export interface IHznjRwqxResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -66,7 +68,9 @@ export interface IHznjRwqxResponse {
|
|
|
66
68
|
didFirst: number;
|
|
67
69
|
lastMemo: string;
|
|
68
70
|
userName: string;
|
|
69
|
-
userGUID: string;
|
|
71
|
+
userGUID: string;
|
|
72
|
+
flowMain: number;
|
|
73
|
+
flowNode: number;
|
|
70
74
|
|
|
71
75
|
/**附件 */
|
|
72
76
|
listPath: TCore.IPathResponse[];
|
|
@@ -133,8 +137,41 @@ export class THznjRwqxResponse implements IHznjRwqxResponse {
|
|
|
133
137
|
didFirst: number = 0;
|
|
134
138
|
lastMemo: string = "";
|
|
135
139
|
userName: string = "";
|
|
136
|
-
userGUID: string = "";
|
|
140
|
+
userGUID: string = "";
|
|
141
|
+
flowMain: number = 0;
|
|
142
|
+
flowNode: number = 0;
|
|
137
143
|
|
|
138
144
|
listPath: TCore.IPathResponse[] = [];
|
|
139
|
-
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
145
|
+
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
146
|
+
|
|
147
|
+
constructor(data: Partial<IHznjRwqxResponse> = {}) {
|
|
148
|
+
if (data) {
|
|
149
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static toFlowData(zcbd: IHznjRwqxResponse): TFlowDataResponse {
|
|
154
|
+
const result = new TFlowDataResponse();
|
|
155
|
+
result.whoBuild = zcbd.whoBuild;
|
|
156
|
+
result.userIndx = zcbd.userIndx;
|
|
157
|
+
result.flowMain = zcbd.flowMain;
|
|
158
|
+
result.flowNode = zcbd.flowNode;
|
|
159
|
+
result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_ZCBD_WAIT;
|
|
160
|
+
result.entityID = zcbd.entityID;
|
|
161
|
+
result.billMain = zcbd.rwqxIndx;
|
|
162
|
+
result.billCode = zcbd.rwqxCode;
|
|
163
|
+
result.billMemo = zcbd.rwqxMemo;
|
|
164
|
+
result.flowStat = zcbd.rwqxStat;
|
|
165
|
+
result.createAt = zcbd.createAt;
|
|
166
|
+
result.mastName = zcbd.mastName;
|
|
167
|
+
result.createBy = zcbd.createBy;
|
|
168
|
+
result.unitMain = zcbd.unitMain;
|
|
169
|
+
result.deptMain = zcbd.deptMain;
|
|
170
|
+
result.menuUUID = zcbd.menuUUID;
|
|
171
|
+
return result;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
static toFlowDatas(zcbds: IHznjRwqxResponse[]): TFlowDataResponse[] {
|
|
175
|
+
return zcbds.map((u) => this.toFlowData(u));
|
|
176
|
+
}
|
|
140
177
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmjjItemResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -48,4 +50,10 @@ export class THznjXmjjItemResponse implements IHznjXmjjItemResponse {
|
|
|
48
50
|
fromWhoBuild: number = 0;
|
|
49
51
|
fromUserIndx: number = 0;
|
|
50
52
|
fromHznjXmsy: number = 0;
|
|
53
|
+
|
|
54
|
+
constructor(data: Partial<IHznjXmjjItemResponse> = {}) {
|
|
55
|
+
if (data) {
|
|
56
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
51
59
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {THznj, TCore} from "..";
|
|
2
|
+
import _ from "lodash";
|
|
3
|
+
import {TFlowDataResponse} from "../flow";
|
|
2
4
|
|
|
3
5
|
export interface IHznjXmjjResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -66,7 +68,10 @@ export interface IHznjXmjjResponse {
|
|
|
66
68
|
didFirst: number;
|
|
67
69
|
lastMemo: string;
|
|
68
70
|
userName: string;
|
|
69
|
-
userGUID: string;
|
|
71
|
+
userGUID: string;
|
|
72
|
+
|
|
73
|
+
flowMain: number;
|
|
74
|
+
flowNode: number;
|
|
70
75
|
|
|
71
76
|
/**附件 */
|
|
72
77
|
listPath: TCore.IPathResponse[];
|
|
@@ -134,9 +139,43 @@ export class THznjXmjjResponse implements IHznjXmjjResponse {
|
|
|
134
139
|
didFirst: number = 0;
|
|
135
140
|
lastMemo: string = "";
|
|
136
141
|
userName: string = "";
|
|
137
|
-
userGUID: string = "";
|
|
142
|
+
userGUID: string = "";
|
|
143
|
+
flowMain: number = 0;
|
|
144
|
+
flowNode: number = 0;
|
|
145
|
+
|
|
138
146
|
|
|
139
147
|
listPath: TCore.IPathResponse[] = [];
|
|
140
148
|
listItem: THznj.IHznjXmjjItemResponse[] = [];
|
|
141
149
|
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
150
|
+
|
|
151
|
+
constructor(data: Partial<IHznjXmjjResponse> = {}) {
|
|
152
|
+
if (data) {
|
|
153
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static toFlowData(data: IHznjXmjjResponse): TFlowDataResponse {
|
|
158
|
+
const result = new TFlowDataResponse();
|
|
159
|
+
result.whoBuild = data.whoBuild;
|
|
160
|
+
result.userIndx = data.userIndx;
|
|
161
|
+
result.flowMain = data.flowMain;
|
|
162
|
+
result.flowNode = data.flowNode;
|
|
163
|
+
result.notified = "";
|
|
164
|
+
result.entityID = data.entityID;
|
|
165
|
+
result.billMain = data.xmjjIndx;
|
|
166
|
+
result.billCode = data.xmjjCode;
|
|
167
|
+
result.billMemo = data.xmjjMemo;
|
|
168
|
+
result.createAt = data.createAt;
|
|
169
|
+
result.mastName = data.mastName;
|
|
170
|
+
result.createBy = data.createBy;
|
|
171
|
+
result.unitMain = data.unitMain;
|
|
172
|
+
result.deptMain = data.deptMain;
|
|
173
|
+
result.menuUUID = data.menuUUID;
|
|
174
|
+
result.flowStat = data.xmjjStat;
|
|
175
|
+
return result;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
static toFlowDatas(list: IHznjXmjjResponse[]): TFlowDataResponse[] {
|
|
179
|
+
return list.map((data) => this.toFlowData(data));
|
|
180
|
+
}
|
|
142
181
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmsyCjdwResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -76,4 +78,10 @@ export class THznjXmsyCjdwResponse implements IHznjXmsyCjdwResponse {
|
|
|
76
78
|
payItem1: number = 0;
|
|
77
79
|
payItem2: number = 0;
|
|
78
80
|
payItem3: number = 0;
|
|
81
|
+
|
|
82
|
+
constructor(data: Partial<IHznjXmsyCjdwResponse> = {}) {
|
|
83
|
+
if (data) {
|
|
84
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
79
87
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmsyItemResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -69,4 +71,10 @@ export class THznjXmsyItemResponse implements IHznjXmsyItemResponse {
|
|
|
69
71
|
totalVal: number = 0;
|
|
70
72
|
isActive: number = 0;
|
|
71
73
|
itemMemo: string = "";
|
|
74
|
+
|
|
75
|
+
constructor(data: Partial<IHznjXmsyItemResponse> = {}) {
|
|
76
|
+
if (data) {
|
|
77
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
72
80
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {THznj, TCore} from "..";
|
|
2
|
+
import _ from "lodash";
|
|
3
|
+
import {TFlowDataResponse} from "../flow";
|
|
2
4
|
|
|
3
5
|
export interface IHznjXmsyResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -96,7 +98,9 @@ export interface IHznjXmsyResponse {
|
|
|
96
98
|
didFirst: number;
|
|
97
99
|
lastMemo: string;
|
|
98
100
|
userName: string;
|
|
99
|
-
userGUID: string;
|
|
101
|
+
userGUID: string;
|
|
102
|
+
flowMain: number;
|
|
103
|
+
flowNode: number;
|
|
100
104
|
|
|
101
105
|
/**附件 */
|
|
102
106
|
listPath: TCore.IPathResponse[];
|
|
@@ -181,10 +185,43 @@ export class THznjXmsyResponse implements IHznjXmsyResponse {
|
|
|
181
185
|
didFirst: number = 0;
|
|
182
186
|
lastMemo: string = "";
|
|
183
187
|
userName: string = "";
|
|
184
|
-
userGUID: string = "";
|
|
188
|
+
userGUID: string = "";
|
|
189
|
+
flowMain: number = 0;
|
|
190
|
+
flowNode: number = 0;
|
|
185
191
|
|
|
186
192
|
listPath: TCore.IPathResponse[] = [];
|
|
187
193
|
listItem: THznj.IHznjXmsyItemResponse[] = [];
|
|
188
194
|
listCJDW: THznj.IHznjXmsyCjdwResponse[] = [];
|
|
189
195
|
listWTDW: THznj.IHznjXmsyWtdwResponse[] = [];
|
|
196
|
+
|
|
197
|
+
constructor(data: Partial<IHznjXmsyResponse> = {}) {
|
|
198
|
+
if (data) {
|
|
199
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
static toFlowData(data: IHznjXmsyResponse): TFlowDataResponse {
|
|
204
|
+
const result = new TFlowDataResponse();
|
|
205
|
+
result.whoBuild = data.whoBuild;
|
|
206
|
+
result.userIndx = data.userIndx;
|
|
207
|
+
result.flowMain = data.flowMain;
|
|
208
|
+
result.flowNode = data.flowNode;
|
|
209
|
+
result.notified = "";
|
|
210
|
+
result.entityID = data.entityID;
|
|
211
|
+
result.billMain = data.xmsyIndx;
|
|
212
|
+
result.billCode = data.xmsyCode;
|
|
213
|
+
result.billMemo = data.xmsyMemo;
|
|
214
|
+
result.flowStat = data.xmsyStat;
|
|
215
|
+
result.createAt = data.createAt;
|
|
216
|
+
result.mastName = data.mastName;
|
|
217
|
+
result.createBy = data.createBy;
|
|
218
|
+
result.unitMain = data.unitMain;
|
|
219
|
+
result.deptMain = data.deptMain;
|
|
220
|
+
result.menuUUID = data.menuUUID;
|
|
221
|
+
return result;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
static toFlowDatas(list: IHznjXmsyResponse[]): TFlowDataResponse[] {
|
|
225
|
+
return list.map((data) => this.toFlowData(data));
|
|
226
|
+
}
|
|
190
227
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmsyWtdwResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -118,4 +120,10 @@ export class THznjXmsyWtdwResponse implements IHznjXmsyWtdwResponse {
|
|
|
118
120
|
k9kmKmmc: string = "";
|
|
119
121
|
ynfbMain: number = 0;
|
|
120
122
|
ynfbText: string = "";
|
|
123
|
+
|
|
124
|
+
constructor(data: Partial<IHznjXmsyWtdwResponse> = {}) {
|
|
125
|
+
if (data) {
|
|
126
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
121
129
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjZblrBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -54,4 +56,10 @@ export class THznjZblrBillResponse implements IHznjZblrBillResponse {
|
|
|
54
56
|
fromWhoBuild: number = 0;
|
|
55
57
|
fromUserIndx: number = 0;
|
|
56
58
|
fromNotiBill: number = 0;
|
|
59
|
+
|
|
60
|
+
constructor(data: Partial<IHznjZblrBillResponse> = {}) {
|
|
61
|
+
if (data) {
|
|
62
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
57
65
|
}
|
|
@@ -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 IHznjZblrResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -64,7 +66,9 @@ export interface IHznjZblrResponse {
|
|
|
64
66
|
didFirst: number;
|
|
65
67
|
lastMemo: string;
|
|
66
68
|
userName: string;
|
|
67
|
-
userGUID: string;
|
|
69
|
+
userGUID: string;
|
|
70
|
+
flowMain: number;
|
|
71
|
+
flowNode: number;
|
|
68
72
|
|
|
69
73
|
/**附件 */
|
|
70
74
|
listPath: TCore.IPathResponse[];
|
|
@@ -130,9 +134,43 @@ export class THznjZblrResponse implements IHznjZblrResponse {
|
|
|
130
134
|
didFirst: number = 0;
|
|
131
135
|
lastMemo: string = "";
|
|
132
136
|
userName: string = "";
|
|
133
|
-
userGUID: string = "";
|
|
137
|
+
userGUID: string = "";
|
|
138
|
+
flowMain: number = 0;
|
|
139
|
+
flowNode: number = 0;
|
|
140
|
+
|
|
134
141
|
|
|
135
142
|
listPath: TCore.IPathResponse[] = [];
|
|
136
143
|
listBill: THznj.IHznjZblrBillResponse[] = [];
|
|
137
144
|
listFrom: THznj.IHznjNotiResponse[] = [];
|
|
145
|
+
|
|
146
|
+
constructor(data: Partial<IHznjZblrResponse> = {}) {
|
|
147
|
+
if (data) {
|
|
148
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
static toFlowData(data: IHznjZblrResponse): TFlowDataResponse {
|
|
153
|
+
const result = new TFlowDataResponse();
|
|
154
|
+
result.whoBuild = data.whoBuild;
|
|
155
|
+
result.userIndx = data.userIndx;
|
|
156
|
+
result.flowMain = data.flowMain;
|
|
157
|
+
result.flowNode = data.flowNode;
|
|
158
|
+
result.notified = "";
|
|
159
|
+
result.entityID = data.entityID;
|
|
160
|
+
result.billMain = data.zblrIndx;
|
|
161
|
+
result.billCode = data.zblrCode;
|
|
162
|
+
result.billMemo = data.zblrMemo;
|
|
163
|
+
result.flowStat = data.zblrStat;
|
|
164
|
+
result.createAt = data.createAt;
|
|
165
|
+
result.mastName = data.mastName;
|
|
166
|
+
result.createBy = data.createBy;
|
|
167
|
+
result.unitMain = data.unitMain;
|
|
168
|
+
result.deptMain = data.deptMain;
|
|
169
|
+
result.menuUUID = data.menuUUID;
|
|
170
|
+
return result;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
static toFlowDatas(list: IHznjZblrResponse[]): TFlowDataResponse[] {
|
|
174
|
+
return list.map((data) => this.toFlowData(data));
|
|
175
|
+
}
|
|
138
176
|
}
|
|
@@ -71,7 +71,7 @@ export interface IHznkXmysResponse {
|
|
|
71
71
|
/**附件 */
|
|
72
72
|
listPath: TCore.IPathResponse[];
|
|
73
73
|
/** 关联项目 */
|
|
74
|
-
listFrom: THznk.
|
|
74
|
+
listFrom: THznk.IHznkYssqResponse[];
|
|
75
75
|
listItem: THznk.IHznkXmysItemResponse[];
|
|
76
76
|
listYSXQ: THznk.IHznkXmysYsxqResponse[];
|
|
77
77
|
}
|
|
@@ -138,7 +138,7 @@ export class THznkXmysResponse implements IHznkXmysResponse {
|
|
|
138
138
|
userGUID: string = "";
|
|
139
139
|
|
|
140
140
|
listPath: TCore.IPathResponse[] = [];
|
|
141
|
-
listFrom: THznk.
|
|
141
|
+
listFrom: THznk.IHznkYssqResponse[] = [];
|
|
142
142
|
listItem: THznk.IHznkXmysItemResponse[] = [];
|
|
143
143
|
listYSXQ: THznk.IHznkXmysYsxqResponse[] = [];
|
|
144
144
|
|