@ningboyz/apis 1.4.101 → 1.4.103
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 +22 -0
- package/packages/zbzd/types.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.103",
|
|
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.103",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/zbzd/main.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { TZbzd } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IEmptyQuerys } from "../type";
|
|
3
4
|
import {
|
|
4
5
|
IZbzdMainCansplitUploaddbQuerys,
|
|
5
6
|
IZbzdMainDetaildbQuerys,
|
|
6
7
|
IZbzdMainFinishe2Querys,
|
|
7
8
|
IZbzdMainFinishedQuerys,
|
|
9
|
+
IZbzdMainInsertd2Querys,
|
|
8
10
|
IZbzdMainInsertdbQuerys,
|
|
9
11
|
IZbzdMainOriginidUploaddbQuerys,
|
|
10
12
|
IZbzdMainQueuesbyQuerys,
|
|
@@ -157,6 +159,26 @@ class ParaRequest {
|
|
|
157
159
|
finishe2(querys: IZbzdMainFinishe2Querys) {
|
|
158
160
|
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/finishe2", querys);
|
|
159
161
|
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* 新增预算指标
|
|
165
|
+
* @param querys
|
|
166
|
+
* @param params
|
|
167
|
+
* @returns
|
|
168
|
+
*/
|
|
169
|
+
insertd2(querys: IZbzdMainInsertd2Querys, params: object) {
|
|
170
|
+
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/insertd2", querys, params);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* 修改预算指标
|
|
175
|
+
* @param querys
|
|
176
|
+
* @param params
|
|
177
|
+
* @returns
|
|
178
|
+
*/
|
|
179
|
+
updated2(querys: IEmptyQuerys, params: object) {
|
|
180
|
+
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/updated2", querys, params);
|
|
181
|
+
}
|
|
160
182
|
}
|
|
161
183
|
|
|
162
184
|
export default ParaRequest;
|
package/packages/zbzd/types.ts
CHANGED
|
@@ -117,6 +117,13 @@ export class TZbzdMainFinishe2Querys implements IZbzdMainFinishe2Querys {
|
|
|
117
117
|
sourcend: number = -1;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
export interface IZbzdMainInsertd2Querys {
|
|
121
|
+
sourcend: number;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export class TZbzdMainInsertd2Querys implements IZbzdMainInsertd2Querys {
|
|
125
|
+
sourcend: number = -1;
|
|
126
|
+
}
|
|
120
127
|
|
|
121
128
|
/** ========== zbfl ========== */
|
|
122
129
|
export interface IZbzdZbflZbflbmkmQuerys {
|