@ningboyz/apis 1.2.111 → 1.2.113

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.2.111",
3
+ "version": "1.2.113",
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.111",
20
+ "@ningboyz/types": "1.2.113",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -10,6 +10,8 @@ class CnfgRequest {
10
10
 
11
11
  /**
12
12
  * 新增票据配置
13
+ * @param querys
14
+ * @param params
13
15
  * @returns
14
16
  */
15
17
  insertdb(querys: IBillCnfgInsertdbQuerys, params: object) {
@@ -18,6 +20,8 @@ class CnfgRequest {
18
20
 
19
21
  /**
20
22
  * 票据配置详情
23
+ * @param querys
24
+ * @param params
21
25
  * @returns
22
26
  */
23
27
  detaildb(querys: IBillCnfgDetaildbQuerys, params: object) {
@@ -26,6 +30,8 @@ class CnfgRequest {
26
30
 
27
31
  /**
28
32
  * 修改票据配置
33
+ * @param querys
34
+ * @param params
29
35
  * @returns
30
36
  */
31
37
  updatedb(querys: IBillCnfgUpdatedbQuerys, params: object) {
@@ -34,6 +40,8 @@ class CnfgRequest {
34
40
 
35
41
  /**
36
42
  * 删除票据配置
43
+ * @param querys
44
+ * @param params
37
45
  * @returns
38
46
  */
39
47
  deletedb(querys: IBillCnfgDeletedbQuerys, params: object) {
@@ -42,6 +50,8 @@ class CnfgRequest {
42
50
 
43
51
  /**
44
52
  * 查询票据配置
53
+ * @param querys
54
+ * @param params
45
55
  * @returns
46
56
  */
47
57
  selectdb(querys: IBillCnfgSelectdbQuerys, params: object) {
@@ -10,6 +10,8 @@ class MainRequest {
10
10
 
11
11
  /**
12
12
  * 新增票据
13
+ * @param querys
14
+ * @param params
13
15
  * @returns
14
16
  */
15
17
  insertdb(querys: IBillMainInsertdbQuerys, params: object) {
@@ -18,6 +20,8 @@ class MainRequest {
18
20
 
19
21
  /**
20
22
  * 票据详情
23
+ * @param querys
24
+ * @param params
21
25
  * @returns
22
26
  */
23
27
  detaildb(querys: IBillMainDetaildbQuerys, params: object) {
@@ -26,6 +30,8 @@ class MainRequest {
26
30
 
27
31
  /**
28
32
  * 修改票据
33
+ * @param querys
34
+ * @param params
29
35
  * @returns
30
36
  */
31
37
  updatedb(querys: IBillMainUpdatedbQuerys, params: object) {
@@ -34,6 +40,8 @@ class MainRequest {
34
40
 
35
41
  /**
36
42
  * 删除票据
43
+ * @param querys
44
+ * @param params
37
45
  * @returns
38
46
  */
39
47
  deletedb(querys: IBillMainDeletedbQuerys, params: object) {
@@ -42,11 +50,29 @@ class MainRequest {
42
50
 
43
51
  /**
44
52
  * 查询票据
53
+ * @param querys
54
+ * @param params
45
55
  * @returns
46
56
  */
47
57
  selectdb(querys: IBillMainSelectdbQuerys, params: object) {
48
58
  return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectdb", querys, params);
49
59
  }
60
+
61
+ /**
62
+ * 获取变动待办
63
+ * @returns
64
+ */
65
+ todolist() {
66
+ return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/todolist");
67
+ }
68
+
69
+ /**
70
+ * 获取变动已办
71
+ * @returns
72
+ */
73
+ finished() {
74
+ return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/finished");
75
+ }
50
76
  }
51
77
 
52
78
  export default MainRequest;
@@ -1,8 +1,8 @@
1
- export interface IBillMainInsertdbQuerys {}
2
- export class TBillMainInsertdbQuerys implements IBillMainInsertdbQuerys {}
1
+ export interface IBillMainInsertdbQuerys { }
2
+ export class TBillMainInsertdbQuerys implements IBillMainInsertdbQuerys { }
3
3
 
4
- export interface IBillMainUpdatedbQuerys {}
5
- export class TBillMainUpdatedbQuerys implements IBillMainUpdatedbQuerys {}
4
+ export interface IBillMainUpdatedbQuerys { }
5
+ export class TBillMainUpdatedbQuerys implements IBillMainUpdatedbQuerys { }
6
6
 
7
7
  export interface IBillMainDetaildbQuerys {
8
8
  billmain: number;
@@ -11,21 +11,27 @@ export class TBillMainDetaildbQuerys implements IBillMainDetaildbQuerys {
11
11
  billmain: number = -1;
12
12
  }
13
13
 
14
- export interface IBillMainDeletedbQuerys {}
15
- export class TBillMainDeletedbQuerys implements IBillMainDeletedbQuerys {}
14
+ export interface IBillMainDeletedbQuerys { }
15
+ export class TBillMainDeletedbQuerys implements IBillMainDeletedbQuerys { }
16
16
 
17
17
  export interface IBillMainSelectdbQuerys {
18
+ sourcend: number;
18
19
  withflow: number;
20
+ viewonly: number;
21
+ useronly: number;
19
22
  }
20
23
  export class TBillMainSelectdbQuerys implements IBillMainSelectdbQuerys {
24
+ sourcend: number = -1;
21
25
  withflow: number = -1;
26
+ viewonly: number = -1;
27
+ useronly: number = -1;
22
28
  }
23
29
 
24
- export interface IBillCnfgInsertdbQuerys {}
25
- export class TBillCnfgInsertdbQuerys implements IBillCnfgInsertdbQuerys {}
30
+ export interface IBillCnfgInsertdbQuerys { }
31
+ export class TBillCnfgInsertdbQuerys implements IBillCnfgInsertdbQuerys { }
26
32
 
27
- export interface IBillCnfgUpdatedbQuerys {}
28
- export class TBillCnfgUpdatedbQuerys implements IBillCnfgUpdatedbQuerys {}
33
+ export interface IBillCnfgUpdatedbQuerys { }
34
+ export class TBillCnfgUpdatedbQuerys implements IBillCnfgUpdatedbQuerys { }
29
35
 
30
36
  export interface IBillCnfgDetaildbQuerys {
31
37
  billIndx: number;
@@ -34,13 +40,12 @@ export class TBillCnfgDetaildbQuerys implements IBillCnfgDetaildbQuerys {
34
40
  billIndx: number = -1;
35
41
  }
36
42
 
37
- export interface IBillCnfgDeletedbQuerys {}
38
- export class TBillCnfgDeletedbQuerys implements IBillCnfgDeletedbQuerys {}
43
+ export interface IBillCnfgDeletedbQuerys { }
44
+ export class TBillCnfgDeletedbQuerys implements IBillCnfgDeletedbQuerys { }
39
45
 
40
46
  export interface IBillCnfgSelectdbQuerys {}
41
47
  export class TBillCnfgSelectdbQuerys implements IBillCnfgSelectdbQuerys {}
42
48
 
43
49
 
44
50
  export interface IBillCnfgSelectd2Querys{}
45
-
46
- export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys{}
51
+ export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys{}
@@ -64,6 +64,14 @@ class YzhtRequest {
64
64
  return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/detaildb", querys);
65
65
  }
66
66
 
67
+ /**
68
+ * 获取合同已办
69
+ * @returns
70
+ */
71
+ finished() {
72
+ return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/finished");
73
+ }
74
+
67
75
  /**
68
76
  * 获取合同付款计划
69
77
  * @param querys
package/pnpm-lock.yaml ADDED
@@ -0,0 +1,225 @@
1
+ lockfileVersion: '9.0'
2
+
3
+ settings:
4
+ autoInstallPeers: true
5
+ excludeLinksFromLockfile: false
6
+
7
+ importers:
8
+
9
+ .:
10
+ dependencies:
11
+ '@ningboyz/types':
12
+ specifier: 1.2.101
13
+ version: 1.2.101
14
+ axios:
15
+ specifier: 1.8.4
16
+ version: 1.8.4
17
+
18
+ packages:
19
+
20
+ '@aximario/json-tree@2.2.4':
21
+ resolution: {integrity: sha512-XGMJ+zuVQ0CRizo1d3ZTUKEvrTqKYbm2a00T6DnRFR36mzV6mexLUKRIk6repj3JKgLrj3iwW8aUFrOS4P7CEA==}
22
+
23
+ '@ningboyz/types@1.2.101':
24
+ resolution: {integrity: sha512-CAnLCkt9+xmYGoXF2Fp0vPJ03ZlsDOTv0SR36Lkrku02t7qlNNPskmVL/iY0awcfK1hyJm7W+RBTuIcjHtnXcA==}
25
+
26
+ asynckit@0.4.0:
27
+ resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
28
+
29
+ axios@1.8.4:
30
+ resolution: {integrity: sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==}
31
+
32
+ call-bind-apply-helpers@1.0.2:
33
+ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
34
+ engines: {node: '>= 0.4'}
35
+
36
+ combined-stream@1.0.8:
37
+ resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
38
+ engines: {node: '>= 0.8'}
39
+
40
+ delayed-stream@1.0.0:
41
+ resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
42
+ engines: {node: '>=0.4.0'}
43
+
44
+ dunder-proto@1.0.1:
45
+ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
46
+ engines: {node: '>= 0.4'}
47
+
48
+ es-define-property@1.0.1:
49
+ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
50
+ engines: {node: '>= 0.4'}
51
+
52
+ es-errors@1.3.0:
53
+ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
54
+ engines: {node: '>= 0.4'}
55
+
56
+ es-object-atoms@1.1.1:
57
+ resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
58
+ engines: {node: '>= 0.4'}
59
+
60
+ es-set-tostringtag@2.1.0:
61
+ resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
62
+ engines: {node: '>= 0.4'}
63
+
64
+ follow-redirects@1.15.9:
65
+ resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
66
+ engines: {node: '>=4.0'}
67
+ peerDependencies:
68
+ debug: '*'
69
+ peerDependenciesMeta:
70
+ debug:
71
+ optional: true
72
+
73
+ form-data@4.0.3:
74
+ resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
75
+ engines: {node: '>= 6'}
76
+
77
+ function-bind@1.1.2:
78
+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
79
+
80
+ get-intrinsic@1.3.0:
81
+ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
82
+ engines: {node: '>= 0.4'}
83
+
84
+ get-proto@1.0.1:
85
+ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
86
+ engines: {node: '>= 0.4'}
87
+
88
+ gopd@1.2.0:
89
+ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
90
+ engines: {node: '>= 0.4'}
91
+
92
+ has-symbols@1.1.0:
93
+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
94
+ engines: {node: '>= 0.4'}
95
+
96
+ has-tostringtag@1.0.2:
97
+ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
98
+ engines: {node: '>= 0.4'}
99
+
100
+ hasown@2.0.2:
101
+ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
102
+ engines: {node: '>= 0.4'}
103
+
104
+ lodash@4.17.21:
105
+ resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
106
+
107
+ math-intrinsics@1.1.0:
108
+ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
109
+ engines: {node: '>= 0.4'}
110
+
111
+ mime-db@1.52.0:
112
+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
113
+ engines: {node: '>= 0.6'}
114
+
115
+ mime-types@2.1.35:
116
+ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
117
+ engines: {node: '>= 0.6'}
118
+
119
+ proxy-from-env@1.1.0:
120
+ resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
121
+
122
+ snapshots:
123
+
124
+ '@aximario/json-tree@2.2.4': {}
125
+
126
+ '@ningboyz/types@1.2.101':
127
+ dependencies:
128
+ '@aximario/json-tree': 2.2.4
129
+ lodash: 4.17.21
130
+
131
+ asynckit@0.4.0: {}
132
+
133
+ axios@1.8.4:
134
+ dependencies:
135
+ follow-redirects: 1.15.9
136
+ form-data: 4.0.3
137
+ proxy-from-env: 1.1.0
138
+ transitivePeerDependencies:
139
+ - debug
140
+
141
+ call-bind-apply-helpers@1.0.2:
142
+ dependencies:
143
+ es-errors: 1.3.0
144
+ function-bind: 1.1.2
145
+
146
+ combined-stream@1.0.8:
147
+ dependencies:
148
+ delayed-stream: 1.0.0
149
+
150
+ delayed-stream@1.0.0: {}
151
+
152
+ dunder-proto@1.0.1:
153
+ dependencies:
154
+ call-bind-apply-helpers: 1.0.2
155
+ es-errors: 1.3.0
156
+ gopd: 1.2.0
157
+
158
+ es-define-property@1.0.1: {}
159
+
160
+ es-errors@1.3.0: {}
161
+
162
+ es-object-atoms@1.1.1:
163
+ dependencies:
164
+ es-errors: 1.3.0
165
+
166
+ es-set-tostringtag@2.1.0:
167
+ dependencies:
168
+ es-errors: 1.3.0
169
+ get-intrinsic: 1.3.0
170
+ has-tostringtag: 1.0.2
171
+ hasown: 2.0.2
172
+
173
+ follow-redirects@1.15.9: {}
174
+
175
+ form-data@4.0.3:
176
+ dependencies:
177
+ asynckit: 0.4.0
178
+ combined-stream: 1.0.8
179
+ es-set-tostringtag: 2.1.0
180
+ hasown: 2.0.2
181
+ mime-types: 2.1.35
182
+
183
+ function-bind@1.1.2: {}
184
+
185
+ get-intrinsic@1.3.0:
186
+ dependencies:
187
+ call-bind-apply-helpers: 1.0.2
188
+ es-define-property: 1.0.1
189
+ es-errors: 1.3.0
190
+ es-object-atoms: 1.1.1
191
+ function-bind: 1.1.2
192
+ get-proto: 1.0.1
193
+ gopd: 1.2.0
194
+ has-symbols: 1.1.0
195
+ hasown: 2.0.2
196
+ math-intrinsics: 1.1.0
197
+
198
+ get-proto@1.0.1:
199
+ dependencies:
200
+ dunder-proto: 1.0.1
201
+ es-object-atoms: 1.1.1
202
+
203
+ gopd@1.2.0: {}
204
+
205
+ has-symbols@1.1.0: {}
206
+
207
+ has-tostringtag@1.0.2:
208
+ dependencies:
209
+ has-symbols: 1.1.0
210
+
211
+ hasown@2.0.2:
212
+ dependencies:
213
+ function-bind: 1.1.2
214
+
215
+ lodash@4.17.21: {}
216
+
217
+ math-intrinsics@1.1.0: {}
218
+
219
+ mime-db@1.52.0: {}
220
+
221
+ mime-types@2.1.35:
222
+ dependencies:
223
+ mime-db: 1.52.0
224
+
225
+ proxy-from-env@1.1.0: {}