@ningboyz/apis 1.6.86 → 1.6.87

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.6.86",
3
+ "version": "1.6.87",
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.6.86",
20
+ "@ningboyz/types": "1.6.87",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -241,6 +241,29 @@ export class TMyoaMainChkinsertQuerys implements IMyoaMainChkinsertQuerys {
241
241
  cardkjqj: number = -1;
242
242
  }
243
243
 
244
+ export interface IMyoaMainGetzydjQuerys {
245
+ myoatype: number;
246
+ /** 人数 */
247
+ usersize: number;
248
+ /** 总车辆数 人数大于6时传23座车总数 小于等于6时传其他车辆总数 */
249
+ carsize: number;
250
+ /** 开始时间 */
251
+ startout: number;
252
+ /** 结束时间 */
253
+ endedout: number;
254
+ /** 部门负责人节点ID */
255
+ flownode: number;
256
+ }
257
+
258
+ export class TMyoaMainGetzydjQuerys implements IMyoaMainGetzydjQuerys {
259
+ myoatype: number = -1;
260
+ usersize: number = -1;
261
+ carsize: number = -1;
262
+ startout: number = -1;
263
+ endedout: number = -1;
264
+ flownode: number = -1;
265
+ }
266
+
244
267
  export interface IMyoaMainSet4pathQuerys {
245
268
  /** 单据主键 */
246
269
  myoamain: number;
@@ -3,6 +3,7 @@ import type { HttpRequest } from "../axios";
3
3
  import { IEmptyQuerys, IParams } from "../type";
4
4
  import {
5
5
  IMyoaMainDetail2dbQuerys,
6
+ IMyoaMainGetzydjQuerys,
6
7
  IMyoaMainInsertdb2Querys,
7
8
  IMyoaMainMrokdbQuerys,
8
9
  IMyoaMainUpdated4Querys,
@@ -146,6 +147,17 @@ class WithCardRequest {
146
147
  chkinsert(querys: TMyoaMainChkinsertQuerys, params: IParams<TMyoa.IMyoaMainResponse>) {
147
148
  return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/withcard/chkinsert", querys, params);
148
149
  }
150
+
151
+
152
+ /**
153
+ * 判断用车申请是否可以审核
154
+ * @param querys
155
+ * @param params
156
+ * @returns
157
+ */
158
+ getzydj(querys: IMyoaMainGetzydjQuerys, params: object) {
159
+ return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/getzydj", querys, params);
160
+ }
149
161
  }
150
162
 
151
163
  export default WithCardRequest;