@ningboyz/apis 1.6.178 → 1.6.180
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/gzzd/main.ts +10 -1
- package/packages/gzzd/types.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.180",
|
|
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.180",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gzzd/main.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
IGzzdMainGet4gzzdQuerys,
|
|
10
10
|
IGzzdMainGet5BillWithZwlxQuerys,
|
|
11
11
|
IGzzdMainSelectdbQuerys,
|
|
12
|
-
IGzzdMainUpdatedbQuerys, IGzzdMainWithgzjgQuerys
|
|
12
|
+
IGzzdMainUpdatedbQuerys, IGzzdMainWithgzjgQuerys, TGzzdMainDetaild2Querys
|
|
13
13
|
} from "./types";
|
|
14
14
|
|
|
15
15
|
class ParaRequest {
|
|
@@ -110,6 +110,15 @@ class ParaRequest {
|
|
|
110
110
|
detaildb(querys: IGzzdMainDetaildbQuerys, params: object) {
|
|
111
111
|
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/detaildb", querys, params);
|
|
112
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* 获取工资主单详情
|
|
115
|
+
* @param querys
|
|
116
|
+
* @param params
|
|
117
|
+
* @returns
|
|
118
|
+
*/
|
|
119
|
+
detaild2(querys: TGzzdMainDetaild2Querys, params: object) {
|
|
120
|
+
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/detaild2", querys, params);
|
|
121
|
+
}
|
|
113
122
|
|
|
114
123
|
/**
|
|
115
124
|
* 获取工资主单已办业务
|
package/packages/gzzd/types.ts
CHANGED
|
@@ -80,6 +80,13 @@ export interface IGzzdMainDetaildbQuerys {
|
|
|
80
80
|
export class TGzzdMainDetaildbQuerys implements IGzzdMainDetaildbQuerys {
|
|
81
81
|
gzzdmain: number = -1;
|
|
82
82
|
}
|
|
83
|
+
export interface IGzzdMainDetaild2Querys {
|
|
84
|
+
gzzdmain: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class TGzzdMainDetaild2Querys implements IGzzdMainDetaild2Querys {
|
|
88
|
+
gzzdmain: number = -1;
|
|
89
|
+
}
|
|
83
90
|
|
|
84
91
|
export interface IGzzdMainFinishedQuerys {
|
|
85
92
|
sourcend: number;
|