@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.6.41",
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.41",
20
+ "@ningboyz/types": "1.6.43",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -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
  }
@@ -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
@@ -75,7 +75,7 @@ class NotiRequest {
75
75
  }
76
76
 
77
77
  /**
78
- * 批量修改任务通知明细报告数量
78
+ * 修改任务通知主单要求完成日期
79
79
  * */
80
80
  set4yqwc(querys: IHznjSet4yqwcQuerys, params: object) {
81
81
  return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/set4yqwc", querys, params);
@@ -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;
@@ -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 {}