@ningboyz/apis 1.4.141 → 1.4.143
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/flow/flow.ts +11 -1
- package/packages/flow/types.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.143",
|
|
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.143",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/flow/flow.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCore, TFlow } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IFlowFlowLastUserQuerys, IFlowFlowListDeptQuerys, IFlowFlowListUserQuerys, IFlowFlowNextNodeQuerys, TFlowUserNotiUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IFlowFlowDomyWorkQuerys, IFlowFlowLastUserQuerys, IFlowFlowListDeptQuerys, IFlowFlowListUserQuerys, IFlowFlowNextNodeQuerys, TFlowUserNotiUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class FlowRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -102,6 +102,16 @@ class FlowRequest {
|
|
|
102
102
|
usernotiUpdatedb(querys: TFlowUserNotiUpdatedbQuerys) {
|
|
103
103
|
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/usernoti/updatedb", querys, void 0);
|
|
104
104
|
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 委派
|
|
108
|
+
* @param querys
|
|
109
|
+
* @param params
|
|
110
|
+
* @returns
|
|
111
|
+
*/
|
|
112
|
+
domywork(querys: IFlowFlowDomyWorkQuerys, params: object) {
|
|
113
|
+
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/domywork", querys, params);
|
|
114
|
+
}
|
|
105
115
|
}
|
|
106
116
|
|
|
107
117
|
export default FlowRequest;
|
package/packages/flow/types.ts
CHANGED
|
@@ -74,6 +74,20 @@ export class TFlowFlowListDeptQuerys implements IFlowFlowListDeptQuerys {
|
|
|
74
74
|
nextnode: number = -1;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
export interface IFlowFlowDomyWorkQuerys {
|
|
78
|
+
sysclasc: number;
|
|
79
|
+
cnfgmain: number;
|
|
80
|
+
diddoubt: number;
|
|
81
|
+
doinsert: number;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export class TFlowFlowDomyWorkQuerys implements IFlowFlowDomyWorkQuerys {
|
|
85
|
+
sysclasc: number = -1;
|
|
86
|
+
cnfgmain: number = -1;
|
|
87
|
+
diddoubt: number = -1;
|
|
88
|
+
doinsert: number = -1;
|
|
89
|
+
}
|
|
90
|
+
|
|
77
91
|
/** ======== main ======== */
|
|
78
92
|
export interface IFlowMainSelectdbQuerys {
|
|
79
93
|
sysclasc: number;
|