@ningboyz/apis 1.5.171 → 1.5.173

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/apis",
3
- "version": "1.5.171",
3
+ "version": "1.5.173",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.5.171",
20
+ "@ningboyz/types": "1.5.173",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1017,3 +1017,10 @@ export class TCoreUserUpdateonQuerys implements ICoreUserUpdateonQuerys {
1017
1017
  usermain: number = -1;
1018
1018
  updateon: number = -1;
1019
1019
  }
1020
+
1021
+ export interface ICoreUserGet4UnitQuerys {
1022
+ usrpartc: number;
1023
+ }
1024
+ export class TCoreUserGet4UnitQuerys implements ICoreUserGet4UnitQuerys {
1025
+ usrpartc: number = -1;
1026
+ }
@@ -44,7 +44,8 @@ import {
44
44
  ICoreUserSelectd2Querys,
45
45
  ICoreUserDetaild2Querys,
46
46
  ICoreUserUpdatedbStatQuerys,
47
- ICoreUserUpdateonQuerys
47
+ ICoreUserUpdateonQuerys,
48
+ ICoreUserGet4UnitQuerys
48
49
  } from "./types";
49
50
 
50
51
  class UserRequest {
@@ -259,10 +260,11 @@ class UserRequest {
259
260
 
260
261
  /**
261
262
  * 获取用户权限范围内的单位
263
+ * usrpartc:根据角色二次筛选
262
264
  * @returns
263
265
  */
264
- get4unit() {
265
- return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tuser/get4unit");
266
+ get4unit(querys: ICoreUserGet4UnitQuerys) {
267
+ return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tuser/get4unit", querys, undefined);
266
268
  }
267
269
 
268
270
  /**
@@ -116,22 +116,26 @@ export interface IHzcbNdjhSelectdbQuerys {
116
116
  sourcend: number;
117
117
  withflow: number;
118
118
  useronly: number;
119
+ showpath: number;
119
120
  }
120
121
 
121
122
  export class THzcbNdjhSelectdbQuerys implements IHzcbNdjhSelectdbQuerys {
122
123
  sourcend: number = -1;
123
124
  withflow: number = 0;
124
125
  useronly: number = -1;
126
+ showpath: number = -1;
125
127
  }
126
128
 
127
129
  export interface IHzcbNdjhFinishedQuerys {
128
130
  sourcend: number;
129
131
  useronly: number;
132
+ showpath: number;
130
133
  }
131
134
 
132
135
  export class THzcbNdjhFinishedQuerys implements IHzcbNdjhFinishedQuerys {
133
136
  sourcend: number = -1;
134
137
  useronly: number = -1;
138
+ showpath: number = -1;
135
139
  }
136
140
 
137
141
  export interface IHzcbNdjhInsertdbQuerys {