@ningboyz/apis 1.1.113 → 1.1.115

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 (180) hide show
  1. package/.prettierrc +15 -15
  2. package/index.ts +90 -90
  3. package/package.json +24 -24
  4. package/packages/antv/cnfg.ts +47 -47
  5. package/packages/antv/index.ts +20 -20
  6. package/packages/antv/main.ts +54 -54
  7. package/packages/antv/para.ts +47 -47
  8. package/packages/antv/type.ts +59 -59
  9. package/packages/axios.ts +136 -136
  10. package/packages/card/form.ts +18 -18
  11. package/packages/card/gblb.ts +113 -113
  12. package/packages/card/index.ts +49 -49
  13. package/packages/card/main.ts +270 -270
  14. package/packages/card/p4pz.ts +93 -93
  15. package/packages/card/tdata.ts +104 -104
  16. package/packages/card/type.ts +792 -792
  17. package/packages/card/tzclbgblb.ts +36 -36
  18. package/packages/card/zcbd.ts +110 -110
  19. package/packages/card/zccf.ts +105 -105
  20. package/packages/card/zccz.ts +112 -112
  21. package/packages/card/zcdb.ts +120 -120
  22. package/packages/card/zclb.ts +93 -93
  23. package/packages/card/zczj.ts +21 -21
  24. package/packages/card/zczjProp.ts +21 -21
  25. package/packages/cnfg/index.ts +14 -14
  26. package/packages/cnfg/main.ts +42 -42
  27. package/packages/cnfg/type.ts +4 -4
  28. package/packages/core/dddw.ts +51 -51
  29. package/packages/core/dept.ts +94 -94
  30. package/packages/core/dict.ts +69 -69
  31. package/packages/core/index.ts +62 -62
  32. package/packages/core/laid.ts +85 -85
  33. package/packages/core/local.ts +29 -29
  34. package/packages/core/mast.ts +23 -23
  35. package/packages/core/part.ts +62 -62
  36. package/packages/core/path.ts +46 -46
  37. package/packages/core/sysbilltype.ts +53 -53
  38. package/packages/core/sysclas.ts +16 -16
  39. package/packages/core/sysenvr.ts +15 -15
  40. package/packages/core/syskjnd.ts +18 -18
  41. package/packages/core/sysmenu.ts +119 -119
  42. package/packages/core/systravel.ts +40 -40
  43. package/packages/core/type.ts +73 -73
  44. package/packages/core/types.ts +588 -588
  45. package/packages/core/unit.ts +87 -87
  46. package/packages/core/user.ts +395 -395
  47. package/packages/cron/index.ts +14 -14
  48. package/packages/cron/main.ts +55 -55
  49. package/packages/cron/type.ts +18 -18
  50. package/packages/elem/data.ts +56 -56
  51. package/packages/elem/index.ts +15 -15
  52. package/packages/elem/main.ts +68 -68
  53. package/packages/elem/type.ts +47 -47
  54. package/packages/expd/index.ts +14 -14
  55. package/packages/expd/main.ts +23 -23
  56. package/packages/expd/type.ts +18 -18
  57. package/packages/flow/duty.ts +57 -57
  58. package/packages/flow/flow.ts +97 -97
  59. package/packages/flow/index.ts +25 -25
  60. package/packages/flow/main.ts +61 -61
  61. package/packages/flow/node.ts +76 -76
  62. package/packages/flow/type.ts +214 -214
  63. package/packages/flow/void.ts +64 -64
  64. package/packages/gams/cnfg.ts +64 -64
  65. package/packages/gams/index.ts +23 -23
  66. package/packages/gams/{titem.ts → item.ts} +40 -40
  67. package/packages/gams/{tkokm.ts → k0km.ts} +48 -48
  68. package/packages/gams/type.ts +40 -144
  69. package/packages/gams/types.ts +144 -0
  70. package/packages/grow/grow.ts +17 -17
  71. package/packages/grow/index.ts +14 -14
  72. package/packages/grow/type.ts +7 -7
  73. package/packages/gzjg/gzlm.ts +98 -98
  74. package/packages/gzjg/index.ts +19 -19
  75. package/packages/gzjg/main.ts +69 -69
  76. package/packages/gzjg/qzgs.ts +39 -39
  77. package/packages/gzjg/type.ts +126 -126
  78. package/packages/gztb/index.ts +14 -14
  79. package/packages/gztb/main.ts +33 -33
  80. package/packages/gztb/type.ts +27 -27
  81. package/packages/gzzd/index.ts +14 -14
  82. package/packages/gzzd/main.ts +82 -82
  83. package/packages/gzzd/type.ts +68 -68
  84. package/packages/hzcb/index.ts +14 -14
  85. package/packages/hzcb/main.ts +43 -43
  86. package/packages/hzcb/type.ts +20 -20
  87. package/packages/index.ts +30 -30
  88. package/packages/load/data.ts +20 -20
  89. package/packages/load/index.ts +23 -23
  90. package/packages/load/main.ts +19 -19
  91. package/packages/load/type.ts +30 -30
  92. package/packages/load/yqdw.ts +15 -15
  93. package/packages/load/yqkm.ts +15 -15
  94. package/packages/myoa/index.ts +19 -19
  95. package/packages/myoa/main.ts +142 -142
  96. package/packages/myoa/room.ts +45 -45
  97. package/packages/myoa/type.ts +186 -186
  98. package/packages/myoa/withcard.ts +114 -114
  99. package/packages/noti/index.ts +14 -14
  100. package/packages/noti/main.ts +47 -47
  101. package/packages/noti/type.ts +26 -26
  102. package/packages/ocri/index.ts +13 -13
  103. package/packages/ocri/path.ts +17 -17
  104. package/packages/ocri/type.ts +6 -6
  105. package/packages/pzpt/cnfg.ts +92 -92
  106. package/packages/pzpt/glfa.ts +59 -59
  107. package/packages/pzpt/glkm.ts +51 -51
  108. package/packages/pzpt/index.ts +47 -47
  109. package/packages/pzpt/item.ts +54 -54
  110. package/packages/pzpt/k0km.ts +49 -49
  111. package/packages/pzpt/k8km.ts +55 -55
  112. package/packages/pzpt/kbkm.ts +25 -25
  113. package/packages/pzpt/pzpz.ts +60 -60
  114. package/packages/pzpt/pzpzp6pz.ts +44 -44
  115. package/packages/pzpt/type.ts +50 -50
  116. package/packages/pzpt/types.ts +491 -491
  117. package/packages/pzpt/yqkb.ts +20 -20
  118. package/packages/pzpt/yqkm.ts +34 -34
  119. package/packages/tabl/index.ts +14 -14
  120. package/packages/tabl/main.ts +116 -116
  121. package/packages/tabl/type.ts +148 -148
  122. package/packages/task/index.ts +13 -13
  123. package/packages/task/main.ts +48 -48
  124. package/packages/task/type.ts +18 -18
  125. package/packages/type.ts +9 -9
  126. package/packages/wldy/data.ts +52 -52
  127. package/packages/wldy/index.ts +20 -20
  128. package/packages/wldy/item.ts +52 -52
  129. package/packages/wldy/page.ts +63 -63
  130. package/packages/wldy/type.ts +48 -48
  131. package/packages/wtui/ctrl.ts +45 -45
  132. package/packages/wtui/envr.ts +15 -15
  133. package/packages/wtui/form.ts +61 -61
  134. package/packages/wtui/index.ts +44 -44
  135. package/packages/wtui/item.ts +62 -62
  136. package/packages/wtui/main.ts +85 -85
  137. package/packages/wtui/menu.ts +37 -37
  138. package/packages/wtui/node.ts +55 -55
  139. package/packages/wtui/todo.ts +77 -77
  140. package/packages/wtui/type.ts +384 -384
  141. package/packages/wtui/user.ts +39 -39
  142. package/packages/wtui/view.ts +90 -90
  143. package/packages/wtui/zone.ts +52 -52
  144. package/packages/wzpz/cnfg.ts +57 -57
  145. package/packages/wzpz/index.ts +30 -30
  146. package/packages/wzpz/item.ts +60 -60
  147. package/packages/wzpz/k0km.ts +47 -47
  148. package/packages/wzpz/k8km.ts +55 -55
  149. package/packages/wzpz/kbkm.ts +21 -21
  150. package/packages/wzpz/type.ts +57 -57
  151. package/packages/wzpz/types.ts +247 -247
  152. package/packages/yzcg/index.ts +14 -14
  153. package/packages/yzcg/main.ts +49 -49
  154. package/packages/yzcg/type.ts +22 -22
  155. package/packages/yzht/index.ts +14 -14
  156. package/packages/yzht/main.ts +50 -50
  157. package/packages/yzht/type.ts +38 -38
  158. package/packages/yzpz/cnfg.ts +57 -57
  159. package/packages/yzpz/index.ts +30 -30
  160. package/packages/yzpz/item.ts +60 -60
  161. package/packages/yzpz/k0km.ts +47 -47
  162. package/packages/yzpz/k8km.ts +72 -55
  163. package/packages/yzpz/kbkm.ts +40 -40
  164. package/packages/yzpz/type.ts +57 -57
  165. package/packages/yzpz/types.ts +271 -247
  166. package/packages/zbzd/index.ts +14 -14
  167. package/packages/zbzd/main.ts +48 -48
  168. package/packages/zbzd/type.ts +29 -29
  169. package/pnpm-lock.yaml +225 -0
  170. package/readme.md +1 -1
  171. package/packages/antv/type.ts~ +0 -57
  172. package/packages/card/index.ts~ +0 -47
  173. package/packages/card/tzclbsort.ts~ +0 -36
  174. package/packages/card/zccz.ts~ +0 -106
  175. package/packages/core/laid.ts~ +0 -84
  176. package/packages/expd/type.ts~ +0 -17
  177. package/packages/gams/ttype.ts +0 -40
  178. package/packages/noti/main.ts~ +0 -47
  179. package/packages/noti/type.ts~ +0 -29
  180. package/packages/wtui/type.ts~ +0 -380
@@ -1,29 +1,29 @@
1
- /** ========== main ========== */
2
- export interface IZbzdMainSelectdbQuerys {
3
- withflow: number;
4
- useronly: number;
5
- sourcend: number;
6
- }
7
-
8
- export class TZbzdMainSelectdbQuerys implements IZbzdMainSelectdbQuerys {
9
- withflow: number = 0
10
- useronly: number = -1;
11
- sourcend: number = -1
12
- }
13
-
14
- export interface IZbzdMainInsertdbQuerys {
15
- sourcend: number;
16
- }
17
-
18
- export class TZbzdMainInsertdbQuerys implements IZbzdMainInsertdbQuerys {
19
- sourcend: number = -1
20
- }
21
-
22
-
23
- export interface IZbzdMainDetaildbQuerys {
24
- zbzdzdid: number;
25
- }
26
-
27
- export class TZbzdMainDetaildbQuerys implements IZbzdMainDetaildbQuerys {
28
- zbzdzdid: number = -1;
29
- }
1
+ /** ========== main ========== */
2
+ export interface IZbzdMainSelectdbQuerys {
3
+ withflow: number;
4
+ useronly: number;
5
+ sourcend: number;
6
+ }
7
+
8
+ export class TZbzdMainSelectdbQuerys implements IZbzdMainSelectdbQuerys {
9
+ withflow: number = 0
10
+ useronly: number = -1;
11
+ sourcend: number = -1
12
+ }
13
+
14
+ export interface IZbzdMainInsertdbQuerys {
15
+ sourcend: number;
16
+ }
17
+
18
+ export class TZbzdMainInsertdbQuerys implements IZbzdMainInsertdbQuerys {
19
+ sourcend: number = -1
20
+ }
21
+
22
+
23
+ export interface IZbzdMainDetaildbQuerys {
24
+ zbzdzdid: number;
25
+ }
26
+
27
+ export class TZbzdMainDetaildbQuerys implements IZbzdMainDetaildbQuerys {
28
+ zbzdzdid: number = -1;
29
+ }
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.1.110
13
+ version: 1.1.110
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.1.110':
24
+ resolution: {integrity: sha512-ZSnyYjj6XtuoczD1o5vBgJWbOXQTY96PtG3mhQ4g67W+F/w72ZQIsYO6sRaTSJ4JU3yldg//Pl2VOaxdWqdAAw==}
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.1.110':
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: {}
package/readme.md CHANGED
@@ -1 +1 @@
1
- ### @ningboyz/apis
1
+ ### @ningboyz/apis
@@ -1,57 +0,0 @@
1
- /** cnfg */
2
- export interface IAntvCnfgSelectdbQuerys {
3
- antvmain: number;
4
- }
5
-
6
- export class TAntvCnfgSelectdbQuerys implements IAntvCnfgSelectdbQuerys {
7
- antvmain: number = -1;
8
- }
9
-
10
- export interface IAntvCnfgDetaildbQuerys {
11
- antvmain: number;
12
- }
13
-
14
- export class TAntvCnfgDetaildbQuerys implements IAntvCnfgDetaildbQuerys {
15
- antvmain: number = -1;
16
- }
17
-
18
- /** main */
19
- export interface IAntvMainDetaildbQuerys {
20
- antvmain: number;
21
- }
22
-
23
- export class TAntvMainDetaildbQuerys implements IAntvMainDetaildbQuerys {
24
- antvmain: number = -1;
25
- }
26
-
27
- export interface IAntvMainGet5DataQuerys {
28
- antvname: string;
29
- cnfgname: string;
30
- unittypetext: string;
31
- [key: string]: string;
32
- }
33
-
34
- export class TAntvMainGet5DataQuerys implements IAntvMainGet5DataQuerys {
35
- antvname: string = "";
36
- cnfgname: string = "";
37
- unittypetext: string = "";
38
- }
39
-
40
- /** para */
41
- export interface IAntvParaSelectdbQuerys {
42
- antvmain: number;
43
- antvcnfg: number;
44
- }
45
-
46
- export class TAntvParaSelectdbQuerys implements IAntvParaSelectdbQuerys {
47
- antvmain: number = -1;
48
- antvcnfg: number = -1;
49
- }
50
-
51
- export interface IAntvParaDetaildbQuerys {
52
- antvmain: number;
53
- }
54
-
55
- export class TAntvParaDetaildbQuerys implements IAntvParaDetaildbQuerys {
56
- antvmain: number = -1;
57
- }
@@ -1,47 +0,0 @@
1
- import { createRequest, IAxiosConfig } from "../axios";
2
- import GblbRequest from "./gblb";
3
- import MainRequest from "./main";
4
- import ZcbdRequest from "./zcbd";
5
- import ZccfRequest from "./zccf";
6
- import ZcczRequest from "./zccz";
7
- import ZcdbRequest from "./zcdb";
8
- import ZclbRequest from "./zclb";
9
- import FormRequest from "./form";
10
- import ZczjRequest from "./zczj";
11
- import P4pzRequest from "./p4pz";
12
- import ZczjPropRequest from "./zczjProp";
13
- import TzclbgblbRequest from "./tzclbgblb";
14
-
15
- class CardRequest {
16
- public gblb: GblbRequest;
17
- public main: MainRequest;
18
- public zcbd: ZcbdRequest;
19
- public zccf: ZccfRequest;
20
- public zccz: ZcczRequest;
21
- public zcdb: ZcdbRequest;
22
- public zclb: ZclbRequest;
23
- public form: FormRequest;
24
- public p4pz: P4pzRequest;
25
- public zczj: ZczjRequest;
26
- public zczjProp: ZczjPropRequest;
27
- public tzclbgblb: TzclbgblbRequest;
28
-
29
- constructor(config: IAxiosConfig) {
30
- const request = createRequest(config);
31
- this.gblb = new GblbRequest(request);
32
- this.main = new MainRequest(request);
33
- this.zcbd = new ZcbdRequest(request);
34
- this.zccf = new ZccfRequest(request);
35
- this.zccz = new ZcczRequest(request);
36
- this.zcdb = new ZcdbRequest(request);
37
- this.zclb = new ZclbRequest(request);
38
- this.form = new FormRequest(request);
39
- this.p4pz = new P4pzRequest(request);
40
- this.zczj = new ZczjRequest(request);
41
- this.zczjProp = new ZczjPropRequest(request);
42
- this.tzclbgblb = new TzclbgblbRequest(request);
43
- }
44
- }
45
-
46
- export default CardRequest;
47
- export * from "./type";
@@ -1,36 +0,0 @@
1
- import { TCard } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import {
4
- ICardZclbsortUploaddbQuerys, ICardZclbsortSelectdbQuerys
5
- } from "./type";
6
- import {TParams} from "../core";
7
-
8
- /** 资产类别关联国标类别香菇按接口 */
9
- class TzclbsortRequest {
10
- private httpRequest: HttpRequest;
11
-
12
- constructor(httpRequest: HttpRequest) {
13
- this.httpRequest = httpRequest;
14
- }
15
-
16
- /**
17
- * 获取资产类别关联国标类别列表
18
- * @param querys
19
- * @returns
20
- */
21
- selectdb(querys: ICardZclbsortSelectdbQuerys) {
22
- return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbsort/selectdb", querys, undefined);
23
- }
24
-
25
- /**
26
- * 导入资产类别关联国标类别
27
- * @param querys
28
- * @param params
29
- * @returns
30
- */
31
- uploaddb(querys: ICardZclbsortUploaddbQuerys, params: TParams<TCard.TSyszclbgblbResponse[]>) {
32
- return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbsort/uploaddb", querys, params);
33
- }
34
- }
35
-
36
- export default TzclbsortRequest;
@@ -1,106 +0,0 @@
1
- import { TCard, TCore } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { ICardZcczChkinsertQuerys, ICardZcczDetaildbQuerys, ICardZcczInsertdbQuerys, ICardZcczSelectdbQuerys, ICardZcczUpdatedbQuerys } from "./type";
4
-
5
- class ZcczRequest {
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: ICardZcczSelectdbQuerys) {
17
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/selectdb", querys, undefined);
18
- }
19
-
20
- /**
21
- * 获取资产处置详情
22
- * @param querys
23
- * @returns
24
- */
25
- detaildb(querys: ICardZcczDetaildbQuerys) {
26
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/detaildb", querys, undefined);
27
- }
28
-
29
- /**
30
- * 添加资产处置
31
- * @param querys
32
- * @param params
33
- * @returns
34
- */
35
- insertdb(querys: ICardZcczInsertdbQuerys, params: object) {
36
- return this.httpRequest.post<TCard.IZcczResponse[]>(`/gapi/card/tzccz/insertdb`, querys, params);
37
- }
38
-
39
- /**
40
- * 编辑资产处置
41
- * @param querys
42
- * @param params
43
- * @returns
44
- */
45
- updatedb(querys: ICardZcczUpdatedbQuerys, params: object) {
46
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/updatedb", querys, params);
47
- }
48
-
49
- /**
50
- * 删除资产处置
51
- * @param params
52
- */
53
- deletedb(params: object) {
54
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/deletedb", undefined, params);
55
- }
56
-
57
- /**
58
- * 获取处置待办
59
- */
60
- todolist() {
61
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/todolist");
62
- }
63
-
64
- /**
65
- * 获取处置已办
66
- */
67
- finished() {
68
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/finished");
69
- }
70
-
71
- /**
72
- * 资产处置终审
73
- * @param params
74
- */
75
- executed(params: object) {
76
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/executed", undefined, params);
77
- }
78
-
79
- /**
80
- * 资产处置撤销终审
81
- * @param params
82
- */
83
- canceled(params: object) {
84
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/canceled", undefined, params);
85
- }
86
-
87
- /**
88
- * 资产处置撤销终审判断
89
- * @param params
90
- */
91
- chkexist(params: object) {
92
- return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/card/tzccz/chkexist", undefined, params);
93
- }
94
-
95
- /**
96
- * 新增之前判断当前年度期间是否有修改业务
97
- * @param querys
98
- * @param params
99
- * @returns
100
- */
101
- chkinsert(querys: ICardZcczChkinsertQuerys, params: object) {
102
- return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/chkinsert", querys, params);
103
- }
104
- }
105
-
106
- export default ZcczRequest;
@@ -1,84 +0,0 @@
1
- import type { TCore } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import {
4
- ICoreLaidInsertdbQuerys,
5
- ICoreLaidSelectdbQuerys,
6
- ICoreLaidUpdatedbQuerys,
7
- ICoreLaidUploadd3Querys,
8
- ICoreLaidUploadd4Querys,
9
- TParams
10
- } from "./types";
11
-
12
- class LaidRequest {
13
- private httpRequest: HttpRequest;
14
- constructor(httpRequest: HttpRequest) {
15
- this.httpRequest = httpRequest;
16
- }
17
-
18
- /**
19
- * 获取存放地点
20
- * @param querys
21
- */
22
- selectdb(querys: ICoreLaidSelectdbQuerys) {
23
- return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/selectdb", querys, undefined);
24
- }
25
-
26
- /**
27
- * 添加存放地点
28
- * @param querys
29
- * @param params
30
- * @returns
31
- */
32
- insertdb(querys: ICoreLaidInsertdbQuerys, params: object) {
33
- return this.httpRequest.post<TCore.ILaidResponse[]>(`/core/tlaid/insertdb`, querys, params);
34
- }
35
-
36
- /**
37
- * 编辑存放地点
38
- * @param querys
39
- * @param params
40
- * @returns
41
- */
42
- updatedb(querys: ICoreLaidUpdatedbQuerys, params: TParams<TCore.ILaidResponse[]>) {
43
- return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/updatedb", querys, params);
44
- }
45
-
46
- /**
47
- * 删除存放地点
48
- * @param params
49
- */
50
- deletedb(params: object) {
51
- return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/deletedb", undefined, params);
52
- }
53
-
54
- /**
55
- * 判断存放地点是否关联资产卡片
56
- * @param params
57
- */
58
- judgedb(params: object) {
59
- return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/judgedb", undefined, params);
60
- }
61
-
62
- /**
63
- * 批量新增存放地点并建立树型
64
- * @param querys
65
- * @param params
66
- * @returns
67
- */
68
- uploadd3(querys: ICoreLaidUploadd3Querys, params: object) {
69
- return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/uploadd3", querys, params);
70
- }
71
-
72
- /**
73
- * 卡片生成的时候,批量补全
74
- * 批量新增存放地点并建立树型
75
- * @param querys
76
- * @param params
77
- * @returns
78
- */
79
- uploadd4(querys: ICoreLaidUploadd4Querys, params: object) {
80
- return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/uploadd4", querys, params);
81
- }
82
- }
83
-
84
- export default LaidRequest;
@@ -1,17 +0,0 @@
1
- /** ========== main ========== */
2
- export interface IExpdMainDetaildbQuerys {
3
- expdmain: number;
4
- }
5
-
6
- export class TExpdMainDetaildbQuerys implements IExpdMainDetaildbQuerys {
7
- expdmain: number = -1;
8
- }
9
- /** ========== main ========== */
10
- export interface IExpdMainSelectdbQuerys {
11
- todolock: number;
12
- }
13
-
14
- export class TExpdMainSelectdbQuerys implements IExpdMainSelectdbQuerys {
15
- todolock: number = -1;
16
- withflow: number = 1;
17
- }
@@ -1,40 +0,0 @@
1
- import type { TGams } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { IGamsTtypeSelectdbQuerys, IGamsTtypeInsertdbQuerys } from "./type";
4
-
5
- class TtypeRequest {
6
- private httpRequest: HttpRequest;
7
- constructor(httpRequest: HttpRequest) {
8
- this.httpRequest = httpRequest;
9
- }
10
-
11
- /**
12
- * 获取标准要素
13
- */
14
- selectdb(querys: IGamsTtypeSelectdbQuerys) {
15
- return this.httpRequest.post<TGams.IGamsTypeResponse[]>("/gams/ttype/selectdb", querys, undefined);
16
- }
17
-
18
- /**
19
- * 添加标准要素
20
- */
21
- insertdb(querys: IGamsTtypeInsertdbQuerys, params: object) {
22
- return this.httpRequest.post<TGams.IGamsTypeResponse[]>("/gams/ttype/insertdb", querys, params);
23
- }
24
-
25
- /**
26
- * 修改标准要素
27
- */
28
- updatedb(querys: IGamsTtypeInsertdbQuerys, params: object) {
29
- return this.httpRequest.post<TGams.IGamsTypeResponse[]>("/gams/ttype/updatedb", querys, params);
30
- }
31
-
32
- /**
33
- * 删除标准账套
34
- */
35
- deletedb(querys: IGamsTtypeInsertdbQuerys, params: object) {
36
- return this.httpRequest.post<TGams.IGamsTypeResponse[]>("/gams/ttype/deletedb", querys, params);
37
- }
38
- }
39
-
40
- export default TtypeRequest;