@ningboyz/types 1.8.3 → 1.8.5

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.8.3",
4
+ "version": "1.8.5",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -64,6 +64,7 @@ export interface ILaidResponse extends IBaseResponse<ILaidResponse> {
64
64
  * 所属部门文本
65
65
  * */
66
66
  deptText: string;
67
+ laidPara: string;
67
68
  /**
68
69
  * 部门权限
69
70
  * */
@@ -126,6 +127,7 @@ export class TLaidResponse extends TBaseResponse<ILaidResponse> implements ILaid
126
127
  laidAddr: string = "";
127
128
  laidDate: number = 0;
128
129
  laidCall: string = "";
130
+ laidPara: string = "";
129
131
 
130
132
  public static toTree(listLaid: ILaidResponse[]) {
131
133
  return construct(listLaid, { id: "laidIndx", pid: "parentID", children: "children" }) as ILaidResponse[];
@@ -157,15 +159,15 @@ export class TLaidResponse extends TBaseResponse<ILaidResponse> implements ILaid
157
159
  }
158
160
 
159
161
  /** 转换成记录日志需要的数据(第一层,不包含菜单) */
160
- static toTravelData(card?: ILaidResponse | ILaidResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
161
- if (_.isNil(card)) {
162
+ static toTravelData(laid?: ILaidResponse | ILaidResponse[], whatDone: string = ""): TCore.ISysTravelResponse[] {
163
+ if (_.isNil(laid)) {
162
164
  return [];
163
165
  }
164
- if (_.isArray(card)) {
165
- return card.map((u) => {
166
+ if (_.isArray(laid)) {
167
+ return laid.map((u) => {
166
168
  return this.toTravel(u, whatDone);
167
169
  });
168
170
  }
169
- return [this.toTravel(card, whatDone)];
171
+ return [this.toTravel(laid, whatDone)];
170
172
  }
171
173
  }
@@ -13,6 +13,8 @@ export interface IGzjgGzlmResponseGzlmPara {
13
13
  totalGzlmList: number[];
14
14
  /** 默认将合计金额显示在此列 */
15
15
  defaultTotalMoney: boolean;
16
+ /** 采购品目的弹窗选择 */
17
+ cgItemsChoose: boolean;
16
18
  }
17
19
 
18
20
  export class TGzjgGzlmResponseGzlmPara implements IGzjgGzlmResponseGzlmPara {
@@ -29,4 +31,6 @@ export class TGzjgGzlmResponseGzlmPara implements IGzjgGzlmResponseGzlmPara {
29
31
  /** 将哪几列的金额数据进行合计,达成配平 */
30
32
  totalGzlmList: number[] = [];
31
33
  defaultTotalMoney: boolean = false;
34
+ /** 采购品目的弹窗选择 */
35
+ cgItemsChoose: boolean = false;
32
36
  }