@ningboyz/apis 1.3.83 → 1.3.85--fixed
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/zbzd/main.ts +10 -1
- package/packages/zbzd/types.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.85--fixed",
|
|
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.85--fixed",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/zbzd/main.ts
CHANGED
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
IZbzdMainOriginidUploaddbQuerys,
|
|
11
11
|
IZbzdMainUseszbhzUploaddbQuerys,
|
|
12
12
|
IZbzdMainCansplitUploaddbQuerys,
|
|
13
|
-
IZbzdMainQueuesbyQuerys
|
|
13
|
+
IZbzdMainQueuesbyQuerys,
|
|
14
|
+
IZbzdMainFinishedQuerys
|
|
14
15
|
} from "./types";
|
|
15
16
|
|
|
16
17
|
class ParaRequest {
|
|
@@ -28,6 +29,14 @@ class ParaRequest {
|
|
|
28
29
|
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/selectdb", querys);
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
/**
|
|
33
|
+
* 获取已办
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
finished(querys: IZbzdMainFinishedQuerys) {
|
|
37
|
+
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/finished", querys);
|
|
38
|
+
}
|
|
39
|
+
|
|
31
40
|
/**
|
|
32
41
|
* 新增预算指标
|
|
33
42
|
* @param querys
|
package/packages/zbzd/types.ts
CHANGED
|
@@ -13,6 +13,14 @@ export class TZbzdMainSelectdbQuerys implements IZbzdMainSelectdbQuerys {
|
|
|
13
13
|
unitmain: number = -1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
export interface IZbzdMainFinishedQuerys {
|
|
17
|
+
sourcend: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export class TZbzdMainFinishedQuerys implements IZbzdMainFinishedQuerys {
|
|
21
|
+
sourcend: number = -1;
|
|
22
|
+
}
|
|
23
|
+
|
|
16
24
|
export interface IZbzdMainInsertdbQuerys {
|
|
17
25
|
sourcend: number;
|
|
18
26
|
}
|