@ningboyz/apis 1.4.96 → 1.4.98
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/dept.ts +12 -0
- package/packages/core/types.ts +11 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.98",
|
|
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.98",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/dept.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type { HttpRequest } from "../axios";
|
|
|
3
3
|
import {
|
|
4
4
|
ICoreDeptDeletedbQuerys,
|
|
5
5
|
ICoreDeptDeptBindSelectdbQuerys,
|
|
6
|
+
ICoreDeptDeptBindUploadd2Querys,
|
|
6
7
|
ICoreDeptDeptBindUploaddbQuerys,
|
|
7
8
|
ICoreDeptDetaildbQuerys,
|
|
8
9
|
ICoreDeptInsertdbQuerys,
|
|
@@ -124,6 +125,17 @@ class DeptRequest {
|
|
|
124
125
|
deptBindSelectdb(querys: ICoreDeptDeptBindSelectdbQuerys, params: object) {
|
|
125
126
|
return this.httpRequest.post<TCore.IDeptBindResponse[]>("/core/tdept/deptbind/selectdb", querys, params);
|
|
126
127
|
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 部门绑定第三方数据(辅助核算)
|
|
132
|
+
* @param querys
|
|
133
|
+
* @param params
|
|
134
|
+
* @returns
|
|
135
|
+
*/
|
|
136
|
+
deptBindUploadd2(querys: ICoreDeptDeptBindUploadd2Querys, params: object) {
|
|
137
|
+
return this.httpRequest.post<TCore.IDeptBindResponse[]>("/core/tdept/deptbind/uploadd2", querys, params);
|
|
138
|
+
}
|
|
127
139
|
}
|
|
128
140
|
|
|
129
141
|
export default DeptRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -670,7 +670,6 @@ export class TCoreUserSelectdbTokenusrHeaders implements ICoreUserSelectdbTokenu
|
|
|
670
670
|
usrtoken: string = "";
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
|
|
674
673
|
export interface ICoreUserSelectdbWithflow {
|
|
675
674
|
usrpartc: number;
|
|
676
675
|
deptmain: number;
|
|
@@ -681,11 +680,10 @@ export class TCoreUserSelectdbWithflow implements ICoreUserSelectdbWithflow {
|
|
|
681
680
|
deptmain: number = -1;
|
|
682
681
|
}
|
|
683
682
|
|
|
684
|
-
|
|
685
683
|
export interface ICoreUserSelectdbWithflowParams {
|
|
686
|
-
usrPartC: number
|
|
687
|
-
userPartMode: number
|
|
688
|
-
listGet4Dept: { deptIndx: number }[]
|
|
684
|
+
usrPartC: number;
|
|
685
|
+
userPartMode: number;
|
|
686
|
+
listGet4Dept: { deptIndx: number }[];
|
|
689
687
|
}
|
|
690
688
|
|
|
691
689
|
export interface ICoreUserCaptcha1Querys {
|
|
@@ -856,3 +854,11 @@ export class TCoreDeptDeptBindSelectdbQuerys implements ICoreDeptDeptBindSelectd
|
|
|
856
854
|
deptmain: number = 0;
|
|
857
855
|
matchval: string = "";
|
|
858
856
|
}
|
|
857
|
+
|
|
858
|
+
export interface ICoreDeptDeptBindUploadd2Querys {
|
|
859
|
+
matchval: string;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export class TCoreDeptDeptBindUploadd2Querys implements ICoreDeptDeptBindUploadd2Querys {
|
|
863
|
+
matchval: string = "";
|
|
864
|
+
}
|