@ningboyz/types 1.1.136 → 1.1.137

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.136",
3
+ "version": "1.1.137",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -1,6 +1,6 @@
1
1
  import { TCore } from "../../index.ts";
2
2
  import _ from "lodash";
3
- import { TWithEXPD, TWithMYOA, WithEXPD, WithMYOA } from "./IUserResponse.ts";
3
+ import { TWithEXPDS, TWithMYOA, WithEXPDS, WithMYOA } from "./IUserResponse.ts";
4
4
 
5
5
  export interface IPartResponse {
6
6
  whoBuild: number;
@@ -36,8 +36,16 @@ export interface IPartResponse {
36
36
  usesZbhd: number;
37
37
  usesFlow: number;
38
38
 
39
- withMYOA: WithEXPD;
40
- withEXPD: WithMYOA;
39
+ withMYOA: WithMYOA;
40
+ withEXPD: WithEXPDS;
41
+ /** 单据加载 */
42
+ listExpdDoPeriod: number;
43
+ /** 用户角色 */
44
+ listUserGet4Part: string;
45
+ /** 支出管理:显示以下角色的用户 */
46
+ listUserWhenExpd: number;
47
+ /** 内部管理:允许查看请假统计 */
48
+ asLeaderWhenMYOA: number;
41
49
  }
42
50
 
43
51
  export class TPartResponse implements IPartResponse {
@@ -74,8 +82,12 @@ export class TPartResponse implements IPartResponse {
74
82
  usesZbhd: number = 0;
75
83
  usesFlow: number = 0;
76
84
 
77
- withMYOA: WithEXPD = new TWithEXPD();
78
- withEXPD: WithMYOA = new TWithMYOA();
85
+ withMYOA: WithMYOA = new TWithMYOA();
86
+ withEXPD: WithEXPDS = new TWithEXPDS();
87
+ listExpdDoPeriod: number = 0;
88
+ listUserGet4Part: string = "";
89
+ listUserWhenExpd: number = 0;
90
+ asLeaderWhenMYOA: number = 0;
79
91
 
80
92
  static toTravel(part: IPartResponse, buttonType: string): TCore.ISysTravelResponse {
81
93
  const travel = new TCore.TSysTravelResponse();
@@ -358,6 +358,13 @@ export interface WithEXPD {
358
358
  }
359
359
 
360
360
  export interface WithMYOA {
361
+ asLeaderWhenMYOA: number;
362
+ usrPartc: number;
363
+ userIndx: number;
364
+ whoBuild: number;
365
+ }
366
+
367
+ export interface WithEXPDS {
361
368
  listExpdDoPeriod: number;
362
369
  listUserGet4Part: string;
363
370
  listUserWhenExpd: number;
@@ -383,6 +390,13 @@ export class TWithEXPD implements WithEXPD {
383
390
  }
384
391
 
385
392
  export class TWithMYOA implements WithMYOA {
393
+ asLeaderWhenMYOA: number = 0;
394
+ usrPartc: number = 0;
395
+ userIndx: number = 0;
396
+ whoBuild: number = 0;
397
+ }
398
+
399
+ export class TWithEXPDS implements WithEXPDS {
386
400
  listExpdDoPeriod: number = 0;
387
401
  listUserGet4Part: string = "";
388
402
  listUserWhenExpd: number = 0;