@ningboyz/types 1.2.113 → 1.2.114

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.2.113",
4
+ "version": "1.2.114",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
package/src/app/ITab.ts CHANGED
@@ -1,15 +1,22 @@
1
+ import { TEditMode } from "../enums";
1
2
  import { IAppTab, TAppTab } from "../micro";
2
3
 
3
4
  interface ITabQuery {
4
5
  sourceId: number;
5
6
  sourceNd: number;
6
7
  bizIndex: number;
8
+ editMode: TEditMode;
9
+ billCnfg: number;
10
+ billType: number;
7
11
  }
8
12
 
9
13
  class TTabQuery implements ITabQuery {
10
14
  sourceId: number = 0;
11
15
  sourceNd: number = 0;
12
16
  bizIndex: number = 0;
17
+ editMode: TEditMode = TEditMode.emNull;
18
+ billCnfg: number = 0;
19
+ billType: number = 0;
13
20
  }
14
21
 
15
22
  interface ITab {
@@ -18,6 +25,7 @@ interface ITab {
18
25
  title: string;
19
26
  path: string;
20
27
  key: string;
28
+ icon: string;
21
29
  keepAlive: boolean;
22
30
  closable: boolean;
23
31
  refresh: boolean;
@@ -31,6 +39,7 @@ class TTab implements ITab {
31
39
  name: string = "";
32
40
  title: string = "";
33
41
  path: string = "";
42
+ icon: string = "";
34
43
  keepAlive: boolean = false;
35
44
  closable: boolean = false;
36
45
  refresh: boolean = false;
@@ -1,7 +1,5 @@
1
- import { IPathResponse } from "../core";
2
- import { IHznkBaseNbyhResponse } from "./IHznkBaseNbyhResponse";
1
+ import { IPathResponse, IUserLiteResponse } from "../core";
3
2
  import { IHznkBaseWbdwResponse } from "./IHznkBaseWbdwResponse";
4
- import { IHznkBaseWbyhResponse } from "./IHznkBaseWbyhResponse";
5
3
  import _ from "lodash";
6
4
  import { TFlowDataResponse } from "../flow";
7
5
 
@@ -79,8 +77,8 @@ export interface IHznkBaseResponse {
79
77
 
80
78
  /**附件 */
81
79
  listPath: IPathResponse[];
82
- listNBYH: IHznkBaseNbyhResponse[];
83
- listWBYH: IHznkBaseWbyhResponse[];
80
+ listNBYH: IUserLiteResponse[];
81
+ listWBYH: IUserLiteResponse[];
84
82
  listWBDW: IHznkBaseWbdwResponse[];
85
83
  }
86
84
 
@@ -143,8 +141,8 @@ export class THznkBaseResponse implements IHznkBaseResponse {
143
141
  outerVal: number = 0;
144
142
 
145
143
  listPath: IPathResponse[] = [];
146
- listNBYH: IHznkBaseNbyhResponse[] = [];
147
- listWBYH: IHznkBaseWbyhResponse[] = [];
144
+ listNBYH: IUserLiteResponse[] = [];
145
+ listWBYH: IUserLiteResponse[] = [];
148
146
  listWBDW: IHznkBaseWbdwResponse[] = [];
149
147
 
150
148
  constructor(data: Partial<IHznkBaseResponse> = {}) {
@@ -1,9 +1,9 @@
1
1
  import { IPathResponse } from "../core/IPathResponse";
2
2
  import { IHznkDataEachResponse } from "./IHznkDataEachResponse";
3
3
  import { IHznkDataItemResponse } from "./IHznkDataItemResponse";
4
- import { IHznkDataNbyhResponse } from "./IHznkDataNbyhResponse";
5
4
  import _ from "lodash";
6
5
  import { TFlowDataResponse } from "../flow/IFlowDataResponse";
6
+ import { IUserLiteResponse } from "../core";
7
7
 
8
8
  export interface IHznkDataResponse {
9
9
  whoBuild: number;
@@ -63,6 +63,7 @@ export interface IHznkDataResponse {
63
63
  hznkStat: number;
64
64
  /**单据类型 */
65
65
  hznkType: number;
66
+ hznkTypeText: string;
66
67
  /**单据编号--编码规则:fmt.Sprintf("NS%d%06d", MAIN.DATADATE, MAIN.hznsINDX);举例:CQ20211025001001; */
67
68
  hznkCode: string;
68
69
  hznkName: string;
@@ -129,7 +130,7 @@ export interface IHznkDataResponse {
129
130
  listPath: IPathResponse[];
130
131
  listEach: IHznkDataEachResponse[];
131
132
  listItem: IHznkDataItemResponse[];
132
- listNBYH: IHznkDataNbyhResponse[];
133
+ listNBYH: IUserLiteResponse[];
133
134
  }
134
135
 
135
136
  export class THznkDataResponse implements IHznkDataResponse {
@@ -180,6 +181,7 @@ export class THznkDataResponse implements IHznkDataResponse {
180
181
  hznkDate: number = 0;
181
182
  hznkStat: number = 0;
182
183
  hznkType: number = 0;
184
+ hznkTypeText: string = "";
183
185
  hznkCode: string = "";
184
186
  hznkName: string = "";
185
187
  hznkUses: string = "";
@@ -223,7 +225,7 @@ export class THznkDataResponse implements IHznkDataResponse {
223
225
  listPath: IPathResponse[] = [];
224
226
  listEach: IHznkDataEachResponse[] = [];
225
227
  listItem: IHznkDataItemResponse[] = [];
226
- listNBYH: IHznkDataNbyhResponse[] = [];
228
+ listNBYH: IUserLiteResponse[] = [];
227
229
 
228
230
  constructor(response?: any) {
229
231
  if (response) {
@@ -1,7 +1,5 @@
1
- import { IPathResponse } from "../core";
2
- import { IHznkMainNbyhResponse } from "./IHznkMainNbyhResponse";
1
+ import { IPathResponse, IUserLiteResponse } from "../core";
3
2
  import { IHznkMainWbdwResponse } from "./IHznkMainWbdwResponse";
4
- import { IHznkMainWbyhResponse } from "./IHznkMainWbyhResponse";
5
3
  import _ from "lodash";
6
4
  import { TFlowDataResponse } from "../flow";
7
5
  import { IHznkMainRwzbResponse } from "./IHznkMainRwzbResponse";
@@ -93,9 +91,9 @@ export interface IHznkMainResponse {
93
91
  /**附件 */
94
92
  listPath: IPathResponse[];
95
93
  /**内部用户 */
96
- listNBYH: IHznkMainNbyhResponse[];
94
+ listNBYH: IUserLiteResponse[];
97
95
  /**外部用户 */
98
- listWBYH: IHznkMainWbyhResponse[];
96
+ listWBYH: IUserLiteResponse[];
99
97
  /**外部单位 */
100
98
  listWBDW: IHznkMainWbdwResponse[];
101
99
  /**任务指标 */
@@ -167,8 +165,8 @@ export class THznkMainResponse implements IHznkMainResponse {
167
165
  innerTq2: number = 0;
168
166
 
169
167
  listPath: IPathResponse[] = [];
170
- listNBYH: IHznkMainNbyhResponse[] = [];
171
- listWBYH: IHznkMainWbyhResponse[] = [];
168
+ listNBYH: IUserLiteResponse[] = [];
169
+ listWBYH: IUserLiteResponse[] = [];
172
170
  listWBDW: IHznkMainWbdwResponse[] = [];
173
171
  listRWZB: IHznkMainRwzbResponse[] = [];
174
172