@ningboyz/apis 1.3.19 → 1.3.20
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/core/sysmenu.ts +3 -3
- package/packages/hznk/fydw.ts +8 -0
- package/packages/hznk/type.ts +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.20",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.20",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/sysmenu.ts
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
ICoreSysmenuWithCoreDetaildbQuerys,
|
|
6
6
|
ICoreSysmenuWithCoreInsertdbQuerys,
|
|
7
7
|
ICoreSysmenuWithExpdDetaildbQuerys,
|
|
8
|
-
ICoreSysmenuWithExpdSelectdbQuerys
|
|
9
|
-
TCoreBillcodeSelectdbInsertdbQuerys
|
|
8
|
+
ICoreSysmenuWithExpdSelectdbQuerys
|
|
10
9
|
} from "./types";
|
|
10
|
+
import type { TFlow } from "@ningboyz/types";
|
|
11
11
|
|
|
12
12
|
class SysmenuRequest {
|
|
13
13
|
private httpRequest: HttpRequest;
|
|
@@ -130,7 +130,7 @@ class SysmenuRequest {
|
|
|
130
130
|
* @returns
|
|
131
131
|
*/
|
|
132
132
|
billcodeSelectdb(querys: ICoreBillcodeSelectdbInsertdbQuerys) {
|
|
133
|
-
return this.httpRequest.post<
|
|
133
|
+
return this.httpRequest.post<TFlow.TFlowDataResponse[]>("/core/tsysmenu/billcode/selectdb", querys);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
package/packages/hznk/fydw.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { THznk } from "@ningboyz/types";
|
|
2
2
|
import { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
+
IHznkFydwcalcwbdwQuerys,
|
|
4
5
|
IHznkFydwDeletedbQuerys,
|
|
5
6
|
IHznkFydwDetailQuerys,
|
|
6
7
|
IHznkFydwFinishedQuerys,
|
|
@@ -48,6 +49,13 @@ class FydwRequest {
|
|
|
48
49
|
selectd2(querys: IHznkFydwSelect2Querys) {
|
|
49
50
|
return this.httpRequest.post<THznk.IHznkFydwBillResponse[]>("/gapi/hznk/tfydw/selectd2", querys, undefined);
|
|
50
51
|
}
|
|
52
|
+
|
|
53
|
+
// 校验外拨经费
|
|
54
|
+
calcwbdw(querys: IHznkFydwcalcwbdwQuerys) {
|
|
55
|
+
return this.httpRequest.post<THznk.IHznkFydwWbdwResponse[]>("/gapi/hznk/tfydw/calcwbdw", querys, undefined);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
export default FydwRequest;
|
package/packages/hznk/type.ts
CHANGED
|
@@ -508,3 +508,20 @@ export interface IHznkFytqDeletedbQuerys {
|
|
|
508
508
|
export class THznkFytqDeletedbQuerys implements IHznkFytqDeletedbQuerys {
|
|
509
509
|
sourcend: number = -1;
|
|
510
510
|
}
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
export interface IHznkFydwcalcwbdwQuerys {
|
|
514
|
+
sourcend: number;
|
|
515
|
+
hznkindx: number;
|
|
516
|
+
whobuild: number;
|
|
517
|
+
userindx: number;
|
|
518
|
+
fydwindx: number;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export class THznkFydwcalcwbdwQuerys implements IHznkFydwcalcwbdwQuerys {
|
|
522
|
+
sourcend: number = -1;
|
|
523
|
+
hznkindx: number = -1;
|
|
524
|
+
whobuild: number = -1;
|
|
525
|
+
userindx: number = -1;
|
|
526
|
+
fydwindx: number = -1;
|
|
527
|
+
}
|