@ningboyz/apis 1.1.71 → 1.1.72
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/.prettierrc +15 -15
- package/index.ts +90 -90
- package/package.json +24 -24
- package/packages/antv/cnfg.ts +47 -47
- package/packages/antv/index.ts +20 -20
- package/packages/antv/main.ts +54 -54
- package/packages/antv/para.ts +47 -47
- package/packages/antv/type.ts +59 -59
- package/packages/antv/type.ts~ +57 -0
- package/packages/axios.ts +136 -136
- package/packages/card/form.ts +18 -18
- package/packages/card/gblb.ts +113 -113
- package/packages/card/index.ts +49 -49
- package/packages/card/index.ts~ +47 -0
- package/packages/card/main.ts +270 -270
- package/packages/card/p4pz.ts +93 -93
- package/packages/card/tdata.ts +104 -104
- package/packages/card/type.ts +792 -792
- package/packages/card/tzclbgblb.ts +36 -36
- package/packages/card/tzclbsort.ts~ +36 -0
- package/packages/card/zcbd.ts +110 -110
- package/packages/card/zccf.ts +105 -105
- package/packages/card/zccz.ts +112 -112
- package/packages/card/zccz.ts~ +106 -0
- package/packages/card/zcdb.ts +120 -120
- package/packages/card/zclb.ts +93 -93
- package/packages/card/zczj.ts +21 -21
- package/packages/card/zczjProp.ts +21 -21
- package/packages/cnfg/index.ts +14 -14
- package/packages/cnfg/main.ts +42 -42
- package/packages/cnfg/type.ts +4 -4
- package/packages/core/dddw.ts +51 -51
- package/packages/core/dept.ts +94 -94
- package/packages/core/dict.ts +69 -69
- package/packages/core/index.ts +62 -62
- package/packages/core/laid.ts +85 -85
- package/packages/core/laid.ts~ +84 -0
- package/packages/core/local.ts +29 -29
- package/packages/core/mast.ts +23 -23
- package/packages/core/part.ts +62 -62
- package/packages/core/path.ts +46 -46
- package/packages/core/sysbilltype.ts +53 -53
- package/packages/core/sysclas.ts +16 -16
- package/packages/core/sysenvr.ts +15 -15
- package/packages/core/syskjnd.ts +18 -18
- package/packages/core/sysmenu.ts +119 -119
- package/packages/core/systravel.ts +40 -40
- package/packages/core/type.ts +73 -73
- package/packages/core/types.ts +571 -571
- package/packages/core/unit.ts +75 -75
- package/packages/core/user.ts +385 -385
- package/packages/cron/index.ts +14 -14
- package/packages/cron/main.ts +55 -55
- package/packages/cron/type.ts +18 -18
- package/packages/elem/index.ts +14 -14
- package/packages/elem/main.ts +68 -68
- package/packages/elem/type.ts +7 -7
- package/packages/expd/index.ts +14 -14
- package/packages/expd/main.ts +23 -23
- package/packages/expd/type.ts +18 -18
- package/packages/expd/type.ts~ +17 -0
- package/packages/flow/duty.ts +57 -57
- package/packages/flow/flow.ts +97 -97
- package/packages/flow/index.ts +25 -25
- package/packages/flow/main.ts +61 -61
- package/packages/flow/node.ts +76 -76
- package/packages/flow/type.ts +214 -214
- package/packages/flow/void.ts +64 -64
- package/packages/gams/cnfg.ts +64 -64
- package/packages/gams/index.ts +19 -19
- package/packages/gams/titem.ts +40 -40
- package/packages/gams/ttype.ts +40 -40
- package/packages/gams/type.ts +88 -88
- package/packages/grow/grow.ts +17 -17
- package/packages/grow/index.ts +14 -14
- package/packages/grow/type.ts +7 -7
- package/packages/gzjg/gzlm.ts +82 -82
- package/packages/gzjg/index.ts +16 -16
- package/packages/gzjg/main.ts +62 -62
- package/packages/gzjg/type.ts +100 -100
- package/packages/gztb/index.ts +14 -14
- package/packages/gztb/main.ts +33 -33
- package/packages/gztb/type.ts +27 -27
- package/packages/gzzd/index.ts +14 -14
- package/packages/gzzd/main.ts +82 -82
- package/packages/gzzd/type.ts +68 -68
- package/packages/hzcb/index.ts +14 -14
- package/packages/hzcb/main.ts +43 -43
- package/packages/hzcb/type.ts +20 -20
- package/packages/index.ts +26 -26
- package/packages/load/data.ts +20 -20
- package/packages/load/index.ts +23 -23
- package/packages/load/main.ts +19 -19
- package/packages/load/type.ts +30 -30
- package/packages/load/yqdw.ts +15 -15
- package/packages/load/yqkm.ts +15 -15
- package/packages/myoa/index.ts +19 -19
- package/packages/myoa/main.ts +142 -142
- package/packages/myoa/room.ts +45 -45
- package/packages/myoa/type.ts +186 -186
- package/packages/myoa/withcard.ts +114 -114
- package/packages/noti/index.ts +14 -14
- package/packages/noti/main.ts +47 -47
- package/packages/noti/main.ts~ +47 -0
- package/packages/noti/type.ts +26 -26
- package/packages/noti/type.ts~ +29 -0
- package/packages/ocri/index.ts +13 -13
- package/packages/ocri/path.ts +17 -17
- package/packages/ocri/type.ts +6 -6
- package/packages/pzpt/cnfg.ts +92 -92
- package/packages/pzpt/glfa.ts +59 -59
- package/packages/pzpt/glkm.ts +51 -51
- package/packages/pzpt/index.ts +47 -47
- package/packages/pzpt/item.ts +54 -54
- package/packages/pzpt/k0km.ts +41 -41
- package/packages/pzpt/k8km.ts +55 -55
- package/packages/pzpt/kbkm.ts +25 -25
- package/packages/pzpt/pzpz.ts +60 -60
- package/packages/pzpt/pzpzp6pz.ts +44 -44
- package/packages/pzpt/type.ts +50 -50
- package/packages/pzpt/types.ts +481 -481
- package/packages/pzpt/yqkb.ts +20 -20
- package/packages/pzpt/yqkm.ts +34 -34
- package/packages/tabl/index.ts +14 -14
- package/packages/tabl/main.ts +116 -116
- package/packages/tabl/type.ts +148 -148
- package/packages/task/index.ts +13 -13
- package/packages/task/main.ts +48 -48
- package/packages/task/type.ts +18 -18
- package/packages/type.ts +9 -9
- package/packages/wldy/data.ts +52 -52
- package/packages/wldy/index.ts +20 -20
- package/packages/wldy/item.ts +52 -52
- package/packages/wldy/page.ts +63 -63
- package/packages/wldy/type.ts +48 -48
- package/packages/wtui/ctrl.ts +45 -45
- package/packages/wtui/envr.ts +15 -15
- package/packages/wtui/form.ts +61 -61
- package/packages/wtui/index.ts +44 -44
- package/packages/wtui/item.ts +62 -62
- package/packages/wtui/main.ts +85 -85
- package/packages/wtui/menu.ts +37 -37
- package/packages/wtui/node.ts +55 -55
- package/packages/wtui/todo.ts +77 -77
- package/packages/wtui/type.ts +384 -384
- package/packages/wtui/type.ts~ +380 -0
- package/packages/wtui/user.ts +39 -39
- package/packages/wtui/view.ts +90 -90
- package/packages/wtui/zone.ts +52 -52
- package/packages/yzcg/index.ts +14 -14
- package/packages/yzcg/main.ts +49 -49
- package/packages/yzcg/type.ts +22 -22
- package/packages/yzht/index.ts +14 -14
- package/packages/yzht/main.ts +50 -50
- package/packages/yzht/type.ts +38 -38
- package/packages/zbys/detail.ts +55 -55
- package/packages/zbys/index.ts +13 -13
- package/packages/zbys/type.ts +40 -40
- package/packages/zbzd/index.ts +14 -14
- package/packages/zbzd/main.ts +48 -48
- package/packages/zbzd/type.ts +29 -29
- package/readme.md +1 -1
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
/** ===============todo ============== */
|
|
2
|
+
export interface IWtuiTodoCopywtuiQuerys {
|
|
3
|
+
/** 复制条数 */
|
|
4
|
+
copysize: number;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export class TWtuiTodoCopywtuiQuerys implements IWtuiTodoCopywtuiQuerys {
|
|
8
|
+
copysize: number = 1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** ===============main ============== */
|
|
12
|
+
export interface IWtuiMainRecoverWtuiQuerys {
|
|
13
|
+
/** 1:覆盖,0:追加 */
|
|
14
|
+
override: number;
|
|
15
|
+
wtuimain: number;
|
|
16
|
+
wtuiroot: number;
|
|
17
|
+
}
|
|
18
|
+
export class TWtuiTodoRecoverWtuiQuerys implements IWtuiMainRecoverWtuiQuerys {
|
|
19
|
+
override: number = -1;
|
|
20
|
+
wtuimain: number = -1;
|
|
21
|
+
wtuiroot: number = -1;
|
|
22
|
+
}
|
|
23
|
+
export interface IWtuiMainCopywtuiQuerys {
|
|
24
|
+
/** 复制条数 */
|
|
25
|
+
copysize: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class TWtuiMainCopywtuiQuerys implements IWtuiMainCopywtuiQuerys {
|
|
29
|
+
copysize: number = 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** ========== ctrl ========== */
|
|
33
|
+
export interface IWtuiCtrlSelectdbQuerys {
|
|
34
|
+
wtuiview: number;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export class TWtuiCtrlSelectdbQuerys implements IWtuiCtrlSelectdbQuerys {
|
|
38
|
+
wtuiview: number = -1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface IWtuiCtrlInsertdbQuerys {
|
|
42
|
+
wtuimain: number;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class TWtuiCtrlInsertdbQuerys implements IWtuiCtrlInsertdbQuerys {
|
|
46
|
+
wtuimain: number = -1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface IWtuiCtrlUpdatedbQuerys {
|
|
50
|
+
wtuiview: number;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class TWtuiCtrlUpdatedbQuerys implements IWtuiCtrlUpdatedbQuerys {
|
|
54
|
+
wtuiview: number = -1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface IWtuiCtrlDetaildbQuerys {
|
|
58
|
+
ctrlindx: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export class TWtuiCtrlDetaildbQuerys implements IWtuiCtrlDetaildbQuerys {
|
|
62
|
+
ctrlindx: number = -1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** ========== envr ========== */
|
|
66
|
+
|
|
67
|
+
/** ========== form ========== */
|
|
68
|
+
export interface IWtuiFormSelectdbQuerys {
|
|
69
|
+
zonemain: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class TWtuiFormSelectdbQuerys implements IWtuiFormSelectdbQuerys {
|
|
73
|
+
zonemain: number = -1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface IWtuiFormDetaild2Querys {
|
|
77
|
+
formname: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export class TWtuiFormDetaild2Querys implements IWtuiFormDetaild2Querys {
|
|
81
|
+
formname: string = "";
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface IWtuiFormInsertdbQuerys {
|
|
85
|
+
wtuizone: number;
|
|
86
|
+
wtuimain: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export class TWtuiFormInsertdbQuerys implements IWtuiFormInsertdbQuerys {
|
|
90
|
+
wtuizone: number = -1;
|
|
91
|
+
wtuimain: number = -1;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface IWtuiFormDetaildbQuerys {
|
|
95
|
+
formmain: number;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export class TWtuiFormDetaildbQuerys implements IWtuiFormDetaildbQuerys {
|
|
99
|
+
formmain: number = -1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** ========== item ========== */
|
|
103
|
+
export interface IWtuiItemSelectdbQuerys {
|
|
104
|
+
wtuimain: number;
|
|
105
|
+
zonemain: number;
|
|
106
|
+
formmain: number;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export class TWtuiItemSelectdbQuerys implements IWtuiItemSelectdbQuerys {
|
|
110
|
+
wtuimain: number = -1;
|
|
111
|
+
zonemain: number = -1;
|
|
112
|
+
formmain: number = -1;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface IWtuiItemInsertdbQuerys {
|
|
116
|
+
wtuiform: number;
|
|
117
|
+
wtuizone: number;
|
|
118
|
+
wtuimain: number;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export class TWtuiItemInsertdbQuerys implements IWtuiItemInsertdbQuerys {
|
|
122
|
+
wtuiform: number = -1;
|
|
123
|
+
wtuizone: number = -1;
|
|
124
|
+
wtuimain: number = -1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface IWtuiItemDetaildbQuerys {
|
|
128
|
+
itemmain: number;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export class TWtuiItemDetaildbQuerys implements IWtuiItemDetaildbQuerys {
|
|
132
|
+
itemmain: number = -1;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/** ========== main ========== */
|
|
136
|
+
export interface IWtuiMainGet4viewQuerys {
|
|
137
|
+
sysclasc: number;
|
|
138
|
+
useruuid: string;
|
|
139
|
+
unitmain: number;
|
|
140
|
+
usrpartc: number;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export class TWtuiMainGet4viewQuerys implements IWtuiMainGet4viewQuerys {
|
|
144
|
+
sysclasc: number = -1;
|
|
145
|
+
useruuid: string = "";
|
|
146
|
+
unitmain: number = -1;
|
|
147
|
+
usrpartc: number = -1;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface IWtuiMainSelectdbQuerys {
|
|
151
|
+
sysclasc: number;
|
|
152
|
+
useruuid: string;
|
|
153
|
+
unitmain: number;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export class TWtuiMainSelectdbQuerys implements IWtuiMainSelectdbQuerys {
|
|
157
|
+
sysclasc: number = -1;
|
|
158
|
+
useruuid: string = "";
|
|
159
|
+
unitmain: number = -1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface IWtuiMainDetaildbQuerys {
|
|
163
|
+
wtuimain: number;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export class TWtuiMainDetaildbQuerys implements IWtuiMainDetaildbQuerys {
|
|
167
|
+
wtuimain: number = -1;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/** ========== menu ========== */
|
|
171
|
+
export interface IWtuiMenuSelectdbQuerys {
|
|
172
|
+
wtuimain: number;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class TWtuiMenuSelectdbQuerys implements IWtuiMenuSelectdbQuerys {
|
|
176
|
+
wtuimain: number = -1;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export interface IWtuiMenuInsertdbQuerys {
|
|
180
|
+
wtuimain: number;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export class TWtuiMenuInsertdbQuerys implements IWtuiMenuInsertdbQuerys {
|
|
184
|
+
wtuimain: number = -1;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface IWtuiMenuUpdatedbQuerys {
|
|
188
|
+
wtuimain: number;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export class TWtuiMenuUpdatedbQuerys implements IWtuiMenuUpdatedbQuerys {
|
|
192
|
+
wtuimain: number = -1;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** ========== node ========== */
|
|
196
|
+
export interface IWtuiNodeRecoverWtuiQuerys {
|
|
197
|
+
/** 1:覆盖,0:追加 */
|
|
198
|
+
override: number;
|
|
199
|
+
wtuimain: number;
|
|
200
|
+
}
|
|
201
|
+
export class TWtuiNodeRecoverWtuiQuerys implements IWtuiNodeRecoverWtuiQuerys {
|
|
202
|
+
override: number = -1;
|
|
203
|
+
wtuimain: number = -1;
|
|
204
|
+
}
|
|
205
|
+
export interface IWtuiNodeAsmainlyQuerys {
|
|
206
|
+
useruuid: string;
|
|
207
|
+
asmobile: number;
|
|
208
|
+
asclient: number;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export class TWtuiNodeAsmainlyQuerys implements IWtuiNodeAsmainlyQuerys {
|
|
212
|
+
useruuid: string = "";
|
|
213
|
+
asmobile: number = -1;
|
|
214
|
+
asclient: number = -1;
|
|
215
|
+
}
|
|
216
|
+
export interface IWtuiNodeSelectdbQuerys {
|
|
217
|
+
wtuimain: number;
|
|
218
|
+
wtuiroot: number;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export class TWtuiNodeSelectdbQuerys implements IWtuiNodeSelectdbQuerys {
|
|
222
|
+
wtuimain: number = -1;
|
|
223
|
+
wtuiroot: number = -1;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export interface IWtuiNodeInsertdbQuerys {
|
|
227
|
+
wtuimain: number;
|
|
228
|
+
wtuiroot: number;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export class TWtuiNodeInsertdbQuerys implements IWtuiNodeInsertdbQuerys {
|
|
232
|
+
wtuimain: number = -1;
|
|
233
|
+
wtuiroot: number = -1;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export interface IWtuiNodeUpdatedbQuerys {
|
|
237
|
+
wtuiroot: number;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export class TWtuiNodeUpdatedbQuerys implements IWtuiNodeUpdatedbQuerys {
|
|
241
|
+
wtuiroot: number = -1;
|
|
242
|
+
}
|
|
243
|
+
export interface IWtuiNodeDatahideQuerys {
|
|
244
|
+
/** 是否隐藏
|
|
245
|
+
0:正常;1:隐藏
|
|
246
|
+
*/
|
|
247
|
+
datahide: number;
|
|
248
|
+
wtuimain: number;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export class TWtuiNodeDatahideQuerys implements IWtuiNodeDatahideQuerys {
|
|
252
|
+
datahide: number = -1;
|
|
253
|
+
wtuimain: number = -1;
|
|
254
|
+
}
|
|
255
|
+
/** ========== todo ========== */
|
|
256
|
+
export interface IWtuiTodoSelectdbQuerys {
|
|
257
|
+
wtuimain: number;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export class TWtuiTodoSelectdbQuerys implements IWtuiTodoSelectdbQuerys {
|
|
261
|
+
wtuimain: number = -1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface IWtuiTodoInsertdbQuerys {
|
|
265
|
+
wtuimain: number;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export class TWtuiTodoInsertdbQuerys implements IWtuiTodoInsertdbQuerys {
|
|
269
|
+
wtuimain: number = -1;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface IWtuiTodoUpdatedbQuerys {
|
|
273
|
+
wtuimain: number;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export class TWtuiTodoUpdatedbQuerys implements IWtuiTodoUpdatedbQuerys {
|
|
277
|
+
wtuimain: number = -1;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/** ========== user ========== */
|
|
281
|
+
export interface IWtuiUsercnfgGet4cnfgQuerys {
|
|
282
|
+
entityid: string;
|
|
283
|
+
}
|
|
284
|
+
export class TWtuiUsercnfgGet4cnfgQuerys implements IWtuiUsercnfgGet4cnfgQuerys {
|
|
285
|
+
entityid: string = "";
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface IWtuiUsercnfgSelectdbQuerys {
|
|
289
|
+
cnfguses: string;
|
|
290
|
+
useronly: number;
|
|
291
|
+
}
|
|
292
|
+
export class TWtuiUsercnfgSelectdbQuerys implements IWtuiUsercnfgSelectdbQuerys {
|
|
293
|
+
cnfguses: string = "";
|
|
294
|
+
useronly: number = -1;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/** ========== view ========== */
|
|
298
|
+
export interface IWtuiViewSelectdbQuerys {
|
|
299
|
+
wtuimain: number;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export class TWtuiViewSelectdbQuerys implements IWtuiViewSelectdbQuerys {
|
|
303
|
+
wtuimain: number = -1;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface IWtuiViewInsertdbQuerys {
|
|
307
|
+
wtuimain: number;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export class TWtuiViewInsertdbQuerys implements IWtuiViewInsertdbQuerys {
|
|
311
|
+
wtuimain: number = -1;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface IWtuiViewUpdatedbQuerys {
|
|
315
|
+
wtuimain: number;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export class TWtuiViewUpdatedbQuerys implements IWtuiViewUpdatedbQuerys {
|
|
319
|
+
wtuimain: number = -1;
|
|
320
|
+
}
|
|
321
|
+
export interface IWtuiViewDetaildbQuerys {
|
|
322
|
+
wtuiview: number;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export class TWtuiViewDetaildbQuerys implements IWtuiViewDetaildbQuerys {
|
|
326
|
+
wtuiview: number = -1;
|
|
327
|
+
}
|
|
328
|
+
export interface IWtuiViewParentId {
|
|
329
|
+
wtuimain: number;
|
|
330
|
+
parentid: number;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export class TWtuiViewParentId implements IWtuiViewParentId {
|
|
334
|
+
wtuimain: number = -1;
|
|
335
|
+
parentid: number = -1;
|
|
336
|
+
}
|
|
337
|
+
export interface IWtuiViewHidePage {
|
|
338
|
+
wtuimain: number;
|
|
339
|
+
datahide: number;
|
|
340
|
+
}
|
|
341
|
+
/*
|
|
342
|
+
0:取消隐藏,1:设为隐藏
|
|
343
|
+
*/
|
|
344
|
+
export class TWtuiViewHidePage implements IWtuiViewHidePage {
|
|
345
|
+
wtuimain: number = -1;
|
|
346
|
+
datahide: number = -1;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** ========== zone ========== */
|
|
350
|
+
export interface IWtuiZoneSelectdbQuerys {
|
|
351
|
+
wtuimain: number;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export class TWtuiZoneSelectdbQuerys implements IWtuiZoneSelectdbQuerys {
|
|
355
|
+
wtuimain: number = -1;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface IWtuiZoneInsertdbQuerys {
|
|
359
|
+
wtuimain: number;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export class TWtuiZoneInsertdbQuerys implements IWtuiZoneInsertdbQuerys {
|
|
363
|
+
wtuimain: number = -1;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export interface IWtuiZoneUpdatedbQuerys {
|
|
367
|
+
wtuimain: number;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export class TWtuiZoneUpdatedbQuerys implements IWtuiZoneUpdatedbQuerys {
|
|
371
|
+
wtuimain: number = -1;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export interface IWtuiZoneDetaildbQuerys {
|
|
375
|
+
zonemain: number;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export class TWtuiZoneDetaildbQuerys implements IWtuiZoneDetaildbQuerys {
|
|
379
|
+
zonemain: number = -1;
|
|
380
|
+
}
|
package/packages/wtui/user.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { TWtui } from "@ningboyz/types";
|
|
2
|
-
import { HttpRequest } from "../axios";
|
|
3
|
-
import { IWtuiUsercnfgGet4cnfgQuerys, IWtuiUsercnfgSelectdbQuerys } from "./type";
|
|
4
|
-
|
|
5
|
-
class UserRequest {
|
|
6
|
-
private httpRequest: HttpRequest;
|
|
7
|
-
constructor(httpRequest: HttpRequest) {
|
|
8
|
-
this.httpRequest = httpRequest;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param params 保存我的样式
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
usercnfgSavetodb(params: object) {
|
|
17
|
-
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/savetodb", undefined, params);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @param querys 获取我的样式
|
|
23
|
-
* @returns
|
|
24
|
-
*/
|
|
25
|
-
usercnfgGet4cnfg(querys: IWtuiUsercnfgGet4cnfgQuerys) {
|
|
26
|
-
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/get4cnfg", querys, undefined);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param querys 获取我的样式
|
|
32
|
-
* @returns
|
|
33
|
-
*/
|
|
34
|
-
usercnfgSelectdb(querys: IWtuiUsercnfgSelectdbQuerys) {
|
|
35
|
-
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/selectdb", querys, undefined);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export default UserRequest;
|
|
1
|
+
import { TWtui } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiUsercnfgGet4cnfgQuerys, IWtuiUsercnfgSelectdbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class UserRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param params 保存我的样式
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
usercnfgSavetodb(params: object) {
|
|
17
|
+
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/savetodb", undefined, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @param querys 获取我的样式
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
usercnfgGet4cnfg(querys: IWtuiUsercnfgGet4cnfgQuerys) {
|
|
26
|
+
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/get4cnfg", querys, undefined);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param querys 获取我的样式
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
usercnfgSelectdb(querys: IWtuiUsercnfgSelectdbQuerys) {
|
|
35
|
+
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/selectdb", querys, undefined);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export default UserRequest;
|
package/packages/wtui/view.ts
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
import type { TWtui } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IWtuiViewHidePage, IWtuiViewDetaildbQuerys, IWtuiViewParentId, IWtuiViewInsertdbQuerys, IWtuiViewSelectdbQuerys, IWtuiViewUpdatedbQuerys, IWtuiNodeRecoverWtuiQuerys } from "./type";
|
|
4
|
-
|
|
5
|
-
class ViewRequest {
|
|
6
|
-
private httpRequest: HttpRequest;
|
|
7
|
-
constructor(httpRequest: HttpRequest) {
|
|
8
|
-
this.httpRequest = httpRequest;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 根据wtuimain查看页面定义
|
|
13
|
-
* @param params
|
|
14
|
-
*/
|
|
15
|
-
selectdb(querys: IWtuiViewSelectdbQuerys) {
|
|
16
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/selectdb", querys, undefined);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 添加页面定义
|
|
21
|
-
* @param querys
|
|
22
|
-
* @param params
|
|
23
|
-
*/
|
|
24
|
-
insertdb(querys: IWtuiViewInsertdbQuerys, params: object) {
|
|
25
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/insertdb`, querys, params);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* 删除页面定义
|
|
30
|
-
* @param params
|
|
31
|
-
*/
|
|
32
|
-
deletedb(params: object) {
|
|
33
|
-
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tview/deletedb", undefined, params);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* 根据wtuiview查看页面定义详情
|
|
38
|
-
* @param querys
|
|
39
|
-
*/
|
|
40
|
-
detaildb(querys: IWtuiViewDetaildbQuerys) {
|
|
41
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/detaildb", querys, undefined);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* 修改页面定义
|
|
46
|
-
* @param querys
|
|
47
|
-
* @param params
|
|
48
|
-
*/
|
|
49
|
-
updatedb(querys: IWtuiViewUpdatedbQuerys, params: object) {
|
|
50
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/updatedb`, querys, params);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* 排序
|
|
55
|
-
* @param params
|
|
56
|
-
* @returns
|
|
57
|
-
*/
|
|
58
|
-
queuesby(params: object) {
|
|
59
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/queuesby`, undefined, params);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* 恢复页面定义
|
|
63
|
-
* @param querys
|
|
64
|
-
* @param params
|
|
65
|
-
* @returns
|
|
66
|
-
*/
|
|
67
|
-
uploadit(querys: IWtuiNodeRecoverWtuiQuerys, params: object) {
|
|
68
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/uploadit`, querys, params);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* 批量隐藏/显示页面
|
|
72
|
-
* @param querys
|
|
73
|
-
* @param params
|
|
74
|
-
* @returns
|
|
75
|
-
*/
|
|
76
|
-
hideUploaddb(querys: IWtuiViewHidePage, params: object) {
|
|
77
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/datahide/uploaddb`, querys, params);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* 批量设置父级
|
|
81
|
-
* @param querys
|
|
82
|
-
* @param params
|
|
83
|
-
* @returns
|
|
84
|
-
*/
|
|
85
|
-
uploaddb(querys: IWtuiViewParentId, params: object) {
|
|
86
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/parentid/uploaddb`, querys, params);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export default ViewRequest;
|
|
1
|
+
import type { TWtui } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiViewHidePage, IWtuiViewDetaildbQuerys, IWtuiViewParentId, IWtuiViewInsertdbQuerys, IWtuiViewSelectdbQuerys, IWtuiViewUpdatedbQuerys, IWtuiNodeRecoverWtuiQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class ViewRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 根据wtuimain查看页面定义
|
|
13
|
+
* @param params
|
|
14
|
+
*/
|
|
15
|
+
selectdb(querys: IWtuiViewSelectdbQuerys) {
|
|
16
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/selectdb", querys, undefined);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 添加页面定义
|
|
21
|
+
* @param querys
|
|
22
|
+
* @param params
|
|
23
|
+
*/
|
|
24
|
+
insertdb(querys: IWtuiViewInsertdbQuerys, params: object) {
|
|
25
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/insertdb`, querys, params);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 删除页面定义
|
|
30
|
+
* @param params
|
|
31
|
+
*/
|
|
32
|
+
deletedb(params: object) {
|
|
33
|
+
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tview/deletedb", undefined, params);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 根据wtuiview查看页面定义详情
|
|
38
|
+
* @param querys
|
|
39
|
+
*/
|
|
40
|
+
detaildb(querys: IWtuiViewDetaildbQuerys) {
|
|
41
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/detaildb", querys, undefined);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 修改页面定义
|
|
46
|
+
* @param querys
|
|
47
|
+
* @param params
|
|
48
|
+
*/
|
|
49
|
+
updatedb(querys: IWtuiViewUpdatedbQuerys, params: object) {
|
|
50
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/updatedb`, querys, params);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 排序
|
|
55
|
+
* @param params
|
|
56
|
+
* @returns
|
|
57
|
+
*/
|
|
58
|
+
queuesby(params: object) {
|
|
59
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/queuesby`, undefined, params);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* 恢复页面定义
|
|
63
|
+
* @param querys
|
|
64
|
+
* @param params
|
|
65
|
+
* @returns
|
|
66
|
+
*/
|
|
67
|
+
uploadit(querys: IWtuiNodeRecoverWtuiQuerys, params: object) {
|
|
68
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/uploadit`, querys, params);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* 批量隐藏/显示页面
|
|
72
|
+
* @param querys
|
|
73
|
+
* @param params
|
|
74
|
+
* @returns
|
|
75
|
+
*/
|
|
76
|
+
hideUploaddb(querys: IWtuiViewHidePage, params: object) {
|
|
77
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/datahide/uploaddb`, querys, params);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* 批量设置父级
|
|
81
|
+
* @param querys
|
|
82
|
+
* @param params
|
|
83
|
+
* @returns
|
|
84
|
+
*/
|
|
85
|
+
uploaddb(querys: IWtuiViewParentId, params: object) {
|
|
86
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/parentid/uploaddb`, querys, params);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export default ViewRequest;
|