@ningboyz/apis 1.7.135 → 1.7.136
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 +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.136",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.136",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/tabl/main.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TGzjg, TTabl } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
+
ITablMainBackupstatusQuerys,
|
|
4
5
|
ITablMainChkexist2Querys,
|
|
5
6
|
ITablMainChkexistQuerys,
|
|
6
7
|
ITablMainDetaild2Querys,
|
|
@@ -14,6 +15,7 @@ import {
|
|
|
14
15
|
ITablMainGet5formulaQuerys,
|
|
15
16
|
ITablMainGet5wzk8Querys,
|
|
16
17
|
ITablMainInsertdbQuerys,
|
|
18
|
+
ITablMainRestorestatusQuerys,
|
|
17
19
|
ITablMainSelectcxQuerys,
|
|
18
20
|
ITablMainTablstatUpdatedbQuerys,
|
|
19
21
|
ITablMainUpdatedbCommitQuerys,
|
|
@@ -234,6 +236,16 @@ class MainRequest {
|
|
|
234
236
|
get3formula(querys: ITablMainGet3formulaQuerys, params: object) {
|
|
235
237
|
return this.httpRequest.post<TGzjg.TGzjgQzgsResponse[]>("/tabl/tmain/get3formula", querys, params);
|
|
236
238
|
}
|
|
239
|
+
|
|
240
|
+
/**备份状态 */
|
|
241
|
+
backupstatus(querys: ITablMainBackupstatusQuerys, params: object) {
|
|
242
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/backup", querys, params);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**还原状态 */
|
|
246
|
+
restorestatus(querys: ITablMainRestorestatusQuerys, params: object) {
|
|
247
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/return", querys, params);
|
|
248
|
+
}
|
|
237
249
|
}
|
|
238
250
|
|
|
239
251
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -224,3 +224,11 @@ export interface ITablMainGet3formulaQuerys {
|
|
|
224
224
|
export class TTablMainGet3formulaQuerys implements ITablMainGet3formulaQuerys {
|
|
225
225
|
sourcend: number = -1;
|
|
226
226
|
}
|
|
227
|
+
|
|
228
|
+
export interface ITablMainBackupstatusQuerys {}
|
|
229
|
+
|
|
230
|
+
export class TTablMainBackupstatusQuerys implements ITablMainBackupstatusQuerys {}
|
|
231
|
+
|
|
232
|
+
export interface ITablMainRestorestatusQuerys {}
|
|
233
|
+
|
|
234
|
+
export class TTablMainRestorestatusQuerys implements ITablMainRestorestatusQuerys {}
|