@ningboyz/apis 1.4.0 → 1.4.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
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.0",
20
+ "@ningboyz/types": "1.4.2",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -12,7 +12,8 @@ import {
12
12
  IMyoaMainUpdated4Querys,
13
13
  IMyoaMainUsesdzqzUpdatedbQuerys,
14
14
  TMyoaMainDetaildbQuerys,
15
- TMyoaMainMrokdbQuerys
15
+ TMyoaMainMrokdbQuerys,
16
+ IMyoaMainSet4cardQuerys
16
17
  } from "./types";
17
18
 
18
19
  class ParaRequest {
@@ -197,6 +198,15 @@ class ParaRequest {
197
198
  schedule(querys: IMyoaMainScheduleQuerys, params: object) {
198
199
  return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/myoa/tmain/schedule", querys, params);
199
200
  }
201
+ /**
202
+ * 设置分配车辆
203
+ * @param querys
204
+ * @param params
205
+ * @returns
206
+ */
207
+ set4card(querys: IMyoaMainSet4cardQuerys, params: object) {
208
+ return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/set4card", querys, params);
209
+ }
200
210
  }
201
211
 
202
212
  export default ParaRequest;
@@ -212,3 +212,11 @@ export class TMyoaMainUsesdzqzUpdatedbQuerys implements IMyoaMainUsesdzqzUpdated
212
212
  /** 签章状态 */
213
213
  usesdzqz: number = 0;
214
214
  }
215
+ export interface IMyoaMainSet4cardQuerys {
216
+ /** 单据主键 */
217
+ myoamain: number;
218
+ }
219
+ export class TMyoaMainSet4cardQuerys implements IMyoaMainSet4cardQuerys {
220
+ /** 单据主键 */
221
+ myoamain: number = 0;
222
+ }