@ningboyz/apis 1.8.25 → 1.8.27
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/tabl/main.ts +12 -0
- package/packages/tabl/types.ts +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.27",
|
|
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.27",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/tabl/main.ts
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ITablMainBackupstatusQuerys,
|
|
5
5
|
ITablMainChkexist2Querys,
|
|
6
6
|
ITablMainChkexistQuerys,
|
|
7
|
+
ITablMainDeleted2Querys,
|
|
7
8
|
ITablMainDetaild2Querys,
|
|
8
9
|
ITablMainDetaild3Querys,
|
|
9
10
|
ITablMainDetaild5Querys,
|
|
@@ -15,6 +16,7 @@ import {
|
|
|
15
16
|
ITablMainGet5formulaQuerys,
|
|
16
17
|
ITablMainGet5wzk8Querys,
|
|
17
18
|
ITablMainInsertdbQuerys,
|
|
19
|
+
ITablMainOnstatusSwitchdbQuerys,
|
|
18
20
|
ITablMainRestorestatusQuerys,
|
|
19
21
|
ITablMainSelectcxQuerys,
|
|
20
22
|
ITablMainSwitchbackupQuerys,
|
|
@@ -288,6 +290,16 @@ class MainRequest {
|
|
|
288
290
|
withPageGet5wzk8(querys: ITablMainWithPageGet5wzk8Querys, params: object) {
|
|
289
291
|
return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/tabl/tmain/withpage/get5wzk8", querys, params);
|
|
290
292
|
}
|
|
293
|
+
|
|
294
|
+
//删除填报记录
|
|
295
|
+
deleted2(querys: ITablMainDeleted2Querys, params: object) {
|
|
296
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/gapi/tabl/tmain/deleted2", querys, params);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
//删除填报记录
|
|
300
|
+
onstatusSwitchdb(querys: ITablMainOnstatusSwitchdbQuerys, params: object) {
|
|
301
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/gapi/tabl/tmain/onstatus/switchdb", querys, params);
|
|
302
|
+
}
|
|
291
303
|
}
|
|
292
304
|
|
|
293
305
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -299,3 +299,21 @@ export class TTablMainWithPageGet5wzk8Querys implements ITablMainWithPageGet5wzk
|
|
|
299
299
|
pagesize: number = -1;
|
|
300
300
|
wzk8only: number = -1;
|
|
301
301
|
}
|
|
302
|
+
|
|
303
|
+
export interface ITablMainDeleted2Querys {
|
|
304
|
+
tablmode: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export class TTablMainDeleted2Querys implements ITablMainDeleted2Querys {
|
|
308
|
+
tablmode: string = "";
|
|
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
|
+
}
|