@ningboyz/apis 1.4.146 → 1.4.148
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/hznj/type.ts +8 -0
- package/packages/hznj/xmsy.ts +5 -0
- package/packages/hznk/type.ts +3 -0
- package/packages/wldy/page.ts +20 -2
- package/packages/wldy/types.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.148",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.148",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/hznj/type.ts
CHANGED
|
@@ -202,6 +202,14 @@ export class THznjXmjjSelectmxQuerys implements IHznjXmjjSelectmxQuerys {
|
|
|
202
202
|
notiindx: number = -1;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
export interface IHznjXmjjSelectm2Querys {
|
|
206
|
+
sourcend: number;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export class THznjXmjjSelectm2Querys implements IHznjXmjjSelectm2Querys {
|
|
210
|
+
sourcend: number = -1;
|
|
211
|
+
}
|
|
212
|
+
|
|
205
213
|
export interface IHznjXmjjInsertdbQuerys {
|
|
206
214
|
sourcend: number;
|
|
207
215
|
}
|
package/packages/hznj/xmsy.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { THznj } from "@ningboyz/types";
|
|
3
3
|
import { HttpRequest } from "../axios";
|
|
4
4
|
import {
|
|
5
|
+
IHznjXmjjSelectm2Querys,
|
|
5
6
|
IHznjXmjjSelectmxQuerys,
|
|
6
7
|
IHznjXmsyDeletedbQuerys,
|
|
7
8
|
IHznjXmsyDetailQuerys,
|
|
@@ -47,6 +48,10 @@ class XmsyRequest {
|
|
|
47
48
|
selectmx(querys: IHznjXmjjSelectmxQuerys) {
|
|
48
49
|
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmjj/selectmx", querys, undefined);
|
|
49
50
|
}
|
|
51
|
+
|
|
52
|
+
selectm2(querys: IHznjXmjjSelectm2Querys) {
|
|
53
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmjj/selectm2", querys, undefined);
|
|
54
|
+
}
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
export default XmsyRequest;
|
package/packages/hznk/type.ts
CHANGED
|
@@ -222,6 +222,8 @@ export interface IHznkMainSelectdbQuerys {
|
|
|
222
222
|
/** 修改时传data的dataIndx */
|
|
223
223
|
exceptid: number;
|
|
224
224
|
useronly: number;
|
|
225
|
+
/**是否显示datahide=1的单据 */
|
|
226
|
+
datahide: number;
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
export class THznkMainSelectdbQuerys implements IHznkMainSelectdbQuerys {
|
|
@@ -234,6 +236,7 @@ export class THznkMainSelectdbQuerys implements IHznkMainSelectdbQuerys {
|
|
|
234
236
|
/** 修改时传data的dataIndx */
|
|
235
237
|
exceptid: number = -1;
|
|
236
238
|
useronly: number = -1;
|
|
239
|
+
datahide: number = -1;
|
|
237
240
|
}
|
|
238
241
|
|
|
239
242
|
export interface IHznkMainSelectglQuerys {
|
package/packages/wldy/page.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import type { TWldy } from "@ningboyz/types";
|
|
1
|
+
import type { TCore, TWldy } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
IWldyPageChkvalidQuerys,
|
|
5
|
+
IWldyPageDetaildbQuerys,
|
|
6
|
+
IWldyPageLoadDataQuerys,
|
|
7
|
+
IWldyPageSelectd2Querys,
|
|
8
|
+
IWldyPageSelectdbQuerys,
|
|
9
|
+
IWldyPageSet4PathQuerys,
|
|
10
|
+
IWldyPageSyspathcUpdatedb
|
|
11
|
+
} from "./types";
|
|
4
12
|
|
|
5
13
|
class PageRequest {
|
|
6
14
|
private httpRequest: HttpRequest;
|
|
@@ -91,6 +99,16 @@ class PageRequest {
|
|
|
91
99
|
syspathcUpdatedb(querys: IWldyPageSyspathcUpdatedb) {
|
|
92
100
|
return this.httpRequest.post<TWldy.IWldyPageResponse[]>("/gapi/wldy/tpage/syspathc/updatedb", querys, void 0);
|
|
93
101
|
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 检查打印模版条件sql
|
|
105
|
+
* @param querys
|
|
106
|
+
* @param params
|
|
107
|
+
* @returns
|
|
108
|
+
*/
|
|
109
|
+
chkvalid(querys: IWldyPageChkvalidQuerys, params: object) {
|
|
110
|
+
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/wldy/tpage/chkvalid", querys, params);
|
|
111
|
+
}
|
|
94
112
|
}
|
|
95
113
|
|
|
96
114
|
export default PageRequest;
|
package/packages/wldy/types.ts
CHANGED
|
@@ -96,3 +96,15 @@ export class TWldyPageSyspathcUpdatedb implements IWldyPageSyspathcUpdatedb {
|
|
|
96
96
|
wldypage: number = -1;
|
|
97
97
|
syspathc: number = -1;
|
|
98
98
|
}
|
|
99
|
+
|
|
100
|
+
export interface IWldyPageChkvalidQuerys {
|
|
101
|
+
wldypage: number;
|
|
102
|
+
entityid: string;
|
|
103
|
+
billmain: number;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export class TWldyPageChkvalidQuerys implements IWldyPageChkvalidQuerys {
|
|
107
|
+
wldypage: number = -1;
|
|
108
|
+
entityid: string = "";
|
|
109
|
+
billmain: number = -1;
|
|
110
|
+
}
|