@ningboyz/types 1.7.104 → 1.7.106

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.7.104",
4
+ "version": "1.7.106",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,3 +1,4 @@
1
+ import { TStim } from "..";
1
2
  import { IPathResponse } from "../core";
2
3
  import { TFlowDataResponse } from "../flow";
3
4
  import { ICardRoomResponse } from "./ICardRoomResponse";
@@ -236,4 +237,15 @@ export class TCardFwczResponse implements ICardFwczResponse {
236
237
  result.menuUUID = fwcz.menuUUID;
237
238
  return result;
238
239
  }
240
+
241
+ static toWldyPrintData(fwcz: ICardFwczResponse) {
242
+ const data = new TStim.TStimulsoftPrintData();
243
+ data.billMain = String(fwcz.fwczIndx);
244
+ data.menuUUID = fwcz.menuUUID;
245
+ return data;
246
+ }
247
+
248
+ static toWldyPrintDatas(listFwcz: ICardFwczResponse[]) {
249
+ return listFwcz.map((u) => this.toWldyPrintData(u));
250
+ }
239
251
  }
@@ -35,6 +35,7 @@ import * as Read from "./const_read";
35
35
  import * as Hznk from "./const_hznk";
36
36
  import * as Gzjg from "./const_gzjg";
37
37
  import * as Wlzf from "./const_wlzf";
38
+ import * as Java from "./const_java";
38
39
 
39
40
  export {
40
41
  Align,
@@ -71,7 +72,8 @@ export {
71
72
  Read,
72
73
  Hznk,
73
74
  Gzjg,
74
- Wlzf
75
+ Wlzf,
76
+ Java
75
77
  };
76
78
 
77
79
  export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
@@ -1,4 +1,4 @@
1
- import { Const } from "..";
1
+ import { Const, TStim } from "..";
2
2
  import { IPathResponse } from "../core";
3
3
  import { TFlowDataResponse } from "../flow";
4
4
  import { IYzhtMainResponse } from "../yzht";
@@ -211,4 +211,15 @@ export class THzcbXmtzResponse implements IHzcbXmtzResponse {
211
211
  result.menuUUID = xmtz.menuUUID;
212
212
  return result;
213
213
  }
214
+
215
+ static toWldyPrintData(xmtz: IHzcbXmtzResponse) {
216
+ const data = new TStim.TStimulsoftPrintData();
217
+ data.billMain = String(xmtz.xmtzIndx);
218
+ data.menuUUID = xmtz.menuUUID;
219
+ return data;
220
+ }
221
+
222
+ static toWldyPrintDatas(listXmtz: IHzcbXmtzResponse[]) {
223
+ return listXmtz.map((u) => this.toWldyPrintData(u));
224
+ }
214
225
  }
@@ -1,5 +1,5 @@
1
1
  import _ from "lodash";
2
- import { Const } from "..";
2
+ import { Const, TStim } from "..";
3
3
  import { IPathResponse, IUnitResponse } from "../core";
4
4
  import { TFlowDataResponse } from "../flow";
5
5
  import { IYzhtBillResponse } from "../yzht";
@@ -214,14 +214,14 @@ export class THzcbXmykResponse implements IHzcbXmykResponse {
214
214
  listPath: IPathResponse[] = [];
215
215
  listUnit: IUnitResponse[] = [];
216
216
 
217
- constructor(card: any = {}) {
218
- if (card) {
219
- _.merge(this, _.pick(card, Object.keys(this)));
217
+ constructor(xmyk: any = {}) {
218
+ if (xmyk) {
219
+ _.merge(this, _.pick(xmyk, Object.keys(this)));
220
220
  }
221
221
  }
222
222
 
223
- static toFlowDatas(card: THzcbXmykResponse[]): TFlowDataResponse[] {
224
- return card.map((u) => this.toFlowData(u));
223
+ static toFlowDatas(xmyk: THzcbXmykResponse[]): TFlowDataResponse[] {
224
+ return xmyk.map((u) => this.toFlowData(u));
225
225
  }
226
226
 
227
227
  static toFlowData(xmyk: THzcbXmykResponse): TFlowDataResponse {
@@ -245,4 +245,15 @@ export class THzcbXmykResponse implements IHzcbXmykResponse {
245
245
  result.flowStat = xmyk.xmykStat;
246
246
  return result;
247
247
  }
248
+
249
+ static toWldyPrintData(xmyk: IHzcbXmykResponse) {
250
+ const data = new TStim.TStimulsoftPrintData();
251
+ data.billMain = String(xmyk.xmykIndx);
252
+ data.menuUUID = xmyk.menuUUID;
253
+ return data;
254
+ }
255
+
256
+ static toWldyPrintDatas(listXmyk: IHzcbXmykResponse[]) {
257
+ return listXmyk.map((u) => this.toWldyPrintData(u));
258
+ }
248
259
  }
@@ -1,6 +1,5 @@
1
- import { TCore } from "..";
1
+ import { TCore, TStim } from "..";
2
2
  import { TFlowDataResponse } from "../flow";
3
-
4
3
  import type { ITablDataResponse } from "./ITablDataResponse";
5
4
  import _ from "lodash";
6
5
  import { ITablWzk8Response } from "./ITablWzk8Response";
@@ -206,4 +205,15 @@ export class TTablMainResponse implements ITablMainResponse {
206
205
  result.flowStat = myoa.tablStat;
207
206
  return result;
208
207
  }
208
+
209
+ static toWldyPrintData(tabl: ITablMainResponse) {
210
+ const data = new TStim.TStimulsoftPrintData();
211
+ data.billMain = String(tabl.tablIndx);
212
+ data.menuUUID = tabl.menuUUID;
213
+ return data;
214
+ }
215
+
216
+ static toWldyPrintDatas(listTabl: ITablMainResponse[]) {
217
+ return listTabl.map((u) => this.toWldyPrintData(u));
218
+ }
209
219
  }
@@ -0,0 +1,32 @@
1
+ import _ from "lodash";
2
+
3
+ export interface IKtannouncementPlaintiffResponse {
4
+ ktannouncementPlaintiffId: number;
5
+ ktannouncementItemId: number;
6
+ /**
7
+ * 类型:1-公司,2-人员
8
+ */
9
+ type: number;
10
+ /**
11
+ * 人员或公司的天眼查 ID
12
+ */
13
+ plaintiffId: number;
14
+ /**
15
+ * 人员或公司名称
16
+ */
17
+ name: string;
18
+ }
19
+
20
+ export class TKtannouncementPlaintiffResponse implements IKtannouncementPlaintiffResponse {
21
+ ktannouncementPlaintiffId: number = 0;
22
+ ktannouncementItemId: number = 0;
23
+ type: number = 1;
24
+ plaintiffId: number = 0;
25
+ name: string = "";
26
+
27
+ constructor(data: Partial<IKtannouncementPlaintiffResponse> = {}) {
28
+ if (data) {
29
+ _.merge(this, _.pick(data, Object.keys(this)));
30
+ }
31
+ }
32
+ }
@@ -1,6 +1,7 @@
1
1
  import _ from "lodash";
2
2
  import type { IKtannouncementDefendantResponse } from "./IKtannouncementDefendantResponse";
3
3
  import type { IKtannouncementItemResponse } from "./IKtannouncementItemResponse";
4
+ import type { IKtannouncementPlaintiffResponse } from "./IKtannouncementPlaintiffResponse";
4
5
 
5
6
  export interface IKtannouncementResponse {
6
7
  ktannouncementId: number;
@@ -13,6 +14,7 @@ export interface IKtannouncementResponse {
13
14
  */
14
15
  ktannouncementItems: IKtannouncementItemResponse[];
15
16
  ktannouncementDefendants: IKtannouncementDefendantResponse[];
17
+ ktannouncementPlaintiffs: IKtannouncementPlaintiffResponse[];
16
18
  }
17
19
 
18
20
  export class TKtannouncementResponse implements IKtannouncementResponse {
@@ -23,6 +25,7 @@ export class TKtannouncementResponse implements IKtannouncementResponse {
23
25
  uploadDate: number = 0;
24
26
  ktannouncementItems: IKtannouncementItemResponse[] = [];
25
27
  ktannouncementDefendants: IKtannouncementDefendantResponse[] = [];
28
+ ktannouncementPlaintiffs: IKtannouncementPlaintiffResponse[] = [];
26
29
 
27
30
  constructor(data: Partial<IKtannouncementResponse> = {}) {
28
31
  if (data) {
package/src/tyc/index.ts CHANGED
@@ -43,6 +43,7 @@ import { IJudicialSaleItemResponse, TJudicialSaleItemResponse } from "./IJudicia
43
43
  import { IKtannouncementResponse, TKtannouncementResponse } from "./IKtannouncementResponse";
44
44
  import { IKtannouncementItemResponse, TKtannouncementItemResponse } from "./IKtannouncementItemResponse";
45
45
  import { IKtannouncementDefendantResponse, TKtannouncementDefendantResponse } from "./IKtannouncementDefendantResponse";
46
+ import { IKtannouncementPlaintiffResponse, TKtannouncementPlaintiffResponse } from "./IKtannouncementPlaintiffResponse";
46
47
  import { ILawSuitResponse, TLawSuitResponse } from "./ILawSuitResponse";
47
48
  import { ILawSuitItemResponse, TLawSuitItemResponse } from "./ILawSuitItemResponse";
48
49
  import { ILawSuitCasePersonResponse, TLawSuitCasePersonResponse } from "./ILawSuitCasePersonResponse";
@@ -152,6 +153,8 @@ export {
152
153
  TKtannouncementItemResponse,
153
154
  type IKtannouncementDefendantResponse,
154
155
  TKtannouncementDefendantResponse,
156
+ type IKtannouncementPlaintiffResponse,
157
+ TKtannouncementPlaintiffResponse,
155
158
  type ILawSuitResponse,
156
159
  TLawSuitResponse,
157
160
  type ILawSuitItemResponse,
@@ -37,6 +37,8 @@ export interface IWtuiItemParaResponse {
37
37
  itemPostion: number | undefined;
38
38
  /** 影响字段列表 */
39
39
  effectTable: IRelativeFormData[];
40
+ /**数值-是否启用万元/元切换 (默认为否0)*/
41
+ showUnitConvert: number;
40
42
  }
41
43
 
42
44
  export class TWtuiItemParaResponse implements IWtuiItemParaResponse {
@@ -74,6 +76,7 @@ export class TWtuiItemParaResponse implements IWtuiItemParaResponse {
74
76
  /** 对齐方式(1:左对齐 2:居中 3:右对齐) */
75
77
  itemPostion: number | undefined = 1;
76
78
  effectTable: IRelativeFormData[] = [];
79
+ showUnitConvert: number = 0;
77
80
  }
78
81
 
79
82
  export interface IRelativeFormData {
@@ -6,6 +6,7 @@ import { IHzcbMainResponse } from "../hzcb";
6
6
  import { IYzhtBillResponse } from "./IYzhtBillResponse";
7
7
  import { IYzhtDzmxResponse } from "./IYzhtDzmxResponse";
8
8
  import { IYzhtFymxResponse } from "./IYzhtFymxResponse";
9
+ import { TStim } from "..";
9
10
 
10
11
  export interface IYzhtMainResponse {
11
12
  whoBuild: number;
@@ -848,4 +849,15 @@ export class TYzhtMainResponse implements IYzhtMainResponse {
848
849
  result.flowStat = bill.yzhtStat;
849
850
  return result;
850
851
  }
852
+
853
+ static toWldyPrintData(yzht: IYzhtMainResponse) {
854
+ const data = new TStim.TStimulsoftPrintData();
855
+ data.billMain = String(yzht.yzhtIndx);
856
+ data.menuUUID = yzht.menuUUID;
857
+ return data;
858
+ }
859
+
860
+ static toWldyPrintDatas(listYzht: IYzhtMainResponse[]) {
861
+ return listYzht.map((u) => this.toWldyPrintData(u));
862
+ }
851
863
  }