@ningboyz/types 1.2.164 → 1.2.166
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/card/ICardFwczResponse.ts +18 -18
- package/src/card/IZcbdResponse.ts +16 -16
- package/src/card/IZccfResponse.ts +16 -16
- package/src/card/IZcczResponse.ts +18 -18
- package/src/card/IZcdbResponse.ts +18 -18
- package/src/const/const_type_name.ts +4 -0
- package/src/gzzd/IGzzdMainResponse.ts +5 -5
- package/src/hzcb/IHzcbXmtzResponse.ts +2 -2
- package/src/hznj/index.ts +21 -1
- package/src/yzcg/IYzcgMainResponse.ts +10 -9
- package/src/yzht/IYzhtMainResponse.ts +28 -0
package/package.json
CHANGED
|
@@ -167,29 +167,29 @@ export class TCardFwczResponse implements ICardFwczResponse {
|
|
|
167
167
|
listRoom: ICardRoomResponse[] = [];
|
|
168
168
|
listPath: IPathResponse[] = [];
|
|
169
169
|
|
|
170
|
-
static toFlowDatas(
|
|
171
|
-
return
|
|
170
|
+
static toFlowDatas(fwczs: TCardFwczResponse[]): TFlowDataResponse[] {
|
|
171
|
+
return fwczs.map((u) => this.toFlowData(u));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
static toFlowData(
|
|
174
|
+
static toFlowData(fwcz: TCardFwczResponse): TFlowDataResponse {
|
|
175
175
|
let result = new TFlowDataResponse();
|
|
176
|
-
result.whoBuild =
|
|
177
|
-
result.userIndx =
|
|
178
|
-
result.flowMain =
|
|
179
|
-
result.flowNode =
|
|
180
|
-
result.flowStat =
|
|
176
|
+
result.whoBuild = fwcz.whoBuild;
|
|
177
|
+
result.userIndx = fwcz.userIndx;
|
|
178
|
+
result.flowMain = fwcz.flowMain;
|
|
179
|
+
result.flowNode = fwcz.flowNode;
|
|
180
|
+
result.flowStat = fwcz.fwczStat;
|
|
181
181
|
// result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HZCB_XMTZ_WAIT;
|
|
182
|
-
result.entityID =
|
|
183
|
-
result.billMain =
|
|
184
|
-
result.billCode =
|
|
185
|
-
result.billMemo =
|
|
182
|
+
result.entityID = fwcz.entityID;
|
|
183
|
+
result.billMain = fwcz.fwczIndx;
|
|
184
|
+
result.billCode = fwcz.fwczCode;
|
|
185
|
+
result.billMemo = fwcz.fwczMemo;
|
|
186
186
|
result.outMoney = 0;
|
|
187
|
-
result.createAt =
|
|
188
|
-
result.mastName =
|
|
189
|
-
result.createBy =
|
|
190
|
-
result.unitMain =
|
|
191
|
-
result.deptMain =
|
|
192
|
-
result.menuUUID =
|
|
187
|
+
result.createAt = fwcz.createAt;
|
|
188
|
+
result.mastName = fwcz.mastName;
|
|
189
|
+
result.createBy = fwcz.createBy;
|
|
190
|
+
result.unitMain = fwcz.unitMain;
|
|
191
|
+
result.deptMain = fwcz.deptMain;
|
|
192
|
+
result.menuUUID = fwcz.menuUUID;
|
|
193
193
|
return result;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
1
2
|
import { Const, TCore } from "..";
|
|
2
3
|
import { IPathResponse } from "../core";
|
|
3
4
|
import { TFlowDataResponse } from "../flow";
|
|
4
5
|
import { ICardMainResponse } from "./ICardMainResponse";
|
|
5
|
-
import _ from "lodash";
|
|
6
6
|
|
|
7
7
|
export interface IZcbdResponse {
|
|
8
8
|
whoBuild: number;
|
|
@@ -176,30 +176,30 @@ export class TZcbdResponse implements IZcbdResponse {
|
|
|
176
176
|
return zcbds.map((u) => this.toFlowData(u));
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
static toTravel(
|
|
179
|
+
static toTravel(zcbd: TZcbdResponse): TCore.ISysTravelResponse {
|
|
180
180
|
const travel = new TCore.TSysTravelResponse();
|
|
181
|
-
travel.whoBuild =
|
|
182
|
-
travel.flowMain =
|
|
183
|
-
travel.flowNode =
|
|
184
|
-
travel.billUUID =
|
|
185
|
-
travel.billMain =
|
|
186
|
-
travel.billCode =
|
|
187
|
-
travel.mastName =
|
|
188
|
-
travel.createBy =
|
|
189
|
-
travel.menuUUID =
|
|
181
|
+
travel.whoBuild = zcbd.whoBuild;
|
|
182
|
+
travel.flowMain = zcbd.flowMain;
|
|
183
|
+
travel.flowNode = zcbd.flowNode;
|
|
184
|
+
travel.billUUID = zcbd.entityID;
|
|
185
|
+
travel.billMain = zcbd.zcbdIndx;
|
|
186
|
+
travel.billCode = zcbd.zcbdCode;
|
|
187
|
+
travel.mastName = zcbd.mastName;
|
|
188
|
+
travel.createBy = zcbd.createBy;
|
|
189
|
+
travel.menuUUID = zcbd.menuUUID;
|
|
190
190
|
return travel;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/** 转换成记录日志需要的数据(第一层,不包含菜单) */
|
|
194
|
-
static toTravelData(
|
|
195
|
-
if (_.isNil(
|
|
194
|
+
static toTravelData(data?: TZcbdResponse | TZcbdResponse[]): TCore.ISysTravelResponse[] {
|
|
195
|
+
if (_.isNil(data)) {
|
|
196
196
|
return [];
|
|
197
197
|
}
|
|
198
|
-
if (_.isArray(
|
|
199
|
-
return
|
|
198
|
+
if (_.isArray(data)) {
|
|
199
|
+
return data.map((u) => {
|
|
200
200
|
return this.toTravel(u);
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
return [this.toTravel(
|
|
203
|
+
return [this.toTravel(data)];
|
|
204
204
|
}
|
|
205
205
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
1
2
|
import { Const, TCore } from "..";
|
|
2
3
|
import { IPathResponse } from "../core";
|
|
3
4
|
import { TFlowDataResponse } from "../flow";
|
|
4
5
|
import { ICardMainResponse } from "./ICardMainResponse";
|
|
5
|
-
import _ from "lodash";
|
|
6
6
|
|
|
7
7
|
export interface IZccfResponse {
|
|
8
8
|
whoBuild: number;
|
|
@@ -203,30 +203,30 @@ export class TZccfResponse implements IZccfResponse {
|
|
|
203
203
|
return zccfs.map((u) => this.toFlowData(u));
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
static toTravel(
|
|
206
|
+
static toTravel(zccf: TZccfResponse): TCore.ISysTravelResponse {
|
|
207
207
|
const travel = new TCore.TSysTravelResponse();
|
|
208
|
-
travel.whoBuild =
|
|
209
|
-
travel.flowMain =
|
|
210
|
-
travel.flowNode =
|
|
211
|
-
travel.billUUID =
|
|
212
|
-
travel.billMain =
|
|
213
|
-
travel.billCode =
|
|
214
|
-
travel.mastName =
|
|
215
|
-
travel.createBy =
|
|
216
|
-
travel.menuUUID =
|
|
208
|
+
travel.whoBuild = zccf.whoBuild;
|
|
209
|
+
travel.flowMain = zccf.flowMain;
|
|
210
|
+
travel.flowNode = zccf.flowNode;
|
|
211
|
+
travel.billUUID = zccf.entityID;
|
|
212
|
+
travel.billMain = zccf.zccfIndx;
|
|
213
|
+
travel.billCode = zccf.zccfCode;
|
|
214
|
+
travel.mastName = zccf.mastName;
|
|
215
|
+
travel.createBy = zccf.createBy;
|
|
216
|
+
travel.menuUUID = zccf.menuUUID;
|
|
217
217
|
return travel;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
/** 转换成记录日志需要的数据(第一层,不包含菜单) */
|
|
221
|
-
static toTravelData(
|
|
222
|
-
if (_.isNil(
|
|
221
|
+
static toTravelData(data?: TZccfResponse | TZccfResponse[]): TCore.ISysTravelResponse[] {
|
|
222
|
+
if (_.isNil(data)) {
|
|
223
223
|
return [];
|
|
224
224
|
}
|
|
225
|
-
if (_.isArray(
|
|
226
|
-
return
|
|
225
|
+
if (_.isArray(data)) {
|
|
226
|
+
return data.map((u) => {
|
|
227
227
|
return this.toTravel(u);
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
return [this.toTravel(
|
|
230
|
+
return [this.toTravel(data)];
|
|
231
231
|
}
|
|
232
232
|
}
|
|
@@ -183,9 +183,9 @@ export class TZcczResponse implements IZcczResponse {
|
|
|
183
183
|
return result;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
constructor(
|
|
187
|
-
if (
|
|
188
|
-
_.merge(this, _.pick(
|
|
186
|
+
constructor(zccz: Partial<IZcczResponse> = {}) {
|
|
187
|
+
if (zccz) {
|
|
188
|
+
_.merge(this, _.pick(zccz, Object.keys(this)));
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
|
|
@@ -193,30 +193,30 @@ export class TZcczResponse implements IZcczResponse {
|
|
|
193
193
|
return zcczs.map((u) => this.toFlowData(u));
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
static toTravel(
|
|
196
|
+
static toTravel(zccz: TZcczResponse): TCore.ISysTravelResponse {
|
|
197
197
|
const travel = new TCore.TSysTravelResponse();
|
|
198
|
-
travel.whoBuild =
|
|
199
|
-
travel.flowMain =
|
|
200
|
-
travel.flowNode =
|
|
201
|
-
travel.billUUID =
|
|
202
|
-
travel.billMain =
|
|
203
|
-
travel.billCode =
|
|
204
|
-
travel.mastName =
|
|
205
|
-
travel.createBy =
|
|
206
|
-
travel.menuUUID =
|
|
198
|
+
travel.whoBuild = zccz.whoBuild;
|
|
199
|
+
travel.flowMain = zccz.flowMain;
|
|
200
|
+
travel.flowNode = zccz.flowNode;
|
|
201
|
+
travel.billUUID = zccz.entityID;
|
|
202
|
+
travel.billMain = zccz.zcczIndx;
|
|
203
|
+
travel.billCode = zccz.zcczCode;
|
|
204
|
+
travel.mastName = zccz.mastName;
|
|
205
|
+
travel.createBy = zccz.createBy;
|
|
206
|
+
travel.menuUUID = zccz.menuUUID;
|
|
207
207
|
return travel;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
/** 转换成记录日志需要的数据(第一层,不包含菜单) */
|
|
211
|
-
static toTravelData(
|
|
212
|
-
if (_.isNil(
|
|
211
|
+
static toTravelData(data?: TZcczResponse | TZcczResponse[]): TCore.ISysTravelResponse[] {
|
|
212
|
+
if (_.isNil(data)) {
|
|
213
213
|
return [];
|
|
214
214
|
}
|
|
215
|
-
if (_.isArray(
|
|
216
|
-
return
|
|
215
|
+
if (_.isArray(data)) {
|
|
216
|
+
return data.map((u) => {
|
|
217
217
|
return this.toTravel(u);
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
return [this.toTravel(
|
|
220
|
+
return [this.toTravel(data)];
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -198,9 +198,9 @@ export class TZcdbResponse implements IZcdbResponse {
|
|
|
198
198
|
return result;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
constructor(
|
|
202
|
-
if (
|
|
203
|
-
_.merge(this, _.pick(
|
|
201
|
+
constructor(zcdb: Partial<IZcdbResponse> = {}) {
|
|
202
|
+
if (zcdb) {
|
|
203
|
+
_.merge(this, _.pick(zcdb, Object.keys(this)));
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
|
|
@@ -208,30 +208,30 @@ export class TZcdbResponse implements IZcdbResponse {
|
|
|
208
208
|
return zcdbs.map((u) => this.toFlowData(u));
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
static toTravel(
|
|
211
|
+
static toTravel(zcdb: TZcdbResponse): TCore.ISysTravelResponse {
|
|
212
212
|
const travel = new TCore.TSysTravelResponse();
|
|
213
|
-
travel.whoBuild =
|
|
214
|
-
travel.flowMain =
|
|
215
|
-
travel.flowNode =
|
|
216
|
-
travel.billUUID =
|
|
217
|
-
travel.billMain =
|
|
218
|
-
travel.billCode =
|
|
219
|
-
travel.mastName =
|
|
220
|
-
travel.createBy =
|
|
221
|
-
travel.menuUUID =
|
|
213
|
+
travel.whoBuild = zcdb.whoBuild;
|
|
214
|
+
travel.flowMain = zcdb.flowMain;
|
|
215
|
+
travel.flowNode = zcdb.flowNode;
|
|
216
|
+
travel.billUUID = zcdb.entityID;
|
|
217
|
+
travel.billMain = zcdb.zcdbIndx;
|
|
218
|
+
travel.billCode = zcdb.zcdbCode;
|
|
219
|
+
travel.mastName = zcdb.mastName;
|
|
220
|
+
travel.createBy = zcdb.createBy;
|
|
221
|
+
travel.menuUUID = zcdb.menuUUID;
|
|
222
222
|
return travel;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
/** 转换成记录日志需要的数据(第一层,不包含菜单) */
|
|
226
|
-
static toTravelData(
|
|
227
|
-
if (_.isNil(
|
|
226
|
+
static toTravelData(data?: TZcdbResponse | TZcdbResponse[]): TCore.ISysTravelResponse[] {
|
|
227
|
+
if (_.isNil(data)) {
|
|
228
228
|
return [];
|
|
229
229
|
}
|
|
230
|
-
if (_.isArray(
|
|
231
|
-
return
|
|
230
|
+
if (_.isArray(data)) {
|
|
231
|
+
return data.map((u) => {
|
|
232
232
|
return this.toTravel(u);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
return [this.toTravel(
|
|
235
|
+
return [this.toTravel(data)];
|
|
236
236
|
}
|
|
237
237
|
}
|
|
@@ -229,6 +229,10 @@ export const CONST_SYS_TYPEU_XSJL_XSLX = "学术交流-学术类型";
|
|
|
229
229
|
export const CONST_SYS_TYPEU_XSJL_XSJB = "学术交流-学术级别";
|
|
230
230
|
export const CONST_SYS_TYPEU_CXTD_KHDC = "创新团队-考核等次";
|
|
231
231
|
|
|
232
|
+
export const CONST_SYS_TYPEU_JDGL_KYJXZT = "基地管理-科研绩效状态";
|
|
233
|
+
export const CONST_SYS_TYPEU_JDGL_SQLX = "基地管理-申请类型";
|
|
234
|
+
export const CONST_SYS_TYPEU_JDGL_TDSSLX = "基地管理-土地设施类型";
|
|
235
|
+
|
|
232
236
|
/** 票据打印系统 */
|
|
233
237
|
export const CONST_SYS_TYPEU_PGDY_YT = "票据列表-用途";
|
|
234
238
|
|
|
@@ -181,14 +181,14 @@ export class TGzzdMainResponse implements IGzzdMainResponse {
|
|
|
181
181
|
readUnit: IUnitResponse[] = [];
|
|
182
182
|
cellEdit: ICellEditResponse[] = [];
|
|
183
183
|
|
|
184
|
-
constructor(
|
|
185
|
-
if (
|
|
186
|
-
_.merge(this, _.pick(
|
|
184
|
+
constructor(gzzd: keyof IGzzdMainResponse | object) {
|
|
185
|
+
if (gzzd) {
|
|
186
|
+
_.merge(this, _.pick(gzzd, Object.keys(this)));
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
static toFlowDatas(
|
|
191
|
-
return
|
|
190
|
+
static toFlowDatas(gzzds: IGzzdMainResponse[]): TFlowDataResponse[] {
|
|
191
|
+
return gzzds.map((u) => this.toFlowData(u));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
//#进入流程
|
|
@@ -167,8 +167,8 @@ export class THzcbXmtzResponse implements IHzcbXmtzResponse {
|
|
|
167
167
|
listBill: IHzcbXmtzBillResponse[] = [];
|
|
168
168
|
listPath: IPathResponse[] = [];
|
|
169
169
|
|
|
170
|
-
static toFlowDatas(
|
|
171
|
-
return
|
|
170
|
+
static toFlowDatas(xmtzs: THzcbXmtzResponse[]): TFlowDataResponse[] {
|
|
171
|
+
return xmtzs.map((u) => this.toFlowData(u));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
static toFlowData(xmtz: THzcbXmtzResponse): TFlowDataResponse {
|
package/src/hznj/index.ts
CHANGED
|
@@ -2,4 +2,24 @@ import { IHznjBaseResponse, THznjBaseResponse } from "./IHznjBaseResponse";
|
|
|
2
2
|
import { IHznjBasePathResponse, THznjBasePathResponse } from "./IHznjBasePathResponse";
|
|
3
3
|
import { IHznjBaseItemResponse, THznjBaseItemResponse } from "./IHznjBaseItemResponse";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import { IHznjXmsyResponse, THznjXmsyResponse } from "./IHznjXmsyResponse";
|
|
6
|
+
import { IHznjXmsyItemResponse, THznjXmsyItemResponse } from "./IHznjXmsyItemResponse";
|
|
7
|
+
import { IHznjXmsyCjdwResponse, THznjXmsyCjdwResponse } from "./IHznjXmsyCjdwResponse";
|
|
8
|
+
import { IHznjXmsyWtdwResponse, THznjXmsyWtdwResponse } from "./IHznjXmsyWtdwResponse";
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
THznjBaseResponse,
|
|
12
|
+
THznjBasePathResponse,
|
|
13
|
+
THznjBaseItemResponse,
|
|
14
|
+
THznjXmsyResponse,
|
|
15
|
+
THznjXmsyItemResponse,
|
|
16
|
+
THznjXmsyCjdwResponse,
|
|
17
|
+
THznjXmsyWtdwResponse,
|
|
18
|
+
type IHznjBaseResponse,
|
|
19
|
+
type IHznjBasePathResponse,
|
|
20
|
+
type IHznjBaseItemResponse,
|
|
21
|
+
type IHznjXmsyResponse,
|
|
22
|
+
type IHznjXmsyItemResponse,
|
|
23
|
+
type IHznjXmsyCjdwResponse,
|
|
24
|
+
type IHznjXmsyWtdwResponse,
|
|
25
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
1
2
|
import * as Const from "../const";
|
|
2
3
|
import { IDeptResponse } from "../core/IDeptResponse";
|
|
3
4
|
import { IPathResponse } from "../core/IPathResponse";
|
|
4
5
|
import { IUserLiteResponse } from "../core/IUserLiteResponse";
|
|
5
6
|
import { IUserResponse } from "../core/IUserResponse";
|
|
7
|
+
import { IExpdMainResponse } from "../expd/IExpdMainResponse";
|
|
6
8
|
import { TFlowDataResponse } from "../flow/IFlowDataResponse";
|
|
7
9
|
import { IGamsBillResponse } from "../gams/IGamsBillResponse";
|
|
8
10
|
import { IYzcbMainResponse } from "../yzcb/IYzcbMainResponse";
|
|
9
11
|
import { IYzcqMainResponse } from "../yzcq/IYzcqMainResponse";
|
|
12
|
+
import { IYzhtMainResponse } from "../yzht/IYzhtMainResponse";
|
|
13
|
+
import { IZbhdMainResponse } from "../zbhd";
|
|
10
14
|
import { IYzcgBillResponse, TYzcgBillResponse } from "./IYzcgBillResponse";
|
|
11
15
|
import { IYzcgGshdResponse } from "./IYzcgGshdResponse";
|
|
12
16
|
import { IYzcgLockResponse } from "./IYzcgLockResponse";
|
|
13
|
-
import { IExpdMainResponse } from "../expd/IExpdMainResponse";
|
|
14
|
-
import { IYzhtMainResponse } from "../yzht/IYzhtMainResponse";
|
|
15
|
-
import _ from "lodash";
|
|
16
|
-
import { IZbhdMainResponse } from "../zbhd";
|
|
17
17
|
|
|
18
18
|
export interface IYzcgMainResponse {
|
|
19
19
|
typeName: string;
|
|
@@ -272,14 +272,15 @@ export class TYzcgMainResponse implements IYzcgMainResponse {
|
|
|
272
272
|
lockExpd: IExpdMainResponse[] = [];
|
|
273
273
|
listYzht: IYzhtMainResponse[] = [];
|
|
274
274
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
275
|
+
|
|
276
|
+
constructor(yzcg: Partial<IYzcgMainResponse> = {}) {
|
|
277
|
+
if (yzcg) {
|
|
278
|
+
_.merge(this, _.pick(yzcg, Object.keys(this)));
|
|
278
279
|
}
|
|
279
280
|
}
|
|
280
281
|
|
|
281
|
-
static toFlowDatas(
|
|
282
|
-
return
|
|
282
|
+
static toFlowDatas(yzcgs: TYzcgMainResponse[]): TFlowDataResponse[] {
|
|
283
|
+
return yzcgs.map((u) => this.toFlowData(u));
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
static toFlowData(yzcg: TYzcgMainResponse): TFlowDataResponse {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ICardFwczResponse, ICardHyhbResponse, ICardRoomResponse } from "../card";
|
|
2
2
|
import { IPathResponse, IUserResponse } from "../core";
|
|
3
|
+
import { TFlowDataResponse } from "../flow";
|
|
3
4
|
import { IHzcbMainResponse } from "../hzcb";
|
|
4
5
|
import { IYzhtBillResponse } from "./IYzhtBillResponse";
|
|
5
6
|
import { IYzhtDzmxResponse } from "./IYzhtDzmxResponse";
|
|
@@ -674,4 +675,31 @@ export class TYzhtMainResponse implements IYzhtMainResponse {
|
|
|
674
675
|
listFwcz: ICardFwczResponse[] = [];
|
|
675
676
|
listRoom: ICardRoomResponse[] = [];
|
|
676
677
|
listPath: IPathResponse[] = [];
|
|
678
|
+
static toFlowDatas(notis: IYzhtMainResponse[]): TFlowDataResponse[] {
|
|
679
|
+
return notis.map((u) => this.toFlowData(u));
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
static toFlowData(bill: IYzhtMainResponse): TFlowDataResponse {
|
|
683
|
+
const result = new TFlowDataResponse();
|
|
684
|
+
result.whoBuild = bill.whoBuild;
|
|
685
|
+
result.userIndx = bill.userIndx;
|
|
686
|
+
result.flowMain = bill.flowMain;
|
|
687
|
+
result.flowNode = bill.flowNode;
|
|
688
|
+
result.notified = "";
|
|
689
|
+
result.entityID = bill.entityID;
|
|
690
|
+
result.billMain = bill.billIndx;
|
|
691
|
+
result.billCode = bill.yzhtCode;
|
|
692
|
+
result.billMemo = bill.yzhtMemo;
|
|
693
|
+
result.billUses = "";
|
|
694
|
+
result.ysxmText = "";
|
|
695
|
+
result.outMoney = bill.outMoney;
|
|
696
|
+
result.createAt = bill.createAt;
|
|
697
|
+
result.mastName = bill.mastName;
|
|
698
|
+
result.createBy = bill.createBy;
|
|
699
|
+
result.unitMain = bill.unitMain;
|
|
700
|
+
result.menuUUID = bill.menuUUID;
|
|
701
|
+
result.deptMain = bill.deptMain;
|
|
702
|
+
result.flowStat = bill.yzhtStat;
|
|
703
|
+
return result;
|
|
704
|
+
}
|
|
677
705
|
}
|