@ningboyz/apis 1.0.21 → 1.0.22

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "",
@@ -18,10 +18,8 @@ class ItemRequest {
18
18
 
19
19
  /**
20
20
  * 添加表单设计
21
- * @param wtuiform
22
- * @param wtuizone
23
- * @param wtuimain
24
- * @param data
21
+ * @param querys
22
+ * @param params
25
23
  */
26
24
  insertdb(querys: IWtuiItemInsertdbQuerys, params: object) {
27
25
  return this.httpRequest.post<TWtui.IWtuiItemResponse[]>(`/gapi/wtui/titem/insertdb`, querys, params);
@@ -1,6 +1,6 @@
1
1
  import { TWtui } from "@ningboyz/types";
2
2
  import { HttpRequest } from "../axios";
3
- import { IWtuiNodeAsmainlyQuerys, IWtuiNodeInsertdbQuerys, IWtuiNodeSelectdbQuerys, IWtuiNodeUpdatedbQuerys } from "./type";
3
+ import { IWtuiNodeAsmainlyQuerys, IWtuiNodeInsertdbQuerys, IWtuiNodeSelectdbQuerys, IWtuiNodeUpdatedbQuerys, IWtuiNodeDatahideQuerys } from "./type";
4
4
 
5
5
  class NodeRequest {
6
6
  private httpRequest: HttpRequest;
@@ -10,7 +10,7 @@ class NodeRequest {
10
10
 
11
11
  /**
12
12
  * 工作台查找资产
13
- * @param querys
13
+ * @param querys
14
14
  * @returns
15
15
  */
16
16
  asmainly(querys: IWtuiNodeAsmainlyQuerys) {
@@ -18,19 +18,25 @@ class NodeRequest {
18
18
  }
19
19
 
20
20
  selectdb(querys: IWtuiNodeSelectdbQuerys) {
21
- return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/selectdb", querys, undefined);
21
+ return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/selectdb", querys, undefined);
22
22
  }
23
23
 
24
24
  deletedb(params: object) {
25
- return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/deletedb", undefined, params);
25
+ return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/deletedb", undefined, params);
26
26
  }
27
27
 
28
28
  insertdb(querys: IWtuiNodeInsertdbQuerys, params: object) {
29
- return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/insertdb", querys, params);
29
+ return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/insertdb", querys, params);
30
30
  }
31
31
 
32
32
  updatedb(querys: IWtuiNodeUpdatedbQuerys, params: object) {
33
- return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/updatedb", querys, params);
33
+ return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/updatedb", querys, params);
34
+ }
35
+ queuesby(params: object) {
36
+ return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/queuesby", undefined, params);
37
+ }
38
+ datahide(querys: IWtuiNodeDatahideQuerys, params: object) {
39
+ return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/datahide/uploaddb", querys, params);
34
40
  }
35
41
  }
36
42
 
@@ -48,7 +48,7 @@ export interface IWtuiCtrlDetaildbQuerys {
48
48
  }
49
49
 
50
50
  export class TWtuiCtrlDetaildbQuerys implements IWtuiCtrlDetaildbQuerys {
51
- ctrlIndx: number;
51
+ ctrlIndx: number = -1;
52
52
  }
53
53
 
54
54
  /** ========== envr ========== */
@@ -205,12 +205,12 @@ export class TWtuiNodeSelectdbQuerys implements IWtuiNodeSelectdbQuerys {
205
205
 
206
206
  export interface IWtuiNodeInsertdbQuerys {
207
207
  wtuimain: number;
208
- wtuiview: number;
208
+ wtuiroot: number;
209
209
  }
210
210
 
211
211
  export class TWtuiNodeInsertdbQuerys implements IWtuiNodeInsertdbQuerys {
212
212
  wtuimain: number = -1;
213
- wtuiview: number = -1;
213
+ wtuiroot: number = -1;
214
214
  }
215
215
 
216
216
  export interface IWtuiNodeUpdatedbQuerys {
@@ -220,7 +220,14 @@ export interface IWtuiNodeUpdatedbQuerys {
220
220
  export class TWtuiNodeUpdatedbQuerys implements IWtuiNodeUpdatedbQuerys {
221
221
  wtuiview: number = -1;
222
222
  }
223
+ export interface IWtuiNodeDatahideQuerys {
224
+ /** 是否隐藏 */
225
+ datahide: number;
226
+ }
223
227
 
228
+ export class TWtuiNodeDatahideQuerys implements IWtuiNodeDatahideQuerys {
229
+ datahide: number = -1;
230
+ }
224
231
  /** ========== todo ========== */
225
232
  export interface IWtuiTodoSelectdbQuerys {
226
233
  wtuimain: number;
@@ -49,6 +49,7 @@ class ViewRequest {
49
49
  updatedb(querys: IWtuiViewUpdatedbQuerys, params: object) {
50
50
  return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/updatedb`, querys, params);
51
51
  }
52
+
52
53
  /**
53
54
  * 排序
54
55
  * @param params