@ningboyz/apis 1.3.24 → 1.3.26
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/hzcb/main.ts +10 -1
- package/packages/hzcb/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.26",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.26",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/hzcb/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { THzcb } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IHzcbMainDetaildbQuerys, IHzcbMainSelectdbQuerys } from "./types";
|
|
3
|
+
import { IHzcbMainDetaildbQuerys, IHzcbMainFinisheddbQuerys, IHzcbMainSelectdbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -61,6 +61,15 @@ class MainRequest {
|
|
|
61
61
|
set4path(params: object) {
|
|
62
62
|
return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/set4path", undefined, params);
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 获取投资项目
|
|
67
|
+
* @param params
|
|
68
|
+
* @returns
|
|
69
|
+
*/
|
|
70
|
+
finished(querys: IHzcbMainFinisheddbQuerys, params: object) {
|
|
71
|
+
return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/finished", querys, params);
|
|
72
|
+
}
|
|
64
73
|
}
|
|
65
74
|
|
|
66
75
|
export default MainRequest;
|
package/packages/hzcb/types.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface IHzcbMainSelectdbQuerys {
|
|
|
5
5
|
sourcend: number;
|
|
6
6
|
useronly: number;
|
|
7
7
|
viewonly: number;
|
|
8
|
+
datatype: number;
|
|
8
9
|
}
|
|
9
10
|
export class THzcbMainSelectdbQuerys implements IHzcbMainSelectdbQuerys {
|
|
10
11
|
unitmain: number = -1;
|
|
@@ -12,6 +13,7 @@ export class THzcbMainSelectdbQuerys implements IHzcbMainSelectdbQuerys {
|
|
|
12
13
|
sourcend: number = -1;
|
|
13
14
|
useronly: number = -1;
|
|
14
15
|
viewonly: number = -1;
|
|
16
|
+
datatype: number = -1;
|
|
15
17
|
}
|
|
16
18
|
export interface IHzcbMainDetaildbQuerys {
|
|
17
19
|
hzcbmain: number;
|
|
@@ -19,6 +21,14 @@ export interface IHzcbMainDetaildbQuerys {
|
|
|
19
21
|
export class THzcbMainDetaildbQuerys implements IHzcbMainDetaildbQuerys {
|
|
20
22
|
hzcbmain: number = -1;
|
|
21
23
|
}
|
|
24
|
+
export interface IHzcbMainFinisheddbQuerys {
|
|
25
|
+
sourcend: number;
|
|
26
|
+
datatype: number;
|
|
27
|
+
}
|
|
28
|
+
export class THzcbMainFinisheddbQuerys implements IHzcbMainFinisheddbQuerys {
|
|
29
|
+
datatype: number = -1;
|
|
30
|
+
sourcend: number = -1;
|
|
31
|
+
}
|
|
22
32
|
|
|
23
33
|
/** ========== xmtz ========== */
|
|
24
34
|
export interface IHzcbXmtzSelectdbQuerys {
|