@ningboyz/apis 1.0.15 → 1.0.17
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/index.ts +24 -19
- package/package.json +1 -1
- package/{src → packages}/antv/cnfg.ts +13 -18
- package/{src → packages}/antv/index.ts +1 -0
- package/{src → packages}/antv/main.ts +14 -22
- package/{src → packages}/antv/para.ts +11 -17
- package/packages/antv/type.ts +56 -0
- package/{src → packages}/axios.ts +25 -25
- package/{src → packages}/card/gblb.ts +38 -43
- package/{src → packages}/card/index.ts +1 -0
- package/packages/card/main.ts +210 -0
- package/packages/card/p4pz.ts +93 -0
- package/packages/card/type.ts +570 -0
- package/{src → packages}/card/zcbd.ts +33 -46
- package/{src → packages}/card/zccf.ts +34 -50
- package/{src → packages}/card/zccz.ts +39 -46
- package/packages/card/zcdb.ts +113 -0
- package/{src → packages}/card/zclb.ts +28 -29
- package/{src → packages}/card/zczj.ts +5 -10
- package/{src → packages}/card/zczjProp.ts +5 -12
- package/{src → packages}/cnfg/main.ts +9 -6
- package/{src → packages}/core/dept.ts +35 -52
- package/packages/core/dict.ts +61 -0
- package/{src → packages}/core/index.ts +2 -1
- package/packages/core/laid.ts +75 -0
- package/{src → packages}/core/part.ts +18 -22
- package/{src → packages}/core/path.ts +14 -24
- package/{src → packages}/core/sysbilltype.ts +5 -10
- package/{src → packages}/core/sysclas.ts +3 -7
- package/{src → packages}/core/sysmenu.ts +39 -26
- package/{src/core/tsystravel.ts → packages/core/systravel.ts} +13 -20
- package/{src → packages}/core/type.ts +13 -15
- package/packages/core/types.ts +451 -0
- package/{src → packages}/core/unit.ts +20 -34
- package/packages/core/user.ts +294 -0
- package/{src → packages}/expd/index.ts +1 -0
- package/{src → packages}/expd/main.ts +3 -5
- package/packages/expd/type.ts +8 -0
- package/packages/flow/type.ts +0 -0
- package/{src → packages}/gzjg/gzlm.ts +11 -2
- package/{src → packages}/gzjg/main.ts +8 -0
- package/packages/wtui/ctrl.ts +45 -0
- package/{src → packages}/wtui/form.ts +20 -33
- package/{src → packages}/wtui/item.ts +18 -32
- package/packages/wtui/main.ts +69 -0
- package/packages/wtui/menu.ts +37 -0
- package/packages/wtui/node.ts +37 -0
- package/packages/wtui/todo.ts +60 -0
- package/packages/wtui/type.ts +327 -0
- package/packages/wtui/user.ts +39 -0
- package/{src → packages}/wtui/view.ts +25 -28
- package/{src → packages}/wtui/zone.ts +11 -19
- package/src/card/main.ts +0 -234
- package/src/card/p4pz.ts +0 -145
- package/src/card/zcdb.ts +0 -141
- package/src/core/dict.ts +0 -77
- package/src/core/laid.ts +0 -96
- package/src/core/user.ts +0 -311
- package/src/wtui/ctrl.ts +0 -43
- package/src/wtui/main.ts +0 -65
- package/src/wtui/menu.ts +0 -44
- package/src/wtui/node.ts +0 -66
- package/src/wtui/todo.ts +0 -50
- package/src/wtui/user.ts +0 -33
- /package/{src → packages}/card/form.ts +0 -0
- /package/{src → packages}/cnfg/index.ts +0 -0
- /package/{src → packages}/core/sysenvr.ts +0 -0
- /package/{src → packages}/core/syskjnd.ts +0 -0
- /package/{src → packages}/flow/duty.ts +0 -0
- /package/{src → packages}/flow/flow.ts +0 -0
- /package/{src → packages}/flow/index.ts +0 -0
- /package/{src → packages}/flow/main.ts +0 -0
- /package/{src → packages}/flow/node.ts +0 -0
- /package/{src → packages}/gams/cnfg.ts +0 -0
- /package/{src → packages}/gams/index.ts +0 -0
- /package/{src → packages}/grow/grow.ts +0 -0
- /package/{src → packages}/grow/index.ts +0 -0
- /package/{src → packages}/gzjg/index.ts +0 -0
- /package/{src → packages}/gzjg/types.ts +0 -0
- /package/{src → packages}/gztb/index.ts +0 -0
- /package/{src → packages}/gztb/main.ts +0 -0
- /package/{src → packages}/load/index.ts +0 -0
- /package/{src → packages}/load/yqdw.ts +0 -0
- /package/{src → packages}/load/yqkm.ts +0 -0
- /package/{src → packages}/noti/index.ts +0 -0
- /package/{src → packages}/noti/main.ts +0 -0
- /package/{src → packages}/ocri/index.ts +0 -0
- /package/{src → packages}/ocri/path.ts +0 -0
- /package/{src → packages}/pzpt/cnfg.ts +0 -0
- /package/{src → packages}/pzpt/index.ts +0 -0
- /package/{src → packages}/pzpt/item.ts +0 -0
- /package/{src → packages}/pzpt/k0km.ts +0 -0
- /package/{src → packages}/pzpt/k8km.ts +0 -0
- /package/{src → packages}/pzpt/kbkm.ts +0 -0
- /package/{src → packages}/pzpt/type.ts +0 -0
- /package/{src → packages}/pzpt/yqkb.ts +0 -0
- /package/{src → packages}/pzpt/yqkm.ts +0 -0
- /package/{src → packages}/tabl/index.ts +0 -0
- /package/{src → packages}/tabl/main.ts +0 -0
- /package/{src → packages}/task/index.ts +0 -0
- /package/{src → packages}/task/main.ts +0 -0
- /package/{src → packages}/wldy/data.ts +0 -0
- /package/{src → packages}/wldy/index.ts +0 -0
- /package/{src → packages}/wldy/item.ts +0 -0
- /package/{src → packages}/wldy/page.ts +0 -0
- /package/{src → packages}/wtui/envr.ts +0 -0
- /package/{src → packages}/wtui/index.ts +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { TWtui } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiMenuInsertdbQuerys, IWtuiMenuSelectdbQuerys, IWtuiMenuUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class MenuRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IWtuiMenuSelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<TWtui.IWtuiRootResponse[]>("/wtui/troot/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
deletedb(params: object) {
|
|
16
|
+
return this.httpRequest.post<TWtui.IWtuiRootResponse[]>("/wtui/troot/deletedb", undefined, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
insertdb(querys: IWtuiMenuInsertdbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TWtui.IWtuiRootResponse[]>("/wtui/troot/insertdb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
updatedb(querys: IWtuiMenuUpdatedbQuerys, params: object) {
|
|
24
|
+
return this.httpRequest.post<TWtui.IWtuiRootResponse[]>("/wtui/troot/updatedb", querys, params);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 排序
|
|
29
|
+
* @param params
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
queuesby(params: object) {
|
|
33
|
+
return this.httpRequest.post<TWtui.IWtuiRootResponse[]>(`/wtui/troot/queuesby`, undefined, params);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default MenuRequest;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { TWtui } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiNodeAsmainlyQuerys, IWtuiNodeInsertdbQuerys, IWtuiNodeSelectdbQuerys, IWtuiNodeUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class NodeRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param querys 工作台查找资产
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
asmainly(querys: IWtuiNodeAsmainlyQuerys) {
|
|
17
|
+
return this.httpRequest.post<TWtui.IWtuiNodeResponse[]>("/wtui/tnode/asmainly", querys, undefined);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
selectdb(querys: IWtuiNodeSelectdbQuerys) {
|
|
21
|
+
return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/selectdb", querys, undefined);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
deletedb(params: object) {
|
|
25
|
+
return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/deletedb", undefined, params);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
insertdb(querys: IWtuiNodeInsertdbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/insertdb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
updatedb(querys: IWtuiNodeUpdatedbQuerys, params: object) {
|
|
33
|
+
return this.httpRequest.post<TWtui.IWtuiOperateResponse[]>("/wtui/tnode/updatedb", querys, params);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default NodeRequest;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { TWtui } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiTodoCopywtuiQuerys, IWtuiTodoInsertdbQuerys, IWtuiTodoSelectdbQuerys, IWtuiTodoUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class TodoRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IWtuiTodoSelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>("/gapi/wtui/ttodo/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 添加待办管理表单数据
|
|
17
|
+
* @param querys
|
|
18
|
+
* @param params
|
|
19
|
+
*/
|
|
20
|
+
insertdb(querys: IWtuiTodoInsertdbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>(`/gapi/wtui/ttodo/insertdb`, querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 删除待办管理表单数据
|
|
26
|
+
* @param params
|
|
27
|
+
*/
|
|
28
|
+
deletedb(params: object) {
|
|
29
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>("/gapi/wtui/ttodo/deletedb", params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 修改待办管理
|
|
34
|
+
* @param querys
|
|
35
|
+
* @param params
|
|
36
|
+
*/
|
|
37
|
+
updatedb(querys: IWtuiTodoUpdatedbQuerys, params: object) {
|
|
38
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>(`/gapi/wtui/ttodo/updatedb`, querys, params);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 排序
|
|
42
|
+
* @param params
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
queuesby(params: object) {
|
|
46
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>(`/gapi/wtui/ttodo/queuesby`, undefined, params);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* 复制界面
|
|
51
|
+
* @param querys
|
|
52
|
+
* @param params
|
|
53
|
+
* @returns
|
|
54
|
+
*/
|
|
55
|
+
copywtui(querys: IWtuiTodoCopywtuiQuerys, params: object) {
|
|
56
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>(`/gapi/wtui/ttodo/copywtui`, querys, params);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export default TodoRequest;
|
|
@@ -0,0 +1,327 @@
|
|
|
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 IWtuiMainCopywtuiQuerys {
|
|
13
|
+
/** 复制条数 */
|
|
14
|
+
copysize: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class TWtuiMainCopywtuiQuerys implements IWtuiMainCopywtuiQuerys {
|
|
18
|
+
copysize: number = 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** ========== ctrl ========== */
|
|
22
|
+
export interface IWtuiCtrlSelectdbQuerys {
|
|
23
|
+
wtuiview: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class TWtuiCtrlSelectdbQuerys implements IWtuiCtrlSelectdbQuerys {
|
|
27
|
+
wtuiview: number = -1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface IWtuiCtrlInsertdbQuerys {
|
|
31
|
+
wtuimain: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export class TWtuiCtrlInsertdbQuerys implements IWtuiCtrlInsertdbQuerys {
|
|
35
|
+
wtuimain: number = -1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface IWtuiCtrlUpdatedbQuerys {
|
|
39
|
+
wtuiview: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class TWtuiCtrlUpdatedbQuerys implements IWtuiCtrlUpdatedbQuerys {
|
|
43
|
+
wtuiview: number = -1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface IWtuiCtrlDetaildbQuerys {
|
|
47
|
+
ctrlIndx: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export class TWtuiCtrlDetaildbQuerys implements IWtuiCtrlDetaildbQuerys {
|
|
51
|
+
ctrlIndx: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** ========== envr ========== */
|
|
55
|
+
|
|
56
|
+
/** ========== form ========== */
|
|
57
|
+
export interface IWtuiFormSelectdbQuerys {
|
|
58
|
+
zoneMain: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export class TWtuiFormSelectdbQuerys implements IWtuiFormSelectdbQuerys {
|
|
62
|
+
zoneMain: number = -1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface IWtuiFormDetaild2Querys {
|
|
66
|
+
formName: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export class TWtuiFormDetaild2Querys implements IWtuiFormDetaild2Querys {
|
|
70
|
+
formName: string = "";
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface IWtuiFormInsertdbQuerys {
|
|
74
|
+
wtuiZone: number;
|
|
75
|
+
wtuiMain: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export class TWtuiFormInsertdbQuerys implements IWtuiFormInsertdbQuerys {
|
|
79
|
+
wtuiZone: number = -1;
|
|
80
|
+
wtuiMain: number = -1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface IWtuiFormDetaildbQuerys {
|
|
84
|
+
formMain: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class TWtuiFormDetaildbQuerys implements IWtuiFormDetaildbQuerys {
|
|
88
|
+
formMain: number = -1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** ========== item ========== */
|
|
92
|
+
export interface IWtuiItemSelectdbQuerys {
|
|
93
|
+
wtuiMain: number;
|
|
94
|
+
zoneMain: number;
|
|
95
|
+
formMain: number;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export class TWtuiItemSelectdbQuerys implements IWtuiItemSelectdbQuerys {
|
|
99
|
+
wtuiMain: number = -1;
|
|
100
|
+
zoneMain: number = -1;
|
|
101
|
+
formMain: number = -1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface IWtuiItemInsertdbQuerys {
|
|
105
|
+
wtuiform: number;
|
|
106
|
+
wtuizone: number;
|
|
107
|
+
wtuimain: number;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export class TWtuiItemInsertdbQuerys implements IWtuiItemInsertdbQuerys {
|
|
111
|
+
wtuiform: number = -1;
|
|
112
|
+
wtuizone: number = -1;
|
|
113
|
+
wtuimain: number = -1;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface IWtuiItemDetaildbQuerys {
|
|
117
|
+
itemmain: number;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export class TWtuiItemDetaildbQuerys implements IWtuiItemDetaildbQuerys {
|
|
121
|
+
itemmain: number = -1;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** ========== main ========== */
|
|
125
|
+
export interface IWtuiMainGet4viewQuerys {
|
|
126
|
+
sysclasc: number;
|
|
127
|
+
useruuid: string;
|
|
128
|
+
unitmain: number;
|
|
129
|
+
usrpartc: number;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export class TWtuiMainGet4viewQuerys implements IWtuiMainGet4viewQuerys {
|
|
133
|
+
sysclasc: number = -1;
|
|
134
|
+
useruuid: string = "";
|
|
135
|
+
unitmain: number = -1;
|
|
136
|
+
usrpartc: number = -1;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface IWtuiMainSelectdbQuerys {
|
|
140
|
+
sysclasc: number;
|
|
141
|
+
useruuid: string;
|
|
142
|
+
unitmain: number;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export class TWtuiMainSelectdbQuerys implements IWtuiMainSelectdbQuerys {
|
|
146
|
+
sysclasc: number = -1;
|
|
147
|
+
useruuid: string = "";
|
|
148
|
+
unitmain: number = -1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface IWtuiMainDetaildbQuerys {
|
|
152
|
+
wtuimain: number;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class TWtuiMainDetaildbQuerys implements IWtuiMainDetaildbQuerys {
|
|
156
|
+
wtuimain: number = -1;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** ========== menu ========== */
|
|
160
|
+
export interface IWtuiMenuSelectdbQuerys {
|
|
161
|
+
wtuimain: number;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export class TWtuiMenuSelectdbQuerys implements IWtuiMenuSelectdbQuerys {
|
|
165
|
+
wtuimain: number = -1;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface IWtuiMenuInsertdbQuerys {
|
|
169
|
+
wtuimain: number;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export class TWtuiMenuInsertdbQuerys implements IWtuiMenuInsertdbQuerys {
|
|
173
|
+
wtuimain: number = -1;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface IWtuiMenuUpdatedbQuerys {
|
|
177
|
+
wtuimain: number;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export class TWtuiMenuUpdatedbQuerys implements IWtuiMenuUpdatedbQuerys {
|
|
181
|
+
wtuimain: number = -1;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** ========== node ========== */
|
|
185
|
+
export interface IWtuiNodeAsmainlyQuerys {
|
|
186
|
+
useruuid: string;
|
|
187
|
+
asmobile: number;
|
|
188
|
+
asclient: number;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export class TWtuiNodeAsmainlyQuerys implements IWtuiNodeAsmainlyQuerys {
|
|
192
|
+
useruuid: string = "";
|
|
193
|
+
asmobile: number = -1;
|
|
194
|
+
asclient: number = -1;
|
|
195
|
+
}
|
|
196
|
+
export interface IWtuiNodeSelectdbQuerys {
|
|
197
|
+
wtuimain: number;
|
|
198
|
+
wtuiroot: number;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export class TWtuiNodeSelectdbQuerys implements IWtuiNodeSelectdbQuerys {
|
|
202
|
+
wtuimain: number = -1;
|
|
203
|
+
wtuiroot: number = -1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface IWtuiNodeInsertdbQuerys {
|
|
207
|
+
wtuimain: number;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export class TWtuiNodeInsertdbQuerys implements IWtuiNodeInsertdbQuerys {
|
|
211
|
+
wtuimain: number = -1;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface IWtuiNodeUpdatedbQuerys {
|
|
215
|
+
wtuiview: number;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export class TWtuiNodeUpdatedbQuerys implements IWtuiNodeUpdatedbQuerys {
|
|
219
|
+
wtuiview: number = -1;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/** ========== todo ========== */
|
|
223
|
+
export interface IWtuiTodoSelectdbQuerys {
|
|
224
|
+
wtuimain: number;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export class TWtuiTodoSelectdbQuerys implements IWtuiTodoSelectdbQuerys {
|
|
228
|
+
wtuimain: number = -1;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface IWtuiTodoInsertdbQuerys {
|
|
232
|
+
wtuimain: number;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export class TWtuiTodoInsertdbQuerys implements IWtuiTodoInsertdbQuerys {
|
|
236
|
+
wtuimain: number = -1;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface IWtuiTodoUpdatedbQuerys {
|
|
240
|
+
wtuimain: number;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export class TWtuiTodoUpdatedbQuerys implements IWtuiTodoUpdatedbQuerys {
|
|
244
|
+
wtuimain: number = -1;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/** ========== user ========== */
|
|
248
|
+
export interface IWtuiUsercnfgGet4cnfgQuerys {
|
|
249
|
+
entityid: string;
|
|
250
|
+
}
|
|
251
|
+
export class TWtuiUsercnfgGet4cnfgQuerys implements IWtuiUsercnfgGet4cnfgQuerys {
|
|
252
|
+
entityid: string = "";
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface IWtuiUsercnfgSelectdbQuerys {
|
|
256
|
+
cnfguses: string;
|
|
257
|
+
useronly: number;
|
|
258
|
+
}
|
|
259
|
+
export class TWtuiUsercnfgSelectdbQuerys implements IWtuiUsercnfgSelectdbQuerys {
|
|
260
|
+
cnfguses: string = "";
|
|
261
|
+
useronly: number = -1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/** ========== view ========== */
|
|
265
|
+
export interface IWtuiViewSelectdbQuerys {
|
|
266
|
+
wtuimain: number;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export class TWtuiViewSelectdbQuerys implements IWtuiViewSelectdbQuerys {
|
|
270
|
+
wtuimain: number = -1;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface IWtuiViewInsertdbQuerys {
|
|
274
|
+
wtuimain: number;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export class IWtuiViewInsertdbQuerys implements IWtuiViewInsertdbQuerys {
|
|
278
|
+
wtuimain: number = -1;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export interface IWtuiViewUpdatedbQuerys {
|
|
282
|
+
wtuimain: number;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class TWtuiViewUpdatedbQuerys implements IWtuiViewUpdatedbQuerys {
|
|
286
|
+
wtuimain: number = -1;
|
|
287
|
+
}
|
|
288
|
+
export interface IWtuiViewDetaildbQuerys {
|
|
289
|
+
wtuiview: number;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export class TWtuiViewDetaildbQuerys implements IWtuiViewDetaildbQuerys {
|
|
293
|
+
wtuiview: number = -1;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/** ========== zone ========== */
|
|
297
|
+
export interface IWtuiZoneSelectdbQuerys {
|
|
298
|
+
wtuimain: number;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export class TWtuiZoneSelectdbQuerys implements IWtuiZoneSelectdbQuerys {
|
|
302
|
+
wtuimain: number = -1;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export interface IWtuiZoneInsertdbQuerys {
|
|
306
|
+
wtuimain: number;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export class TWtuiZoneInsertdbQuerys implements IWtuiZoneInsertdbQuerys {
|
|
310
|
+
wtuimain: number = -1;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export interface IWtuiZoneUpdatedbQuerys {
|
|
314
|
+
wtuimain: number;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export class TWtuiZoneUpdatedbQuerys implements IWtuiZoneUpdatedbQuerys {
|
|
318
|
+
wtuimain: number = -1;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export interface IWtuiZoneDetaildbQuerys {
|
|
322
|
+
zonemain: number;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export class TWtuiZoneDetaildbQuerys implements IWtuiZoneDetaildbQuerys {
|
|
326
|
+
zonemain: number = -1;
|
|
327
|
+
}
|
|
@@ -0,0 +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,5 +1,6 @@
|
|
|
1
1
|
import type { TWtui } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiViewDetaildbQuerys, IWtuiViewInsertdbQuerys, IWtuiViewSelectdbQuerys, IWtuiViewUpdatedbQuerys } from "./type";
|
|
3
4
|
|
|
4
5
|
class ViewRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -11,54 +12,50 @@ class ViewRequest {
|
|
|
11
12
|
* 根据wtuimain查看页面定义
|
|
12
13
|
* @param params
|
|
13
14
|
*/
|
|
14
|
-
selectdb(
|
|
15
|
-
|
|
16
|
-
wtuimain
|
|
17
|
-
};
|
|
18
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/selectdb", undefined, params);
|
|
15
|
+
selectdb(querys: IWtuiViewSelectdbQuerys) {
|
|
16
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/selectdb", querys, undefined);
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
/**
|
|
22
20
|
* 添加页面定义
|
|
23
|
-
* @param
|
|
24
|
-
* @param
|
|
21
|
+
* @param querys
|
|
22
|
+
* @param params
|
|
25
23
|
*/
|
|
26
|
-
insertdb(
|
|
27
|
-
|
|
28
|
-
wtuimain
|
|
29
|
-
};
|
|
30
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/insertdb`, data, params);
|
|
24
|
+
insertdb(querys: IWtuiViewInsertdbQuerys, params: object) {
|
|
25
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/insertdb`, querys, params);
|
|
31
26
|
}
|
|
32
27
|
|
|
33
28
|
/**
|
|
34
29
|
* 删除页面定义
|
|
35
|
-
* @param
|
|
30
|
+
* @param params
|
|
36
31
|
*/
|
|
37
|
-
deletedb(
|
|
38
|
-
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tview/deletedb",
|
|
32
|
+
deletedb(params: object) {
|
|
33
|
+
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tview/deletedb", undefined, params);
|
|
39
34
|
}
|
|
40
35
|
|
|
41
36
|
/**
|
|
42
37
|
* 根据wtuiview查看页面定义详情
|
|
43
|
-
* @param
|
|
38
|
+
* @param querys
|
|
44
39
|
*/
|
|
45
|
-
detaildb(
|
|
46
|
-
|
|
47
|
-
wtuiview: wtuiView
|
|
48
|
-
};
|
|
49
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/detaildb", undefined, params);
|
|
40
|
+
detaildb(querys: IWtuiViewDetaildbQuerys) {
|
|
41
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>("/wtui/tview/detaildb", querys, undefined);
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
/**
|
|
53
45
|
* 修改页面定义
|
|
54
|
-
* @param
|
|
55
|
-
* @param
|
|
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
|
+
* @param params
|
|
55
|
+
* @returns
|
|
56
56
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
wtuimain
|
|
60
|
-
};
|
|
61
|
-
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/updatedb`, data, params);
|
|
57
|
+
queuesby(params: object) {
|
|
58
|
+
return this.httpRequest.post<TWtui.IWtuiViewResponse[]>(`/wtui/tview/queuesby`, undefined, params);
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
61
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TWtui } from "@ningboyz/types";
|
|
2
2
|
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IWtuiZoneDetaildbQuerys, IWtuiZoneInsertdbQuerys, IWtuiZoneSelectdbQuerys } from "./type";
|
|
3
4
|
|
|
4
5
|
class ZoneRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -10,11 +11,8 @@ class ZoneRequest {
|
|
|
10
11
|
/**
|
|
11
12
|
* 获取表单命名
|
|
12
13
|
*/
|
|
13
|
-
selectdb(
|
|
14
|
-
|
|
15
|
-
wtuimain: wtuiMain
|
|
16
|
-
};
|
|
17
|
-
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>("/gapi/wtui/tzone/selectdb", undefined, params);
|
|
14
|
+
selectdb(querys: IWtuiZoneSelectdbQuerys) {
|
|
15
|
+
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>("/gapi/wtui/tzone/selectdb", querys, undefined);
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
/**
|
|
@@ -22,27 +20,24 @@ class ZoneRequest {
|
|
|
22
20
|
* @param wtuiMain
|
|
23
21
|
* @param data
|
|
24
22
|
*/
|
|
25
|
-
insertdb(
|
|
26
|
-
|
|
27
|
-
wtuimain: wtuiMain
|
|
28
|
-
};
|
|
29
|
-
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>(`/gapi/wtui/tzone/insertdb`, data, params);
|
|
23
|
+
insertdb(querys: IWtuiZoneInsertdbQuerys, params: object) {
|
|
24
|
+
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>(`/gapi/wtui/tzone/insertdb`, querys, params);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
/**
|
|
33
28
|
* 删除表单命名
|
|
34
29
|
* @param formData
|
|
35
30
|
*/
|
|
36
|
-
deletedb(
|
|
37
|
-
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>("/gapi/wtui/tzone/deletedb",
|
|
31
|
+
deletedb(params: object) {
|
|
32
|
+
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>("/gapi/wtui/tzone/deletedb", undefined, params);
|
|
38
33
|
}
|
|
39
34
|
|
|
40
35
|
/**
|
|
41
36
|
* 修改表单命名
|
|
42
37
|
* @param data
|
|
43
38
|
*/
|
|
44
|
-
updatedb(
|
|
45
|
-
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>(`/gapi/wtui/tzone/updatedb`,
|
|
39
|
+
updatedb(params: object) {
|
|
40
|
+
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>(`/gapi/wtui/tzone/updatedb`, undefined, params);
|
|
46
41
|
}
|
|
47
42
|
|
|
48
43
|
/**
|
|
@@ -50,11 +45,8 @@ class ZoneRequest {
|
|
|
50
45
|
* @param zoneMain
|
|
51
46
|
* @param data
|
|
52
47
|
*/
|
|
53
|
-
detaildb(
|
|
54
|
-
|
|
55
|
-
zonemain: zoneMain
|
|
56
|
-
};
|
|
57
|
-
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>(`/gapi/wtui/tzone/detaildb`, undefined, params);
|
|
48
|
+
detaildb(querys: IWtuiZoneDetaildbQuerys) {
|
|
49
|
+
return this.httpRequest.post<TWtui.IWtuiZoneResponse[]>(`/gapi/wtui/tzone/detaildb`, querys, undefined);
|
|
58
50
|
}
|
|
59
51
|
}
|
|
60
52
|
|