@ningboyz/apis 1.4.95 → 1.4.97
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 +9 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.97",
|
|
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.97",
|
|
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
|
@@ -457,6 +457,7 @@ export interface ICoreUserSelectdbCamelcaseQuerys {
|
|
|
457
457
|
syspartc: number;
|
|
458
458
|
entityid: string;
|
|
459
459
|
mobileid: string;
|
|
460
|
+
queuesby: string;
|
|
460
461
|
}
|
|
461
462
|
|
|
462
463
|
export class TCoreUserSelectdbCamelcaseQuerys implements ICoreUserSelectdbCamelcaseQuerys {
|
|
@@ -464,6 +465,7 @@ export class TCoreUserSelectdbCamelcaseQuerys implements ICoreUserSelectdbCamelc
|
|
|
464
465
|
syspartc: number = -1;
|
|
465
466
|
entityid: string = "";
|
|
466
467
|
mobileid: string = "";
|
|
468
|
+
queuesby: string = "";
|
|
467
469
|
}
|
|
468
470
|
|
|
469
471
|
export interface ICoreUserDetaildbCamelcaseQuerys {
|
|
@@ -668,7 +670,6 @@ export class TCoreUserSelectdbTokenusrHeaders implements ICoreUserSelectdbTokenu
|
|
|
668
670
|
usrtoken: string = "";
|
|
669
671
|
}
|
|
670
672
|
|
|
671
|
-
|
|
672
673
|
export interface ICoreUserSelectdbWithflow {
|
|
673
674
|
usrpartc: number;
|
|
674
675
|
deptmain: number;
|
|
@@ -679,11 +680,10 @@ export class TCoreUserSelectdbWithflow implements ICoreUserSelectdbWithflow {
|
|
|
679
680
|
deptmain: number = -1;
|
|
680
681
|
}
|
|
681
682
|
|
|
682
|
-
|
|
683
683
|
export interface ICoreUserSelectdbWithflowParams {
|
|
684
|
-
usrPartC: number
|
|
685
|
-
userPartMode: number
|
|
686
|
-
listGet4Dept: { deptIndx: number }[]
|
|
684
|
+
usrPartC: number;
|
|
685
|
+
userPartMode: number;
|
|
686
|
+
listGet4Dept: { deptIndx: number }[];
|
|
687
687
|
}
|
|
688
688
|
|
|
689
689
|
export interface ICoreUserCaptcha1Querys {
|
|
@@ -854,3 +854,7 @@ export class TCoreDeptDeptBindSelectdbQuerys implements ICoreDeptDeptBindSelectd
|
|
|
854
854
|
deptmain: number = 0;
|
|
855
855
|
matchval: string = "";
|
|
856
856
|
}
|
|
857
|
+
|
|
858
|
+
export interface ICoreDeptDeptBindUploadd2Querys {}
|
|
859
|
+
|
|
860
|
+
export class TCoreDeptDeptBindUploadd2Querys implements ICoreDeptDeptBindUploadd2Querys {}
|