@ningboyz/apis 1.4.103 → 1.4.104
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 +12 -1
- package/packages/zbzd/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.104",
|
|
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.104",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/zbzd/main.ts
CHANGED
|
@@ -15,7 +15,8 @@ import {
|
|
|
15
15
|
IZbzdMainUpdatedbQuerys,
|
|
16
16
|
IZbzdMainUploaddbQuerys,
|
|
17
17
|
IZbzdMainUseszbhzUploaddbQuerys,
|
|
18
|
-
IZbzdMainUseszbkzUploaddbQuerys
|
|
18
|
+
IZbzdMainUseszbkzUploaddbQuerys,
|
|
19
|
+
TZbzdMainAuditdbQuerys
|
|
19
20
|
} from "./types";
|
|
20
21
|
|
|
21
22
|
class ParaRequest {
|
|
@@ -179,6 +180,16 @@ class ParaRequest {
|
|
|
179
180
|
updated2(querys: IEmptyQuerys, params: object) {
|
|
180
181
|
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/updated2", querys, params);
|
|
181
182
|
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* 修改预算指标
|
|
186
|
+
* @param querys
|
|
187
|
+
* @param params
|
|
188
|
+
* @returns
|
|
189
|
+
*/
|
|
190
|
+
auditdb(querys: TZbzdMainAuditdbQuerys, params: object) {
|
|
191
|
+
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/auditdb", querys, params);
|
|
192
|
+
}
|
|
182
193
|
}
|
|
183
194
|
|
|
184
195
|
export default ParaRequest;
|
package/packages/zbzd/types.ts
CHANGED
|
@@ -125,6 +125,16 @@ export class TZbzdMainInsertd2Querys implements IZbzdMainInsertd2Querys {
|
|
|
125
125
|
sourcend: number = -1;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
export interface IZbzdMainAuditdbQuerys {
|
|
129
|
+
deptfrom: number;
|
|
130
|
+
deptfromtext: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class TZbzdMainAuditdbQuerys implements IZbzdMainAuditdbQuerys {
|
|
134
|
+
deptfrom: number = -1;
|
|
135
|
+
deptfromtext: string = "";
|
|
136
|
+
}
|
|
137
|
+
|
|
128
138
|
/** ========== zbfl ========== */
|
|
129
139
|
export interface IZbzdZbflZbflbmkmQuerys {
|
|
130
140
|
zbzdmain: number;
|