@ningboyz/apis 1.6.74 → 1.6.76
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 +7 -1
- package/packages/flow/types.ts +8 -0
- package/packages/hznj/noti.ts +7 -0
- package/packages/hznj/type.ts +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.76",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.76",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/flow/flow.ts
CHANGED
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
IFlowFlowUserMemoDeletedbQuerys,
|
|
11
11
|
IFlowFlowUserMemoInsertdbQuerys,
|
|
12
12
|
IFlowFlowUserMemoSelectdbQuerys,
|
|
13
|
-
TFlowUserNotiUpdatedbQuerys
|
|
13
|
+
TFlowUserNotiUpdatedbQuerys,
|
|
14
|
+
IFlowFlowStarToneQuerys
|
|
14
15
|
} from "./types";
|
|
15
16
|
|
|
16
17
|
class FlowRequest {
|
|
@@ -159,6 +160,11 @@ class FlowRequest {
|
|
|
159
160
|
redoflow(querys: IFlowFlowRedoflowQuerys, params: object) {
|
|
160
161
|
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/redoflow", querys, params);
|
|
161
162
|
}
|
|
163
|
+
|
|
164
|
+
/**获取首岗节点 */
|
|
165
|
+
startone(querys: IFlowFlowStarToneQuerys, params: object) {
|
|
166
|
+
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/flow/tflow/startone", querys, params);
|
|
167
|
+
}
|
|
162
168
|
}
|
|
163
169
|
|
|
164
170
|
export default FlowRequest;
|
package/packages/flow/types.ts
CHANGED
|
@@ -267,3 +267,11 @@ export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeleted
|
|
|
267
267
|
export interface IFlowFlowRedoflowQuerys {}
|
|
268
268
|
|
|
269
269
|
export class TFlowFlowRedoflowQuerys implements IFlowFlowRedoflowQuerys {}
|
|
270
|
+
|
|
271
|
+
export interface IFlowFlowStarToneQuerys {
|
|
272
|
+
flowmain: number;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export class TFlowFlowStarToneQuerys implements IFlowFlowStarToneQuerys {
|
|
276
|
+
flowmain: number = -1;
|
|
277
|
+
}
|
package/packages/hznj/noti.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
IHznjNotiGet4itemQuerys,
|
|
10
10
|
IHznjNotiGetTotalQuerys,
|
|
11
11
|
IHznjNotiInsertdbQuerys,
|
|
12
|
+
IHznjNotiNextNodeQuerys,
|
|
12
13
|
IHznjNotiSelectdbQuerys,
|
|
13
14
|
IHznjNotiSelectmxQuerys,
|
|
14
15
|
IHznjNotiUpdatedbQuerys,
|
|
@@ -67,6 +68,12 @@ class NotiRequest {
|
|
|
67
68
|
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/gettotal", querys, params);
|
|
68
69
|
}
|
|
69
70
|
|
|
71
|
+
|
|
72
|
+
// 获取下一节点的用户
|
|
73
|
+
nextnode(querys: IHznjNotiNextNodeQuerys, params: object) {
|
|
74
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/nextnode", querys, params);
|
|
75
|
+
}
|
|
76
|
+
|
|
70
77
|
/**
|
|
71
78
|
* 批量修改任务通知明细报告数量
|
|
72
79
|
* */
|
package/packages/hznj/type.ts
CHANGED
|
@@ -470,12 +470,23 @@ export class THznjNotiGet4itemQuerys implements IHznjNotiGet4itemQuerys {
|
|
|
470
470
|
export interface IHznjNotiGetTotalQuerys {
|
|
471
471
|
sourcend: number;
|
|
472
472
|
nodename: string;
|
|
473
|
-
fromnodename: string;
|
|
474
473
|
}
|
|
475
474
|
|
|
476
475
|
export class THznjNotiGetTotalQuerys implements IHznjNotiGetTotalQuerys {
|
|
477
476
|
sourcend: number = -1;
|
|
478
477
|
nodename: string = "";
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
export interface IHznjNotiNextNodeQuerys {
|
|
482
|
+
sourcend: number;
|
|
483
|
+
nodename: string;
|
|
484
|
+
fromnodename: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export class THznjNotiNextNodeQuerys implements IHznjNotiNextNodeQuerys {
|
|
488
|
+
sourcend: number = -1;
|
|
489
|
+
nodename: string = "";
|
|
479
490
|
fromnodename: string = "";
|
|
480
491
|
}
|
|
481
492
|
|