@ningboyz/apis 1.2.31 → 1.2.32
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/zbhd/main.ts +100 -1
- package/packages/zbhd/types.ts +74 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.32",
|
|
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.2.
|
|
20
|
+
"@ningboyz/types": "1.2.32",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/zbhd/main.ts
CHANGED
|
@@ -16,7 +16,16 @@ import {
|
|
|
16
16
|
IZbhdMainExchangeQuerys,
|
|
17
17
|
IZbhdMainRemovehdQuerys,
|
|
18
18
|
IZbhdMainAsnormalQuerys,
|
|
19
|
-
IZbhdMainAsmodifyQuerys
|
|
19
|
+
IZbhdMainAsmodifyQuerys,
|
|
20
|
+
IZbhdMainListysdwQuerys,
|
|
21
|
+
IZbhdMainListysbmQuerys,
|
|
22
|
+
IZbhdMainListzjxzQuerys,
|
|
23
|
+
IZbhdMainListdictQuerys,
|
|
24
|
+
IZbhdMainHidezbhdQuerys,
|
|
25
|
+
IZbhdMainUsesyzcgQuerys,
|
|
26
|
+
IZbhdMainUsesyzhtQuerys,
|
|
27
|
+
IZbhdMainZbhdctrlQuerys,
|
|
28
|
+
IZbhdMainUsesbbhzQuerys
|
|
20
29
|
} from "./types";
|
|
21
30
|
|
|
22
31
|
class ZbhdRequest {
|
|
@@ -190,6 +199,96 @@ class ZbhdRequest {
|
|
|
190
199
|
asmodify(querys: IZbhdMainAsmodifyQuerys, params: object) {
|
|
191
200
|
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/asmodify`, querys, params);
|
|
192
201
|
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 批量使用单位
|
|
205
|
+
* @param querys
|
|
206
|
+
* @param params
|
|
207
|
+
* @returns
|
|
208
|
+
*/
|
|
209
|
+
listysdw(querys: IZbhdMainListysdwQuerys, params: object) {
|
|
210
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/listysdw/uploaddb`, querys, params);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* 批量使用部门
|
|
215
|
+
* @param querys
|
|
216
|
+
* @param params
|
|
217
|
+
* @returns
|
|
218
|
+
*/
|
|
219
|
+
listysbm(querys: IZbhdMainListysbmQuerys, params: object) {
|
|
220
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/listysbm/uploaddb`, querys, params);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* 批量经费性质
|
|
225
|
+
* @param querys
|
|
226
|
+
* @param params
|
|
227
|
+
* @returns
|
|
228
|
+
*/
|
|
229
|
+
listzjxz(querys: IZbhdMainListzjxzQuerys, params: object) {
|
|
230
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/listzjxz/uploaddb`, querys, params);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* 批量事项类型
|
|
235
|
+
* @param querys
|
|
236
|
+
* @param params
|
|
237
|
+
* @returns
|
|
238
|
+
*/
|
|
239
|
+
listdict(querys: IZbhdMainListdictQuerys, params: object) {
|
|
240
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/listdict/uploaddb`, querys, params);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* 设置/取消隐藏金额
|
|
245
|
+
* @param querys
|
|
246
|
+
* @param params
|
|
247
|
+
* @returns
|
|
248
|
+
*/
|
|
249
|
+
hidezbhd(querys: IZbhdMainHidezbhdQuerys, params: object) {
|
|
250
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/hidezbhd`, querys, params);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 设为/取消采购
|
|
255
|
+
* @param querys
|
|
256
|
+
* @param params
|
|
257
|
+
* @returns
|
|
258
|
+
*/
|
|
259
|
+
usesyzcg(querys: IZbhdMainUsesyzcgQuerys, params: object) {
|
|
260
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/usesyzcg`, querys, params);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* 设为/取消合同
|
|
265
|
+
* @param querys
|
|
266
|
+
* @param params
|
|
267
|
+
* @returns
|
|
268
|
+
*/
|
|
269
|
+
usesyzht(querys: IZbhdMainUsesyzhtQuerys, params: object) {
|
|
270
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/usesyzht`, querys, params);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* 设置模式
|
|
275
|
+
* @param querys
|
|
276
|
+
* @param params
|
|
277
|
+
* @returns
|
|
278
|
+
*/
|
|
279
|
+
zbhdctrl(querys: IZbhdMainZbhdctrlQuerys, params: object) {
|
|
280
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/zbhdctrl`, querys, params);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* 设为/取消汇总
|
|
285
|
+
* @param querys
|
|
286
|
+
* @param params
|
|
287
|
+
* @returns
|
|
288
|
+
*/
|
|
289
|
+
usesbbhz(querys: IZbhdMainUsesbbhzQuerys, params: object) {
|
|
290
|
+
return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/usesbbhz`, querys, params);
|
|
291
|
+
}
|
|
193
292
|
}
|
|
194
293
|
|
|
195
294
|
export default ZbhdRequest;
|
package/packages/zbhd/types.ts
CHANGED
|
@@ -142,11 +142,11 @@ export class TZbhdMainRemovehdQuerys implements IZbhdMainRemovehdQuerys {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
export interface IZbhdMainAsnormalQuerys {
|
|
145
|
-
|
|
145
|
+
asnormal: number;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
export class TZbhdMainAsnormalQuerys implements IZbhdMainAsnormalQuerys {
|
|
149
|
-
|
|
149
|
+
asnormal: number = -1;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
export interface IZbhdMainAsmodifyQuerys {
|
|
@@ -157,6 +157,78 @@ export class TZbhdMainAsmodifyQuerys implements IZbhdMainAsmodifyQuerys {
|
|
|
157
157
|
asmodify: number = -1;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
export interface IZbhdMainListysdwQuerys {
|
|
161
|
+
sourcend: number;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export class TZbhdMainListysdwQuerys implements IZbhdMainListysdwQuerys {
|
|
165
|
+
sourcend: number = -1;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface IZbhdMainListysbmQuerys {
|
|
169
|
+
sourcend: number;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export class TZbhdMainListysbmQuerys implements IZbhdMainListysbmQuerys {
|
|
173
|
+
sourcend: number = -1;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface IZbhdMainListzjxzQuerys {
|
|
177
|
+
sourcend: number;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export class TZbhdMainListzjxzQuerys implements IZbhdMainListzjxzQuerys {
|
|
181
|
+
sourcend: number = -1;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface IZbhdMainListdictQuerys {
|
|
185
|
+
sourcend: number;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export class TZbhdMainListdictQuerys implements IZbhdMainListdictQuerys {
|
|
189
|
+
sourcend: number = -1;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export interface IZbhdMainHidezbhdQuerys {
|
|
193
|
+
hidezbhd: number;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export class TZbhdMainHidezbhdQuerys implements IZbhdMainHidezbhdQuerys {
|
|
197
|
+
hidezbhd: number = -1;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface IZbhdMainUsesyzcgQuerys {
|
|
201
|
+
usesyzcg: number;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export class TZbhdMainUsesyzcgQuerys implements IZbhdMainUsesyzcgQuerys {
|
|
205
|
+
usesyzcg: number = -1;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export interface IZbhdMainUsesyzhtQuerys {
|
|
209
|
+
usesyzht: number;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export class TZbhdMainUsesyzhtQuerys implements IZbhdMainUsesyzhtQuerys {
|
|
213
|
+
usesyzht: number = -1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export interface IZbhdMainZbhdctrlQuerys {
|
|
217
|
+
zbhdctrl: number;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export class TZbhdMainZbhdctrlQuerys implements IZbhdMainZbhdctrlQuerys {
|
|
221
|
+
zbhdctrl: number = -1;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface IZbhdMainUsesbbhzQuerys {
|
|
225
|
+
usesbbhz: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export class TZbhdMainUsesbbhzQuerys implements IZbhdMainUsesbbhzQuerys {
|
|
229
|
+
usesbbhz: number = -1;
|
|
230
|
+
}
|
|
231
|
+
|
|
160
232
|
/** ========== cnfg ========== */
|
|
161
233
|
export interface IZbhdCnfgSelectdbQuerys {
|
|
162
234
|
ysbmmain: number;
|