@ningboyz/apis 1.7.114 → 1.7.115
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 +19 -9
- package/packages/gzzd/types.ts +8 -0
- package/packages/note/main.ts +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.115",
|
|
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.115",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gzzd/main.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { TCore, TGzjg, TGzzd } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
+
IGzzdMainDel4userQuerys,
|
|
4
5
|
IGzzdMainDetaildbQuerys,
|
|
5
6
|
IGzzdMainFinishedQuerys,
|
|
6
7
|
IGzzdMainGet2formulaQuerys,
|
|
7
8
|
IGzzdMainGet4billQuerys,
|
|
8
9
|
IGzzdMainGet4BillWithZwlxQuerys,
|
|
10
|
+
IGzzdMainGet4gzjgByAcnoQuerys,
|
|
9
11
|
IGzzdMainGet4gzlmQuerys,
|
|
10
12
|
IGzzdMainGet4gzzdQuerys,
|
|
13
|
+
IGzzdMainGet4pzActivityQuerys,
|
|
14
|
+
IGzzdMainGet4userQuerys,
|
|
11
15
|
IGzzdMainGet5BillWithZwlxQuerys,
|
|
16
|
+
IGzzdMainGet5gzlmByAcnoQuerys,
|
|
12
17
|
IGzzdMainSelectdbQuerys,
|
|
18
|
+
IGzzdMainSet4userQuerys,
|
|
19
|
+
IGzzdMainStopUpdateDbAcnoQuerys,
|
|
20
|
+
IGzzdMainUpdatedbAcnoQuerys,
|
|
13
21
|
IGzzdMainUpdatedbQuerys,
|
|
22
|
+
IGzzdMainUpdatedbWithScczQuerys,
|
|
14
23
|
IGzzdMainUpdatedbWithZhjyQuerys,
|
|
15
24
|
IGzzdMainWithgzjgQuerys,
|
|
16
|
-
TGzzdMainDetaild2Querys
|
|
17
|
-
IGzzdMainSet4userQuerys,
|
|
18
|
-
IGzzdMainDel4userQuerys,
|
|
19
|
-
IGzzdMainGet4userQuerys,
|
|
20
|
-
IGzzdMainUpdatedbAcnoQuerys,
|
|
21
|
-
IGzzdMainStopUpdateDbAcnoQuerys,
|
|
22
|
-
IGzzdMainGet4pzActivityQuerys,
|
|
23
|
-
IGzzdMainGet4gzjgByAcnoQuerys,
|
|
24
|
-
IGzzdMainGet5gzlmByAcnoQuerys
|
|
25
|
+
TGzzdMainDetaild2Querys
|
|
25
26
|
} from "./types";
|
|
26
27
|
|
|
27
28
|
class ParaRequest {
|
|
@@ -197,6 +198,15 @@ class ParaRequest {
|
|
|
197
198
|
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/updatedb/withzhjy", querys, params);
|
|
198
199
|
}
|
|
199
200
|
|
|
201
|
+
/**
|
|
202
|
+
* 保存工资明细
|
|
203
|
+
* @param querys
|
|
204
|
+
* @returns {gzzdmain: {}, listgzlm: {}}
|
|
205
|
+
*/
|
|
206
|
+
updatedbWithSccz(querys: IGzzdMainUpdatedbWithScczQuerys, params: object) {
|
|
207
|
+
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/updatedb/withsccz", querys, params);
|
|
208
|
+
}
|
|
209
|
+
|
|
200
210
|
/**
|
|
201
211
|
* 更新工资标准明细
|
|
202
212
|
* @param querys
|
package/packages/gzzd/types.ts
CHANGED
|
@@ -145,6 +145,14 @@ export class TGzzdMainUpdatedbWithZhjyQuerys implements IGzzdMainUpdatedbWithZhj
|
|
|
145
145
|
reloadit: number = -1;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
export interface IGzzdMainUpdatedbWithScczQuerys {
|
|
149
|
+
reloadit: number;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export class TGzzdMainUpdatedbWithScczQuerys implements IGzzdMainUpdatedbWithScczQuerys {
|
|
153
|
+
reloadit: number = -1;
|
|
154
|
+
}
|
|
155
|
+
|
|
148
156
|
export interface IGzzdMainUpdatedbAcnoQuerys {
|
|
149
157
|
usermain: number;
|
|
150
158
|
gzzdstat: number;
|
package/packages/note/main.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TNote } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { INoteMainDetaildbQuerys, INoteMainSelectdbQuerys } from "./types";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ class MainRequest {
|
|
|
15
15
|
* @returns
|
|
16
16
|
*/
|
|
17
17
|
selectdb(querys: INoteMainSelectdbQuerys, params: object) {
|
|
18
|
-
return this.httpRequest.post<
|
|
18
|
+
return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/selectdb", querys, params);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -24,7 +24,7 @@ class MainRequest {
|
|
|
24
24
|
* @returns
|
|
25
25
|
*/
|
|
26
26
|
insertdb(params: object) {
|
|
27
|
-
return this.httpRequest.post<
|
|
27
|
+
return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/insertdb", undefined, params);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -33,7 +33,7 @@ class MainRequest {
|
|
|
33
33
|
* @returns
|
|
34
34
|
*/
|
|
35
35
|
updatedb(params: object) {
|
|
36
|
-
return this.httpRequest.post<
|
|
36
|
+
return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/updatedb", undefined, params);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ class MainRequest {
|
|
|
42
42
|
* @returns
|
|
43
43
|
*/
|
|
44
44
|
detaildb(querys: INoteMainDetaildbQuerys) {
|
|
45
|
-
return this.httpRequest.post<
|
|
45
|
+
return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/detaildb", querys);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -51,7 +51,7 @@ class MainRequest {
|
|
|
51
51
|
* @returns
|
|
52
52
|
*/
|
|
53
53
|
deletedb(params: object) {
|
|
54
|
-
return this.httpRequest.post<
|
|
54
|
+
return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/deletedb", undefined, params);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|