@ningboyz/apis 1.4.155 → 1.4.156
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 +14 -1
- package/packages/hznj/type.ts +8 -0
- package/packages/vary/types.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.156",
|
|
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.156",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/hznj/main.ts
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
//#检测项目管理
|
|
2
2
|
import { THznj } from "@ningboyz/types";
|
|
3
3
|
import { HttpRequest } from "../axios";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
IHznjMainDeletedbQuerys,
|
|
6
|
+
IHznjMainDetailQuerys,
|
|
7
|
+
IHznjMainFinishedQuerys,
|
|
8
|
+
IHznjMainGenerateQuerys,
|
|
9
|
+
IHznjMainInsertdbQuerys,
|
|
10
|
+
IHznjMainSelectdbQuerys,
|
|
11
|
+
IHznjMainUpdateBaseQuerys,
|
|
12
|
+
IHznjMainUpdatedbQuerys
|
|
13
|
+
} from "./type";
|
|
5
14
|
|
|
6
15
|
class MainRequest {
|
|
7
16
|
private httpRequest: HttpRequest;
|
|
@@ -36,6 +45,10 @@ class MainRequest {
|
|
|
36
45
|
updatebase(querys: IHznjMainUpdateBaseQuerys, params: object) {
|
|
37
46
|
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/updatebase", querys, params);
|
|
38
47
|
}
|
|
48
|
+
|
|
49
|
+
generate(querys: IHznjMainGenerateQuerys, params: object) {
|
|
50
|
+
return this.httpRequest.post<THznj.IHznjMainResponse[]>("/gapi/hznj/tmain/generate", querys, params);
|
|
51
|
+
}
|
|
39
52
|
}
|
|
40
53
|
|
|
41
54
|
export default MainRequest;
|
package/packages/hznj/type.ts
CHANGED
|
@@ -803,6 +803,14 @@ export class THznjMainUpdateBaseQuerys implements IHznjMainUpdateBaseQuerys {
|
|
|
803
803
|
sourcend: number = -1;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
+
export interface IHznjMainGenerateQuerys {
|
|
807
|
+
sourcend: number;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export class THznjMainGenerateQuerys implements IHznjMainGenerateQuerys {
|
|
811
|
+
sourcend: number = -1;
|
|
812
|
+
}
|
|
813
|
+
|
|
806
814
|
export interface IHznjMainInsertdbQuerys {
|
|
807
815
|
sourcend: number;
|
|
808
816
|
}
|
package/packages/vary/types.ts
CHANGED
|
@@ -51,18 +51,22 @@ export class TVaryMainCanceledQuerys implements IVaryMainCanceledQuerys {
|
|
|
51
51
|
|
|
52
52
|
export interface IVaryMainExecuted4MyoaQuerys {
|
|
53
53
|
entityid: string;
|
|
54
|
+
menuuuid: string;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
export class TVaryMainExecuted4MyoaQuerys implements IVaryMainExecuted4MyoaQuerys {
|
|
57
58
|
entityid: string = "";
|
|
59
|
+
menuuuid: string = "";
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
export interface IVaryMainCanceled4MyoaQuerys {
|
|
61
63
|
entityid: string;
|
|
64
|
+
menuuuid: string;
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
export class TVaryMainCanceled4MyoaQuerys implements IVaryMainCanceled4MyoaQuerys {
|
|
65
68
|
entityid: string = "";
|
|
69
|
+
menuuuid: string = "";
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
export interface IVaryMainInsertdbQuerys {
|