@ningboyz/apis 1.4.91 → 1.4.93

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.4.91",
3
+ "version": "1.4.93",
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.4.91",
20
+ "@ningboyz/types": "1.4.93",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -668,6 +668,23 @@ export class TCoreUserSelectdbTokenusrHeaders implements ICoreUserSelectdbTokenu
668
668
  usrtoken: string = "";
669
669
  }
670
670
 
671
+
672
+ export interface ICoreUserSelectdbWithflow {
673
+ usrpartc: string;
674
+ deptmain: number;
675
+ }
676
+
677
+ export class TCoreUserSelectdbWithflow implements ICoreUserSelectdbWithflow {
678
+ usrpartc: string = "";
679
+ deptmain: number = -1;
680
+ }
681
+
682
+
683
+ export interface ICoreUserSelectdbWithflowParams {
684
+ usrPartC: string,
685
+ listGet4Dept: number[]
686
+ }
687
+
671
688
  export interface ICoreUserCaptcha1Querys {
672
689
  fp: string;
673
690
  }
@@ -1,7 +1,7 @@
1
1
  import { TCore, TWlzf, TWtui } from "@ningboyz/types";
2
2
  import _ from "lodash";
3
3
  import type { HttpRequest } from "../axios";
4
- import { IEmptyQuerys } from "../type";
4
+ import {IEmptyQuerys, IParams} from "../type";
5
5
  import {
6
6
  ICoreDel4deptQuerys,
7
7
  ICoreDel4laidQuerys,
@@ -24,6 +24,7 @@ import {
24
24
  ICoreUserScanloginQuerys,
25
25
  ICoreUserSelectdbCamelcaseQuerys,
26
26
  ICoreUserSelectdbTokenusrHeaders,
27
+ ICoreUserSelectdbWithflow,
27
28
  ICoreUserSendMessag2Querys,
28
29
  ICoreUserSendMessageQuerys,
29
30
  ICoreUserSourcendSet4kjndQuerys,
@@ -36,7 +37,8 @@ import {
36
37
  ICoreUserliteWithunit,
37
38
  ICoreUserUploaddbQuerys,
38
39
  ICoreUserVerifydbAuthcodeQuerys,
39
- ICoreUserVerifydbDingdingQuerys
40
+ ICoreUserVerifydbDingdingQuerys,
41
+ ICoreUserSelectdbWithflowParams
40
42
  } from "./types";
41
43
 
42
44
  class UserRequest {
@@ -435,6 +437,16 @@ class UserRequest {
435
437
  return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/tokenusr", undefined, undefined, headers);
436
438
  }
437
439
 
440
+ /**
441
+ * 通过角色和权限部门获取用户
442
+ * @returns
443
+ * @param querys
444
+ * @param params
445
+ */
446
+ selectdbWithflow(querys: ICoreUserSelectdbWithflow, params: IParams<ICoreUserSelectdbWithflowParams>) {
447
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/withflow", querys, params);
448
+ }
449
+
438
450
  /**
439
451
  * 用户管理关联资产登记
440
452
  * @param params