@ningboyz/apis 1.2.160 → 1.2.161
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/yzht/main.ts +8 -4
- package/packages/yzht/types.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.161",
|
|
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.2.
|
|
20
|
+
"@ningboyz/types": "1.2.161",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/yzht/main.ts
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
IYzhtMainDeletedbQuerys,
|
|
8
8
|
IYzhtMainDetaildbQuerys,
|
|
9
9
|
IYzhtMainExecutedQuerys,
|
|
10
|
+
IYzhtMainFinishedQuerys,
|
|
10
11
|
IYzhtMainSelectd9Querys,
|
|
11
12
|
IYzhtMainSelectdbQuerys
|
|
12
13
|
} from "./types";
|
|
@@ -75,15 +76,17 @@ class YzhtRequest {
|
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
78
|
* 获取合同已办
|
|
79
|
+
* @param params
|
|
78
80
|
* @returns
|
|
79
81
|
*/
|
|
80
|
-
finished() {
|
|
81
|
-
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/finished");
|
|
82
|
+
finished(querys: IYzhtMainFinishedQuerys, params: object) {
|
|
83
|
+
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/finished", querys, params);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
/**
|
|
85
87
|
* 获取合同付款计划
|
|
86
88
|
* @param querys
|
|
89
|
+
* @param params
|
|
87
90
|
* @returns
|
|
88
91
|
*/
|
|
89
92
|
get4bill(querys: IYzhtBillGet4BillQuerys, params: object) {
|
|
@@ -120,10 +123,11 @@ class YzhtRequest {
|
|
|
120
123
|
/**
|
|
121
124
|
* 获取合同订立列表-附件
|
|
122
125
|
* @param querys
|
|
126
|
+
* @param params
|
|
123
127
|
* @returns
|
|
124
128
|
*/
|
|
125
|
-
selectd9(querys: IYzhtMainSelectd9Querys) {
|
|
126
|
-
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/selectd9", querys);
|
|
129
|
+
selectd9(querys: IYzhtMainSelectd9Querys, params: object) {
|
|
130
|
+
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/selectd9", querys, params);
|
|
127
131
|
}
|
|
128
132
|
|
|
129
133
|
/**
|
package/packages/yzht/types.ts
CHANGED
|
@@ -43,6 +43,14 @@ export class TYzhtMainDetaildbQuerys implements IYzhtMainDetaildbQuerys {
|
|
|
43
43
|
yzhtmain: number = -1;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
export interface IYzhtMainFinishedQuerys {
|
|
47
|
+
sourcend: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export class TYzhtMainFinishedQuerys implements IYzhtMainFinishedQuerys {
|
|
51
|
+
sourcend: number = -1;
|
|
52
|
+
}
|
|
53
|
+
|
|
46
54
|
export interface IYzhtBillGet4BillQuerys {
|
|
47
55
|
sourcend: number;
|
|
48
56
|
yzhtmain: number;
|