@ningboyz/apis 1.4.15 → 1.4.17
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/japz/k7km.ts +4 -0
- package/packages/japz/k8km.ts +5 -1
- package/packages/japz/types.ts +23 -0
- package/packages/myoa/main.ts +7 -1
- package/packages/myoa/types.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.17",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.17",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/japz/k7km.ts
CHANGED
|
@@ -31,6 +31,10 @@ class K7kmRequest {
|
|
|
31
31
|
uploaddb(querys: IJapzK7kmUploaddbQuerys, params: object) {
|
|
32
32
|
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/uploaddb", querys, params);
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
uploadd2(querys: IJapzK7kmUploadd2Querys, params: object) {
|
|
36
|
+
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/uploaditem", querys, params);
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
export default K7kmRequest;
|
package/packages/japz/k8km.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzK8kmDeletedbQuerys, IJapzK8kmDetailQuerys, IJapzK8kmInsertdbQuerys, IJapzK8kmSelectdbQuerys, IJapzK8kmUpdatedbQuerys } from "./types";
|
|
2
|
+
import { IJapzK8kmDeletedbQuerys, IJapzK8kmDetailQuerys, IJapzK8kmInsertdbQuerys, IJapzK8kmSelectdbQuerys, IJapzK8kmUpdatedbQuerys, IJapzK8kmUploaddbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class K8kmRequest {
|
|
@@ -27,6 +27,10 @@ class K8kmRequest {
|
|
|
27
27
|
deletedb(querys: IJapzK8kmDeletedbQuerys, params: object) {
|
|
28
28
|
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
|
+
|
|
31
|
+
uploaddb(querys: IJapzK8kmUploaddbQuerys, params: object) {
|
|
32
|
+
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/uploaddb", querys, params);
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
export default K8kmRequest;
|
package/packages/japz/types.ts
CHANGED
|
@@ -145,11 +145,14 @@ export class TJapzItemUploadk9Querys implements IJapzItemUploadk9Querys {
|
|
|
145
145
|
export interface IJapzItemUploadk9kmQuerys {
|
|
146
146
|
sourcend: number;
|
|
147
147
|
sourceid: number;
|
|
148
|
+
/**是否将范围覆盖到所有底级项目的检测依据上 1是 0否 */
|
|
149
|
+
copyk9km: number;
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
export class TJapzItemUploadk9kmQuerys implements IJapzItemUploadk9kmQuerys {
|
|
151
153
|
sourcend: number = -1;
|
|
152
154
|
sourceid: number = -1;
|
|
155
|
+
copyk9km: number = -1;
|
|
153
156
|
}
|
|
154
157
|
|
|
155
158
|
//#K0km
|
|
@@ -268,6 +271,16 @@ export class TJapzK7kmUploaddbQuerys implements IJapzK7kmUploaddbQuerys {
|
|
|
268
271
|
sourceid: number = -1;
|
|
269
272
|
}
|
|
270
273
|
|
|
274
|
+
export interface IJapzK7kmUploadd2Querys {
|
|
275
|
+
sourcend: number;
|
|
276
|
+
sourceid: number;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export class TJapzK7kmUploadd2Querys implements IJapzK7kmUploadd2Querys {
|
|
280
|
+
sourcend: number = -1;
|
|
281
|
+
sourceid: number = -1;
|
|
282
|
+
}
|
|
283
|
+
|
|
271
284
|
export interface IJapzK7kmDeletedbQuerys {
|
|
272
285
|
sourcend: number;
|
|
273
286
|
sourceid: number;
|
|
@@ -333,6 +346,16 @@ export class TJapzK8kmDeletedbQuerys implements IJapzK8kmDeletedbQuerys {
|
|
|
333
346
|
sourceid: number = -1;
|
|
334
347
|
}
|
|
335
348
|
|
|
349
|
+
export interface IJapzK8kmUploaddbQuerys {
|
|
350
|
+
sourcend: number;
|
|
351
|
+
sourceid: number;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export class TJapzK8kmUploaddbQuerys implements IJapzK8kmUploaddbQuerys {
|
|
355
|
+
sourcend: number = -1;
|
|
356
|
+
sourceid: number = -1;
|
|
357
|
+
}
|
|
358
|
+
|
|
336
359
|
//#K9km
|
|
337
360
|
export interface IJapzK9kmSelectdbQuerys {
|
|
338
361
|
sourcend: number;
|
package/packages/myoa/main.ts
CHANGED
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
IMyoaMainUsesdzqzUpdatedbQuerys,
|
|
14
14
|
TMyoaMainDetaildbQuerys,
|
|
15
15
|
TMyoaMainMrokdbQuerys,
|
|
16
|
-
IMyoaMainSet4cardQuerys
|
|
16
|
+
IMyoaMainSet4cardQuerys,
|
|
17
|
+
IMyoaMainCheckdbQuerys
|
|
17
18
|
} from "./types";
|
|
18
19
|
|
|
19
20
|
class ParaRequest {
|
|
@@ -207,6 +208,11 @@ class ParaRequest {
|
|
|
207
208
|
set4card(querys: IMyoaMainSet4cardQuerys, params: object) {
|
|
208
209
|
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/set4card", querys, params);
|
|
209
210
|
}
|
|
211
|
+
|
|
212
|
+
/**查询单据是否和CARD_DATA_MYOA绑定 */
|
|
213
|
+
checkdb(querys: IMyoaMainCheckdbQuerys, params: object) {
|
|
214
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/checkdb", querys, params);
|
|
215
|
+
}
|
|
210
216
|
}
|
|
211
217
|
|
|
212
218
|
export default ParaRequest;
|
package/packages/myoa/types.ts
CHANGED