@ningboyz/apis 1.8.26 → 1.8.28
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/main.ts +10 -1
- package/packages/flow/types.ts +16 -8
- package/packages/tabl/main.ts +6 -0
- package/packages/tabl/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.28",
|
|
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.28",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
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 { IFlowMainDetaildbQuerys, IFlowMainSelectdbQuerys } from "./types";
|
|
3
|
+
import { IFlowMainDetaildbQuerys, IFlowMainSelectdbQuerys, IFlowMainUploaditQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -61,6 +61,15 @@ class MainRequest {
|
|
|
61
61
|
queuesdb(params: object) {
|
|
62
62
|
return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/gapi/flow/tmain/queuesdb", undefined, params);
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 还原流程列表
|
|
67
|
+
* @param params
|
|
68
|
+
* @returns
|
|
69
|
+
*/
|
|
70
|
+
uploadit(querys: IFlowMainUploaditQuerys, params: object) {
|
|
71
|
+
return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/gapi/flow/tmain/uploadit", querys, params);
|
|
72
|
+
}
|
|
64
73
|
}
|
|
65
74
|
|
|
66
75
|
export default MainRequest;
|
package/packages/flow/types.ts
CHANGED
|
@@ -111,6 +111,14 @@ export class TFlowMainDetaildbQuerys implements IFlowMainDetaildbQuerys {
|
|
|
111
111
|
flowmain: number = -1;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
export interface IFlowMainUploaditQuerys {
|
|
115
|
+
override: number;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export class TFlowMainUploaditQuerys implements IFlowMainUploaditQuerys {
|
|
119
|
+
override: number = -1;
|
|
120
|
+
}
|
|
121
|
+
|
|
114
122
|
export interface IFlowMainQueuesdbQuerys {
|
|
115
123
|
voidtype: number;
|
|
116
124
|
}
|
|
@@ -252,21 +260,21 @@ export class TFlowNodeSelectdb2Querys implements IFlowNodeSelectdb2Querys {
|
|
|
252
260
|
flowmain: number = -1;
|
|
253
261
|
}
|
|
254
262
|
|
|
255
|
-
export interface IFlowFlowUserMemoSelectdbQuerys {
|
|
263
|
+
export interface IFlowFlowUserMemoSelectdbQuerys {}
|
|
256
264
|
|
|
257
|
-
export class TFlowFlowUserMemoSelectdbQuerys implements IFlowFlowUserMemoSelectdbQuerys {
|
|
265
|
+
export class TFlowFlowUserMemoSelectdbQuerys implements IFlowFlowUserMemoSelectdbQuerys {}
|
|
258
266
|
|
|
259
|
-
export interface IFlowFlowUserMemoInsertdbQuerys {
|
|
267
|
+
export interface IFlowFlowUserMemoInsertdbQuerys {}
|
|
260
268
|
|
|
261
|
-
export class TFlowFlowUserMemoInsertdbQuerys implements IFlowFlowUserMemoInsertdbQuerys {
|
|
269
|
+
export class TFlowFlowUserMemoInsertdbQuerys implements IFlowFlowUserMemoInsertdbQuerys {}
|
|
262
270
|
|
|
263
|
-
export interface IFlowFlowUserMemoDeletedbQuerys {
|
|
271
|
+
export interface IFlowFlowUserMemoDeletedbQuerys {}
|
|
264
272
|
|
|
265
|
-
export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeletedbQuerys {
|
|
273
|
+
export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeletedbQuerys {}
|
|
266
274
|
|
|
267
|
-
export interface IFlowFlowRedoflowQuerys {
|
|
275
|
+
export interface IFlowFlowRedoflowQuerys {}
|
|
268
276
|
|
|
269
|
-
export class TFlowFlowRedoflowQuerys implements IFlowFlowRedoflowQuerys {
|
|
277
|
+
export class TFlowFlowRedoflowQuerys implements IFlowFlowRedoflowQuerys {}
|
|
270
278
|
|
|
271
279
|
export interface IFlowFlowTodolistQuerys {
|
|
272
280
|
withhour: number;
|
package/packages/tabl/main.ts
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
ITablMainGet5formulaQuerys,
|
|
17
17
|
ITablMainGet5wzk8Querys,
|
|
18
18
|
ITablMainInsertdbQuerys,
|
|
19
|
+
ITablMainOnstatusSwitchdbQuerys,
|
|
19
20
|
ITablMainRestorestatusQuerys,
|
|
20
21
|
ITablMainSelectcxQuerys,
|
|
21
22
|
ITablMainSwitchbackupQuerys,
|
|
@@ -294,6 +295,11 @@ class MainRequest {
|
|
|
294
295
|
deleted2(querys: ITablMainDeleted2Querys, params: object) {
|
|
295
296
|
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/gapi/tabl/tmain/deleted2", querys, params);
|
|
296
297
|
}
|
|
298
|
+
|
|
299
|
+
//删除填报记录
|
|
300
|
+
onstatusSwitchdb(querys: ITablMainOnstatusSwitchdbQuerys, params: object) {
|
|
301
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/gapi/tabl/tmain/onstatus/switchdb", querys, params);
|
|
302
|
+
}
|
|
297
303
|
}
|
|
298
304
|
|
|
299
305
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -307,3 +307,13 @@ export interface ITablMainDeleted2Querys {
|
|
|
307
307
|
export class TTablMainDeleted2Querys implements ITablMainDeleted2Querys {
|
|
308
308
|
tablmode: string = "";
|
|
309
309
|
}
|
|
310
|
+
|
|
311
|
+
export interface ITablMainOnstatusSwitchdbQuerys {
|
|
312
|
+
sourceat: number;
|
|
313
|
+
targetto: number;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export class TTablMainOnstatusSwitchdbQuerys implements ITablMainOnstatusSwitchdbQuerys {
|
|
317
|
+
sourceat: number = -1;
|
|
318
|
+
targetto: number = -1;
|
|
319
|
+
}
|