@ningboyz/apis 1.7.180 → 1.7.181
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/gzjg/bind.ts +14 -5
- package/packages/gzjg/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.181",
|
|
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.181",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gzjg/bind.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TGzjg } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
-
IGzjgBindDetaildbQuerys,
|
|
4
|
+
IGzjgBindDetaildbQuerys, IGzjgBindGet4GzlmQuerys,
|
|
5
5
|
IGzjgBindInsertdbQuerys,
|
|
6
6
|
IGzjgBindSelectdbQuerys,
|
|
7
7
|
IGzjgBindUpdatedbQuerys,
|
|
@@ -28,7 +28,7 @@ class BindRequest {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 新增人事结构列表
|
|
32
32
|
* @param querys
|
|
33
33
|
* @returns
|
|
34
34
|
*/
|
|
@@ -37,7 +37,7 @@ class BindRequest {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* 修改人事结构列表
|
|
41
41
|
* @param params
|
|
42
42
|
* @returns
|
|
43
43
|
*/
|
|
@@ -46,7 +46,7 @@ class BindRequest {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 删除
|
|
50
50
|
* @param params
|
|
51
51
|
* @returns
|
|
52
52
|
*/
|
|
@@ -55,13 +55,22 @@ class BindRequest {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* 详情
|
|
59
59
|
* @param params
|
|
60
60
|
* @returns
|
|
61
61
|
*/
|
|
62
62
|
detaildb(querys: IGzjgBindDetaildbQuerys, params: object) {
|
|
63
63
|
return this.httpRequest.post<TGzjg.IGzjgBindResponse[]>("/gzjg/tmain/gzjgbind/detaildb", querys, params);
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* 查询工资主单人事结构列表
|
|
68
|
+
* @param params
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
get4gzlm(querys: IGzjgBindGet4GzlmQuerys, params: object) {
|
|
72
|
+
return this.httpRequest.post<TGzjg.IGzjgBindResponse[]>("/gzjg/tgzlm/gzlmbind/selectdb", querys, params);
|
|
73
|
+
}
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
export default BindRequest;
|
package/packages/gzjg/types.ts
CHANGED
|
@@ -174,4 +174,14 @@ export interface IGzjgBindDetaildbQuerys {
|
|
|
174
174
|
|
|
175
175
|
export class TGzjgBindDetaildbQuerys implements IGzjgBindDetaildbQuerys {
|
|
176
176
|
idEntity: number = 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export interface IGzjgBindGet4GzlmQuerys {
|
|
180
|
+
taskmain: number;
|
|
181
|
+
gzjgmain: number;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export class TGzjgBindGet4GzlmQuerys implements IGzjgBindGet4GzlmQuerys {
|
|
185
|
+
taskmain: number = 0;
|
|
186
|
+
gzjgmain: number = 0;
|
|
177
187
|
}
|