@ningboyz/apis 1.0.92 → 1.0.93
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 +1 -1
- package/packages/flow/main.ts +9 -1
- package/packages/flow/type.ts +8 -0
- package/packages/pzpt/type.ts +1 -1
package/package.json
CHANGED
package/packages/flow/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TFlow } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IFlowMainSelectdbQuerys, IFlowMainDetaildbQuerys } from "./type";
|
|
3
|
+
import { IFlowMainSelectdbQuerys, IFlowMainDetaildbQuerys, IFlowMainQueuesdbQuerys } from "./type";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -48,6 +48,14 @@ class MainRequest {
|
|
|
48
48
|
deletedb(params: object) {
|
|
49
49
|
return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/flow/tmain/deletedb", undefined, params);
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* 排序流程列表
|
|
53
|
+
* @param querys
|
|
54
|
+
* @returns
|
|
55
|
+
*/
|
|
56
|
+
queuesdb(querys: IFlowMainQueuesdbQuerys) {
|
|
57
|
+
return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/flow/tmain/queuesdb", querys, undefined);
|
|
58
|
+
}
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
export default MainRequest;
|
package/packages/flow/type.ts
CHANGED
|
@@ -94,6 +94,14 @@ export class TFlowMainDetaildbQuerys implements IFlowMainDetaildbQuerys {
|
|
|
94
94
|
flowmain: number = -1;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
export interface IFlowMainQueuesdbQuerys {
|
|
98
|
+
voidtype: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export class TFlowMainQueuesdbQuerys implements IFlowMainQueuesdbQuerys {
|
|
102
|
+
voidtype: number = -1;
|
|
103
|
+
}
|
|
104
|
+
|
|
97
105
|
/** ========== node ======== */
|
|
98
106
|
export interface IFlowNodeSelectdbQuerys {
|
|
99
107
|
flowmain: number;
|
package/packages/pzpt/type.ts
CHANGED
|
@@ -14,7 +14,7 @@ class TypeRequest {
|
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
16
|
selectdb(querys: IPzptTypeSelctdbQuerys) {
|
|
17
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/selectdb
|
|
17
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/selectdb", querys, undefined);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|