@ningboyz/apis 1.6.30 → 1.6.32
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/core/laid.ts +17 -1
- package/packages/core/types.ts +6 -0
- package/packages/tabl/main.ts +6 -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.6.
|
|
3
|
+
"version": "1.6.32",
|
|
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.32",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/laid.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
ICoreLaidDetaildbQuerys,
|
|
5
|
+
ICoreLaidInsertdbQuerys,
|
|
6
|
+
ICoreLaidQueuesbyQuerys,
|
|
7
|
+
ICoreLaidSelectdbQuerys,
|
|
8
|
+
ICoreLaidUpdatedbQuerys,
|
|
9
|
+
ICoreLaidUploadd3Querys,
|
|
10
|
+
ICoreLaidUploadd4Querys
|
|
11
|
+
} from "./types";
|
|
4
12
|
|
|
5
13
|
class LaidRequest {
|
|
6
14
|
private httpRequest: HttpRequest;
|
|
@@ -84,6 +92,14 @@ class LaidRequest {
|
|
|
84
92
|
uploadd4(querys: ICoreLaidUploadd4Querys, params: object) {
|
|
85
93
|
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/uploadd4", querys, params);
|
|
86
94
|
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 批量保存排序
|
|
99
|
+
* */
|
|
100
|
+
queuesby(querys: ICoreLaidQueuesbyQuerys, params: object) {
|
|
101
|
+
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/queuesby/uploaddb", querys, params);
|
|
102
|
+
}
|
|
87
103
|
}
|
|
88
104
|
|
|
89
105
|
export default LaidRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -200,6 +200,12 @@ export class TCoreLaidUploadd4Querys implements ICoreLaidUploadd4Querys {
|
|
|
200
200
|
sysclasc: number = -1;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
export interface ICoreLaidQueuesbyQuerys {
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export class TCoreLaidQueuesbyQuerys implements ICoreLaidQueuesbyQuerys {
|
|
207
|
+
}
|
|
208
|
+
|
|
203
209
|
/** ========== part ========== */
|
|
204
210
|
export interface ICorePartSelectdbQuerys {
|
|
205
211
|
sysclasc: number;
|
package/packages/tabl/main.ts
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
ITablMainFinishcxQuerys,
|
|
11
11
|
ITablMainGet4dataQuerys,
|
|
12
12
|
ITablMainGet5formulaQuerys,
|
|
13
|
+
ITablMainGet5wzk8Querys,
|
|
13
14
|
ITablMainInsertdbQuerys,
|
|
14
15
|
ITablMainSelectcxQuerys,
|
|
15
16
|
ITablMainTablstatUpdatedbQuerys,
|
|
@@ -185,6 +186,11 @@ class MainRequest {
|
|
|
185
186
|
tablstatUpdatedb(querys: ITablMainTablstatUpdatedbQuerys, params: object) {
|
|
186
187
|
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/tablstat/updatedb", querys, params);
|
|
187
188
|
}
|
|
189
|
+
|
|
190
|
+
//获取当前计划的表单
|
|
191
|
+
get5wzk8(querys: ITablMainGet5wzk8Querys, params: object) {
|
|
192
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/get5wzk8", querys, params);
|
|
193
|
+
}
|
|
188
194
|
}
|
|
189
195
|
|
|
190
196
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -190,3 +190,11 @@ export class TTablMainTablstatUpdatedbQuerys implements ITablMainTablstatUpdated
|
|
|
190
190
|
tablmode: number = -1;
|
|
191
191
|
tablstat: number = -1;
|
|
192
192
|
}
|
|
193
|
+
|
|
194
|
+
export interface ITablMainGet5wzk8Querys {
|
|
195
|
+
gztbmain: number;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export class TTablMainGet5wzk8Querys implements ITablMainGet5wzk8Querys {
|
|
199
|
+
gztbmain: number = -1;
|
|
200
|
+
}
|