@ningboyz/types 1.0.139 → 1.0.141
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
|
@@ -10,6 +10,7 @@ import { IYzcgMainResponse } from "../yzcg/IYzcgMainResponse";
|
|
|
10
10
|
import { IMyoaCashResponse } from "./IMyoaCashResponse";
|
|
11
11
|
import { IMyoaPGDWResponse } from "./IMyoaPGDWResponse";
|
|
12
12
|
import _ from "lodash";
|
|
13
|
+
import {TCore} from "../../index.ts";
|
|
13
14
|
|
|
14
15
|
export interface IMyoaMainResponse {
|
|
15
16
|
typeName: string;
|
|
@@ -399,4 +400,21 @@ export class TMyoaMainResponse implements IMyoaMainResponse {
|
|
|
399
400
|
|
|
400
401
|
return result;
|
|
401
402
|
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* 用来记录操作
|
|
406
|
+
* */
|
|
407
|
+
static toTravel(card: IMyoaMainResponse): TCore.ISysTravelResponse {
|
|
408
|
+
const travel = new TCore.TSysTravelResponse();
|
|
409
|
+
travel.whoBuild = card.whoBuild;
|
|
410
|
+
travel.flowMain = card.flowMain;
|
|
411
|
+
travel.flowNode = card.flowNode;
|
|
412
|
+
travel.billUUID = card.entityID;
|
|
413
|
+
travel.billMain = card.myoaIndx;
|
|
414
|
+
travel.billCode = card.myoaCode;
|
|
415
|
+
travel.mastName = card.mastName;
|
|
416
|
+
travel.createBy = card.createBy;
|
|
417
|
+
travel.menuUUID = card.menuUUID;
|
|
418
|
+
return travel;
|
|
419
|
+
}
|
|
402
420
|
}
|
|
@@ -286,6 +286,7 @@ export class TYzcgMainResponse implements IYzcgMainResponse {
|
|
|
286
286
|
const result = new TFlowDataResponse();
|
|
287
287
|
result.whoBuild = yzcg.whoBuild;
|
|
288
288
|
result.userIndx = yzcg.userIndx;
|
|
289
|
+
result.userMain = yzcg.userMain;
|
|
289
290
|
result.flowMain = yzcg.flowMain;
|
|
290
291
|
result.flowNode = yzcg.flowNode;
|
|
291
292
|
result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_YZCG_WAIT;
|