@ningboyz/types 1.4.114 → 1.4.115
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,7 +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
|
+
import { TCore, TStim } from "../index.ts";
|
|
14
14
|
import { IMyoaRoomResponse, TMyoaRoomResponse } from "./IMyoaRoomResponse.ts";
|
|
15
15
|
|
|
16
16
|
export interface IMyoaMainResponse {
|
|
@@ -524,4 +524,15 @@ export class TMyoaMainResponse implements IMyoaMainResponse {
|
|
|
524
524
|
}
|
|
525
525
|
return [this.toTravel(card)];
|
|
526
526
|
}
|
|
527
|
+
|
|
528
|
+
static toWldyPrintData(noti: IMyoaMainResponse) {
|
|
529
|
+
const data = new TStim.TStimulsoftPrintData();
|
|
530
|
+
data.billMain = noti.myoaIndx;
|
|
531
|
+
data.menuUUID = noti.menuUUID;
|
|
532
|
+
return data;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
static toWldyPrintDatas(listNoti: IMyoaMainResponse[]) {
|
|
536
|
+
return listNoti.map((u) => this.toWldyPrintData(u));
|
|
537
|
+
}
|
|
527
538
|
}
|
|
@@ -14,6 +14,7 @@ import { IZbhdMainResponse } from "../zbhd";
|
|
|
14
14
|
import { IYzcgBillResponse, TYzcgBillResponse } from "./IYzcgBillResponse";
|
|
15
15
|
import { IYzcgGshdResponse } from "./IYzcgGshdResponse";
|
|
16
16
|
import { IYzcgLockResponse } from "./IYzcgLockResponse";
|
|
17
|
+
import { TStim } from "..";
|
|
17
18
|
|
|
18
19
|
export interface IYzcgMainResponse {
|
|
19
20
|
typeName: string;
|
|
@@ -311,4 +312,15 @@ export class TYzcgMainResponse implements IYzcgMainResponse {
|
|
|
311
312
|
result.flowStat = yzcg.yzcgStat;
|
|
312
313
|
return result;
|
|
313
314
|
}
|
|
315
|
+
|
|
316
|
+
static toWldyPrintData(noti: IYzcgMainResponse) {
|
|
317
|
+
const data = new TStim.TStimulsoftPrintData();
|
|
318
|
+
data.billMain = noti.yzcgIndx;
|
|
319
|
+
data.menuUUID = noti.menuUUID;
|
|
320
|
+
return data;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
static toWldyPrintDatas(listNoti: IYzcgMainResponse[]) {
|
|
324
|
+
return listNoti.map((u) => this.toWldyPrintData(u));
|
|
325
|
+
}
|
|
314
326
|
}
|
|
@@ -4,6 +4,7 @@ import { IDeptResponse, IPathResponse, IUnitResponse, IUserLiteResponse } from "
|
|
|
4
4
|
import { TFlowDataResponse } from "../flow/IFlowDataResponse";
|
|
5
5
|
import { IGamsItemResponse } from "../gams";
|
|
6
6
|
import { IZbzbZbflResponse } from "./index";
|
|
7
|
+
import { TStim } from "..";
|
|
7
8
|
|
|
8
9
|
export interface IZbzdMainResponse {
|
|
9
10
|
whoBuild: number;
|
|
@@ -384,4 +385,15 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
|
|
|
384
385
|
result.flowStat = zbzd.zbzdStat;
|
|
385
386
|
return result;
|
|
386
387
|
}
|
|
388
|
+
|
|
389
|
+
static toWldyPrintData(noti: IZbzdMainResponse) {
|
|
390
|
+
const data = new TStim.TStimulsoftPrintData();
|
|
391
|
+
data.billMain = noti.zbzdZdid;
|
|
392
|
+
data.menuUUID = noti.menuUUID;
|
|
393
|
+
return data;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
static toWldyPrintDatas(listNoti: IZbzdMainResponse[]) {
|
|
397
|
+
return listNoti.map((u) => this.toWldyPrintData(u));
|
|
398
|
+
}
|
|
387
399
|
}
|