@ningboyz/apis 1.4.92 → 1.4.94

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.92",
3
+ "version": "1.4.94",
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.92",
20
+ "@ningboyz/types": "1.4.94",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -670,15 +670,22 @@ export class TCoreUserSelectdbTokenusrHeaders implements ICoreUserSelectdbTokenu
670
670
 
671
671
 
672
672
  export interface ICoreUserSelectdbWithflow {
673
- usrpartc: string;
673
+ usrpartc: number;
674
674
  deptmain: number;
675
675
  }
676
676
 
677
677
  export class TCoreUserSelectdbWithflow implements ICoreUserSelectdbWithflow {
678
- usrpartc: string = "";
678
+ usrpartc: number = -1;
679
679
  deptmain: number = -1;
680
680
  }
681
681
 
682
+
683
+ export interface ICoreUserSelectdbWithflowParams {
684
+ usrPartC: number,
685
+ userPartMode: number,
686
+ listGet4Dept: { deptIndx: number }[]
687
+ }
688
+
682
689
  export interface ICoreUserCaptcha1Querys {
683
690
  fp: string;
684
691
  }
@@ -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,
@@ -37,7 +37,8 @@ import {
37
37
  ICoreUserliteWithunit,
38
38
  ICoreUserUploaddbQuerys,
39
39
  ICoreUserVerifydbAuthcodeQuerys,
40
- ICoreUserVerifydbDingdingQuerys
40
+ ICoreUserVerifydbDingdingQuerys,
41
+ ICoreUserSelectdbWithflowParams
41
42
  } from "./types";
42
43
 
43
44
  class UserRequest {
@@ -438,11 +439,12 @@ class UserRequest {
438
439
 
439
440
  /**
440
441
  * 通过角色和权限部门获取用户
441
- * @param headers
442
442
  * @returns
443
+ * @param querys
444
+ * @param params
443
445
  */
444
- selectdbWithflow(querys: ICoreUserSelectdbWithflow) {
445
- return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/withflow", querys, undefined, );
446
+ selectdbWithflow(querys: ICoreUserSelectdbWithflow, params: IParams<ICoreUserSelectdbWithflowParams>) {
447
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/withflow", querys, params);
446
448
  }
447
449
 
448
450
  /**