@ningboyz/apis 1.6.163 → 1.6.164
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 +8 -0
- package/packages/core/user.ts +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.164",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.164",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1197,3 +1197,11 @@ export class TCoreUserSet4pathQuerys implements ICoreUserSet4pathQuerys {
|
|
|
1197
1197
|
export interface ICoreUserSelectdbpathQuerys {}
|
|
1198
1198
|
|
|
1199
1199
|
export class TCoreUserSelectdbpathQuerys implements ICoreUserSelectdbpathQuerys {}
|
|
1200
|
+
|
|
1201
|
+
export interface ICoreTuserGnkmcodeUploaddb {
|
|
1202
|
+
deptmain: number;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export class TCoreTuserGnkmcodeUploaddb implements ICoreTuserGnkmcodeUploaddb {
|
|
1206
|
+
deptmain: number = -1;
|
|
1207
|
+
}
|
package/packages/core/user.ts
CHANGED
|
@@ -60,7 +60,8 @@ import {
|
|
|
60
60
|
ICoreUserDel4WlzfQuerys,
|
|
61
61
|
ICoreEdt4laidQuerys,
|
|
62
62
|
ICoreSet4DictQuerys,
|
|
63
|
-
ICoreDel4DictQuerys
|
|
63
|
+
ICoreDel4DictQuerys,
|
|
64
|
+
ICoreTuserGnkmcodeUploaddb
|
|
64
65
|
} from "./types";
|
|
65
66
|
|
|
66
67
|
class UserRequest {
|
|
@@ -737,6 +738,11 @@ class UserRequest {
|
|
|
737
738
|
selectdbPath(querys: ICoreUserSelectdbpathQuerys, params: object) {
|
|
738
739
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/userpath/selectdb", querys, params);
|
|
739
740
|
}
|
|
741
|
+
|
|
742
|
+
/** 根据部门修改人员功能科目 */
|
|
743
|
+
uploaddbGnkmcode(querys: ICoreTuserGnkmcodeUploaddb, params: object) {
|
|
744
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/gnkmcode/uploaddb/withdept", querys, params);
|
|
745
|
+
}
|
|
740
746
|
}
|
|
741
747
|
|
|
742
748
|
export default UserRequest;
|