@ningboyz/apis 1.8.29 → 1.8.31
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 +17 -16
- package/packages/flow/types.ts +8 -0
- package/packages/hznj/main.ts +9 -2
- package/packages/hznj/type.ts +8 -0
- package/packages/hznk/type.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.31",
|
|
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.8.
|
|
20
|
+
"@ningboyz/types": "1.8.31",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/flow/flow.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { TCore, TFlow } from "@ningboyz/types";
|
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
IFlowFlowDomyWorkQuerys,
|
|
5
|
+
IFlowFlowFormerlyQuerys,
|
|
5
6
|
IFlowFlowLastUserQuerys,
|
|
6
7
|
IFlowFlowListDeptQuerys,
|
|
7
8
|
IFlowFlowListUserQuerys,
|
|
@@ -101,8 +102,8 @@ class FlowRequest {
|
|
|
101
102
|
* @param params
|
|
102
103
|
* @returns
|
|
103
104
|
*/
|
|
104
|
-
formerly(params: object) {
|
|
105
|
-
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/gapi/flow/tflow/formerly",
|
|
105
|
+
formerly(querys: IFlowFlowFormerlyQuerys, params: object) {
|
|
106
|
+
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/gapi/flow/tflow/formerly", querys, params);
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
/**
|
|
@@ -150,8 +151,8 @@ class FlowRequest {
|
|
|
150
151
|
|
|
151
152
|
/**
|
|
152
153
|
* 查询常用语
|
|
153
|
-
* @param querys
|
|
154
|
-
* @returns
|
|
154
|
+
* @param querys
|
|
155
|
+
* @returns
|
|
155
156
|
*/
|
|
156
157
|
usermemoSelectdb(querys: IFlowFlowUserMemoSelectdbQuerys) {
|
|
157
158
|
return this.httpRequest.post<TCore.IUserMemoResponse[]>("/gapi/flow/tflow/usermemo/selectdb", querys, undefined);
|
|
@@ -159,9 +160,9 @@ class FlowRequest {
|
|
|
159
160
|
|
|
160
161
|
/**
|
|
161
162
|
* 新增常用语
|
|
162
|
-
* @param querys
|
|
163
|
-
* @param params
|
|
164
|
-
* @returns
|
|
163
|
+
* @param querys
|
|
164
|
+
* @param params
|
|
165
|
+
* @returns
|
|
165
166
|
*/
|
|
166
167
|
usermemoInsertdb(querys: IFlowFlowUserMemoInsertdbQuerys, params: object) {
|
|
167
168
|
return this.httpRequest.post<TCore.IUserMemoResponse[]>("/gapi/flow/tflow/usermemo/insertdb", querys, params);
|
|
@@ -169,9 +170,9 @@ class FlowRequest {
|
|
|
169
170
|
|
|
170
171
|
/**
|
|
171
172
|
* 删除常用语
|
|
172
|
-
* @param querys
|
|
173
|
-
* @param params
|
|
174
|
-
* @returns
|
|
173
|
+
* @param querys
|
|
174
|
+
* @param params
|
|
175
|
+
* @returns
|
|
175
176
|
*/
|
|
176
177
|
usermemoDeletedb(querys: IFlowFlowUserMemoDeletedbQuerys, params: object) {
|
|
177
178
|
return this.httpRequest.post<TCore.IUserMemoResponse[]>("/gapi/flow/tflow/usermemo/deletedb", querys, params);
|
|
@@ -179,9 +180,9 @@ class FlowRequest {
|
|
|
179
180
|
|
|
180
181
|
/**
|
|
181
182
|
* 重置流程
|
|
182
|
-
* @param querys
|
|
183
|
-
* @param params
|
|
184
|
-
* @returns
|
|
183
|
+
* @param querys
|
|
184
|
+
* @param params
|
|
185
|
+
* @returns
|
|
185
186
|
*/
|
|
186
187
|
redoflow(querys: IFlowFlowRedoflowQuerys, params: object) {
|
|
187
188
|
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/gapi/flow/tflow/redoflow", querys, params);
|
|
@@ -189,9 +190,9 @@ class FlowRequest {
|
|
|
189
190
|
|
|
190
191
|
/**
|
|
191
192
|
* 获取待办数量
|
|
192
|
-
* @param querys
|
|
193
|
-
* @param params
|
|
194
|
-
* @returns
|
|
193
|
+
* @param querys
|
|
194
|
+
* @param params
|
|
195
|
+
* @returns
|
|
195
196
|
*/
|
|
196
197
|
todolist(querys: IFlowFlowTodolistQuerys, params: object) {
|
|
197
198
|
return this.httpRequest.post<TFlow.IFlowDataResponse[]>("/gapi/flow/tflow/todolist", querys, params);
|
package/packages/flow/types.ts
CHANGED
|
@@ -65,6 +65,14 @@ export class TFlowFlowLastUserQuerys implements IFlowFlowLastUserQuerys {
|
|
|
65
65
|
flowstat: number = -1;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
export interface IFlowFlowFormerlyQuerys {
|
|
69
|
+
onstatus: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class TFlowFlowFormerlyQuerys implements IFlowFlowFormerlyQuerys {
|
|
73
|
+
onstatus: number = -1;
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
export interface IFlowFlowListDeptQuerys {
|
|
69
77
|
sysclasc: number;
|
|
70
78
|
cnfgmain: number;
|
package/packages/hznj/main.ts
CHANGED
|
@@ -7,10 +7,12 @@ import {
|
|
|
7
7
|
IHznjMainFinishedQuerys,
|
|
8
8
|
IHznjMainGenerateQuerys,
|
|
9
9
|
IHznjMainHideBillQuerys,
|
|
10
|
-
IHznjMainInsertdbQuerys,
|
|
10
|
+
IHznjMainInsertdbQuerys,
|
|
11
|
+
IHznjMainReportv1Querys,
|
|
11
12
|
IHznjMainSelectdbQuerys,
|
|
12
13
|
IHznjMainUpdateBaseQuerys,
|
|
13
|
-
IHznjMainUpdatedbQuerys
|
|
14
|
+
IHznjMainUpdatedbQuerys,
|
|
15
|
+
IHznjMainUpdateqfrqQuerys
|
|
14
16
|
} from "./type";
|
|
15
17
|
|
|
16
18
|
class MainRequest {
|
|
@@ -47,6 +49,11 @@ class MainRequest {
|
|
|
47
49
|
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/updatebase", querys, params);
|
|
48
50
|
}
|
|
49
51
|
|
|
52
|
+
// 批量修改签发日期
|
|
53
|
+
updateqfrq(querys: IHznjMainUpdateqfrqQuerys, params: object) {
|
|
54
|
+
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/updateqfrq", querys, params);
|
|
55
|
+
}
|
|
56
|
+
|
|
50
57
|
generate(querys: IHznjMainGenerateQuerys, params: object) {
|
|
51
58
|
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/generate", querys, params);
|
|
52
59
|
}
|
package/packages/hznj/type.ts
CHANGED
|
@@ -924,6 +924,14 @@ export class THznjMainUpdateBaseQuerys implements IHznjMainUpdateBaseQuerys {
|
|
|
924
924
|
sourcend: number = -1;
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
+
export interface IHznjMainUpdateqfrqQuerys {
|
|
928
|
+
sourcend: number;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
export class THznjMainUpdateqfrqQuerys implements IHznjMainUpdateqfrqQuerys {
|
|
932
|
+
sourcend: number = -1;
|
|
933
|
+
}
|
|
934
|
+
|
|
927
935
|
export interface IHznjMainGenerateQuerys {
|
|
928
936
|
sourcend: number;
|
|
929
937
|
}
|
package/packages/hznk/type.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface IHznkDataSelectdbQuerys {
|
|
|
9
9
|
datatype: number;
|
|
10
10
|
useronly: number;
|
|
11
11
|
nbyhonly: number;
|
|
12
|
+
showpath: number;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
export class THznkDataSelectdbQuerys implements IHznkDataSelectdbQuerys {
|
|
@@ -21,6 +22,7 @@ export class THznkDataSelectdbQuerys implements IHznkDataSelectdbQuerys {
|
|
|
21
22
|
datatype: number = 0;
|
|
22
23
|
useronly: number = -1;
|
|
23
24
|
nbyhonly: number = -1;
|
|
25
|
+
showpath: number = -1;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
export interface IHznkDataSelectd2Querys {
|