@ningboyz/apis 1.6.143 → 1.6.144
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 +2 -0
- package/packages/wtui/types.ts +5 -0
- package/packages/wtui/view.ts +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.144",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.144",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -338,11 +338,13 @@ export class TCoreSysmenuWithExpdDetaildbQuerys implements ICoreSysmenuWithExpdD
|
|
|
338
338
|
export interface ICoreSysmenuWithCoreUploaditQuerys {
|
|
339
339
|
sourcend: number;
|
|
340
340
|
sourceid: number;
|
|
341
|
+
override: number;
|
|
341
342
|
}
|
|
342
343
|
|
|
343
344
|
export class TCoreSysmenuWithCoreUploaditQuerys implements ICoreSysmenuWithCoreUploaditQuerys {
|
|
344
345
|
sourcend: number = -1;
|
|
345
346
|
sourceid: number = -1;
|
|
347
|
+
override: number = -1;
|
|
346
348
|
}
|
|
347
349
|
|
|
348
350
|
export interface ICoreSysmenuWithCoreQueuesbyQuerys {}
|
package/packages/wtui/types.ts
CHANGED
|
@@ -367,6 +367,11 @@ export interface IWtuiViewDetaildbQuerys {
|
|
|
367
367
|
export class TWtuiViewDetaildbQuerys implements IWtuiViewDetaildbQuerys {
|
|
368
368
|
wtuiview: number = -1;
|
|
369
369
|
}
|
|
370
|
+
|
|
371
|
+
export interface IWtuiViewAll4ctrlQuerys {}
|
|
372
|
+
|
|
373
|
+
export class TWtuiViewAll4ctrlQuerys implements IWtuiViewAll4ctrlQuerys {}
|
|
374
|
+
|
|
370
375
|
export interface IWtuiViewParentId {
|
|
371
376
|
wtuimain: number;
|
|
372
377
|
parentid: number;
|
package/packages/wtui/view.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TWtui } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IWtuiNodeRecoverWtuiQuerys, IWtuiViewDetaildbQuerys, IWtuiViewHidePage, IWtuiViewInsertdbQuerys, IWtuiViewParentId, IWtuiViewSelectdbQuerys, IWtuiViewUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IWtuiNodeRecoverWtuiQuerys, IWtuiViewAll4ctrlQuerys, IWtuiViewDetaildbQuerys, IWtuiViewHidePage, IWtuiViewInsertdbQuerys, IWtuiViewParentId, IWtuiViewSelectdbQuerys, IWtuiViewUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class ViewRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -93,6 +93,15 @@ class ViewRequest {
|
|
|
93
93
|
uploaddb(querys: IWtuiViewParentId, params: object) {
|
|
94
94
|
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/parentid/uploaddb`, querys, params);
|
|
95
95
|
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 获取所有页面定义
|
|
99
|
+
* @param params
|
|
100
|
+
* @returns
|
|
101
|
+
*/
|
|
102
|
+
all4ctrl(querys: IWtuiViewAll4ctrlQuerys, params: object) {
|
|
103
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/all4ctrl", querys, params);
|
|
104
|
+
}
|
|
96
105
|
}
|
|
97
106
|
|
|
98
107
|
export default ViewRequest;
|