@ningboyz/types 1.5.41 → 1.5.42
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
|
@@ -7,7 +7,7 @@ export interface IUserBodyResponse extends IBaseResponse<IUserBodyResponse> {
|
|
|
7
7
|
userIndx: number;
|
|
8
8
|
userExid: number;
|
|
9
9
|
bodyIndx: number;
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
dataStat: number;
|
|
12
12
|
dataHide: number;
|
|
13
13
|
dataOrdr: number;
|
|
@@ -109,10 +109,17 @@ export class TUserBodyResponse extends TBaseResponse<IUserBodyResponse> implemen
|
|
|
109
109
|
deleteAt: number = 0;
|
|
110
110
|
queuesBy: number = 0;
|
|
111
111
|
workType: number = 0;
|
|
112
|
+
workTypeText: string = "";
|
|
113
|
+
|
|
114
|
+
|
|
112
115
|
rankLevl: number = 0;
|
|
116
|
+
rankLevlText: string = "";
|
|
113
117
|
rankCode: number = 0;
|
|
118
|
+
rankCodeText: string = "";
|
|
114
119
|
supplyBy: number = 0;
|
|
120
|
+
supplyByText: string = "";
|
|
115
121
|
workStat: number = 0;
|
|
122
|
+
workStatText: string = "";
|
|
116
123
|
summerAt: number = 0;
|
|
117
124
|
winterAt: number = 0;
|
|
118
125
|
heightAt: number = 0;
|
|
@@ -140,11 +147,10 @@ export class TUserBodyResponse extends TBaseResponse<IUserBodyResponse> implemen
|
|
|
140
147
|
|
|
141
148
|
|
|
142
149
|
constructor(response?: any) {
|
|
143
|
-
super();
|
|
150
|
+
super();
|
|
144
151
|
if (response) {
|
|
145
152
|
_.merge(this, _.pick(response, Object.keys(this)));
|
|
146
153
|
}
|
|
147
154
|
}
|
|
148
|
-
|
|
149
155
|
}
|
|
150
156
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { construct } from "@aximario/json-tree";
|
|
2
2
|
import _ from "lodash";
|
|
3
|
-
import { TCore } from "../index.ts";
|
|
4
3
|
import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
4
|
+
import { TCore } from "../index.ts";
|
|
5
5
|
import type { IDeptResponse } from "./IDeptResponse";
|
|
6
6
|
import type { IDictResponse } from "./IDictResponse";
|
|
7
7
|
import type { IPartResponse } from "./IPartResponse";
|
|
8
8
|
import { IPathResponse } from "./IPathResponse.ts";
|
|
9
9
|
import type { IUnitResponse } from "./IUnitResponse";
|
|
10
10
|
import type { IUserAcnoResponse } from "./IUserAcnoResponse";
|
|
11
|
-
import { IUserPartResponse } from "./IUserPartResponse.ts";
|
|
12
11
|
import { IUserBodyResponse } from "./IUserBodyResponse.ts";
|
|
12
|
+
import { IUserPartResponse } from "./IUserPartResponse.ts";
|
|
13
13
|
|
|
14
14
|
export interface IUserResponse extends IBaseResponse<IUserResponse> {
|
|
15
15
|
whoBuild: number; // #PK
|
|
@@ -165,7 +165,7 @@ export interface IUserResponse extends IBaseResponse<IUserResponse> {
|
|
|
165
165
|
listUserUnit: IUnitResponse[];
|
|
166
166
|
listUsrPartc: IPartResponse[]; // 用户角色
|
|
167
167
|
// 用户量体信息
|
|
168
|
-
listUserBody: IUserBodyResponse[]
|
|
168
|
+
listUserBody: IUserBodyResponse[];
|
|
169
169
|
listWlzfEnvr: any[];
|
|
170
170
|
listUserAcno: IUserAcnoResponse[];
|
|
171
171
|
/** 权限部门 */
|
|
@@ -265,7 +265,7 @@ export class TUserResponse extends TBaseResponse<IUserResponse> implements IUser
|
|
|
265
265
|
dbConfig: string = "";
|
|
266
266
|
nodeName: string = "";
|
|
267
267
|
nickName: string = "";
|
|
268
|
-
|
|
268
|
+
|
|
269
269
|
creditOf: number = 0; // 信用等级
|
|
270
270
|
creditBy: string = "";
|
|
271
271
|
wbField0: string = ""; // 性质
|
|
@@ -309,6 +309,11 @@ export class TUserResponse extends TBaseResponse<IUserResponse> implements IUser
|
|
|
309
309
|
userXwzsText: string = "";
|
|
310
310
|
updateOn: number = -1;
|
|
311
311
|
listPath: IPathResponse[] = [];
|
|
312
|
+
workTypeText: string = "";
|
|
313
|
+
rankLevlText: string = "";
|
|
314
|
+
rankCodeText: string = "";
|
|
315
|
+
supplyByText: string = "";
|
|
316
|
+
workStatText: string = "";
|
|
312
317
|
|
|
313
318
|
listGet4Dept: any[] = [];
|
|
314
319
|
listGet4Unit: any[] = [];
|
|
@@ -322,7 +327,7 @@ export class TUserResponse extends TBaseResponse<IUserResponse> implements IUser
|
|
|
322
327
|
listUserXzlv: IDictResponse[] = [];
|
|
323
328
|
listUserZwlx: IDictResponse[] = [];
|
|
324
329
|
listUserUnit: IUnitResponse[] = [];
|
|
325
|
-
|
|
330
|
+
// 用户量体信息
|
|
326
331
|
listUserBody: IUserBodyResponse[] = [];
|
|
327
332
|
listUsrPartc: any[] = [];
|
|
328
333
|
listWlzfEnvr: any[] = [];
|