@ningboyz/apis 1.8.46 → 1.8.48
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/wlzf/types.ts +6 -2
- package/packages/yzpz/cnfg.ts +10 -1
- package/packages/yzpz/types.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.48",
|
|
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.48",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/wlzf/types.ts
CHANGED
|
@@ -61,8 +61,12 @@ export class TWlzfMainDeletedbQuerys implements IWlzfMainDeletedbQuerys {}
|
|
|
61
61
|
export interface IWlzfMainTodoPlzfQuerys {}
|
|
62
62
|
export class TWlzfMainTodoPlzfQuerys implements IWlzfMainTodoPlzfQuerys {}
|
|
63
63
|
|
|
64
|
-
export interface IWlzfMainSelectdbQuerys {
|
|
65
|
-
|
|
64
|
+
export interface IWlzfMainSelectdbQuerys {
|
|
65
|
+
viewonly: number;
|
|
66
|
+
}
|
|
67
|
+
export class TWlzfMainSelectdbQuerys implements IWlzfMainSelectdbQuerys {
|
|
68
|
+
viewonly: number = -1;
|
|
69
|
+
}
|
|
66
70
|
|
|
67
71
|
export interface IWlzfMainGetdetailQuerys {
|
|
68
72
|
wlzfmain: number;
|
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 { IYzpzCnfgDetaild2Querys, IYzpzCnfgDetaildbQuerys, IYzpzCnfgSelectdbQuerys, IYzpzCnfgUploaditQuerys } from "./types";
|
|
3
|
+
import { IYzpzCnfgDetaild2Querys, IYzpzCnfgDetaildbQuerys, IYzpzCnfgSelectd2Querys, IYzpzCnfgSelectdbQuerys, IYzpzCnfgUploaditQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class CnfgRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -35,6 +35,15 @@ class CnfgRequest {
|
|
|
35
35
|
return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/selectdb", querys, undefined);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* 获取预算账套列表
|
|
40
|
+
* @param querys
|
|
41
|
+
* @returns
|
|
42
|
+
*/
|
|
43
|
+
selectd2(querys: IYzpzCnfgSelectd2Querys) {
|
|
44
|
+
return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/selectd2", querys, undefined);
|
|
45
|
+
}
|
|
46
|
+
|
|
38
47
|
/**
|
|
39
48
|
* 获取预算账套详情
|
|
40
49
|
* @param querys
|
package/packages/yzpz/types.ts
CHANGED
|
@@ -12,6 +12,20 @@ export class TYzpzCnfgSelectdbQuerys implements IYzpzCnfgSelectdbQuerys {
|
|
|
12
12
|
iscommon: number = -1;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
export interface IYzpzCnfgSelectd2Querys {
|
|
16
|
+
sourcend: number;
|
|
17
|
+
sourceid: number;
|
|
18
|
+
unitmain: number;
|
|
19
|
+
iscommon: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export class TYzpzCnfgSelectd2Querys implements IYzpzCnfgSelectd2Querys {
|
|
23
|
+
sourcend: number = -1;
|
|
24
|
+
sourceid: number = -1;
|
|
25
|
+
unitmain: number = -1;
|
|
26
|
+
iscommon: number = -1;
|
|
27
|
+
}
|
|
28
|
+
|
|
15
29
|
export interface IYzpzCnfgDetaildbQuerys {
|
|
16
30
|
sourcend: number;
|
|
17
31
|
sourceid: number;
|