@ningboyz/apis 1.4.90 → 1.4.92
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 +2 -2
- package/packages/core/types.ts +11 -0
- package/packages/core/user.ts +10 -0
- package/packages/noti/main.ts +10 -2
- package/packages/noti/types.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.92",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.4.92",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -668,6 +668,17 @@ 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
|
+
|
|
671
682
|
export interface ICoreUserCaptcha1Querys {
|
|
672
683
|
fp: string;
|
|
673
684
|
}
|
package/packages/core/user.ts
CHANGED
|
@@ -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,
|
|
@@ -435,6 +436,15 @@ class UserRequest {
|
|
|
435
436
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/tokenusr", undefined, undefined, headers);
|
|
436
437
|
}
|
|
437
438
|
|
|
439
|
+
/**
|
|
440
|
+
* 通过角色和权限部门获取用户
|
|
441
|
+
* @param headers
|
|
442
|
+
* @returns
|
|
443
|
+
*/
|
|
444
|
+
selectdbWithflow(querys: ICoreUserSelectdbWithflow) {
|
|
445
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/withflow", querys, undefined, );
|
|
446
|
+
}
|
|
447
|
+
|
|
438
448
|
/**
|
|
439
449
|
* 用户管理关联资产登记
|
|
440
450
|
* @param params
|
package/packages/noti/main.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TNoti } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainAuditd4WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
4
|
+
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainAuditd4WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -189,7 +189,15 @@ class ParaRequest {
|
|
|
189
189
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/canceled", querys, params);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
/**
|
|
193
|
+
* 自动审核
|
|
194
|
+
* @param querys
|
|
195
|
+
* @param params
|
|
196
|
+
* @returns
|
|
197
|
+
*/
|
|
198
|
+
nextnodewithsccz(querys: INotiMainNextNodeWithscczQuerys, params: object) {
|
|
199
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/nextnode", querys, params);
|
|
200
|
+
}
|
|
193
201
|
}
|
|
194
202
|
|
|
195
203
|
export default ParaRequest;
|
package/packages/noti/types.ts
CHANGED
|
@@ -150,4 +150,12 @@ export class TNotiMainFinishedWithscczQuerys implements INotiMainFinishedWithscc
|
|
|
150
150
|
voidonly: number = -1;
|
|
151
151
|
withlock: number = -1;
|
|
152
152
|
queuesby: string = "";
|
|
153
|
-
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface INotiMainNextNodeWithscczQuerys {
|
|
156
|
+
useruuid: string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class TNotiMainNextNodeWithscczQuerys implements INotiMainNextNodeWithscczQuerys {
|
|
160
|
+
useruuid: string = "";
|
|
161
|
+
}
|