@ningboyz/apis 1.6.41 → 1.6.43
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 +4 -0
- package/packages/core/user.ts +12 -2
- package/packages/hznj/noti.ts +1 -1
- package/packages/tabl/main.ts +6 -0
- package/packages/tabl/types.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.43",
|
|
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.43",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -781,6 +781,10 @@ export interface ICoreUserListUnitdbQuerys {}
|
|
|
781
781
|
|
|
782
782
|
export class TCoreUserListUnitdbQuerys implements ICoreUserListUnitdbQuerys {}
|
|
783
783
|
|
|
784
|
+
export interface ICoreUserListDeptdbQuerys {}
|
|
785
|
+
|
|
786
|
+
export class TCoreUserListDeptdbQuerys implements ICoreUserListDeptdbQuerys {}
|
|
787
|
+
|
|
784
788
|
export interface ICoreUserUpdateclQuerys {
|
|
785
789
|
entityid: string;
|
|
786
790
|
}
|
package/packages/core/user.ts
CHANGED
|
@@ -47,7 +47,8 @@ import {
|
|
|
47
47
|
ICoreUserUpdateonQuerys,
|
|
48
48
|
ICoreUserGet4UnitQuerys,
|
|
49
49
|
ICoreUserListUnitdbQuerys,
|
|
50
|
-
ICoreUserUpdatedbBatchQuerys
|
|
50
|
+
ICoreUserUpdatedbBatchQuerys,
|
|
51
|
+
ICoreUserListDeptdbQuerys
|
|
51
52
|
} from "./types";
|
|
52
53
|
|
|
53
54
|
class UserRequest {
|
|
@@ -94,7 +95,7 @@ class UserRequest {
|
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
/**
|
|
97
|
-
*
|
|
98
|
+
* 获取当前用户归属单位
|
|
98
99
|
* @param params
|
|
99
100
|
* @returns
|
|
100
101
|
*/
|
|
@@ -102,6 +103,15 @@ class UserRequest {
|
|
|
102
103
|
return this.httpRequest.post<TCore.IUnitResponse[]>(`/core/tuser/listunit`, querys, undefined);
|
|
103
104
|
}
|
|
104
105
|
|
|
106
|
+
/**
|
|
107
|
+
* 获取当前用户归属部门
|
|
108
|
+
* @param params
|
|
109
|
+
* @returns
|
|
110
|
+
*/
|
|
111
|
+
listdept(querys: ICoreUserListDeptdbQuerys) {
|
|
112
|
+
return this.httpRequest.post<TCore.IDeptResponse[]>(`/core/tuser/listdept`, querys, undefined);
|
|
113
|
+
}
|
|
114
|
+
|
|
105
115
|
/**
|
|
106
116
|
* 获取接收人员
|
|
107
117
|
* @param querys
|
package/packages/hznj/noti.ts
CHANGED
package/packages/tabl/main.ts
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
ITablMainInsertdbQuerys,
|
|
15
15
|
ITablMainSelectcxQuerys,
|
|
16
16
|
ITablMainTablstatUpdatedbQuerys,
|
|
17
|
+
ITablMainUpdatedbCommitQuerys,
|
|
17
18
|
ITablMainUpdatedbQuerys,
|
|
18
19
|
TTablMainSelectdbQuerys
|
|
19
20
|
} from "./types";
|
|
@@ -191,6 +192,11 @@ class MainRequest {
|
|
|
191
192
|
get5wzk8(querys: ITablMainGet5wzk8Querys, params: object) {
|
|
192
193
|
return this.httpRequest.post<TTabl.ITablWzk8Response[]>("/tabl/tmain/get5wzk8", querys, params);
|
|
193
194
|
}
|
|
195
|
+
|
|
196
|
+
// 更新上报人
|
|
197
|
+
updatedbcommit(querys: ITablMainUpdatedbCommitQuerys, params: object) {
|
|
198
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/commitby/uploaddb", querys, params);
|
|
199
|
+
}
|
|
194
200
|
}
|
|
195
201
|
|
|
196
202
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -198,3 +198,7 @@ export interface ITablMainGet5wzk8Querys {
|
|
|
198
198
|
export class TTablMainGet5wzk8Querys implements ITablMainGet5wzk8Querys {
|
|
199
199
|
gztbmain: number = -1;
|
|
200
200
|
}
|
|
201
|
+
|
|
202
|
+
export interface ITablMainUpdatedbCommitQuerys {}
|
|
203
|
+
|
|
204
|
+
export class TTablMainUpdatedbCommitQuerys implements ITablMainUpdatedbCommitQuerys {}
|