@ningboyz/apis 1.8.123 → 1.8.124
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 +11 -0
- package/packages/gztb/types.ts +25 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.124",
|
|
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.8.
|
|
20
|
+
"@ningboyz/types": "1.8.124",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gztb/main.ts
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
IGztbMainAppendtmainQuerys,
|
|
6
6
|
IGztbMainDel4gzzdQuerys,
|
|
7
7
|
IGztbMainDetaildbQuerys,
|
|
8
|
+
IGztbMainFinishedQuerys,
|
|
8
9
|
IGztbMainGet4gzzdQuerys,
|
|
9
10
|
IGztbMainGet4pzActivityQuerys,
|
|
10
11
|
IGztbMainInsertd2Querys,
|
|
@@ -33,6 +34,16 @@ class MainRequest {
|
|
|
33
34
|
return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/selectdb", querys, undefined);
|
|
34
35
|
}
|
|
35
36
|
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* 获取已完成工资填报列表
|
|
40
|
+
* @param querys
|
|
41
|
+
* @returns
|
|
42
|
+
*/
|
|
43
|
+
finished(querys: IGztbMainFinishedQuerys) {
|
|
44
|
+
return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gztb/tmain/finished", querys, undefined);
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
/**
|
|
37
48
|
* 获取工资填报详情
|
|
38
49
|
* @param querys
|
package/packages/gztb/types.ts
CHANGED
|
@@ -4,6 +4,9 @@ export interface IGztbMainSelectdbQuerys {
|
|
|
4
4
|
sourceqj: number;
|
|
5
5
|
useronly: number;
|
|
6
6
|
showunit: number;
|
|
7
|
+
realpage: number;
|
|
8
|
+
pagesize: number;
|
|
9
|
+
queuesby: string;
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
export class TGztbMainSelectdbQuerys implements IGztbMainSelectdbQuerys {
|
|
@@ -12,6 +15,28 @@ export class TGztbMainSelectdbQuerys implements IGztbMainSelectdbQuerys {
|
|
|
12
15
|
sourceqj: number = -1;
|
|
13
16
|
useronly: number = -1;
|
|
14
17
|
showunit: number = -1;
|
|
18
|
+
realpage: number = -1;
|
|
19
|
+
pagesize: number = -1;
|
|
20
|
+
queuesby: string = "";
|
|
21
|
+
}
|
|
22
|
+
export interface IGztbMainFinishedQuerys {
|
|
23
|
+
taskmain: number;
|
|
24
|
+
sourcend: number;
|
|
25
|
+
useronly: number;
|
|
26
|
+
showunit: number;
|
|
27
|
+
realpage: number;
|
|
28
|
+
pagesize: number;
|
|
29
|
+
queuesby: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class TGztbMainFinishedQuerys implements IGztbMainFinishedQuerys {
|
|
33
|
+
taskmain: number = -1;
|
|
34
|
+
sourcend: number = -1;
|
|
35
|
+
useronly: number = -1;
|
|
36
|
+
showunit: number = -1;
|
|
37
|
+
realpage: number = -1;
|
|
38
|
+
pagesize: number = -1;
|
|
39
|
+
queuesby: string = "";
|
|
15
40
|
}
|
|
16
41
|
|
|
17
42
|
export interface IGztbMainDetaildbQuerys {
|