@ningboyz/types 1.6.179 → 1.6.181
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
|
@@ -3,6 +3,7 @@ import type { IGzjgGzlmResponseGzlmPara } from "./IGzjgGzlmResponseGzlmPara";
|
|
|
3
3
|
import { TGzjgGzlmResponseGzlmPara } from "./IGzjgGzlmResponseGzlmPara";
|
|
4
4
|
import { IElemElemResponse } from "../elem/IElemElemResponse";
|
|
5
5
|
import { construct, destruct } from "@aximario/json-tree";
|
|
6
|
+
import {TGzlmLiteResponse} from "./IGzlmLiteResponse.ts";
|
|
6
7
|
|
|
7
8
|
// #工资栏目
|
|
8
9
|
export interface IGzjgGzlmResponse {
|
|
@@ -190,4 +191,28 @@ export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
|
|
|
190
191
|
public static toList(listGzlm: IGzjgGzlmResponse[]) {
|
|
191
192
|
return destruct(_.cloneDeep(listGzlm), { id: "gzlmFlid", pid: "parentID", children: "children" }) as IGzjgGzlmResponse[];
|
|
192
193
|
}
|
|
194
|
+
|
|
195
|
+
static toGzlmLite(listPara: IGzjgGzlmResponse[]) {
|
|
196
|
+
var result = [];
|
|
197
|
+
|
|
198
|
+
for (let index = 0; index < listPara.length; index++) {
|
|
199
|
+
const element = listPara[index];
|
|
200
|
+
|
|
201
|
+
var gzlmLite = new TGzlmLiteResponse();
|
|
202
|
+
gzlmLite.whoBuild = element.whoBuild;
|
|
203
|
+
gzlmLite.userIndx = element.userIndx;
|
|
204
|
+
gzlmLite.gzjgIndx = element.gzjgIndx;
|
|
205
|
+
gzlmLite.gzlmFlid = element.gzlmFlid;
|
|
206
|
+
|
|
207
|
+
gzlmLite.gzlmFlbh = element.gzlmFlbh;
|
|
208
|
+
gzlmLite.gzlmFljs = element.gzlmFljs;
|
|
209
|
+
gzlmLite.gzlmFllx = element.gzlmFllx;
|
|
210
|
+
gzlmLite.gzlmFlws = element.gzlmFlws;
|
|
211
|
+
gzlmLite.typTotal = element.typTotal;
|
|
212
|
+
|
|
213
|
+
result.push(gzlmLite);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
return result;
|
|
217
|
+
}
|
|
193
218
|
}
|
|
@@ -97,6 +97,9 @@ export interface IGzjgMainResponse {
|
|
|
97
97
|
usesItemWhenPzpt: number; //#启用辅助核算
|
|
98
98
|
useEqualWhenPzpt: number; //#启用平衡检查
|
|
99
99
|
|
|
100
|
+
acnoType:number;
|
|
101
|
+
acnoTypeText:string;
|
|
102
|
+
|
|
100
103
|
pathType: IDictResponse[]; //#附件类型
|
|
101
104
|
userType: IDictResponse[]; //#人员类型
|
|
102
105
|
unitType: IDictResponse[]; //#单位类型
|
|
@@ -169,6 +172,9 @@ export class TGzjgMainResponse implements IGzjgMainResponse {
|
|
|
169
172
|
usesYzcg: number = 0;
|
|
170
173
|
usrGroup: string = "";
|
|
171
174
|
|
|
175
|
+
acnoType:number = 0;
|
|
176
|
+
acnoTypeText:string = "";
|
|
177
|
+
|
|
172
178
|
withBody: number = 0;
|
|
173
179
|
data4URL: string = "";
|
|
174
180
|
thHeight: number = 0;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IGzlmLiteResponse {
|
|
2
|
+
whoBuild: number;
|
|
3
|
+
userIndx: number;
|
|
4
|
+
gzjgIndx: number;
|
|
5
|
+
gzlmFlid: number;
|
|
6
|
+
gzlmFlbh: number;
|
|
7
|
+
gzlmFllx: number;
|
|
8
|
+
gzlmFlws: number;
|
|
9
|
+
gzlmFljs: number;
|
|
10
|
+
typTotal: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export class TGzlmLiteResponse implements IGzlmLiteResponse {
|
|
14
|
+
whoBuild: number = 0;
|
|
15
|
+
userIndx: number = 0;
|
|
16
|
+
gzjgIndx: number = 0;
|
|
17
|
+
gzlmFlid: number = 0;
|
|
18
|
+
gzlmFlbh: number = 0;
|
|
19
|
+
gzlmFllx: number = 0;
|
|
20
|
+
gzlmFlws: number = 0;
|
|
21
|
+
gzlmFljs: number = 0;
|
|
22
|
+
typTotal: number = 0;
|
|
23
|
+
}
|