@ningboyz/apis 1.6.86 → 1.6.88
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/hznj/type.ts +6 -6
- package/packages/myoa/types.ts +23 -0
- package/packages/myoa/withcard.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.88",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.6.88",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/hznj/type.ts
CHANGED
|
@@ -223,12 +223,9 @@ export class THznjXmjjSelectm2mxQuerys implements IHznjXmjjSelectm2mxQuerys {
|
|
|
223
223
|
xmjjitem: number = -1;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
export interface IHznjXmjjCheckdbQuerys {}
|
|
226
227
|
|
|
227
|
-
export
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
export class THznjXmjjCheckdbQuerys implements IHznjXmjjCheckdbQuerys {
|
|
231
|
-
}
|
|
228
|
+
export class THznjXmjjCheckdbQuerys implements IHznjXmjjCheckdbQuerys {}
|
|
232
229
|
|
|
233
230
|
export interface IHznjXmjjInsertdbQuerys {
|
|
234
231
|
sourcend: number;
|
|
@@ -394,6 +391,8 @@ export interface IHznjNotiSelectdbQuerys {
|
|
|
394
391
|
useronly: number;
|
|
395
392
|
lockmain: number;
|
|
396
393
|
exceptid: number;
|
|
394
|
+
unitmain: number;
|
|
395
|
+
notfinal: number;
|
|
397
396
|
}
|
|
398
397
|
|
|
399
398
|
export class THznjNotiSelectdbQuerys implements IHznjNotiSelectdbQuerys {
|
|
@@ -402,6 +401,8 @@ export class THznjNotiSelectdbQuerys implements IHznjNotiSelectdbQuerys {
|
|
|
402
401
|
useronly: number = -1;
|
|
403
402
|
lockmain: number = -1;
|
|
404
403
|
exceptid: number = -1;
|
|
404
|
+
unitmain: number = -1;
|
|
405
|
+
notfinal: number = -1;
|
|
405
406
|
}
|
|
406
407
|
|
|
407
408
|
export interface IHznjNotiSelectmxQuerys {
|
|
@@ -486,7 +487,6 @@ export class THznjNotiGetTotalQuerys implements IHznjNotiGetTotalQuerys {
|
|
|
486
487
|
nodename: string = "";
|
|
487
488
|
}
|
|
488
489
|
|
|
489
|
-
|
|
490
490
|
export interface IHznjNotiNextNodeQuerys {
|
|
491
491
|
sourcend: number;
|
|
492
492
|
nodename: string;
|
package/packages/myoa/types.ts
CHANGED
|
@@ -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;
|