@ningboyz/apis 1.7.69 → 1.7.71
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/gztb/main.ts +12 -1
- package/packages/gztb/types.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.71",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.71",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gztb/main.ts
CHANGED
|
@@ -5,10 +5,12 @@ import {
|
|
|
5
5
|
IGztbMainDel4gzzdQuerys,
|
|
6
6
|
IGztbMainDetaildbQuerys,
|
|
7
7
|
IGztbMainGet4gzzdQuerys,
|
|
8
|
+
IGztbMainGet4pzActivityQuerys,
|
|
8
9
|
IGztbMainInsertd2Querys,
|
|
9
10
|
IGztbMainInsertdbQuerys,
|
|
10
11
|
IGztbMainLastgzdhQuerys,
|
|
11
|
-
IGztbMainSelectdbQuerys
|
|
12
|
+
IGztbMainSelectdbQuerys,
|
|
13
|
+
IGztbMainUsesNextQuerys
|
|
12
14
|
} from "./types";
|
|
13
15
|
|
|
14
16
|
class MainRequest {
|
|
@@ -104,6 +106,15 @@ class MainRequest {
|
|
|
104
106
|
del4gzzd(querys: IGztbMainDel4gzzdQuerys, params: object) {
|
|
105
107
|
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/del4gzzd", querys, params);
|
|
106
108
|
}
|
|
109
|
+
|
|
110
|
+
//获取期间
|
|
111
|
+
get4pzActivity(querys: IGztbMainGet4pzActivityQuerys) {
|
|
112
|
+
return this.httpRequest.post<TGztb.ISysKjqjResponse[]>("/gapi/gztb/tmain/activity", querys, undefined);
|
|
113
|
+
}
|
|
114
|
+
//期间结转
|
|
115
|
+
usesNext(querys: IGztbMainUsesNextQuerys, params: object) {
|
|
116
|
+
return this.httpRequest.post<string>("/gapi/gztb/tmain/nextkjqj", querys, params);
|
|
117
|
+
}
|
|
107
118
|
}
|
|
108
119
|
|
|
109
120
|
export default MainRequest;
|
package/packages/gztb/types.ts
CHANGED
|
@@ -68,3 +68,16 @@ export interface IGztbMainDel4gzzdQuerys {
|
|
|
68
68
|
export class TGztbMainDel4gzzdQuerys implements IGztbMainDel4gzzdQuerys {
|
|
69
69
|
gztbmain: number = -1;
|
|
70
70
|
}
|
|
71
|
+
|
|
72
|
+
export interface IGztbMainGet4pzActivityQuerys {}
|
|
73
|
+
|
|
74
|
+
export class TGztbMainGet4pzActivityQuerys implements IGztbMainGet4pzActivityQuerys {}
|
|
75
|
+
|
|
76
|
+
export interface IGztbMainUsesNextQuerys {
|
|
77
|
+
realkjnd: number;
|
|
78
|
+
realkjqj: number;
|
|
79
|
+
}
|
|
80
|
+
export class TGztbMainUsesNextQuerys implements IGztbMainUsesNextQuerys {
|
|
81
|
+
realkjnd: number = -1;
|
|
82
|
+
realkjqj: number = -1;
|
|
83
|
+
}
|