@ningboyz/apis 1.6.141 → 1.6.142
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 +8 -1
- package/packages/core/types.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.142",
|
|
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.142",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/laid.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
+
ICoreLaidCopyfromQuerys,
|
|
4
5
|
ICoreLaidDetaildbQuerys,
|
|
5
6
|
ICoreLaidInsertdbQuerys,
|
|
6
7
|
ICoreLaidQueuesbyQuerys,
|
|
@@ -93,13 +94,19 @@ class LaidRequest {
|
|
|
93
94
|
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/uploadd4", querys, params);
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
|
|
97
97
|
/**
|
|
98
98
|
* 批量保存排序
|
|
99
99
|
* */
|
|
100
100
|
queuesby(querys: ICoreLaidQueuesbyQuerys, params: object) {
|
|
101
101
|
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/queuesby/uploaddb", querys, params);
|
|
102
102
|
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* 复制给其他单位
|
|
106
|
+
* */
|
|
107
|
+
copyfrom(querys: ICoreLaidCopyfromQuerys, params: object) {
|
|
108
|
+
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/copyfrom", querys, params);
|
|
109
|
+
}
|
|
103
110
|
}
|
|
104
111
|
|
|
105
112
|
export default LaidRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -208,6 +208,11 @@ export interface ICoreLaidQueuesbyQuerys {}
|
|
|
208
208
|
|
|
209
209
|
export class TCoreLaidQueuesbyQuerys implements ICoreLaidQueuesbyQuerys {}
|
|
210
210
|
|
|
211
|
+
|
|
212
|
+
export interface ICoreLaidCopyfromQuerys {}
|
|
213
|
+
|
|
214
|
+
export class TCoreLaidCopyfromQuerys implements ICoreLaidCopyfromQuerys {}
|
|
215
|
+
|
|
211
216
|
/** ========== part ========== */
|
|
212
217
|
export interface ICorePartSelectdbQuerys {
|
|
213
218
|
sysclasc: number;
|