@ningboyz/types 1.2.7 → 1.2.9

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.2.7",
3
+ "version": "1.2.9",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -3,40 +3,9 @@ import type { IDictResponse } from "../core/IDictResponse";
3
3
  import type { IGzjgBodyLockResponse, TGzjgBodyLockResponse } from "./IGzjgBodyLockResponse";
4
4
  import type { IGzjgGzlmLandResponse } from "./IGzjgGzlmLandResponse";
5
5
  import type { IGzjgGzlmResponse } from "./IGzjgGzlmResponse";
6
+ import { IGzjgMainResponseGzjgPara, TGzjgMainResponseGzjgPara } from "./IGzjgMainResponseGzjgPara";
6
7
  import type { IGzjgQzgsResponse } from "./IGzjgQzgsResponse";
7
8
 
8
- export interface ICompare {
9
- [key: string]: number;
10
- }
11
-
12
- export interface IGzjgMainResponseGzjgPara {
13
- col: number;
14
- labelWidth: number;
15
- titleAlign: "left" | "center" | "right" | "" | null;
16
- titleColon: boolean;
17
-
18
- typeMain: number;
19
- typeName: string;
20
- compare: ICompare;
21
- uploadMode: string; //导入模式excel/txt
22
-
23
- iswy: number | undefined;
24
- }
25
-
26
- export class TGzjgMainResponseGzjgPara implements IGzjgMainResponseGzjgPara {
27
- col: number = 0;
28
- labelWidth: number = 0;
29
- titleAlign: "left" | "center" | "right" | "" | null = "left";
30
- titleColon: boolean = false;
31
-
32
- typeMain: number = 0;
33
- typeName: string = "";
34
- compare: ICompare = {};
35
- uploadMode: string = "";
36
-
37
- iswy: number | undefined = undefined;
38
- }
39
-
40
9
  // #工资结构
41
10
  export interface IGzjgMainResponse {
42
11
  whoBuild: number; //#PK
@@ -0,0 +1,31 @@
1
+ export interface ICompare {
2
+ [key: string]: number;
3
+ }
4
+
5
+ export interface IGzjgMainResponseGzjgPara {
6
+ col: number;
7
+ labelWidth: number;
8
+ titleAlign: "left" | "center" | "right" | "" | null;
9
+ titleColon: boolean;
10
+
11
+ typeMain: number;
12
+ typeName: string;
13
+ compare: ICompare;
14
+ uploadMode: string; //导入模式excel/txt
15
+
16
+ iswy: number | undefined;
17
+ }
18
+
19
+ export class TGzjgMainResponseGzjgPara implements IGzjgMainResponseGzjgPara {
20
+ col: number = 0;
21
+ labelWidth: number = 0;
22
+ titleAlign: "left" | "center" | "right" | "" | null = "left";
23
+ titleColon: boolean = false;
24
+
25
+ typeMain: number = 0;
26
+ typeName: string = "";
27
+ compare: ICompare = {};
28
+ uploadMode: string = "";
29
+
30
+ iswy: number | undefined = undefined;
31
+ }
package/src/gzjg/index.ts CHANGED
@@ -1,24 +1,28 @@
1
1
  import { IGzjgBodyLockResponse, TGzjgBodyLockResponse } from "./IGzjgBodyLockResponse";
2
2
  import { IGzjgGzlmLandResponse, TGzjgGzlmLandResponse } from "./IGzjgGzlmLandResponse";
3
3
  import { IGzjgGzlmResponse, TGzjgGzlmResponse } from "./IGzjgGzlmResponse";
4
+ import { IElemElemResponse, TElemElemResponse } from "./IGzjgGzlmWithResponse";
4
5
  import { IGzjgMainResponse, TGzjgMainResponse } from "./IGzjgMainResponse";
5
- import { IGzjgQzgsResponse, TGzjgQzgsResponse } from "./IGzjgQzgsResponse";
6
+ import { IGzjgMainResponseGzjgPara, TGzjgMainResponseGzjgPara } from "./IGzjgMainResponseGzjgPara";
6
7
  import { IGzjgMainResponseWithYZPZ, TGzjgMainResponseWithYZPZ } from "./IGzjgMainResponseWithYZPZ";
7
- import { IElemElemResponse, TElemElemResponse } from "./IGzjgGzlmWithResponse";
8
+ import { IGzjgQzgsResponse, TGzjgQzgsResponse } from "./IGzjgQzgsResponse";
8
9
 
9
10
  export {
10
- type IGzjgBodyLockResponse,
11
- type IGzjgGzlmLandResponse,
12
- type IGzjgGzlmResponse,
13
- type IGzjgMainResponse,
14
- type IGzjgQzgsResponse,
15
- type IGzjgMainResponseWithYZPZ,
16
- type IElemElemResponse,
11
+ TElemElemResponse,
17
12
  TGzjgBodyLockResponse,
18
13
  TGzjgGzlmLandResponse,
19
14
  TGzjgGzlmResponse,
20
15
  TGzjgMainResponse,
21
- TGzjgQzgsResponse,
16
+ TGzjgMainResponseGzjgPara,
22
17
  TGzjgMainResponseWithYZPZ,
23
- TElemElemResponse
18
+ TGzjgQzgsResponse,
19
+ type IElemElemResponse,
20
+ type IGzjgBodyLockResponse,
21
+ type IGzjgGzlmLandResponse,
22
+ type IGzjgGzlmResponse,
23
+ type IGzjgMainResponse,
24
+ type IGzjgMainResponseGzjgPara,
25
+ type IGzjgMainResponseWithYZPZ,
26
+ type IGzjgQzgsResponse
24
27
  };
28
+
@@ -64,7 +64,7 @@ export interface IHzcbXmtzResponse {
64
64
  lastMemo: string;
65
65
  userName: string;
66
66
  userGUID: string;
67
-
67
+
68
68
  hzcbName: string;
69
69
 
70
70
  listFrom: IHzcbMainResponse[];
@@ -145,6 +145,7 @@ export class THzcbXmtzResponse implements IHzcbXmtzResponse {
145
145
  result.userIndx = xmtz.userIndx;
146
146
  result.flowMain = xmtz.flowMain;
147
147
  result.flowNode = xmtz.flowNode;
148
+ result.flowStat = xmtz.xmtzStat;
148
149
  result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HZCB_XMTZ_WAIT;
149
150
  result.entityID = xmtz.entityID;
150
151
  result.billMain = xmtz.xmtzIndx;
@@ -164,7 +164,7 @@ export class THzcbXmykResponse implements IHzcbXmykResponse {
164
164
  result.whoBuild = xmyk.whoBuild;
165
165
  result.userIndx = xmyk.userIndx;
166
166
  result.flowMain = xmyk.flowMain;
167
- result.flowStat = xmyk.flowStat;
167
+
168
168
  result.flowNode = xmyk.flowNode;
169
169
  result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HZCB_XMYK_WAIT;
170
170
  result.entityID = xmyk.entityID;