@ningboyz/apis 1.1.199 → 1.2.0

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.1.199",
3
+ "version": "1.2.0",
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.1.199",
20
+ "@ningboyz/types": "1.2.0",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -1,6 +1,6 @@
1
1
  import { TYzht } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IYzhtMainDeletedbQuerys, IYzhtMainDetaildbQuerys, IYzhtMainSelectdbQuerys } from "./types";
3
+ import { IYzhtBillGet4BillQuerys, IYzhtMainDeletedbQuerys, IYzhtMainDetaildbQuerys, IYzhtMainSelectdbQuerys } from "./types";
4
4
 
5
5
 
6
6
  class YzhtRequest {
@@ -54,9 +54,17 @@ class YzhtRequest {
54
54
  * @returns
55
55
  */
56
56
  detaildb(querys: IYzhtMainDetaildbQuerys) {
57
- return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/detaildb", querys, undefined);
57
+ return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/detaildb", querys);
58
58
  }
59
59
 
60
+ /**
61
+ * 获取合同付款计划
62
+ * @param querys
63
+ * @returns
64
+ */
65
+ get4bill(querys: IYzhtBillGet4BillQuerys) {
66
+ return this.httpRequest.post<TYzht.IYzhtBillResponse[]>("/gapi/yzht/tmain/get4bill", querys);
67
+ }
60
68
  }
61
69
 
62
70
  export default YzhtRequest;
@@ -13,7 +13,7 @@ export interface IYzhtMainSelectdbQuerys {
13
13
  }
14
14
 
15
15
  export class TYzhtMainSelectdbQuerys implements IYzhtMainSelectdbQuerys {
16
- userindx: number = 0
16
+ userindx: number = 0;
17
17
  datahide: number = -1;
18
18
  withflow: number = -1;
19
19
  directat: number = -1;
@@ -24,15 +24,31 @@ export class TYzhtMainSelectdbQuerys implements IYzhtMainSelectdbQuerys {
24
24
  lockmyoa: number = -1;
25
25
  viewonly: number = -1;
26
26
  }
27
+
27
28
  export interface IYzhtMainDeletedbQuerys {
28
29
  datahide: number; //1:表示作废;
29
30
  }
31
+
30
32
  export class TYzhtMainDeletedbQuerys implements IYzhtMainDeletedbQuerys {
31
33
  datahide: number = -1;
32
34
  }
35
+
33
36
  export interface IYzhtMainDetaildbQuerys {
34
37
  yzhtmain: number;
35
38
  }
39
+
36
40
  export class TYzhtMainDetaildbQuerys implements IYzhtMainDetaildbQuerys {
37
41
  yzhtmain: number = -1;
38
42
  }
43
+
44
+ export interface IYzhtBillGet4BillQuerys {
45
+ sourcend: number;
46
+ yzhtmain: number;
47
+ hzcbmain: number;
48
+ }
49
+
50
+ export class TYzhtBillGet4BillQuerys implements IYzhtBillGet4BillQuerys {
51
+ sourcend: number = -1;
52
+ yzhtmain: number = -1;
53
+ hzcbmain: number = -1;
54
+ }