@ningboyz/types 1.2.127 → 1.2.129

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.127",
4
+ "version": "1.2.129",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,4 +1,5 @@
1
1
  import _ from "lodash";
2
+ import { TFlowDataResponse } from "../flow";
2
3
 
3
4
  export interface IBillMainResponse {
4
5
  whoBuild: number;
@@ -73,6 +74,9 @@ export interface IBillMainResponse {
73
74
  checkCnt: number;
74
75
  printCnt: number;
75
76
  billFrom: number;
77
+ flowMain: number;
78
+ flowNode: number;
79
+ flowStat: number;
76
80
 
77
81
  /** 银行类型 */
78
82
  bankType: number;
@@ -191,6 +195,9 @@ export class TBillMainResponse implements IBillMainResponse {
191
195
  checkCnt: number = 0;
192
196
  printCnt: number = 0;
193
197
  billFrom: number = 0;
198
+ flowMain: number = 0;
199
+ flowNode: number = 0;
200
+ flowStat: number = 0;
194
201
 
195
202
  /** 银行类型 */
196
203
  bankType: number = 0;
@@ -238,4 +245,32 @@ export class TBillMainResponse implements IBillMainResponse {
238
245
  _.merge(this, _.pick(response, Object.keys(this)));
239
246
  }
240
247
  }
248
+
249
+ static toFlowDatas(notis: TBillMainResponse[]): TFlowDataResponse[] {
250
+ return notis.map((u) => this.toFlowData(u));
251
+ }
252
+
253
+ static toFlowData(bill: TBillMainResponse): TFlowDataResponse {
254
+ const result = new TFlowDataResponse();
255
+ result.whoBuild = bill.whoBuild;
256
+ result.userIndx = bill.userIndx;
257
+ result.flowMain = bill.flowMain;
258
+ result.flowNode = bill.flowNode;
259
+ result.notified = "";
260
+ result.entityID = bill.entityID;
261
+ result.billMain = bill.billIndx;
262
+ result.billCode = bill.billCode;
263
+ result.billMemo = bill.billMemo;
264
+ result.billUses = "";
265
+ result.ysxmText = "";
266
+ result.outMoney = bill.outMoney;
267
+ result.createAt = bill.createAt;
268
+ result.mastName = bill.mastName;
269
+ result.createBy = bill.createBy;
270
+ result.unitMain = bill.unitMain;
271
+ result.menuUUID = bill.menuUUID;
272
+ result.deptMain = bill.deptMain;
273
+ result.flowStat = bill.billStat;
274
+ return result;
275
+ }
241
276
  }
@@ -222,6 +222,7 @@ export const CONST_SYS_TYPEU_PTCJ_PTLX = "平台创建-平台类型";
222
222
  export const CONST_SYS_TYPEU_PTCJ_PTJB = "平台创建-平台级别";
223
223
  export const CONST_SYS_TYPEU_XSJL_XSLX = "学术交流-学术类型";
224
224
  export const CONST_SYS_TYPEU_XSJL_XSJB = "学术交流-学术级别";
225
+ export const CONST_SYS_TYPEU_CXTD_KHDC = "创新团队-考核等次";
225
226
 
226
227
  /** 票据打印系统 */
227
228
  export const CONST_SYS_TYPEU_PGDY_YT = "票据列表-用途";
@@ -74,6 +74,10 @@ export interface IHznkBaseResponse {
74
74
  innerVal: number;
75
75
  /**外部总经费 */
76
76
  outerVal: number;
77
+ /**联系人 */
78
+ wContact: string;
79
+ /**联系方式 */
80
+ dContact: string;
77
81
 
78
82
  /**附件 */
79
83
  listPath: IPathResponse[];
@@ -139,6 +143,8 @@ export class THznkBaseResponse implements IHznkBaseResponse {
139
143
  wbyhText: string = "";
140
144
  innerVal: number = 0;
141
145
  outerVal: number = 0;
146
+ wContact: string = "";
147
+ dContact: string = "";
142
148
 
143
149
  listPath: IPathResponse[] = [];
144
150
  listNBYH: IUserLiteResponse[] = [];
@@ -0,0 +1,47 @@
1
+ export interface IHznkNoteFromResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ noteIndx: number;
5
+ dataStat: number;
6
+ dataHide: number;
7
+ dataOrdr: number;
8
+ dataFrom: number;
9
+ dataDate: number;
10
+ dataTime: number;
11
+ createBy: string;
12
+ createAt: number;
13
+ updateBy: string;
14
+ updateAt: number;
15
+ deleteBy: string;
16
+ deleteAt: number;
17
+ queuesBy: number;
18
+ billFrom: number;
19
+ fromWhoBuild: number;
20
+ fromUserIndx: number;
21
+ fromHznkIndx: number;
22
+ fromHznkUUID: string;
23
+ }
24
+
25
+ export class THznkNoteFromResponse implements IHznkNoteFromResponse {
26
+ whoBuild: number = 0;
27
+ userIndx: number = 0;
28
+ noteIndx: number = 0;
29
+ dataStat: number = 0;
30
+ dataHide: number = 0;
31
+ dataOrdr: number = 0;
32
+ dataFrom: number = 0;
33
+ dataDate: number = 0;
34
+ dataTime: number = 0;
35
+ createBy: string = "";
36
+ createAt: number = 0;
37
+ updateBy: string = "";
38
+ updateAt: number = 0;
39
+ deleteBy: string = "";
40
+ deleteAt: number = 0;
41
+ queuesBy: number = 0;
42
+ billFrom: number = 0;
43
+ fromWhoBuild: number = 0;
44
+ fromUserIndx: number = 0;
45
+ fromHznkIndx: number = 0;
46
+ fromHznkUUID: string = "";
47
+ }
@@ -0,0 +1,47 @@
1
+ export interface IHznkNotePathResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ noteIndx: number;
5
+ dataStat: number;
6
+ dataHide: number;
7
+ dataOrdr: number;
8
+ dataFrom: number;
9
+ dataDate: number;
10
+ dataTime: number;
11
+ createBy: string;
12
+ createAt: number;
13
+ updateBy: string;
14
+ updateAt: number;
15
+ deleteBy: string;
16
+ deleteAt: number;
17
+ queuesBy: number;
18
+ billFrom: number;
19
+ fromWhoBuild: number;
20
+ fromUserIndx: number;
21
+ fromSysPathc: number;
22
+ fromPathUUID: string;
23
+ }
24
+
25
+ export class THznkNotePathResponse implements IHznkNotePathResponse {
26
+ whoBuild: number = 0;
27
+ userIndx: number = 0;
28
+ noteIndx: number = 0;
29
+ dataStat: number = 0;
30
+ dataHide: number = 0;
31
+ dataOrdr: number = 0;
32
+ dataFrom: number = 0;
33
+ dataDate: number = 0;
34
+ dataTime: number = 0;
35
+ createBy: string = "";
36
+ createAt: number = 0;
37
+ updateBy: string = "";
38
+ updateAt: number = 0;
39
+ deleteBy: string = "";
40
+ deleteAt: number = 0;
41
+ queuesBy: number = 0;
42
+ billFrom: number = 0;
43
+ fromWhoBuild: number = 0;
44
+ fromUserIndx: number = 0;
45
+ fromSysPathc: number = 0;
46
+ fromPathUUID: string = "";
47
+ }
@@ -0,0 +1,101 @@
1
+ import { IPathResponse } from "../core/IPathResponse";
2
+ import { IHznkMainResponse } from "./IHznkMainResponse";
3
+
4
+ export interface IHznkNoteResponse {
5
+ whoBuild: number;
6
+ userIndx: number;
7
+ noteIndx: number;
8
+ parentID: number;
9
+ hashCode: number;
10
+ dataLevl: number;
11
+ dataFrom: number;
12
+ kjndKJQJ: number;
13
+ dataStat: number;
14
+ dataOrdr: number;
15
+ dataHide: number;
16
+ dataType: number;
17
+ dataDate: number;
18
+ dataTime: number;
19
+ dataGUID: string;
20
+ userMain: number;
21
+ mastName: string;
22
+ mastGUID: string;
23
+ createBy: string;
24
+ createAt: number;
25
+ updateBy: string;
26
+ updateAt: number;
27
+ deleteBy: string;
28
+ deleteAt: number;
29
+ queuesBy: number;
30
+ entityID: string;
31
+ sourceND: number;
32
+ menuMain: number;
33
+ menuUUID: string;
34
+ unitMain: number;
35
+ deptMain: number;
36
+ sqyhMain: number;
37
+ sqyhText: string;
38
+ sqbmText: string;
39
+ flowUndo: number;
40
+ flowUser: string;
41
+ flowText: string;
42
+ noteDate: number;
43
+ noteStat: number;
44
+ baseName: string;
45
+ baseCode: string;
46
+ baseUses: string;
47
+ baseMemo: string;
48
+
49
+ /**附件 */
50
+ listPath: IPathResponse[];
51
+ listFROM: IHznkMainResponse[];
52
+ }
53
+
54
+ export class THznkNoteResponse implements IHznkNoteResponse {
55
+ whoBuild: number = 0;
56
+ userIndx: number = 0;
57
+ noteIndx: number = 0;
58
+ parentID: number = 0;
59
+ hashCode: number = 0;
60
+ dataLevl: number = 0;
61
+ dataFrom: number = 0;
62
+ kjndKJQJ: number = 0;
63
+ dataStat: number = 0;
64
+ dataOrdr: number = 0;
65
+ dataHide: number = 0;
66
+ dataType: number = 0;
67
+ dataDate: number = 0;
68
+ dataTime: number = 0;
69
+ dataGUID: string = "";
70
+ userMain: number = 0;
71
+ mastName: string = "";
72
+ mastGUID: string = "";
73
+ createBy: string = "";
74
+ createAt: number = 0;
75
+ updateBy: string = "";
76
+ updateAt: number = 0;
77
+ deleteBy: string = "";
78
+ deleteAt: number = 0;
79
+ queuesBy: number = 0;
80
+ entityID: string = "";
81
+ sourceND: number = 0;
82
+ menuMain: number = 0;
83
+ menuUUID: string = "";
84
+ unitMain: number = 0;
85
+ deptMain: number = 0;
86
+ sqyhMain: number = 0;
87
+ sqyhText: string = "";
88
+ sqbmText: string = "";
89
+ flowUndo: number = 0;
90
+ flowUser: string = "";
91
+ flowText: string = "";
92
+ noteDate: number = 0;
93
+ noteStat: number = 0;
94
+ baseName: string = "";
95
+ baseCode: string = "";
96
+ baseUses: string = "";
97
+ baseMemo: string = "";
98
+
99
+ listPath: IPathResponse[] = [];
100
+ listFROM: IHznkMainResponse[] = [];
101
+ }
package/src/hznk/index.ts CHANGED
@@ -17,6 +17,11 @@ import { IHznkFydwPathResponse, THznkFydwPathResponse } from "./IHznkFydwPathRes
17
17
  import { IHznkDataNbyhResponse, THznkDataNbyhResponse } from "./IHznkDataNbyhResponse";
18
18
  import { IHznkMainResponse, THznkMainResponse } from "./IHznkMainResponse";
19
19
 
20
+ import { IHznkNoteResponse, THznkNoteResponse } from "./IHznkNoteResponse";
21
+ import { IHznkNotePathResponse, THznkNotePathResponse } from "./IHznkNotePathResponse";
22
+ import { IHznkNoteFromResponse, THznkNoteFromResponse } from "./IHznkNoteFromResponse";
23
+
24
+
20
25
  export {
21
26
  THznkDataResponse,
22
27
  THznkDataEachResponse,
@@ -34,6 +39,9 @@ export {
34
39
  THznkFydwPathResponse,
35
40
  THznkDataNbyhResponse,
36
41
  THznkMainResponse,
42
+ THznkNoteResponse,
43
+ THznkNotePathResponse,
44
+ THznkNoteFromResponse,
37
45
  type IHznkDataResponse,
38
46
  type IHznkDataEachResponse,
39
47
  type IHznkDataPathResponse,
@@ -49,5 +57,8 @@ export {
49
57
  type IHznkFydwItemResponse,
50
58
  type IHznkFydwPathResponse,
51
59
  type IHznkDataNbyhResponse,
52
- type IHznkMainResponse
60
+ type IHznkMainResponse,
61
+ type IHznkNoteResponse,
62
+ type IHznkNotePathResponse,
63
+ type IHznkNoteFromResponse,
53
64
  };