@ningboyz/apis 1.4.131 → 1.4.133

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.131",
3
+ "version": "1.4.133",
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.131",
20
+ "@ningboyz/types": "1.4.133",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -16,7 +16,8 @@ import {
16
16
  IMyoaMainSet4cardQuerys,
17
17
  IMyoaMainCheckdbQuerys,
18
18
  IMyoaMainUploadd4Querys,
19
- IMyoaMainUploadd5Querys
19
+ IMyoaMainUploadd5Querys,
20
+ IMyoaMainDel4cardQuerys
20
21
  } from "./types";
21
22
 
22
23
  class ParaRequest {
@@ -201,6 +202,14 @@ class ParaRequest {
201
202
  schedule(querys: IMyoaMainScheduleQuerys, params: object) {
202
203
  return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/schedule", querys, params);
203
204
  }
205
+ /**
206
+ * 删除分配车辆
207
+ * @param querys
208
+ * @returns
209
+ */
210
+ del4card(querys: IMyoaMainDel4cardQuerys) {
211
+ return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/del4card", querys);
212
+ }
204
213
  /**
205
214
  * 设置分配车辆
206
215
  * @param querys
@@ -34,6 +34,14 @@ export class TMyoaMainSelectdb2Querys implements IMyoaMainSelectdb2Querys {
34
34
  useronly: number = -1;
35
35
  }
36
36
 
37
+ export interface IMyoaMainDel4cardQuerys {
38
+ myoamain: number;
39
+ }
40
+
41
+ export class TMyoaMainDel4cardQuerys implements IMyoaMainDel4cardQuerys {
42
+ myoamain: number = -1;
43
+ }
44
+
37
45
  export interface IMyoaFinishedQuerys {
38
46
  myoatype: number;
39
47
  withflow: number;