@ningboyz/apis 1.0.89 → 1.0.91

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.89",
3
+ "version": "1.0.91",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -22,7 +22,7 @@ class P4pzRequest {
22
22
  * @param params
23
23
  */
24
24
  deletedb(params: object) {
25
- return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/deletedb", params);
25
+ return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/deletedb", undefined, params);
26
26
  }
27
27
 
28
28
  /**
@@ -16,6 +16,30 @@ class SysbilltypeRequest {
16
16
  selectdb(querys: ICoreSysbilltypeSelectdbQuerys) {
17
17
  return this.httpRequest.post<TCore.ISysMenuWithExpdResponse[]>("/core/tsysbilltype/selectdb", querys, undefined);
18
18
  }
19
+
20
+ /**
21
+ * 删除业务类型
22
+ * @param params
23
+ */
24
+ deletedb(params: object) {
25
+ return this.httpRequest.post<TCore.ISysMenuWithExpdResponse[]>("/core/tsysbilltype/deletedb", undefined, params);
26
+ }
27
+
28
+ /**
29
+ * 新增业务类型
30
+ * @param params
31
+ */
32
+ insertdb(params: object) {
33
+ return this.httpRequest.post<TCore.ISysMenuWithExpdResponse[]>("/core/tsysbilltype/insertdb", undefined, params);
34
+ }
35
+
36
+ /**
37
+ * 更新业务类型
38
+ * @param params
39
+ */
40
+ updatedb(params: object) {
41
+ return this.httpRequest.post<TCore.ISysMenuWithExpdResponse[]>("/core/tsysbilltype/updatedb", undefined, params);
42
+ }
19
43
  }
20
44
 
21
45
  export default SysbilltypeRequest;
@@ -1,6 +1,6 @@
1
1
  import type { TFlow } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IFlowNodeDetaildbQuerys, IFlowNodeInsertdbQuerys, IFlowNodeSelectdbQuerys, IFlowNodeUpdatedbQuerys } from "./type";
3
+ import { IFlowNodeDetaildbQuerys, IFlowNodeInsertdbQuerys, IFlowNodeSelectdbQuerys, IFlowNodeUpdatedbQuerys, IFlowNodeDeletedbQuerys, IFlowNodeQueuesdbQuerys, IFlowNodeCopythisQuerys } from "./type";
4
4
 
5
5
  class NodeRequest {
6
6
  private httpRequest: HttpRequest;
@@ -48,9 +48,28 @@ class NodeRequest {
48
48
 
49
49
  /**
50
50
  * 根据flowmain删除审核节点
51
+ * @param querys
52
+ * @param params
53
+ * @returns
54
+ */
55
+ deletedb(querys: IFlowNodeDeletedbQuerys, params: object) {
56
+ return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/deletedb", querys, params);
57
+ }
58
+ /**
59
+ * 排序审核节点
60
+ * @param querys
61
+ * @param params
62
+ */
63
+ queuesdb(querys: IFlowNodeQueuesdbQuerys, params: object) {
64
+ return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/queuesdb", querys, params);
65
+ }
66
+ /**
67
+ * 复制审核节点
68
+ * @param querys
69
+ * @param params
51
70
  */
52
- deletedb(params: object) {
53
- return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/deletedb", undefined, params);
71
+ copythis(querys: IFlowNodeCopythisQuerys, params: object) {
72
+ return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/copythis", querys, params);
54
73
  }
55
74
  }
56
75
 
@@ -112,7 +112,22 @@ export class TFlowNodeDetaildbQuerys implements IFlowNodeDetaildbQuerys {
112
112
  flowmain: number = -1;
113
113
  flownode: number = -1;
114
114
  }
115
+ export interface IFlowNodeQueuesdbQuerys {
116
+ flowmain: number;
117
+ }
118
+
119
+ export class TFlowNodeQueuesdbQuerys implements IFlowNodeQueuesdbQuerys {
120
+ flowmain: number = -1;
121
+ }
122
+ export interface IFlowNodeCopythisQuerys {
123
+ flowmain: number;
124
+ targetto: number;
125
+ }
115
126
 
127
+ export class TFlowNodeCopythisQuerys implements IFlowNodeCopythisQuerys {
128
+ flowmain: number = -1;
129
+ targetto: number = -1;
130
+ }
116
131
  export interface IFlowNodeInsertdbQuerys {
117
132
  flowmain: number;
118
133
  }
@@ -128,3 +143,66 @@ export interface IFlowNodeUpdatedbQuerys {
128
143
  export class TFlowNodeUpdatedbQuerys implements IFlowNodeUpdatedbQuerys {
129
144
  flowmain: number = -1;
130
145
  }
146
+
147
+ export interface IFlowNodeDeletedbQuerys {
148
+ flowmain: number;
149
+ }
150
+
151
+ export class TFlowNodeDeletedbQuerys implements IFlowNodeDeletedbQuerys {
152
+ flowmain: number = -1;
153
+ }
154
+
155
+ /** ========== void ======== */
156
+ export interface IFlowVoidSelectdbQuerys {
157
+ flowmain: number;
158
+ voidtype: number;
159
+ }
160
+
161
+ export class TFlowVoidSelectdbQuerys implements IFlowVoidSelectdbQuerys {
162
+ flowmain: number = -1;
163
+ voidtype: number = -1;
164
+ }
165
+
166
+ export interface IFlowVoidCopythisQuerys {
167
+ flowmain: number;
168
+ targetto: number;
169
+ }
170
+
171
+ export class TFlowVoidCopythisQuerys implements IFlowVoidCopythisQuerys {
172
+ flowmain: number = -1;
173
+ targetto: number = -1;
174
+ }
175
+
176
+ export interface IFlowVoidQueuesdbQuerys {
177
+ flowmain: number;
178
+ voidtype: number;
179
+ }
180
+
181
+ export class TFlowVoidQueuesdbQuerys implements IFlowVoidQueuesdbQuerys {
182
+ flowmain: number = -1;
183
+ voidtype: number = -1;
184
+ }
185
+
186
+ export interface IFlowVoidDeletedbQuerys {
187
+ flowmain: number;
188
+ }
189
+
190
+ export class TFlowVoidDeletedbQuerys implements IFlowVoidDeletedbQuerys {
191
+ flowmain: number = -1;
192
+ }
193
+
194
+ export interface IFlowVoidInsertdbQuerys {
195
+ flowmain: number;
196
+ }
197
+
198
+ export class TFlowVoidInsertdbQuerys implements IFlowVoidInsertdbQuerys {
199
+ flowmain: number = -1;
200
+ }
201
+
202
+ export interface IFlowVoidUpdatedbQuerys {
203
+ flowmain: number;
204
+ }
205
+
206
+ export class TFlowVoidUpdatedbQuerys implements IFlowVoidUpdatedbQuerys {
207
+ flowmain: number = -1;
208
+ }
@@ -0,0 +1,64 @@
1
+ import type { TFlow } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IFlowVoidSelectdbQuerys, IFlowVoidCopythisQuerys, IFlowVoidQueuesdbQuerys, IFlowVoidDeletedbQuerys, IFlowVoidUpdatedbQuerys, IFlowVoidInsertdbQuerys } from "./type";
4
+
5
+ class VoidRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 判断条件列表
13
+ * @param querys
14
+ * @returns
15
+ */
16
+ selectdb(querys: IFlowVoidSelectdbQuerys) {
17
+ return this.httpRequest.post<TFlow.IFlowVoidResponse[]>("/flow/tvoid/selectdb", querys, undefined);
18
+ }
19
+
20
+ /**
21
+ * 添加判断条件
22
+ * @param querys
23
+ * @param params
24
+ */
25
+ insertdb(querys: IFlowVoidInsertdbQuerys, params: object) {
26
+ return this.httpRequest.post<TFlow.IFlowVoidResponse[]>("/flow/tvoid/insertdb", querys, params);
27
+ }
28
+
29
+ /**
30
+ * 修改判断条件
31
+ * @param querys
32
+ * @param params
33
+ */
34
+ updatedb(querys: IFlowVoidUpdatedbQuerys, params: object) {
35
+ return this.httpRequest.post<TFlow.IFlowVoidResponse[]>("/flow/tvoid/updatedb", querys, params);
36
+ }
37
+
38
+ /**
39
+ * 删除判断条件
40
+ * @param querys
41
+ * @param params
42
+ */
43
+ deletedb(querys: IFlowVoidDeletedbQuerys, params: object) {
44
+ return this.httpRequest.post<TFlow.IFlowVoidResponse[]>("/flow/tvoid/deletedb", querys, params);
45
+ }
46
+ /**
47
+ * 排序判断条件
48
+ * @param querys
49
+ * @param params
50
+ */
51
+ queuesdb(querys: IFlowVoidQueuesdbQuerys, params: object) {
52
+ return this.httpRequest.post<TFlow.IFlowVoidResponse[]>("/flow/tvoid/queuesdb", querys, params);
53
+ }
54
+ /**
55
+ * 复制判断条件
56
+ * @param querys
57
+ * @param params
58
+ */
59
+ copythis(querys: IFlowVoidCopythisQuerys, params: object) {
60
+ return this.httpRequest.post<TFlow.IFlowVoidResponse[]>("/flow/tvoid/copythis", querys, params);
61
+ }
62
+ }
63
+
64
+ export default VoidRequest;