@ningboyz/apis 1.7.163 → 1.7.164
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/core/types.ts +5 -0
- package/packages/core/user.ts +6 -0
- package/packages/tabl/main.ts +7 -1
- package/packages/tabl/types.ts +29 -12
- package/packages/yzpz/cnfg.ts +20 -1
- package/packages/yzpz/types.ts +20 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.164",
|
|
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.164",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1578,3 +1578,8 @@ export interface ICoreUserUsrpartcSet4unitQuerys {
|
|
|
1578
1578
|
export class TCoreUserUsrpartcSet4unitQuerys implements ICoreUserUsrpartcSet4unitQuerys {
|
|
1579
1579
|
override: number = -1;
|
|
1580
1580
|
}
|
|
1581
|
+
|
|
1582
|
+
/**获取人社数据 */
|
|
1583
|
+
export interface ICoreUserGet4RsQuerys {}
|
|
1584
|
+
|
|
1585
|
+
export class TCoreUserGet4RsQuerys implements ICoreUserGet4RsQuerys {}
|
package/packages/core/user.ts
CHANGED
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
ICoreUserGet4LaidQuerys,
|
|
32
32
|
ICoreUserGet4MobileQuerys,
|
|
33
33
|
ICoreUserGet4PartQuerys,
|
|
34
|
+
ICoreUserGet4RsQuerys,
|
|
34
35
|
ICoreUserGet4UnitQuerys,
|
|
35
36
|
ICoreUserGet4WlzfQuerys,
|
|
36
37
|
ICoreUserInitpswdQuerys,
|
|
@@ -962,6 +963,11 @@ class UserRequest {
|
|
|
962
963
|
withPageSelectdbAppend(querys: ICoreUserWithPageSelectdbQuerys, params: object) {
|
|
963
964
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/withpage/selectd2", querys, params);
|
|
964
965
|
}
|
|
966
|
+
|
|
967
|
+
//获取人社数据
|
|
968
|
+
get4rs(querys: ICoreUserGet4RsQuerys, params: object) {
|
|
969
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/nhtf/tuser/selectdb", querys, params);
|
|
970
|
+
}
|
|
965
971
|
}
|
|
966
972
|
|
|
967
973
|
export default UserRequest;
|
package/packages/tabl/main.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TGzjg, TTabl } from "@ningboyz/types";
|
|
1
|
+
import type { TGzjg, TTabl, TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
ITablMainBackupstatusQuerys,
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
ITablMainUpdatedbQuerys,
|
|
27
27
|
ITablMainUploadd2TablstatQuerys,
|
|
28
28
|
ITablMainUploaddbAsnormalQuerys,
|
|
29
|
+
ITablMainWithPageGet5wzk8Querys,
|
|
29
30
|
TTablMainSelectdbQuerys
|
|
30
31
|
} from "./types";
|
|
31
32
|
|
|
@@ -282,6 +283,11 @@ class MainRequest {
|
|
|
282
283
|
uploadd2Tablstat(querys: ITablMainUploadd2TablstatQuerys, params: object) {
|
|
283
284
|
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/uploadd2", querys, params);
|
|
284
285
|
}
|
|
286
|
+
|
|
287
|
+
//获取备装数据(分页)
|
|
288
|
+
withPageGet5wzk8(querys: ITablMainWithPageGet5wzk8Querys, params: object) {
|
|
289
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/tabl/tmain/withpage/get5wzk8", querys, params);
|
|
290
|
+
}
|
|
285
291
|
}
|
|
286
292
|
|
|
287
293
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -203,9 +203,9 @@ export class TTablMainGet5wzk8Querys implements ITablMainGet5wzk8Querys {
|
|
|
203
203
|
voidonly: number = -1;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
export interface ITablMainUpdatedbCommitQuerys {
|
|
206
|
+
export interface ITablMainUpdatedbCommitQuerys {}
|
|
207
207
|
|
|
208
|
-
export class TTablMainUpdatedbCommitQuerys implements ITablMainUpdatedbCommitQuerys {
|
|
208
|
+
export class TTablMainUpdatedbCommitQuerys implements ITablMainUpdatedbCommitQuerys {}
|
|
209
209
|
|
|
210
210
|
export interface ITablMainFinishedQuerys {
|
|
211
211
|
sourcend: number;
|
|
@@ -231,17 +231,17 @@ export class TTablMainGet3formulaQuerys implements ITablMainGet3formulaQuerys {
|
|
|
231
231
|
isilence: number = -1;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
export interface ITablMainBackupstatusQuerys {
|
|
234
|
+
export interface ITablMainBackupstatusQuerys {}
|
|
235
235
|
|
|
236
|
-
export class TTablMainBackupstatusQuerys implements ITablMainBackupstatusQuerys {
|
|
236
|
+
export class TTablMainBackupstatusQuerys implements ITablMainBackupstatusQuerys {}
|
|
237
237
|
|
|
238
|
-
export interface ITablMainRestorestatusQuerys {
|
|
238
|
+
export interface ITablMainRestorestatusQuerys {}
|
|
239
239
|
|
|
240
|
-
export class TTablMainRestorestatusQuerys implements ITablMainRestorestatusQuerys {
|
|
240
|
+
export class TTablMainRestorestatusQuerys implements ITablMainRestorestatusQuerys {}
|
|
241
241
|
|
|
242
|
-
export interface ITablMainTablstatUpdatedb2Querys {
|
|
242
|
+
export interface ITablMainTablstatUpdatedb2Querys {}
|
|
243
243
|
|
|
244
|
-
export class TTablMainTablstatUpdatedb2Querys implements ITablMainTablstatUpdatedb2Querys {
|
|
244
|
+
export class TTablMainTablstatUpdatedb2Querys implements ITablMainTablstatUpdatedb2Querys {}
|
|
245
245
|
|
|
246
246
|
export interface ITablMainUpdatedbAsnormalQuerys {
|
|
247
247
|
asnormal: number;
|
|
@@ -265,13 +265,13 @@ export class TTablMainUploaddbAsnormalQuerys implements ITablMainUploaddbAsnorma
|
|
|
265
265
|
asnormal: number = -1;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
export interface ITablMainSwitchbackupQuerys {
|
|
268
|
+
export interface ITablMainSwitchbackupQuerys {}
|
|
269
269
|
|
|
270
|
-
export class TTablMainSwitchbackupQuerys implements ITablMainSwitchbackupQuerys {
|
|
270
|
+
export class TTablMainSwitchbackupQuerys implements ITablMainSwitchbackupQuerys {}
|
|
271
271
|
|
|
272
|
-
export interface ITablMainSwitchreturnQuerys {
|
|
272
|
+
export interface ITablMainSwitchreturnQuerys {}
|
|
273
273
|
|
|
274
|
-
export class TTablMainSwitchreturnQuerys implements ITablMainSwitchreturnQuerys {
|
|
274
|
+
export class TTablMainSwitchreturnQuerys implements ITablMainSwitchreturnQuerys {}
|
|
275
275
|
|
|
276
276
|
export interface ITablMainUploadd2TablstatQuerys {
|
|
277
277
|
tablmode: number;
|
|
@@ -282,3 +282,20 @@ export class TTablMainUploadd2TablstatQuerys implements ITablMainUploadd2Tablsta
|
|
|
282
282
|
tablmode: number = -1;
|
|
283
283
|
tablstat: number = -1;
|
|
284
284
|
}
|
|
285
|
+
|
|
286
|
+
export interface ITablMainWithPageGet5wzk8Querys {
|
|
287
|
+
gztbmain: number;
|
|
288
|
+
voidonly: number;
|
|
289
|
+
realpage: number;
|
|
290
|
+
pagesize: number;
|
|
291
|
+
|
|
292
|
+
wzk8only: number;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export class TTablMainWithPageGet5wzk8Querys implements ITablMainWithPageGet5wzk8Querys {
|
|
296
|
+
gztbmain: number = -1;
|
|
297
|
+
voidonly: number = -1;
|
|
298
|
+
realpage: number = -1;
|
|
299
|
+
pagesize: number = -1;
|
|
300
|
+
wzk8only: number = -1;
|
|
301
|
+
}
|
package/packages/yzpz/cnfg.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TYzpz } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IYzpzCnfgDetaildbQuerys, IYzpzCnfgSelectdbQuerys } from "./types";
|
|
3
|
+
import { IYzpzCnfgDetaild2Querys, IYzpzCnfgDetaildbQuerys, IYzpzCnfgSelectdbQuerys, IYzpzCnfgUploaditQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class CnfgRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -52,6 +52,25 @@ class CnfgRequest {
|
|
|
52
52
|
deletedb(params: object) {
|
|
53
53
|
return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/deletedb", undefined, params);
|
|
54
54
|
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 备份预算账套
|
|
58
|
+
* @param querys
|
|
59
|
+
* @returns
|
|
60
|
+
*/
|
|
61
|
+
detaild2(querys: IYzpzCnfgDetaild2Querys) {
|
|
62
|
+
return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/detaild2", querys, undefined);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 还原预算账套
|
|
67
|
+
* @param querys
|
|
68
|
+
* @param params
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
uploadit(querys: IYzpzCnfgUploaditQuerys, params: object) {
|
|
72
|
+
return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/uploadit", querys, params);
|
|
73
|
+
}
|
|
55
74
|
}
|
|
56
75
|
|
|
57
76
|
export default CnfgRequest;
|
package/packages/yzpz/types.ts
CHANGED
|
@@ -22,6 +22,26 @@ export class TYzpzCnfgDetaildbQuerys implements IYzpzCnfgDetaildbQuerys {
|
|
|
22
22
|
sourceid: number = -1;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
export interface IYzpzCnfgDetaild2Querys {
|
|
26
|
+
sourcend: number;
|
|
27
|
+
sourceid: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export class TYzpzCnfgDetaild2Querys implements IYzpzCnfgDetaild2Querys {
|
|
31
|
+
sourcend: number = -1;
|
|
32
|
+
sourceid: number = -1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IYzpzCnfgUploaditQuerys {
|
|
36
|
+
sourcend: number;
|
|
37
|
+
override: number;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export class YzpzCnfgUploaditQuerys implements IYzpzCnfgUploaditQuerys {
|
|
41
|
+
sourcend: number = -1;
|
|
42
|
+
override: number = -1;
|
|
43
|
+
}
|
|
44
|
+
|
|
25
45
|
export interface IYzpzTypeSelctdbQuerys {
|
|
26
46
|
sourcend: number;
|
|
27
47
|
sourceid: number;
|