@ningboyz/types 1.1.134 → 1.1.136

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.1.134",
3
+ "version": "1.1.136",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -1,5 +1,6 @@
1
1
  import { TCore } from "../../index.ts";
2
2
  import _ from "lodash";
3
+ import { TWithEXPD, TWithMYOA, WithEXPD, WithMYOA } from "./IUserResponse.ts";
3
4
 
4
5
  export interface IPartResponse {
5
6
  whoBuild: number;
@@ -34,6 +35,9 @@ export interface IPartResponse {
34
35
  queuesBy: number;
35
36
  usesZbhd: number;
36
37
  usesFlow: number;
38
+
39
+ withMYOA: WithEXPD;
40
+ withEXPD: WithMYOA;
37
41
  }
38
42
 
39
43
  export class TPartResponse implements IPartResponse {
@@ -70,6 +74,9 @@ export class TPartResponse implements IPartResponse {
70
74
  usesZbhd: number = 0;
71
75
  usesFlow: number = 0;
72
76
 
77
+ withMYOA: WithEXPD = new TWithEXPD();
78
+ withEXPD: WithMYOA = new TWithMYOA();
79
+
73
80
  static toTravel(part: IPartResponse, buttonType: string): TCore.ISysTravelResponse {
74
81
  const travel = new TCore.TSysTravelResponse();
75
82
  travel.whoBuild = part.whoBuild;
@@ -357,6 +357,15 @@ export interface WithEXPD {
357
357
  whoBuild: number;
358
358
  }
359
359
 
360
+ export interface WithMYOA {
361
+ listExpdDoPeriod: number;
362
+ listUserGet4Part: string;
363
+ listUserWhenExpd: number;
364
+ usrPartc: number;
365
+ userIndx: number;
366
+ whoBuild: number;
367
+ }
368
+
360
369
  export interface WithGZTB {
361
370
  asLeaderWhenGZTB: number;
362
371
  asLockerWhenGZTB: number;
@@ -373,6 +382,15 @@ export class TWithEXPD implements WithEXPD {
373
382
  whoBuild: number = 0;
374
383
  }
375
384
 
385
+ export class TWithMYOA implements WithMYOA {
386
+ listExpdDoPeriod: number = 0;
387
+ listUserGet4Part: string = "";
388
+ listUserWhenExpd: number = 0;
389
+ usrPartc: number = 0;
390
+ userIndx: number = 0;
391
+ whoBuild: number = 0;
392
+ }
393
+
376
394
  export interface WithGZTB {
377
395
  asLeaderWhenGZTB: number;
378
396
  asLockerWhenGZTB: number;
@@ -16,6 +16,6 @@ export enum TEditMode {
16
16
  emSend, // 送审
17
17
  emReview, // 复核
18
18
  emAccept, // 验收
19
- emWriteReport // 填报
20
-
19
+ emWriteReport, // 填报
20
+ emAppend // 追加
21
21
  }