@ningboyz/apis 1.8.116 → 1.8.120

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.
Files changed (309) hide show
  1. package/.prettierrc +15 -15
  2. package/index.ts +146 -146
  3. package/package.json +27 -27
  4. package/packages/antv/cnfg.ts +57 -57
  5. package/packages/antv/index.ts +20 -20
  6. package/packages/antv/main.ts +65 -65
  7. package/packages/antv/para.ts +57 -57
  8. package/packages/antv/types.ts +59 -59
  9. package/packages/axios.ts +208 -208
  10. package/packages/bill/cnfg.ts +72 -72
  11. package/packages/bill/index.ts +17 -17
  12. package/packages/bill/main.ts +265 -265
  13. package/packages/bill/types.ts +220 -220
  14. package/packages/card/data.ts +111 -111
  15. package/packages/card/form.ts +19 -19
  16. package/packages/card/fwcz.ts +87 -87
  17. package/packages/card/gblb.ts +118 -118
  18. package/packages/card/hyhb.ts +72 -72
  19. package/packages/card/index.ts +68 -68
  20. package/packages/card/main.ts +402 -402
  21. package/packages/card/p4pz.ts +97 -97
  22. package/packages/card/pgxx.ts +60 -60
  23. package/packages/card/room.ts +72 -72
  24. package/packages/card/types.ts +1285 -1285
  25. package/packages/card/zcbd.ts +123 -123
  26. package/packages/card/zccf.ts +114 -114
  27. package/packages/card/zccz.ts +122 -122
  28. package/packages/card/zcdb.ts +132 -132
  29. package/packages/card/zclb.ts +105 -105
  30. package/packages/card/zclbGblb.ts +33 -33
  31. package/packages/card/zcpd.ts +70 -70
  32. package/packages/card/zcpdbill.ts +43 -43
  33. package/packages/card/zczj.ts +21 -21
  34. package/packages/card/zczjProp.ts +21 -21
  35. package/packages/cnfg/index.ts +14 -14
  36. package/packages/cnfg/main.ts +55 -55
  37. package/packages/cnfg/types.ts +4 -4
  38. package/packages/core/dddw.ts +112 -112
  39. package/packages/core/dept.ts +202 -202
  40. package/packages/core/dict.ts +108 -108
  41. package/packages/core/index.ts +71 -71
  42. package/packages/core/laid.ts +112 -112
  43. package/packages/core/local.ts +29 -29
  44. package/packages/core/mast.ts +42 -42
  45. package/packages/core/part.ts +81 -81
  46. package/packages/core/path.ts +105 -105
  47. package/packages/core/skdw.ts +68 -68
  48. package/packages/core/sysbilltype.ts +57 -57
  49. package/packages/core/sysclas.ts +16 -16
  50. package/packages/core/sysenvr.ts +15 -15
  51. package/packages/core/syskjnd.ts +19 -19
  52. package/packages/core/sysmenu.ts +185 -185
  53. package/packages/core/syssecret.ts +27 -27
  54. package/packages/core/sysstatus.ts +21 -21
  55. package/packages/core/systravel.ts +53 -53
  56. package/packages/core/type.ts +93 -93
  57. package/packages/core/types.ts +1786 -1737
  58. package/packages/core/unit.ts +182 -182
  59. package/packages/core/user.ts +1064 -1058
  60. package/packages/cron/index.ts +17 -17
  61. package/packages/cron/main.ts +66 -66
  62. package/packages/cron/todo.ts +30 -30
  63. package/packages/cron/types.ts +44 -44
  64. package/packages/ding/index.ts +14 -14
  65. package/packages/ding/main.ts +29 -29
  66. package/packages/ding/types.ts +26 -26
  67. package/packages/elem/data.ts +75 -75
  68. package/packages/elem/index.ts +15 -15
  69. package/packages/elem/main.ts +79 -79
  70. package/packages/elem/types.ts +65 -65
  71. package/packages/expd/index.ts +14 -14
  72. package/packages/expd/main.ts +31 -31
  73. package/packages/expd/types.ts +18 -18
  74. package/packages/flow/duty.ts +59 -59
  75. package/packages/flow/flow.ts +202 -202
  76. package/packages/flow/index.ts +25 -25
  77. package/packages/flow/main.ts +75 -75
  78. package/packages/flow/node.ts +104 -104
  79. package/packages/flow/types.ts +301 -301
  80. package/packages/flow/void.ts +71 -71
  81. package/packages/gams/cnfg.ts +95 -95
  82. package/packages/gams/dial.ts +21 -21
  83. package/packages/gams/index.ts +28 -28
  84. package/packages/gams/item.ts +61 -61
  85. package/packages/gams/k0km.ts +61 -61
  86. package/packages/gams/k8km.ts +124 -124
  87. package/packages/gams/type.ts +59 -59
  88. package/packages/gams/types.ts +269 -269
  89. package/packages/grow/grow.ts +19 -19
  90. package/packages/grow/index.ts +14 -14
  91. package/packages/grow/types.ts +4 -4
  92. package/packages/gzjg/bind.ts +77 -77
  93. package/packages/gzjg/gzlm.ts +120 -120
  94. package/packages/gzjg/index.ts +23 -23
  95. package/packages/gzjg/main.ts +84 -84
  96. package/packages/gzjg/qzgs.ts +41 -41
  97. package/packages/gzjg/types.ts +196 -196
  98. package/packages/gztb/index.ts +14 -14
  99. package/packages/gztb/main.ts +186 -186
  100. package/packages/gztb/types.ts +131 -131
  101. package/packages/gzzd/index.ts +14 -14
  102. package/packages/gzzd/main.ts +311 -311
  103. package/packages/gzzd/types.ts +222 -222
  104. package/packages/hzcb/index.ts +29 -29
  105. package/packages/hzcb/main.ts +112 -112
  106. package/packages/hzcb/ndjh.ts +37 -37
  107. package/packages/hzcb/tdss.ts +36 -36
  108. package/packages/hzcb/types.ts +344 -344
  109. package/packages/hzcb/xmss.ts +36 -36
  110. package/packages/hzcb/xmtz.ts +62 -62
  111. package/packages/hzcb/xmyk.ts +95 -95
  112. package/packages/hznj/base.ts +60 -60
  113. package/packages/hznj/bzgx.ts +36 -36
  114. package/packages/hznj/dzqr.ts +52 -52
  115. package/packages/hznj/index.ts +50 -50
  116. package/packages/hznj/main.ts +77 -77
  117. package/packages/hznj/noti.ts +105 -105
  118. package/packages/hznj/rwqx.ts +37 -37
  119. package/packages/hznj/type.ts +1082 -1082
  120. package/packages/hznj/xmjj.ts +37 -37
  121. package/packages/hznj/xmsy.ts +72 -72
  122. package/packages/hznj/zbcz.ts +36 -36
  123. package/packages/hznj/zbjg.ts +52 -52
  124. package/packages/hznj/zblr.ts +55 -55
  125. package/packages/hznj/zbly.ts +48 -48
  126. package/packages/hznj/zbth.ts +46 -46
  127. package/packages/hznk/base.ts +58 -58
  128. package/packages/hznk/data.ts +68 -68
  129. package/packages/hznk/fydw.ts +66 -66
  130. package/packages/hznk/fytq.ts +56 -56
  131. package/packages/hznk/index.ts +35 -35
  132. package/packages/hznk/main.ts +61 -61
  133. package/packages/hznk/note.ts +36 -36
  134. package/packages/hznk/type.ts +752 -752
  135. package/packages/hznk/xmys.ts +36 -36
  136. package/packages/hznk/yssq.ts +36 -36
  137. package/packages/index.ts +45 -45
  138. package/packages/japz/cnfg.ts +36 -36
  139. package/packages/japz/index.ts +29 -29
  140. package/packages/japz/item.ts +68 -68
  141. package/packages/japz/k0km.ts +36 -36
  142. package/packages/japz/k7km.ts +44 -44
  143. package/packages/japz/k8km.ts +36 -36
  144. package/packages/japz/k9km.ts +40 -40
  145. package/packages/japz/types.ts +474 -474
  146. package/packages/load/cell.ts +21 -21
  147. package/packages/load/data.ts +22 -22
  148. package/packages/load/index.ts +32 -32
  149. package/packages/load/main.ts +68 -68
  150. package/packages/load/nsdw.ts +50 -50
  151. package/packages/load/types.ts +91 -91
  152. package/packages/load/yqdw.ts +15 -15
  153. package/packages/load/yqkm.ts +15 -15
  154. package/packages/load/zydw.ts +16 -16
  155. package/packages/myoa/index.ts +19 -19
  156. package/packages/myoa/main.ts +260 -260
  157. package/packages/myoa/room.ts +57 -57
  158. package/packages/myoa/types.ts +380 -380
  159. package/packages/myoa/withcard.ts +174 -174
  160. package/packages/note/index.ts +13 -13
  161. package/packages/note/main.ts +58 -58
  162. package/packages/note/types.ts +19 -19
  163. package/packages/noti/index.ts +14 -14
  164. package/packages/noti/main.ts +238 -238
  165. package/packages/noti/types.ts +169 -169
  166. package/packages/ocri/index.ts +14 -14
  167. package/packages/ocri/path.ts +24 -24
  168. package/packages/ocri/types.ts +37 -37
  169. package/packages/pzpt/cash.ts +39 -39
  170. package/packages/pzpt/cnfg.ts +128 -115
  171. package/packages/pzpt/cnfgmore.ts +30 -30
  172. package/packages/pzpt/glfa.ts +70 -70
  173. package/packages/pzpt/glkm.ts +60 -60
  174. package/packages/pzpt/index.ts +53 -53
  175. package/packages/pzpt/item.ts +52 -52
  176. package/packages/pzpt/k0km.ts +51 -51
  177. package/packages/pzpt/k8km.ts +50 -50
  178. package/packages/pzpt/kbkm.ts +22 -22
  179. package/packages/pzpt/pzpz.ts +66 -66
  180. package/packages/pzpt/pzpzp6pz.ts +61 -61
  181. package/packages/pzpt/type.ts +50 -50
  182. package/packages/pzpt/types.ts +549 -538
  183. package/packages/pzpt/yqkb.ts +20 -20
  184. package/packages/pzpt/yqkm.ts +34 -34
  185. package/packages/ssb/index.ts +15 -15
  186. package/packages/ssb/socialInsurance.ts +45 -45
  187. package/packages/ssb/types.ts +26 -26
  188. package/packages/sysenvr/index.ts +14 -14
  189. package/packages/sysenvr/inventory.ts +56 -56
  190. package/packages/sysenvr/types.ts +40 -40
  191. package/packages/tabl/index.ts +14 -14
  192. package/packages/tabl/main.ts +315 -315
  193. package/packages/tabl/types.ts +329 -329
  194. package/packages/take/index.ts +14 -14
  195. package/packages/take/main.ts +76 -76
  196. package/packages/take/types.ts +179 -179
  197. package/packages/talk/index.ts +14 -14
  198. package/packages/talk/main.ts +32 -32
  199. package/packages/talk/types.ts +29 -29
  200. package/packages/task/index.ts +14 -14
  201. package/packages/task/main.ts +78 -78
  202. package/packages/task/types.ts +36 -36
  203. package/packages/tyc/baseInfo.ts +45 -45
  204. package/packages/tyc/changeInfo.ts +45 -45
  205. package/packages/tyc/copyReg.ts +45 -45
  206. package/packages/tyc/copyRegWorks.ts +45 -45
  207. package/packages/tyc/courtAnnouncement.ts +45 -45
  208. package/packages/tyc/creditChina.ts +45 -45
  209. package/packages/tyc/dishonest.ts +45 -45
  210. package/packages/tyc/equityInfo.ts +45 -45
  211. package/packages/tyc/findHistoryRongzi.ts +45 -45
  212. package/packages/tyc/findJingpin.ts +45 -45
  213. package/packages/tyc/findTeamMember.ts +45 -45
  214. package/packages/tyc/getPledgeReg.ts +45 -45
  215. package/packages/tyc/holder.ts +45 -45
  216. package/packages/tyc/holderHistory.ts +45 -45
  217. package/packages/tyc/illegalInfo.ts +45 -45
  218. package/packages/tyc/index.ts +93 -93
  219. package/packages/tyc/inverst.ts +44 -44
  220. package/packages/tyc/investHistory.ts +45 -45
  221. package/packages/tyc/judicialSale.ts +45 -45
  222. package/packages/tyc/ktannouncement.ts +45 -45
  223. package/packages/tyc/lawSuit.ts +45 -45
  224. package/packages/tyc/mortgageInfo.ts +45 -45
  225. package/packages/tyc/ownTax.ts +45 -45
  226. package/packages/tyc/profile.ts +45 -45
  227. package/packages/tyc/publicNotice.ts +45 -45
  228. package/packages/tyc/punishmentInfo.ts +45 -45
  229. package/packages/tyc/staff.ts +45 -45
  230. package/packages/tyc/sync.ts +22 -22
  231. package/packages/tyc/types.ts +608 -608
  232. package/packages/type.ts +9 -9
  233. package/packages/vary/index.ts +14 -14
  234. package/packages/vary/main.ts +106 -106
  235. package/packages/vary/types.ts +141 -141
  236. package/packages/wldy/data.ts +86 -86
  237. package/packages/wldy/index.ts +23 -23
  238. package/packages/wldy/item.ts +57 -57
  239. package/packages/wldy/main.ts +21 -21
  240. package/packages/wldy/page.ts +125 -125
  241. package/packages/wldy/types.ts +123 -123
  242. package/packages/wlzf/envr.ts +66 -66
  243. package/packages/wlzf/index.ts +20 -20
  244. package/packages/wlzf/liha.ts +21 -21
  245. package/packages/wlzf/main.ts +50 -50
  246. package/packages/wlzf/types.ts +80 -80
  247. package/packages/wtui/ctrl.ts +77 -77
  248. package/packages/wtui/envr.ts +33 -33
  249. package/packages/wtui/form.ts +67 -67
  250. package/packages/wtui/index.ts +44 -44
  251. package/packages/wtui/item.ts +67 -67
  252. package/packages/wtui/main.ts +103 -103
  253. package/packages/wtui/menu.ts +68 -68
  254. package/packages/wtui/node.ts +95 -95
  255. package/packages/wtui/todo.ts +83 -83
  256. package/packages/wtui/types.ts +476 -476
  257. package/packages/wtui/user.ts +67 -67
  258. package/packages/wtui/view.ts +107 -107
  259. package/packages/wtui/zone.ts +74 -74
  260. package/packages/wzpz/cnfg.ts +57 -57
  261. package/packages/wzpz/index.ts +34 -34
  262. package/packages/wzpz/item.ts +71 -71
  263. package/packages/wzpz/k0km.ts +137 -137
  264. package/packages/wzpz/k8km.ts +108 -108
  265. package/packages/wzpz/kbkm.ts +21 -21
  266. package/packages/wzpz/type.ts +62 -62
  267. package/packages/wzpz/types.ts +566 -566
  268. package/packages/wzpz/userK0km.ts +42 -42
  269. package/packages/wzpz/userK8km.ts +42 -42
  270. package/packages/yymd/index.ts +14 -14
  271. package/packages/yymd/main.ts +19 -19
  272. package/packages/yymd/types.ts +7 -7
  273. package/packages/yzcg/index.ts +14 -14
  274. package/packages/yzcg/main.ts +66 -66
  275. package/packages/yzcg/types.ts +36 -36
  276. package/packages/yzcq/index.ts +15 -15
  277. package/packages/yzcq/main.ts +58 -58
  278. package/packages/yzcq/types.ts +30 -30
  279. package/packages/yzht/bill.ts +22 -22
  280. package/packages/yzht/fymx.ts +22 -22
  281. package/packages/yzht/glpz.ts +41 -41
  282. package/packages/yzht/index.ts +24 -24
  283. package/packages/yzht/main.ts +337 -337
  284. package/packages/yzht/types.ts +310 -310
  285. package/packages/yzpz/cnfg.ts +85 -85
  286. package/packages/yzpz/glfa.ts +57 -57
  287. package/packages/yzpz/index.ts +32 -32
  288. package/packages/yzpz/item.ts +99 -99
  289. package/packages/yzpz/k0km.ts +51 -51
  290. package/packages/yzpz/k8km.ts +108 -108
  291. package/packages/yzpz/kbkm.ts +50 -50
  292. package/packages/yzpz/type.ts +57 -57
  293. package/packages/yzpz/types.ts +403 -403
  294. package/packages/zbhd/cnfg.ts +60 -60
  295. package/packages/zbhd/index.ts +17 -17
  296. package/packages/zbhd/main.ts +305 -305
  297. package/packages/zbhd/types.ts +281 -281
  298. package/packages/zbzd/index.ts +17 -17
  299. package/packages/zbzd/main.ts +215 -215
  300. package/packages/zbzd/types.ts +169 -169
  301. package/packages/zbzd/zbfl.ts +32 -32
  302. package/readme.md +2 -2
  303. package/packages/antv/type.ts~ +0 -57
  304. package/packages/card/index.ts~ +0 -47
  305. package/packages/card/tzclbsort.ts~ +0 -36
  306. package/packages/card/zccz.ts~ +0 -106
  307. package/packages/expd/type.ts~ +0 -17
  308. package/packages/noti/type.ts~ +0 -29
  309. package/packages/wtui/type.ts~ +0 -380
@@ -1,97 +1,97 @@
1
- import { TCard, TCore } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { ICardP4pzChkexistQuerys, ICardP4pzChkp4pzQuerys, ICardP4pzReportd1Querys, ICardP4pzReportd2Querys, ICardP4pzSaveitd2Querys, ICardP4pzSaveitdbQuerys, ICardP4pzSelectdbQuerys } from "./types";
4
-
5
- class P4pzRequest {
6
- private httpRequest: HttpRequest;
7
- constructor(httpRequest: HttpRequest) {
8
- this.httpRequest = httpRequest;
9
- }
10
-
11
- /**
12
- * 获取折旧记录
13
- * @param querys
14
- * @returns
15
- */
16
- selectdb(querys: ICardP4pzSelectdbQuerys) {
17
- return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/selectdb", querys, undefined);
18
- }
19
-
20
- /**
21
- * 反折旧
22
- * @param params
23
- * @returns
24
- */
25
- deletedb(params: object) {
26
- return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/deletedb", undefined, params);
27
- }
28
-
29
- /**
30
- * 保存折旧记录
31
- * @param querys
32
- * @returns
33
- */
34
- saveitd2(querys: ICardP4pzSaveitd2Querys) {
35
- return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/saveitd2", querys, undefined);
36
- }
37
-
38
- /**
39
- * 折旧表
40
- * @param querys
41
- * @returns
42
- */
43
- reportd1(querys: ICardP4pzReportd1Querys) {
44
- return this.httpRequest.post<TCard.IZczjPropResponse[]>("/gapi/card/tp4pz/reportd1", querys, undefined);
45
- }
46
-
47
- /**
48
- * 折旧表(资金来源)
49
- * @param querys
50
- * @returns
51
- */
52
- reportd2(querys: ICardP4pzReportd2Querys) {
53
- return this.httpRequest.post<TCard.IZczjPropResponse[]>("/gapi/card/tp4pz/reportd2", querys, undefined);
54
- }
55
-
56
- /**
57
- * 获取最大折旧期间
58
- * @param querys
59
- * @returns
60
- */
61
- chkexist(querys: ICardP4pzChkexistQuerys) {
62
- return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/chkexist", querys, undefined);
63
- }
64
-
65
- /**
66
- * 保存折旧记录
67
- * @param querys
68
- * @returns
69
- */
70
- saveitdb(querys: ICardP4pzSaveitdbQuerys) {
71
- /**
72
- * 初始折旧:?viewmode=1&cardjzbz=0
73
- * 资产折旧:?viewmode=0&cardjzbz=0
74
- * 折旧单位结账:?viewmode=-1&cardjzbz=1
75
- * 折旧单位反结账:?viewmode=-1&cardjzbz=0
76
- * 不折旧单位结账:?viewmode=-1&cardjzbz=1
77
- */
78
- return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/saveitdb", querys, undefined);
79
- }
80
-
81
- /**
82
- * 结账时,判断不折旧业务是否存在在途业务
83
- * @param querys
84
- * @returns
85
- */
86
- chkp4pz(querys: ICardP4pzChkp4pzQuerys) {
87
- /**
88
- * unitmain:单位(当前选中单位)
89
- * cardkjnd:启用年度(右上角年度)
90
- * cardkjqj:启用期间(右上角期间)
91
- * true 可以过,false报错
92
- */
93
- return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/card/tp4pz/chkp4pz", querys, undefined);
94
- }
95
- }
96
-
97
- export default P4pzRequest;
1
+ import { TCard, TCore } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { ICardP4pzChkexistQuerys, ICardP4pzChkp4pzQuerys, ICardP4pzReportd1Querys, ICardP4pzReportd2Querys, ICardP4pzSaveitd2Querys, ICardP4pzSaveitdbQuerys, ICardP4pzSelectdbQuerys } from "./types";
4
+
5
+ class P4pzRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取折旧记录
13
+ * @param querys
14
+ * @returns
15
+ */
16
+ selectdb(querys: ICardP4pzSelectdbQuerys) {
17
+ return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/selectdb", querys, undefined);
18
+ }
19
+
20
+ /**
21
+ * 反折旧
22
+ * @param params
23
+ * @returns
24
+ */
25
+ deletedb(params: object) {
26
+ return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/deletedb", undefined, params);
27
+ }
28
+
29
+ /**
30
+ * 保存折旧记录
31
+ * @param querys
32
+ * @returns
33
+ */
34
+ saveitd2(querys: ICardP4pzSaveitd2Querys) {
35
+ return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/saveitd2", querys, undefined);
36
+ }
37
+
38
+ /**
39
+ * 折旧表
40
+ * @param querys
41
+ * @returns
42
+ */
43
+ reportd1(querys: ICardP4pzReportd1Querys) {
44
+ return this.httpRequest.post<TCard.IZczjPropResponse[]>("/gapi/card/tp4pz/reportd1", querys, undefined);
45
+ }
46
+
47
+ /**
48
+ * 折旧表(资金来源)
49
+ * @param querys
50
+ * @returns
51
+ */
52
+ reportd2(querys: ICardP4pzReportd2Querys) {
53
+ return this.httpRequest.post<TCard.IZczjPropResponse[]>("/gapi/card/tp4pz/reportd2", querys, undefined);
54
+ }
55
+
56
+ /**
57
+ * 获取最大折旧期间
58
+ * @param querys
59
+ * @returns
60
+ */
61
+ chkexist(querys: ICardP4pzChkexistQuerys) {
62
+ return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/chkexist", querys, undefined);
63
+ }
64
+
65
+ /**
66
+ * 保存折旧记录
67
+ * @param querys
68
+ * @returns
69
+ */
70
+ saveitdb(querys: ICardP4pzSaveitdbQuerys) {
71
+ /**
72
+ * 初始折旧:?viewmode=1&cardjzbz=0
73
+ * 资产折旧:?viewmode=0&cardjzbz=0
74
+ * 折旧单位结账:?viewmode=-1&cardjzbz=1
75
+ * 折旧单位反结账:?viewmode=-1&cardjzbz=0
76
+ * 不折旧单位结账:?viewmode=-1&cardjzbz=1
77
+ */
78
+ return this.httpRequest.post<TCard.IP4pzResponse[]>("/gapi/card/tp4pz/saveitdb", querys, undefined);
79
+ }
80
+
81
+ /**
82
+ * 结账时,判断不折旧业务是否存在在途业务
83
+ * @param querys
84
+ * @returns
85
+ */
86
+ chkp4pz(querys: ICardP4pzChkp4pzQuerys) {
87
+ /**
88
+ * unitmain:单位(当前选中单位)
89
+ * cardkjnd:启用年度(右上角年度)
90
+ * cardkjqj:启用期间(右上角期间)
91
+ * true 可以过,false报错
92
+ */
93
+ return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/card/tp4pz/chkp4pz", querys, undefined);
94
+ }
95
+ }
96
+
97
+ export default P4pzRequest;
@@ -1,60 +1,60 @@
1
- import { TCard } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { ICardPgxxDeletedbQuerys, ICardPgxxDetaildbQuerys, ICardPgxxInsertdbQuerys, ICardPgxxSelectdbQuerys, ICardPgxxUpdatedbQuerys } from "./types";
4
-
5
- class PgxxRequest {
6
- private httpRequest: HttpRequest;
7
- constructor(httpRequest: HttpRequest) {
8
- this.httpRequest = httpRequest;
9
- }
10
-
11
- /**
12
- * 获取评估信息列表
13
- * @param querys
14
- * @param params
15
- * @returns
16
- */
17
- selectdb(querys: ICardPgxxSelectdbQuerys, params: object) {
18
- return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/selectdb", querys, params);
19
- }
20
-
21
- /**
22
- * 获取评估信息详情
23
- * @param querys
24
- * @returns
25
- */
26
- detaildb(querys: ICardPgxxDetaildbQuerys, params: object) {
27
- return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/detaildb", querys, params);
28
- }
29
-
30
- /**
31
- * 新增评估信息
32
- * @param querys
33
- * @param params
34
- * @returns
35
- */
36
- insertdb(querys: ICardPgxxInsertdbQuerys, params: object) {
37
- return this.httpRequest.post<TCard.ICardPgxxResponse[]>(`/gapi/card/tpgxx/insertdb`, querys, params);
38
- }
39
-
40
- /**
41
- * 修改评估信息
42
- * @param querys
43
- * @param params
44
- * @returns
45
- */
46
- updatedb(querys: ICardPgxxUpdatedbQuerys, params: object) {
47
- return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/updatedb", querys, params);
48
- }
49
-
50
- /**
51
- * 删除评估信息
52
- * @param params
53
- * @returns
54
- */
55
- deletedb(querys: ICardPgxxDeletedbQuerys, params: object) {
56
- return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/deletedb", querys, params);
57
- }
58
- }
59
-
60
- export default PgxxRequest;
1
+ import { TCard } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { ICardPgxxDeletedbQuerys, ICardPgxxDetaildbQuerys, ICardPgxxInsertdbQuerys, ICardPgxxSelectdbQuerys, ICardPgxxUpdatedbQuerys } from "./types";
4
+
5
+ class PgxxRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取评估信息列表
13
+ * @param querys
14
+ * @param params
15
+ * @returns
16
+ */
17
+ selectdb(querys: ICardPgxxSelectdbQuerys, params: object) {
18
+ return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/selectdb", querys, params);
19
+ }
20
+
21
+ /**
22
+ * 获取评估信息详情
23
+ * @param querys
24
+ * @returns
25
+ */
26
+ detaildb(querys: ICardPgxxDetaildbQuerys, params: object) {
27
+ return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/detaildb", querys, params);
28
+ }
29
+
30
+ /**
31
+ * 新增评估信息
32
+ * @param querys
33
+ * @param params
34
+ * @returns
35
+ */
36
+ insertdb(querys: ICardPgxxInsertdbQuerys, params: object) {
37
+ return this.httpRequest.post<TCard.ICardPgxxResponse[]>(`/gapi/card/tpgxx/insertdb`, querys, params);
38
+ }
39
+
40
+ /**
41
+ * 修改评估信息
42
+ * @param querys
43
+ * @param params
44
+ * @returns
45
+ */
46
+ updatedb(querys: ICardPgxxUpdatedbQuerys, params: object) {
47
+ return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/updatedb", querys, params);
48
+ }
49
+
50
+ /**
51
+ * 删除评估信息
52
+ * @param params
53
+ * @returns
54
+ */
55
+ deletedb(querys: ICardPgxxDeletedbQuerys, params: object) {
56
+ return this.httpRequest.post<TCard.ICardPgxxResponse[]>("/gapi/card/tpgxx/deletedb", querys, params);
57
+ }
58
+ }
59
+
60
+ export default PgxxRequest;
@@ -1,72 +1,72 @@
1
- import { TCard } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { IEmptyQuerys } from "../type";
4
- import { ICardRoomDetaildbQuerys, ICardRoomSelectdbQuerys, ICardRoomUpdated2Querys } from "./types";
5
-
6
- class RoomRequest {
7
- private httpRequest: HttpRequest;
8
- constructor(httpRequest: HttpRequest) {
9
- this.httpRequest = httpRequest;
10
- }
11
-
12
- /**
13
- * 获取地址信息列表
14
- * @param querys
15
- * @param params
16
- * @returns
17
- */
18
- selectdb(querys: ICardRoomSelectdbQuerys, params: object) {
19
- return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/selectdb", querys, params);
20
- }
21
-
22
- /**
23
- * 获取地址信息详情
24
- * @param querys
25
- * @returns
26
- */
27
- detaildb(querys: ICardRoomDetaildbQuerys) {
28
- return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/detaildb", querys, undefined);
29
- }
30
-
31
- /**
32
- * 新增地址信息
33
- * @param querys
34
- * @param params
35
- * @returns
36
- */
37
- insertdb(querys: IEmptyQuerys, params: object) {
38
- return this.httpRequest.post<TCard.ICardRoomResponse[]>(`/gapi/card/troom/insertdb`, querys, params);
39
- }
40
-
41
- /**
42
- * 修改地址信息
43
- * @param querys
44
- * @param params
45
- * @returns
46
- */
47
- updatedb(querys: IEmptyQuerys, params: object) {
48
- return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/updatedb", querys, params);
49
- }
50
-
51
- /**
52
- * 删除地址信息
53
- * @param querys
54
- * @param params
55
- * @returns
56
- */
57
- deletedb(querys: IEmptyQuerys, params: object) {
58
- return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/deletedb", querys, params);
59
- }
60
-
61
- /**
62
- * 更新地址状态
63
- * @param querys
64
- * @param params
65
- * @returns
66
- */
67
- updated2(querys: ICardRoomUpdated2Querys, params: object) {
68
- return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/withstat/updatedb", querys, params);
69
- }
70
- }
71
-
72
- export default RoomRequest;
1
+ import { TCard } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IEmptyQuerys } from "../type";
4
+ import { ICardRoomDetaildbQuerys, ICardRoomSelectdbQuerys, ICardRoomUpdated2Querys } from "./types";
5
+
6
+ class RoomRequest {
7
+ private httpRequest: HttpRequest;
8
+ constructor(httpRequest: HttpRequest) {
9
+ this.httpRequest = httpRequest;
10
+ }
11
+
12
+ /**
13
+ * 获取地址信息列表
14
+ * @param querys
15
+ * @param params
16
+ * @returns
17
+ */
18
+ selectdb(querys: ICardRoomSelectdbQuerys, params: object) {
19
+ return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/selectdb", querys, params);
20
+ }
21
+
22
+ /**
23
+ * 获取地址信息详情
24
+ * @param querys
25
+ * @returns
26
+ */
27
+ detaildb(querys: ICardRoomDetaildbQuerys) {
28
+ return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/detaildb", querys, undefined);
29
+ }
30
+
31
+ /**
32
+ * 新增地址信息
33
+ * @param querys
34
+ * @param params
35
+ * @returns
36
+ */
37
+ insertdb(querys: IEmptyQuerys, params: object) {
38
+ return this.httpRequest.post<TCard.ICardRoomResponse[]>(`/gapi/card/troom/insertdb`, querys, params);
39
+ }
40
+
41
+ /**
42
+ * 修改地址信息
43
+ * @param querys
44
+ * @param params
45
+ * @returns
46
+ */
47
+ updatedb(querys: IEmptyQuerys, params: object) {
48
+ return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/updatedb", querys, params);
49
+ }
50
+
51
+ /**
52
+ * 删除地址信息
53
+ * @param querys
54
+ * @param params
55
+ * @returns
56
+ */
57
+ deletedb(querys: IEmptyQuerys, params: object) {
58
+ return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/deletedb", querys, params);
59
+ }
60
+
61
+ /**
62
+ * 更新地址状态
63
+ * @param querys
64
+ * @param params
65
+ * @returns
66
+ */
67
+ updated2(querys: ICardRoomUpdated2Querys, params: object) {
68
+ return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/withstat/updatedb", querys, params);
69
+ }
70
+ }
71
+
72
+ export default RoomRequest;