@ningboyz/types 1.0.7 → 1.0.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/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as TApp from "./src/app";
2
2
  import { IBaseResponse } from "./src/base/IBaseResponse";
3
3
  import * as TCard from "./src/card";
4
- import { IAboutConfig, IBaseConfig, IConfig } from "./src/conf/IConfig";
4
+ import { IAboutConfig, IBaseConfig, IConfig, IPathConfig } from "./src/conf/IConfig";
5
5
  import * as Const from "./src/const";
6
6
  import * as TCore from "./src/core";
7
7
  import * as Enums from "./src/enums";
@@ -16,12 +16,23 @@ import * as TWldy from "./src/wldy";
16
16
  import * as TWlzf from "./src/wlzf";
17
17
  import * as TWtui from "./src/wtui";
18
18
  import * as TCnfg from "./src/conf";
19
+ import * as Load from "./src/load";
20
+ import * as Micro from "./src/micro";
19
21
 
20
22
  export {
21
23
  Const,
22
24
  Enums,
25
+ type IAboutConfig,
26
+ type IBaseConfig,
27
+ type IBaseResponse,
28
+ type IConfig,
29
+ type IPathConfig,
30
+ type IResponse,
31
+ Load,
32
+ Micro,
23
33
  TApp,
24
34
  TCard,
35
+ TCnfg,
25
36
  TCore,
26
37
  TFlow,
27
38
  TGams,
@@ -31,11 +42,5 @@ export {
31
42
  TTabl,
32
43
  TWldy,
33
44
  TWlzf,
34
- TWtui,
35
- TCnfg,
36
- type IAboutConfig,
37
- type IBaseConfig,
38
- type IBaseResponse,
39
- type IConfig,
40
- type IResponse
45
+ TWtui
41
46
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -15,6 +15,7 @@
15
15
  "registry": "https://registry.npmjs.org/"
16
16
  },
17
17
  "dependencies": {
18
+ "@aximario/json-tree": "2.2.4"
18
19
  },
19
20
  "devDependencies": {
20
21
  }
package/src/app/ITab.ts CHANGED
@@ -1,15 +1,20 @@
1
+ import { Micro } from "../..";
2
+
1
3
  export interface ITabQuery {
2
4
  sourceId: number;
3
5
  sourceNd: number;
6
+ bizIndex: number;
4
7
  }
5
8
 
6
9
  export class TTabQuery implements ITabQuery {
7
10
  sourceId: number = 0;
8
11
  sourceNd: number = 0;
12
+ bizIndex: number = 0;
9
13
  }
10
14
 
11
15
  export interface ITab {
12
16
  id: string;
17
+ name: string;
13
18
  title: string;
14
19
  path: string;
15
20
  key: string;
@@ -17,15 +22,18 @@ export interface ITab {
17
22
  closable: boolean;
18
23
  refresh: boolean;
19
24
  query: ITabQuery;
25
+ microAppInfo?: Micro.IAppTab;
20
26
  }
21
27
 
22
28
  export class TTab implements ITab {
23
29
  id: string = "";
24
30
  key: string = "";
31
+ name: string = "";
25
32
  title: string = "";
26
33
  path: string = "";
27
34
  keepAlive: boolean = false;
28
35
  closable: boolean = false;
29
36
  refresh: boolean = false;
30
37
  query: ITabQuery = new TTabQuery();
38
+ micorAppInfo?: Micro.IAppTab = new Micro.TAppTab();
31
39
  }
@@ -8,7 +8,8 @@ export interface IBaseResponse<T> {
8
8
  disabled: boolean;
9
9
  readOnly: boolean;
10
10
  hasChild: boolean;
11
- children: T | undefined;
11
+ children: T[];
12
+ isChecked: boolean;
12
13
  }
13
14
 
14
15
  export class TBaseResponse<T> implements IBaseResponse<T> {
@@ -21,5 +22,6 @@ export class TBaseResponse<T> implements IBaseResponse<T> {
21
22
  disabled: boolean = false;
22
23
  readOnly: boolean = false;
23
24
  hasChild: boolean = false;
24
- children: T | undefined;
25
+ children: T[] = [];
26
+ isChecked: boolean = false;
25
27
  }
@@ -2,6 +2,7 @@ import { IDeptResponse, ILaidResponse, IPathResponse, IUnitResponse } from "../c
2
2
 
3
3
  export interface ICardMainResponse {
4
4
  whoBuild: number;
5
+ /** 卡片索引 */
5
6
  cardIndx: number;
6
7
  cardExid: number;
7
8
  parentID: number;
@@ -41,6 +42,10 @@ export interface ICardMainResponse {
41
42
  cardYwbz: number;
42
43
  /** 资产类型 */
43
44
  cardType: number;
45
+ /** 使用部门 */
46
+ cardDept: number;
47
+ /** 存放地点 */
48
+ cardLaid: number;
44
49
  /** 资产用途 */
45
50
  cardUses: number;
46
51
  /** 计量单位 */
@@ -105,32 +110,58 @@ export interface ICardMainResponse {
105
110
  cardLaidText: string;
106
111
  /** 使用人名称 */
107
112
  cardUserText: string;
113
+ /** 使用次数 */
108
114
  knockCnt: number;
115
+ /** 司乘人数 */
109
116
  userSize: number;
117
+ /** 车架编号 */
110
118
  autoClno: string;
119
+ /** 引擎编号 */
111
120
  autoYqno: string;
121
+ /** 对应钥匙 */
112
122
  matchKey: string;
123
+ /** 车辆里程 */
113
124
  autoCllc: number;
125
+ /** 车辆油耗 */
114
126
  autoClyh: number;
127
+ /** 最新油耗登记日期 */
115
128
  autoYhrq: number;
129
+ /** 最新里程登记日期 */
116
130
  autoLcrq: number;
131
+ /** 加油油号 */
117
132
  autoJyyh: number;
133
+ /** 所属单位 */
118
134
  unitDict: number;
135
+ /** 车辆性质 */
119
136
  autoClxz: number;
137
+ /** 投保单位 */
120
138
  autoTbdw: number;
139
+ /** 驾驶模式 */
121
140
  autoMode: number;
141
+ /** 座位数量 */
122
142
  autoSeat: number;
143
+ /** 车辆排量 */
123
144
  autoClpl: number;
145
+ /** 动力类型 */
124
146
  autoCldl: number;
125
- get4from: number;
147
+ /** 取得方式 */
148
+ get4From: number;
149
+ /** 车辆排量名称 */
126
150
  autoClplText: string;
127
151
  autoCode: string;
152
+ /** 同步状态 */
128
153
  syncStat: number;
154
+ /** 卡片来源 */
129
155
  cardFrom: number;
156
+ /** 物品品牌 */
130
157
  cardWppp: string;
158
+ /** 物品状态 */
131
159
  cardWpzt: string;
160
+ /** 是否主机 */
132
161
  cardSfzj: string;
162
+ /** 设备序列 */
133
163
  cardZcxl: string;
164
+ /** 录入时间 */
134
165
  cardTime: number;
135
166
 
136
167
  listUnit: IUnitResponse[];
@@ -178,6 +209,8 @@ export class TCardMainResponse implements ICardMainResponse {
178
209
  cardGmrq: number = 0;
179
210
  cardYwbz: number = 0;
180
211
  cardType: number = 0;
212
+ cardDept: number = 0;
213
+ cardLaid: number = 0;
181
214
  cardUses: number = 0;
182
215
  cardJldw: number = 0;
183
216
  cardGblb: number = 0;
@@ -227,7 +260,7 @@ export class TCardMainResponse implements ICardMainResponse {
227
260
  autoSeat: number = 0;
228
261
  autoClpl: number = 0;
229
262
  autoCldl: number = 0;
230
- get4from: number = 0;
263
+ get4From: number = 0;
231
264
  autoClplText: string = "";
232
265
  autoCode: string = "";
233
266
  syncStat: number = 0;
@@ -242,4 +275,94 @@ export class TCardMainResponse implements ICardMainResponse {
242
275
  listDept: IDeptResponse[] = [];
243
276
  listLaid: ILaidResponse[] = [];
244
277
  listPath: IPathResponse[] = [];
278
+ constructor(card: any = {}) {
279
+ this.whoBuild = card.whoBuild ?? this.whoBuild;
280
+ this.cardIndx = card.cardIndx ?? this.cardIndx;
281
+ this.cardDept = card.cardDept ?? this.cardDept;
282
+ this.cardExid = card.cardExid ?? this.cardExid;
283
+ this.parentID = card.parentID ?? this.parentID;
284
+ this.hashCode = card.hashCode ?? this.hashCode;
285
+ this.dataLevl = card.dataLevl ?? this.dataLevl;
286
+ this.dataStat = card.dataStat ?? this.dataStat;
287
+ this.dataOrdr = card.dataOrdr ?? this.dataOrdr;
288
+ this.dataDate = card.dataDate ?? this.dataDate;
289
+ this.dataTime = card.dataTime ?? this.dataTime;
290
+ this.dataHide = card.dataHide ?? this.dataHide;
291
+ this.dataFrom = card.dataFrom ?? this.dataFrom;
292
+ this.dataType = card.dataType ?? this.dataType;
293
+ this.kjndKJQJ = card.kjndKJQJ ?? this.kjndKJQJ;
294
+ this.dataGUID = card.dataGUID ?? this.dataGUID;
295
+ this.mastName = card.mastName ?? this.mastName;
296
+ this.mastGUID = card.mastGUID ?? this.mastGUID;
297
+ this.createBy = card.createBy ?? this.createBy;
298
+ this.createAt = card.createAt ?? this.createAt;
299
+ this.updateBy = card.updateBy ?? this.updateBy;
300
+ this.updateAt = card.updateAt ?? this.updateAt;
301
+ this.deleteBy = card.deleteBy ?? this.deleteBy;
302
+ this.deleteAt = card.deleteAt ?? this.deleteAt;
303
+ this.queuesBy = card.queuesBy ?? this.queuesBy;
304
+ this.sourceND = card.sourceND ?? this.sourceND;
305
+ this.unitMain = card.unitMain ?? this.unitMain;
306
+ this.deptMain = card.deptMain ?? this.deptMain;
307
+ this.cardStat = card.cardStat ?? this.cardStat;
308
+ this.cardType = card.cardType ?? this.cardType;
309
+ this.cardJldw = card.cardJldw ?? this.cardJldw;
310
+ this.cardGblb = card.cardGblb ?? this.cardGblb;
311
+ this.cardZczt = card.cardZczt ?? this.cardZczt;
312
+ this.cardSize = card.cardSize ?? this.cardSize;
313
+ this.cardZcdj = card.cardZcdj ?? this.cardZcdj;
314
+ this.cardCost = card.cardCost ?? this.cardCost;
315
+ this.cardZcyz = card.cardZcyz ?? this.cardZcyz;
316
+ this.cardCszj = card.cardCszj ?? this.cardCszj;
317
+ this.cardCode = card.cardCode ?? this.cardCode;
318
+ this.cardName = card.cardName ?? this.cardName;
319
+ this.cardGgxh = card.cardGgxh ?? this.cardGgxh;
320
+ this.cardCcbh = card.cardCcbh ?? this.cardCcbh;
321
+ this.cardSccs = card.cardSccs ?? this.cardSccs;
322
+ this.cardZctm = card.cardZctm ?? this.cardZctm;
323
+ this.cardMemo = card.cardMemo ?? this.cardMemo;
324
+ this.floorCnt = card.floorCnt ?? this.floorCnt;
325
+ this.autoType = card.autoType ?? this.autoType;
326
+ this.autoCpbh = card.autoCpbh ?? this.autoCpbh;
327
+ this.autoBxrq = card.autoBxrq ?? this.autoBxrq;
328
+ this.autoNjrq = card.autoNjrq ?? this.autoNjrq;
329
+ this.autoBfrq = card.autoBfrq ?? this.autoBfrq;
330
+ this.autoJykh = card.autoJykh ?? this.autoJykh;
331
+ this.cardUnitText = card.cardUnitText ?? this.cardUnitText;
332
+ this.cardDeptText = card.cardDeptText ?? this.cardDeptText;
333
+ this.cardTypeText = card.cardTypeText ?? this.cardTypeText;
334
+ this.cardUsesText = card.cardUsesText ?? this.cardUsesText;
335
+ this.cardJldwText = card.cardJldwText ?? this.cardJldwText;
336
+ this.cardLaidText = card.cardLaidText ?? this.cardLaidText;
337
+ this.cardUserText = card.cardUserText ?? this.cardUserText;
338
+ this.knockCnt = card.knockCnt ?? this.knockCnt;
339
+ this.userSize = card.userSize ?? this.userSize;
340
+ this.autoClno = card.autoClno ?? this.autoClno;
341
+ this.autoYqno = card.autoYqno ?? this.autoYqno;
342
+ this.matchKey = card.matchKey ?? this.matchKey;
343
+ this.autoCllc = card.autoCllc ?? this.autoCllc;
344
+ this.autoClyh = card.autoClyh ?? this.autoClyh;
345
+ this.autoYhrq = card.autoYhrq ?? this.autoYhrq;
346
+ this.autoLcrq = card.autoLcrq ?? this.autoLcrq;
347
+ this.cardLaid = card.cardLaid ?? this.cardLaid;
348
+ this.cardUses = card.cardUses ?? this.cardUses;
349
+ this.autoJyyh = card.autoJyyh ?? this.autoJyyh;
350
+ this.unitDict = card.unitDict ?? this.unitDict;
351
+ this.autoClxz = card.autoClxz ?? this.autoClxz;
352
+ this.autoTbdw = card.autoTbdw ?? this.autoTbdw;
353
+ this.autoCode = card.autoCode ?? this.autoCode;
354
+ this.syncStat = card.syncStat ?? this.syncStat;
355
+ this.cardFrom = card.cardFrom ?? this.cardFrom;
356
+ this.cardWppp = card.cardWppp ?? this.cardWppp;
357
+ this.cardWpzt = card.cardWpzt ?? this.cardWpzt;
358
+ this.cardSfzj = card.cardSfzj ?? this.cardSfzj;
359
+ this.cardZcxl = card.cardZcxl ?? this.cardZcxl;
360
+ this.cardTime = card.cardTime ?? this.cardTime;
361
+ this.autoClplText = card.autoClplText ?? this.autoClplText;
362
+ this.autoMode = card.autoMode ?? this.autoMode;
363
+ this.autoSeat = card.autoSeat ?? this.autoSeat;
364
+ this.autoClpl = card.autoClpl ?? this.autoClpl;
365
+ this.autoCldl = card.autoCldl ?? this.autoCldl;
366
+ this.get4From = card.get4From ?? this.get4From;
367
+ }
245
368
  }
@@ -11,6 +11,7 @@ export interface IBaseConfig {
11
11
  baseURL: string;
12
12
  wsURL: string;
13
13
  previewURL: string;
14
+ invoiceUrl: string;
14
15
  liunxCameraURL: string;
15
16
  windowsCameraURL: string;
16
17
  verification: boolean;
@@ -19,7 +20,12 @@ export interface IBaseConfig {
19
20
  mobileCheck: boolean;
20
21
  }
21
22
 
23
+ export interface IPathConfig {
24
+ usesRotatePdf: boolean;
25
+ }
26
+
22
27
  export interface IConfig {
23
28
  baseConfig: IBaseConfig;
24
29
  aboutConfig: IAboutConfig;
30
+ pathConfig: IPathConfig;
25
31
  }
package/src/conf/index.ts CHANGED
@@ -1,7 +1,3 @@
1
1
  import { ICnfgMainResponse, TCnfgMainResponse } from "./ICnfgMainResponse";
2
2
 
3
-
4
- export {
5
- TCnfgMainResponse,
6
- type ICnfgMainResponse
7
- }
3
+ export { TCnfgMainResponse, type ICnfgMainResponse };
@@ -135,3 +135,4 @@ export const CONST_SYS_TYPEU_其他费用_评审类型 = "其他费用-评审类
135
135
  export const CONST_SYS_TYPEU_事项管理_就餐场所 = "事项管理-就餐场所";
136
136
  export const CONST_SYS_TYPEU_举办会议_会议地点 = "举办会议-会议地点";
137
137
  export const CONST_SYS_TYPEU_包干经费支出 = "包干经费支出";
138
+ export const CONST_SYS_TYPEU_用户类型 = "用户管理-用户类型";
@@ -18,11 +18,14 @@ export interface IDeptResponse extends IBaseResponse<IDeptResponse[]> {
18
18
  dataType: number;
19
19
  deleteAt: number;
20
20
  deleteBy: string;
21
+ /**联系电话 */
21
22
  deptCall: string;
22
23
  deptCode: string;
23
24
  deptGnkm: string;
24
25
  deptIndx: number;
26
+ /** 负责人 */
25
27
  deptMast: string;
28
+ /** 备注 */
26
29
  deptMemo: string;
27
30
  deptName: string;
28
31
  deptTypeText: string;
@@ -43,6 +46,7 @@ export interface IDeptResponse extends IBaseResponse<IDeptResponse[]> {
43
46
  whoBuild: number;
44
47
  matchVal: string;
45
48
  queuesBy: number;
49
+ /** 部门类型 */
46
50
  listBMLX: Array<IDictResponse>;
47
51
  }
48
52
 
@@ -98,4 +98,9 @@ export class TLaidResponse extends TBaseResponse<ILaidResponse> implements ILaid
98
98
  public static toList(treeLaid: ILaidResponse[]) {
99
99
  return destruct(treeLaid, { id: "laidIndx", pid: "parentID", children: "children" }) as ILaidResponse[];
100
100
  }
101
+
102
+ constructor(response?: any) {
103
+ super();
104
+ if (response) Object.assign(this, response);
105
+ }
101
106
  }
@@ -4,6 +4,7 @@ import type { IPzptTypeResponse } from "../pzpt/IPzptTypeResponse";
4
4
  import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
5
5
  import type { IUnitResponseElemPara } from "./IUnitResponseElemPara";
6
6
  import { TUnitResponseElemPara } from "./IUnitResponseElemPara";
7
+ import { IPzptCnfgResponse } from "../pzpt";
7
8
 
8
9
  export interface IUnitResponse extends IBaseResponse<IUnitResponse[]> {
9
10
  viewIndx: any;
@@ -58,6 +59,7 @@ export interface IUnitResponse extends IBaseResponse<IUnitResponse[]> {
58
59
  belongToText: string;
59
60
  belongToUsci: string;
60
61
  listType: IPzptTypeResponse[];
62
+ listCnfg: IPzptCnfgResponse[];
61
63
  }
62
64
 
63
65
  export class TUnitResponse extends TBaseResponse<IUnitResponse[]> implements IUnitResponse {
@@ -113,6 +115,7 @@ export class TUnitResponse extends TBaseResponse<IUnitResponse[]> implements IUn
113
115
  belongToText: string = "";
114
116
  belongToUsci: string = "";
115
117
  listType: IPzptTypeResponse[] = [];
118
+ listCnfg: IPzptCnfgResponse[] = [];
116
119
 
117
120
  static parseJson(unitPara: string) {
118
121
  const defaultUnitPara = new TUnitResponseElemPara();
@@ -1,10 +1,18 @@
1
- // #按钮颜色
1
+ /** 新增、修改、审核、查询、确定---蓝色(primary)
2
+ *
3
+ * 导出、打印 ---黄色(warning)
4
+ *
5
+ * 导入、其他---绿色(success)
6
+ *
7
+ * 删除、退回---红色(error)
8
+ */
9
+
2
10
  export enum TBtnActive {
3
11
  /** 新增、修改、审核、查询、确定---蓝色 */
4
12
  primary = "primary",
5
13
  /** 导出、打印 ---黄色*/
6
14
  warning = "warning",
7
- /** 导入、其他---绿色 */
15
+ /** 导入、其他、角色---绿色 */
8
16
  success = "success",
9
17
  /** 删除、退回---红色 */
10
18
  error = "error"
@@ -19,5 +19,9 @@ export enum TabActive {
19
19
  /** 审核 */
20
20
  audit = "audit",
21
21
  /** 确认 */
22
- confirm = "confirm"
22
+ confirm = "confirm",
23
+ /** 初审 */
24
+ trial = "trial",
25
+ /** 终审 */
26
+ final = "final"
23
27
  }
@@ -76,7 +76,7 @@ export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
76
76
  whoBuild: number = 0;
77
77
  userIndx: number = 0;
78
78
  gzjgIndx: number = 0;
79
- gzlmFlid: number = 0;
79
+ gzlmFlid: number = 0; // 主键序号
80
80
  parentID: number = 0;
81
81
  parentCD: string | undefined = undefined;
82
82
  dataLevl: number = 0;
@@ -0,0 +1,65 @@
1
+ import { IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
2
+
3
+ export interface IYqdwResponse extends IBaseResponse<IYqdwResponse> {
4
+ createAt: number;
5
+ createBy: string;
6
+ dataDate: number;
7
+ dataFrom: number;
8
+ dataHide: number;
9
+ dataOrdr: number;
10
+ dataStat: number;
11
+ dataTime: number;
12
+ dataType: number;
13
+ deleteAt: number;
14
+ deleteBy: string;
15
+ dwxzText: string;
16
+ hallText: string;
17
+ hallUUID: string;
18
+ hallXkzh: string;
19
+ loadMain: number;
20
+ mastGUID: string;
21
+ mastName: string;
22
+ typeText: string;
23
+ unitDwxz: string;
24
+ unitText: string;
25
+ unitType: string;
26
+ unitUUID: string;
27
+ updateAt: number;
28
+ updateBy: string;
29
+ usciCode: string;
30
+ userIndx: number;
31
+ whoBuild: number;
32
+ yqdwIndx: number;
33
+ }
34
+
35
+ export class TYqdwResponse extends TBaseResponse<IYqdwResponse> implements IYqdwResponse {
36
+ createAt: number = 0;
37
+ createBy: string = "";
38
+ dataDate: number = 0;
39
+ dataFrom: number = 0;
40
+ dataHide: number = 0;
41
+ dataOrdr: number = 0;
42
+ dataStat: number = 0;
43
+ dataTime: number = 0;
44
+ dataType: number = 0;
45
+ deleteAt: number = 0;
46
+ deleteBy: string = "";
47
+ dwxzText: string = "";
48
+ hallText: string = "";
49
+ hallUUID: string = "";
50
+ hallXkzh: string = "";
51
+ loadMain: number = 0;
52
+ mastGUID: string = "";
53
+ mastName: string = "";
54
+ typeText: string = "";
55
+ unitDwxz: string = "";
56
+ unitText: string = "";
57
+ unitType: string = "";
58
+ unitUUID: string = "";
59
+ updateAt: number = 0;
60
+ updateBy: string = "";
61
+ usciCode: string = "";
62
+ userIndx: number = 0;
63
+ whoBuild: number = 0;
64
+ yqdwIndx: number = 0;
65
+ }
@@ -0,0 +1,65 @@
1
+ export interface IYqkbResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ sourceND: number;
5
+ sourceID: number;
6
+ kjndKJQJ: number;
7
+ detailID: number;
8
+ hashCode: number;
9
+ dataLevl: number;
10
+ dataFrom: number;
11
+ dataStat: number;
12
+ dataOrdr: number;
13
+ dataDate: number;
14
+ dataTime: number;
15
+ dataHide: number;
16
+ dataGUID: string;
17
+ mastName: string;
18
+ mastGUID: string;
19
+ createBy: string;
20
+ createAt: number;
21
+ updateBy: string;
22
+ updateAt: number;
23
+ deleteBy: string;
24
+ deleteAt: number;
25
+ queuesBy: number;
26
+ entityID: string;
27
+ yqkmType: number;
28
+ yqkmCode: string;
29
+ yqkmName: string;
30
+ p2pzPzje: number;
31
+ sourceNc: string;
32
+ }
33
+
34
+ export class TYqkbResponse implements IYqkbResponse {
35
+ whoBuild: number = 0;
36
+ userIndx: number = 0;
37
+ sourceND: number = 0;
38
+ sourceID: number = 0;
39
+ kjndKJQJ: number = 0;
40
+ detailID: number = 0;
41
+ hashCode: number = 0;
42
+ dataLevl: number = 0;
43
+ dataFrom: number = 0;
44
+ dataStat: number = 0;
45
+ dataOrdr: number = 0;
46
+ dataDate: number = 0;
47
+ dataTime: number = 0;
48
+ dataHide: number = 0;
49
+ dataGUID: string = "";
50
+ mastName: string = "";
51
+ mastGUID: string = "";
52
+ createBy: string = "";
53
+ createAt: number = 0;
54
+ updateBy: string = "";
55
+ updateAt: number = 0;
56
+ deleteBy: string = "";
57
+ deleteAt: number = 0;
58
+ queuesBy: number = 0;
59
+ entityID: string = "";
60
+ yqkmType: number = 0;
61
+ yqkmCode: string = "";
62
+ yqkmName: string = "";
63
+ p2pzPzje: number = 0;
64
+ sourceNc: string = "";
65
+ }
@@ -0,0 +1,49 @@
1
+ export interface IYqkmResponse {
2
+ createAt: number;
3
+ createBy: string;
4
+ dataDate: number;
5
+ dataFrom: number;
6
+ dataHide: number;
7
+ dataOrdr: number;
8
+ dataStat: number;
9
+ dataTime: number;
10
+ dataType: number;
11
+ deleteAt: number;
12
+ deleteBy: string;
13
+ loadMain: number;
14
+ mastGUID: string;
15
+ mastName: string;
16
+ updateAt: number;
17
+ updateBy: string;
18
+ userIndx: number;
19
+ whoBuild: number;
20
+ yqkmCode: string;
21
+ yqkmIndx: number;
22
+ yqkmName: string;
23
+ yqkmType: number;
24
+ }
25
+
26
+ export class TYqkmResponse implements IYqkmResponse {
27
+ createAt: number = 0;
28
+ createBy: string = "";
29
+ dataDate: number = 0;
30
+ dataFrom: number = 0;
31
+ dataHide: number = 0;
32
+ dataOrdr: number = 0;
33
+ dataStat: number = 0;
34
+ dataTime: number = 0;
35
+ dataType: number = 0;
36
+ deleteAt: number = 0;
37
+ deleteBy: string = "";
38
+ loadMain: number = 0;
39
+ mastGUID: string = "";
40
+ mastName: string = "";
41
+ updateAt: number = 0;
42
+ updateBy: string = "";
43
+ userIndx: number = 0;
44
+ whoBuild: number = 0;
45
+ yqkmCode: string = "";
46
+ yqkmIndx: number = 0;
47
+ yqkmName: string = "";
48
+ yqkmType: number = 0;
49
+ }
@@ -0,0 +1,5 @@
1
+ import { IYqdwResponse, TYqdwResponse } from "./IYqdwResponse";
2
+ import { IYqkmResponse, TYqkmResponse } from "./IYqkmResponse";
3
+ import { IYqkbResponse, TYqkbResponse } from "./IYqkbResponse";
4
+
5
+ export { type IYqdwResponse, type IYqkmResponse, type IYqkbResponse, TYqdwResponse, TYqkmResponse, TYqkbResponse };
@@ -0,0 +1,29 @@
1
+ interface IMicroAppDataInfo {
2
+ pageIndx: number;
3
+ }
4
+
5
+ interface IMicroAppData {
6
+ whoBuild: number;
7
+ userIndx: number;
8
+ usrToken: string;
9
+ baseURL: string;
10
+ routeURL: string;
11
+ dataInfo: IMicroAppDataInfo;
12
+ }
13
+
14
+ class TMicroAppDataInfo implements IMicroAppDataInfo {
15
+ pageIndx: number = 0;
16
+ }
17
+
18
+ class TMicroAppData implements IMicroAppData {
19
+ whoBuild: number = 0;
20
+ userIndx: number = 0;
21
+ usrToken: string = "";
22
+ baseURL: string = "";
23
+ routeURL: string = "";
24
+ dataInfo: IMicroAppDataInfo = new TMicroAppDataInfo();
25
+ }
26
+
27
+ export type { IMicroAppData, IMicroAppDataInfo };
28
+
29
+ export { TMicroAppData, TMicroAppDataInfo };
@@ -0,0 +1,6 @@
1
+ enum EAppName {
2
+ APP_NAME_NULL = "APP_NAME_NULL",
3
+ APP_NAME_PRINTER = "APP_NAME_PRINTER"
4
+ }
5
+
6
+ export default EAppName;
@@ -0,0 +1,15 @@
1
+ import EAppName from "./appName";
2
+
3
+ interface IAppTab {
4
+ isMicroApp: boolean;
5
+ appName: EAppName;
6
+ }
7
+
8
+ class TAppTab implements IAppTab {
9
+ isMicroApp: boolean = false;
10
+ appName: EAppName = EAppName.APP_NAME_NULL;
11
+ }
12
+
13
+ export type { IAppTab };
14
+
15
+ export { TAppTab };
@@ -0,0 +1,6 @@
1
+ import EAppName from "./appName";
2
+ import { IMicroAppData, IMicroAppDataInfo, TMicroAppData, TMicroAppDataInfo } from "./appData";
3
+ import { IAppTab, TAppTab } from "./appTab";
4
+
5
+ export { EAppName, TAppTab, TMicroAppData, TMicroAppDataInfo };
6
+ export type { IAppTab, IMicroAppData, IMicroAppDataInfo };
@@ -70,6 +70,9 @@ export interface IPzptCnfgResponse {
70
70
  fromSourceDW: string;
71
71
  fromSourceID: number;
72
72
  fromSourceND: number;
73
+
74
+ sourceNC: string;
75
+ sourceNF: string;
73
76
  }
74
77
 
75
78
  export class TPzptCnfgResponse implements IPzptCnfgResponse {
@@ -141,4 +144,7 @@ export class TPzptCnfgResponse implements IPzptCnfgResponse {
141
144
  fromSourceDW: string = "";
142
145
  fromSourceID: number = 0;
143
146
  fromSourceND: number = 0;
147
+
148
+ sourceNC: string = "";
149
+ sourceNF: string = "";
144
150
  }
@@ -80,6 +80,8 @@ export interface IPzptK8kmResponse extends IBaseResponse<IPzptK8kmResponse> {
80
80
 
81
81
  listItem: IPzptItemResponse[];
82
82
  listType: IPzptTypeResponse[];
83
+
84
+ isChecked: boolean;
83
85
  }
84
86
 
85
87
  export class TPzptK8kmResponse extends TBaseResponse<IPzptK8kmResponse> implements IPzptK8kmResponse {
@@ -160,6 +162,8 @@ export class TPzptK8kmResponse extends TBaseResponse<IPzptK8kmResponse> implemen
160
162
  listItem: IPzptItemResponse[] = [];
161
163
  listType: IPzptTypeResponse[] = [];
162
164
 
165
+ isChecked: boolean = false;
166
+
163
167
  static toTree(listData: IPzptK8kmResponse[]) {
164
168
  return construct(listData, { id: "k8kmKmid", pid: "parentID", children: "children" }) as IPzptK8kmResponse[];
165
169
  }
@@ -39,6 +39,8 @@ export interface IPzptTypeResponse {
39
39
  iDefault: number;
40
40
  uDefault: string;
41
41
  nDefault: string;
42
+ k8kmKmbm: string;
43
+ k8kmKmmc: string;
42
44
  listItem: IPzptItemResponse[];
43
45
  }
44
46
 
@@ -80,5 +82,7 @@ export class TPzptTypeResponse implements IPzptTypeResponse {
80
82
  iDefault: number = 0;
81
83
  uDefault: string = "";
82
84
  nDefault: string = "";
85
+ k8kmKmbm: string = "";
86
+ k8kmKmmc: string = "";
83
87
  listItem: IPzptItemResponse[] = [];
84
88
  }
package/src/wldy/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IWldyDataResponse, TWldyDataResponse } from "./IWldyDataResponse";
2
2
  import { IWldyItemResponse, TWldyItemResponse } from "./IWldyItemResponse";
3
3
  import { IWldyPageResponse, TWldyPageResponse } from "./IWldyPageResponse";
4
- import { IWldyPageParaResponse, TWldyPageParaResponse, IPaperSize, TPaperSize } from "./IWldyPageParaResponse";
4
+ import { IWldyPageParaResponse, TWldyPageParaResponse, IPaperSize, TPaperSize, listPaper } from "./IWldyPageParaResponse";
5
5
 
6
6
  export {
7
7
  type IWldyDataResponse,
@@ -13,5 +13,6 @@ export {
13
13
  TWldyItemResponse,
14
14
  TWldyPageResponse,
15
15
  TWldyPageParaResponse,
16
- TPaperSize
16
+ TPaperSize,
17
+ listPaper
17
18
  };