@ningboyz/apis 1.3.194 → 1.3.195
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/wldy/page.ts +10 -1
- package/packages/wldy/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.195",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.195",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/wldy/page.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TWldy } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IWldyPageDetaildbQuerys, IWldyPageLoadDataQuerys, IWldyPageSelectd2Querys, IWldyPageSelectdbQuerys, IWldyPageSet4PathQuerys } from "./types";
|
|
3
|
+
import { IWldyPageDetaildbQuerys, IWldyPageLoadDataQuerys, IWldyPageSelectd2Querys, IWldyPageSelectdbQuerys, IWldyPageSet4PathQuerys, IWldyPageSyspathcUpdatedb } from "./types";
|
|
4
4
|
|
|
5
5
|
class PageRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -82,6 +82,15 @@ class PageRequest {
|
|
|
82
82
|
set4Path(querys: IWldyPageSet4PathQuerys, params: object) {
|
|
83
83
|
return this.httpRequest.post<TWldy.IWldyDataResponse[]>("/gapi/wldy/tpage/set4path", querys, params);
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 设置打印模版附件
|
|
88
|
+
* @param querys
|
|
89
|
+
* @returns
|
|
90
|
+
*/
|
|
91
|
+
syspathcUpdatedb(querys: IWldyPageSyspathcUpdatedb) {
|
|
92
|
+
return this.httpRequest.post<TWldy.IWldyPageResponse[]>("/wldy/tpage/syspathc/updatedb", querys, void 0);
|
|
93
|
+
}
|
|
85
94
|
}
|
|
86
95
|
|
|
87
96
|
export default PageRequest;
|
package/packages/wldy/types.ts
CHANGED
|
@@ -86,3 +86,13 @@ export interface IWldyPageSet4PathQuerys {
|
|
|
86
86
|
export class TWldyPageSet4PathQuerys implements IWldyPageSet4PathQuerys {
|
|
87
87
|
wldypage: number = -1;
|
|
88
88
|
}
|
|
89
|
+
|
|
90
|
+
export interface IWldyPageSyspathcUpdatedb {
|
|
91
|
+
wldypage: number;
|
|
92
|
+
syspathc: number;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class TWldyPageSyspathcUpdatedb implements IWldyPageSyspathcUpdatedb {
|
|
96
|
+
wldypage: number = -1;
|
|
97
|
+
syspathc: number = -1;
|
|
98
|
+
}
|