@ningboyz/apis 1.7.10 → 1.7.12
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/hznj/main.ts +12 -2
- package/packages/hznj/type.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.12",
|
|
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.12",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/hznj/main.ts
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { THznj } from "@ningboyz/types";
|
|
3
3
|
import { HttpRequest } from "../axios";
|
|
4
4
|
import {
|
|
5
|
-
IHznjMainDeletedbQuerys,
|
|
5
|
+
IHznjMainDeletedbQuerys, IHznjMainDetaild2Querys,
|
|
6
6
|
IHznjMainDetailQuerys,
|
|
7
7
|
IHznjMainFinishedQuerys,
|
|
8
8
|
IHznjMainGenerateQuerys,
|
|
9
9
|
IHznjMainHideBillQuerys,
|
|
10
|
-
IHznjMainInsertdbQuerys,
|
|
10
|
+
IHznjMainInsertdbQuerys, IHznjMainReportv1Querys,
|
|
11
11
|
IHznjMainSelectdbQuerys,
|
|
12
12
|
IHznjMainUpdateBaseQuerys,
|
|
13
13
|
IHznjMainUpdatedbQuerys
|
|
@@ -55,6 +55,16 @@ class MainRequest {
|
|
|
55
55
|
hidebill(querys: IHznjMainHideBillQuerys, params: object) {
|
|
56
56
|
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/hidebill", querys, params);
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
// 样品及完成情况统计表
|
|
60
|
+
reportv1(querys: IHznjMainReportv1Querys, params: object) {
|
|
61
|
+
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/reportv1", querys, params);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 获取样品对应主单对应检测项目
|
|
65
|
+
detaild2(querys: IHznjMainDetaild2Querys, params: object) {
|
|
66
|
+
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/detaild2", querys, params);
|
|
67
|
+
}
|
|
58
68
|
}
|
|
59
69
|
|
|
60
70
|
export default MainRequest;
|
package/packages/hznj/type.ts
CHANGED
|
@@ -915,6 +915,22 @@ export class THznjMainHideBillQuerys implements IHznjMainHideBillQuerys {
|
|
|
915
915
|
sourcend: number = -1;
|
|
916
916
|
}
|
|
917
917
|
|
|
918
|
+
export interface IHznjMainReportv1Querys {
|
|
919
|
+
sourcend: number;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
export class THznjMainReportv1Querys implements IHznjMainReportv1Querys {
|
|
923
|
+
sourcend: number = -1;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export interface IHznjMainDetaild2Querys {
|
|
927
|
+
sourcend: number;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export class THznjMainDetaild2Querys implements IHznjMainDetaild2Querys {
|
|
931
|
+
sourcend: number = -1;
|
|
932
|
+
}
|
|
933
|
+
|
|
918
934
|
export interface IHznjMainInsertdbQuerys {
|
|
919
935
|
sourcend: number;
|
|
920
936
|
}
|