@ningboyz/types 1.0.105 → 1.0.107

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.0.105",
3
+ "version": "1.0.107",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -72,6 +72,8 @@ export interface IUserPartResponse extends IBaseResponse<IUserPartResponse[]> {
72
72
 
73
73
  fromUserMain: number;
74
74
  fromUserName: string;
75
+ /** 所属部门 */
76
+ userDeptText: string;
75
77
  displayText: string;
76
78
  }
77
79
 
@@ -152,6 +154,7 @@ export class TUserPartResponse extends TBaseResponse<IUserPartResponse[]> implem
152
154
  takeType: number = 0;
153
155
  uniqueID: number = 0;
154
156
  vitualID: number = 0;
157
+ userDeptText: string = "";
155
158
  displayText: string = "";
156
159
 
157
160
  public static toTree(listUser: IUserPartResponse[]) {
@@ -119,8 +119,6 @@ export interface IUserResponse extends IBaseResponse<IUserResponse[]> {
119
119
  userDeptList: [];
120
120
  userRylxList: [];
121
121
 
122
- listGet4Dept: any[];
123
- listGet4Unit: any[];
124
122
  listHardware: any[];
125
123
  listSysPartc: any[];
126
124
  listUserDept: IDeptResponse[]; // 归属部门
@@ -134,7 +132,13 @@ export interface IUserResponse extends IBaseResponse<IUserResponse[]> {
134
132
  listUsrPartc: IPartResponse[]; // 用户角色
135
133
  listWlzfEnvr: any[];
136
134
  listUserAcno: IUserAcnoResponse[];
135
+ /** 权限部门 */
136
+ listGet4Dept: IUserPartResponse[];
137
+ /** 权限单位 */
138
+ listGet4Unit: IUserPartResponse[];
139
+ /** 权限用户 */
137
140
  listGet4User: IUserPartResponse[];
141
+ /** 权限地点 */
138
142
  listGet4Laid: IUserPartResponse[];
139
143
  }
140
144
 
package/src/core/index.ts CHANGED
@@ -16,6 +16,7 @@ import { IUserFindResponse, TUserFindResponse } from "./IUserFindResponse";
16
16
  import { IUserResponse, TUserResponse } from "./IUserResponse";
17
17
  import { IEnvrResponse, TEnvrResponse } from "./IEnvrResponse";
18
18
  import { IUserLiteResponse, TUserLiteResponse } from "./IUserLiteResponse";
19
+ import { IUserPartResponse, TUserPartResponse } from "./IUserPartResponse";
19
20
  import { IUserSzdwResponse, TUserSzdwResponse } from "./IUserSzdwResponse";
20
21
  import { ICoreValidResponse, TCoreValidResponse } from "./ICoreValidResponse";
21
22
  import { ISysTravelResponse, TSysTravelResponse, ISysTravelWithParaResponse, TSysTravelWithParaResponse } from "./ISysTravelResponse";
@@ -44,6 +45,7 @@ export {
44
45
  type IUserLiteResponse,
45
46
  type IUserResponse,
46
47
  type IUserSzdwResponse,
48
+ type IUserPartResponse,
47
49
 
48
50
  // 类
49
51
  TCoreValidResponse,
@@ -67,5 +69,6 @@ export {
67
69
  TUserFindResponse,
68
70
  TUserLiteResponse,
69
71
  TUserResponse,
70
- TUserSzdwResponse
72
+ TUserSzdwResponse,
73
+ TUserPartResponse
71
74
  };