@ningboyz/types 1.5.124 → 1.5.126

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.5.124",
4
+ "version": "1.5.126",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -56,6 +56,7 @@ export interface ICardDataResponse {
56
56
  /** 登记内容|维修原因 */
57
57
  dataText: string;
58
58
  dataMemo: string; //#备注信息
59
+ dddwMain: number; //#定点单位.标识
59
60
  dddwCode: string; //#定点单位.编号
60
61
  dddwText: string; //#定点单位.名称
61
62
  autoJyyh: number; //#new加油油号
@@ -212,6 +213,7 @@ export class TCardDataResponse implements ICardDataResponse {
212
213
  nowMoney: number = 0;
213
214
  dataText: string = "";
214
215
  dataMemo: string = "";
216
+ dddwMain: number = 0;
215
217
  dddwCode: string = "";
216
218
  dddwText: string = "";
217
219
  startDay: number = 0;
@@ -368,6 +368,10 @@ export interface ICardMainResponse {
368
368
  cardFclb: number;
369
369
  /** 房屋类别(文本) */
370
370
  cardFclbText: string;
371
+ /** 政府债券(字典) */
372
+ cardZfzq: number;
373
+ /** 政府债券(文本) */
374
+ cardZfzqText: string;
371
375
 
372
376
  fromBillIndx: number;
373
377
 
@@ -669,6 +673,8 @@ export class TCardMainResponse implements ICardMainResponse {
669
673
  cardFclxText: string = "";
670
674
  cardFclb: number = 0;
671
675
  cardFclbText: string = "";
676
+ cardZfzq: number = 0;
677
+ cardZfzqText: string = "";
672
678
 
673
679
  lastDate: number = 0;
674
680
  lastTime: number = 0;
@@ -4,6 +4,8 @@ export const CONST_ITEM_TYPE_TO_文本域 = 2; // #备注
4
4
  export const CONST_ITEM_TYPE_TO_日期 = 3; // #日期
5
5
  export const CONST_ITEM_TYPE_TO_字典 = 4; // #字典
6
6
  export const CONST_ITEM_TYPE_TO_单选 = 5; // #单选
7
+ export const CONST_ITEM_TYPE_TO_部门 = 6; // #单选
8
+ export const CONST_ITEM_TYPE_TO_弹窗 = 7; // #单选
7
9
  export const CONST_VALIDATE_TO_弹窗 = 1001; //弹窗
8
10
  export const CONST_MODAL_DOUBLE_TABLE_弹窗 = 1002; //表格弹窗
9
11
  export const CONST_IMAGE_UPLOAD_图片 = 1003; //图片上传
@@ -1,8 +1,10 @@
1
+ import { IUserLiteResponse } from "../core";
1
2
  import { IDeptResponse } from "../core/IDeptResponse";
2
3
  import { IUnitResponse } from "../core/IUnitResponse";
3
4
  import { IGzzdMainResponse } from "../gzzd/IGzzdMainResponse";
4
5
  import { ITablMainResponse } from "../tabl/ITablMainResponse";
5
6
  import { ITaskMainResponse, TTaskMainResponse } from "../task/ITaskMainResponse";
7
+ import { IWzpzK8kmResponse } from "../wzpz";
6
8
 
7
9
  export interface IGztbMainResponse {
8
10
  whoBuild: number;
@@ -52,9 +54,13 @@ export interface IGztbMainResponse {
52
54
  listTask: ITaskMainResponse[];
53
55
  listYSDW: IUnitResponse[];
54
56
  listYSBM: IDeptResponse[];
57
+ listUser: IUserLiteResponse[];
55
58
  listTabl: ITablMainResponse[];
56
59
  listGZZD: IGzzdMainResponse[];
57
60
  readUnit: IUnitResponse[];
61
+
62
+ wzpzK8KM: IWzpzK8kmResponse[];
63
+
58
64
  }
59
65
 
60
66
  export class TGztbMainResponse implements IGztbMainResponse {
@@ -103,8 +109,10 @@ export class TGztbMainResponse implements IGztbMainResponse {
103
109
 
104
110
  listTask: ITaskMainResponse[] = [new TTaskMainResponse()];
105
111
  listYSDW: IUnitResponse[] = [];
112
+ listUser: IUserLiteResponse[] = [];
106
113
  listYSBM: IDeptResponse[] = [];
107
114
  listTabl: ITablMainResponse[] = [];
108
115
  listGZZD: IGzzdMainResponse[] = [];
109
116
  readUnit: IUnitResponse[] = [];
117
+ wzpzK8KM: IWzpzK8kmResponse[]=[];
110
118
  }
@@ -5,6 +5,8 @@ export interface IWtuiFormParaResponse {
5
5
  titleWidth: number; //标题宽度
6
6
  titleAlign: number; //标题对齐方式
7
7
  titleOverFlow: number; //标题溢出隐藏
8
+ /** 表单一行放几个组件(默认三个) */
9
+ formColNumber: number;
8
10
  }
9
11
 
10
12
  export class TWtuiFormParaResponse implements IWtuiFormParaResponse {
@@ -14,4 +16,6 @@ export class TWtuiFormParaResponse implements IWtuiFormParaResponse {
14
16
  titleWidth: number = 120; //标题宽度
15
17
  titleAlign: number = 2; //标题对齐方式
16
18
  titleOverFlow: number = 0; //标题溢出隐藏
19
+ /** 表单一行放几个组件(默认三个) */
20
+ formColNumber: number = 3;
17
21
  }
@@ -114,6 +114,12 @@ export class TWtuiUserCnfgResponse implements IWtuiUserCnfgResponse {
114
114
  colWidth: TWtuiColWidthResponse[] = [];
115
115
  cnfg: TCnfgPara | undefined = undefined;
116
116
 
117
+ constructor(response?: any) {
118
+ if (response) {
119
+ _.merge(this, _.pick(response, Object.keys(this)));
120
+ }
121
+ }
122
+
117
123
  public static parseJson(dictPara: string) {
118
124
  const defaultDictPara = new TCnfgPara();
119
125
  if (_.isEmpty(dictPara)) {
@@ -72,6 +72,8 @@ export interface IWzpzK8kmResponse {
72
72
  inGender:number;
73
73
  // 单价 价格
74
74
  k8kmKmdj:number;
75
+ canEmpty:number; // 是否可以为空 0代表为必填,1代表非必填
76
+ limitCnt:number; // 限制数量
75
77
  // 供应商
76
78
  k8kmSccs:string;
77
79
  listDict: TCore.IDictResponse[];
@@ -152,6 +154,10 @@ export class TWzpzK8kmResponse implements IWzpzK8kmResponse {
152
154
  inGender:number = 0;
153
155
  k8kmKmdj:number = 0;
154
156
  k8kmSccs:string = "";
157
+ canEmpty:number = 0;
158
+ limitCnt:number = 0;
159
+
160
+
155
161
  listDict: TCore.IDictResponse[] = [];
156
162
 
157
163