@ningboyz/apis 1.5.3 → 1.5.4
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 +16 -1
- package/packages/flow/types.ts +13 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.4",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.4",
|
|
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 { IFlowFlowDomyWorkQuerys, IFlowFlowLastUserQuerys, IFlowFlowListDeptQuerys, IFlowFlowListUserQuerys, IFlowFlowNextNodeQuerys, TFlowUserNotiUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IFlowFlowDomyWorkQuerys, IFlowFlowLastUserQuerys, IFlowFlowListDeptQuerys, IFlowFlowListUserQuerys, IFlowFlowNextNodeQuerys, IFlowFlowUserMemoDeletedbQuerys, IFlowFlowUserMemoInsertdbQuerys, IFlowFlowUserMemoSelectdbQuerys, TFlowUserNotiUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class FlowRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -112,6 +112,21 @@ class FlowRequest {
|
|
|
112
112
|
domywork(querys: IFlowFlowDomyWorkQuerys, params: object) {
|
|
113
113
|
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/domywork", querys, params);
|
|
114
114
|
}
|
|
115
|
+
|
|
116
|
+
// 查询常用语
|
|
117
|
+
usermemoSelectdb(querys: IFlowFlowUserMemoSelectdbQuerys) {
|
|
118
|
+
return this.httpRequest.post<TCore.IUserMemoResponse[]>("/flow/tflow/usermemo/selectdb", querys, undefined);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// 新增常用语
|
|
122
|
+
usermemoInsertdb(querys: IFlowFlowUserMemoInsertdbQuerys) {
|
|
123
|
+
return this.httpRequest.post<TCore.IUserMemoResponse[]>("/flow/tflow/usermemo/insertdb", querys, undefined);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// 删除常用语
|
|
127
|
+
usermemoDeletedb(querys: IFlowFlowUserMemoDeletedbQuerys) {
|
|
128
|
+
return this.httpRequest.post<TCore.IUserMemoResponse[]>("/flow/tflow/usermemo/deletedb", querys, undefined);
|
|
129
|
+
}
|
|
115
130
|
}
|
|
116
131
|
|
|
117
132
|
export default FlowRequest;
|
package/packages/flow/types.ts
CHANGED
|
@@ -248,4 +248,16 @@ export interface IFlowNodeSelectdb2Querys {
|
|
|
248
248
|
export class TFlowNodeSelectdb2Querys implements IFlowNodeSelectdb2Querys {
|
|
249
249
|
usermain: number = -1;
|
|
250
250
|
flowmain: number = -1;
|
|
251
|
-
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export interface IFlowFlowUserMemoSelectdbQuerys { }
|
|
254
|
+
|
|
255
|
+
export class TFlowFlowUserMemoSelectdbQuerys implements IFlowFlowUserMemoSelectdbQuerys { }
|
|
256
|
+
|
|
257
|
+
export interface IFlowFlowUserMemoInsertdbQuerys { }
|
|
258
|
+
|
|
259
|
+
export class TFlowFlowUserMemoInsertdbQuerys implements IFlowFlowUserMemoInsertdbQuerys { }
|
|
260
|
+
|
|
261
|
+
export interface IFlowFlowUserMemoDeletedbQuerys { }
|
|
262
|
+
|
|
263
|
+
export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeletedbQuerys { }
|