@ningboyz/apis 1.0.112 → 1.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc +15 -15
- package/index.ts +76 -76
- 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/axios.ts +136 -136
- package/packages/card/form.ts +18 -18
- package/packages/card/gblb.ts +102 -102
- package/packages/card/index.ts +46 -46
- package/packages/card/main.ts +222 -222
- package/packages/card/p4pz.ts +93 -93
- package/packages/card/type.ts +628 -628
- package/packages/card/tzclbgblb.ts +36 -36
- package/packages/card/zcbd.ts +110 -110
- package/packages/card/zccf.ts +105 -105
- package/packages/card/zccz.ts +112 -112
- package/packages/card/zcdb.ts +120 -120
- package/packages/card/zclb.ts +74 -74
- 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/dept.ts +94 -94
- package/packages/core/dict.ts +69 -69
- package/packages/core/index.ts +52 -52
- package/packages/core/laid.ts +77 -77
- package/packages/core/part.ts +54 -54
- package/packages/core/path.ts +46 -46
- package/packages/core/sysbilltype.ts +45 -45
- 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 +110 -110
- package/packages/core/systravel.ts +39 -39
- package/packages/core/type.ts +66 -66
- package/packages/core/types.ts +511 -511
- package/packages/core/unit.ts +74 -74
- package/packages/core/user.ts +360 -360
- package/packages/cron/index.ts +14 -14
- package/packages/cron/main.ts +47 -47
- package/packages/cron/type.ts +18 -18
- package/packages/elem/index.ts +14 -14
- package/packages/elem/main.ts +15 -15
- package/packages/elem/type.ts +7 -7
- package/packages/expd/index.ts +14 -14
- package/packages/expd/main.ts +16 -16
- package/packages/expd/type.ts +8 -8
- 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 +16 -16
- package/packages/gams/index.ts +14 -14
- package/packages/gams/type.ts +6 -6
- 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 +74 -74
- package/packages/gzjg/index.ts +16 -16
- package/packages/gzjg/main.ts +62 -62
- package/packages/gzjg/type.ts +92 -92
- package/packages/gztb/index.ts +14 -14
- package/packages/gztb/main.ts +16 -16
- package/packages/gztb/type.ts +7 -7
- package/packages/index.ts +22 -22
- package/packages/load/index.ts +17 -17
- package/packages/load/type.ts +9 -9
- package/packages/load/yqdw.ts +15 -15
- package/packages/load/yqkm.ts +15 -15
- package/packages/myoa/index.ts +14 -14
- package/packages/myoa/main.ts +47 -47
- package/packages/myoa/type.ts +21 -21
- package/packages/noti/index.ts +14 -14
- package/packages/noti/main.ts +47 -47
- package/packages/noti/type.ts +24 -24
- 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 +52 -52
- package/packages/pzpt/glfa.ts +59 -59
- package/packages/pzpt/glkm.ts +51 -51
- package/packages/pzpt/index.ts +39 -39
- 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/type.ts +50 -50
- package/packages/pzpt/types.ts +370 -370
- 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 +20 -20
- package/packages/task/type.ts +18 -18
- 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 +62 -62
- package/packages/wldy/type.ts +40 -40
- 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/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 +23 -23
- package/readme.md +1 -1
- package/packages/antv/type.ts~ +0 -57
- package/packages/card/index.ts~ +0 -47
- package/packages/card/type.ts~ +0 -605
- package/packages/card/tzclbsort.ts~ +0 -36
- package/packages/card/zccz.ts~ +0 -106
- package/packages/core/laid.ts~ +0 -84
- package/packages/noti/main.ts~ +0 -47
- package/packages/noti/type.ts~ +0 -29
- package/packages/wtui/type.ts~ +0 -380
package/packages/pzpt/yqkb.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { HttpRequest } from "../axios";
|
|
2
|
-
import { IYqkbResponse } from "@ningboyz/types/src/load";
|
|
3
|
-
import { IPzptYqkbCreatedbQuerys, IPzptYqkbSelctdbQuerys } from "./types";
|
|
4
|
-
|
|
5
|
-
class YqkbRequest {
|
|
6
|
-
private httpRequest: HttpRequest;
|
|
7
|
-
constructor(httpRequest: HttpRequest) {
|
|
8
|
-
this.httpRequest = httpRequest;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
selectdb(querys: IPzptYqkbSelctdbQuerys) {
|
|
12
|
-
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/selectdb", querys, undefined);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
createdb(querys: IPzptYqkbCreatedbQuerys) {
|
|
16
|
-
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/createdb", querys, undefined);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default YqkbRequest;
|
|
1
|
+
import type { HttpRequest } from "../axios";
|
|
2
|
+
import { IYqkbResponse } from "@ningboyz/types/src/load";
|
|
3
|
+
import { IPzptYqkbCreatedbQuerys, IPzptYqkbSelctdbQuerys } from "./types";
|
|
4
|
+
|
|
5
|
+
class YqkbRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IPzptYqkbSelctdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
createdb(querys: IPzptYqkbCreatedbQuerys) {
|
|
16
|
+
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/createdb", querys, undefined);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export default YqkbRequest;
|
package/packages/pzpt/yqkm.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import type { Load, TPzpt } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IPzptYqkmCopy2allQuerys, IPzptYqkmDeletedbQuerys, IPzptYqkmSelctddQuerys, IPzptYqkmUploaddbQuerys } from "./types";
|
|
4
|
-
|
|
5
|
-
class YqkmRequest {
|
|
6
|
-
private httpRequest: HttpRequest;
|
|
7
|
-
constructor(httpRequest: HttpRequest) {
|
|
8
|
-
this.httpRequest = httpRequest;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
selectdd(querys: IPzptYqkmSelctddQuerys) {
|
|
12
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/selectdd", querys, undefined);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 拷贝佑全科目
|
|
17
|
-
* @param querys
|
|
18
|
-
* @param params
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
copy2all(querys: IPzptYqkmCopy2allQuerys, params: object) {
|
|
22
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/copy2all", querys, params);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
deletedb(querys: IPzptYqkmDeletedbQuerys) {
|
|
26
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/deletedb", querys, undefined);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
uploaddb(querys: IPzptYqkmUploaddbQuerys, params: object) {
|
|
30
|
-
return this.httpRequest.post<Load.IYqkmResponse[]>("/gapi/pzpt/tyqkm/uploaddb", querys, params);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export default YqkmRequest;
|
|
1
|
+
import type { Load, TPzpt } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptYqkmCopy2allQuerys, IPzptYqkmDeletedbQuerys, IPzptYqkmSelctddQuerys, IPzptYqkmUploaddbQuerys } from "./types";
|
|
4
|
+
|
|
5
|
+
class YqkmRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdd(querys: IPzptYqkmSelctddQuerys) {
|
|
12
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/selectdd", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 拷贝佑全科目
|
|
17
|
+
* @param querys
|
|
18
|
+
* @param params
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
copy2all(querys: IPzptYqkmCopy2allQuerys, params: object) {
|
|
22
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/copy2all", querys, params);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
deletedb(querys: IPzptYqkmDeletedbQuerys) {
|
|
26
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/deletedb", querys, undefined);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
uploaddb(querys: IPzptYqkmUploaddbQuerys, params: object) {
|
|
30
|
+
return this.httpRequest.post<Load.IYqkmResponse[]>("/gapi/pzpt/tyqkm/uploaddb", querys, params);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default YqkmRequest;
|
package/packages/tabl/index.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
|
-
import MainRequest from "./main";
|
|
3
|
-
|
|
4
|
-
class TablRequest {
|
|
5
|
-
public main: MainRequest;
|
|
6
|
-
|
|
7
|
-
constructor(config: IAxiosConfig) {
|
|
8
|
-
const request = createRequest(config);
|
|
9
|
-
this.main = new MainRequest(request);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default TablRequest;
|
|
14
|
-
export * from "./type"
|
|
1
|
+
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
|
+
import MainRequest from "./main";
|
|
3
|
+
|
|
4
|
+
class TablRequest {
|
|
5
|
+
public main: MainRequest;
|
|
6
|
+
|
|
7
|
+
constructor(config: IAxiosConfig) {
|
|
8
|
+
const request = createRequest(config);
|
|
9
|
+
this.main = new MainRequest(request);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default TablRequest;
|
|
14
|
+
export * from "./type"
|
package/packages/tabl/main.ts
CHANGED
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
import type { TTabl } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
4
|
-
ITablMainChkexist2Querys,
|
|
5
|
-
ITablMainChkexistQuerys,
|
|
6
|
-
ITablMainDetaild2Querys,
|
|
7
|
-
ITablMainDetaild3Querys,
|
|
8
|
-
ITablMainDetaildbQuerys,
|
|
9
|
-
ITablMainFinishcxQuerys,
|
|
10
|
-
ITablMainGet4dataQuerys,
|
|
11
|
-
ITablMainGet5formulaQuerys,
|
|
12
|
-
ITablMainInsertdbQuerys,
|
|
13
|
-
ITablMainSelectcxQuerys,
|
|
14
|
-
TTablMainSelectdbQuerys
|
|
15
|
-
} from "./type";
|
|
16
|
-
|
|
17
|
-
class MainRequest {
|
|
18
|
-
private httpRequest: HttpRequest;
|
|
19
|
-
constructor(httpRequest: HttpRequest) {
|
|
20
|
-
this.httpRequest = httpRequest;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
selectdb(querys: TTablMainSelectdbQuerys) {
|
|
24
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/selectdb", querys, undefined);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* 新增Tabl
|
|
29
|
-
* @param querys
|
|
30
|
-
* @param params
|
|
31
|
-
* @returns
|
|
32
|
-
*/
|
|
33
|
-
insertdb(querys: ITablMainInsertdbQuerys, params: object) {
|
|
34
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/insertdb", querys, params);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* 修改Tabl-保留历史记录
|
|
39
|
-
* @param params
|
|
40
|
-
* @returns
|
|
41
|
-
*/
|
|
42
|
-
modifydx(params: object) {
|
|
43
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/modifydx", undefined, params);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* 批量修改Tabl-保留历史记录
|
|
48
|
-
*/
|
|
49
|
-
modifyd2(params: object) {
|
|
50
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/modifyd2", undefined, params);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* 删除Tabl
|
|
55
|
-
* @param params
|
|
56
|
-
* @returns
|
|
57
|
-
*/
|
|
58
|
-
deletedb(params: object) {
|
|
59
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/deletedb", undefined, params);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 报表查询Finished
|
|
64
|
-
* @param querys
|
|
65
|
-
* @param params
|
|
66
|
-
* @returns
|
|
67
|
-
*/
|
|
68
|
-
finishcx(querys: ITablMainFinishcxQuerys, params: object) {
|
|
69
|
-
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/finishedcx", querys, params);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @param querys
|
|
75
|
-
* @param params
|
|
76
|
-
* @returns
|
|
77
|
-
*/
|
|
78
|
-
selectcx(querys: ITablMainSelectcxQuerys, params: object | undefined) {
|
|
79
|
-
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/selectcx", querys, params);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/** 批量导入 */
|
|
83
|
-
uploaddb(params: object) {
|
|
84
|
-
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/uploaddb", undefined, params);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
detaildb(querys: ITablMainDetaildbQuerys) {
|
|
88
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/detaildb", querys, undefined);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
detaild2(querys: ITablMainDetaild2Querys) {
|
|
92
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/detaild2", querys, undefined);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
detaild3(querys: ITablMainDetaild3Querys) {
|
|
96
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/detaild3", querys, undefined);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
get4data(querys: ITablMainGet4dataQuerys) {
|
|
100
|
-
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/get4data", querys, undefined);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
chkexist(querys: ITablMainChkexistQuerys, params: object) {
|
|
104
|
-
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/chkexist", querys, params);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
chkexis2(querys: ITablMainChkexist2Querys, params: object) {
|
|
108
|
-
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/chkexis2", querys, params);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
get5formula(querys: ITablMainGet5formulaQuerys, params: object) {
|
|
112
|
-
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/get5formula", querys, params);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export default MainRequest;
|
|
1
|
+
import type { TTabl } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import {
|
|
4
|
+
ITablMainChkexist2Querys,
|
|
5
|
+
ITablMainChkexistQuerys,
|
|
6
|
+
ITablMainDetaild2Querys,
|
|
7
|
+
ITablMainDetaild3Querys,
|
|
8
|
+
ITablMainDetaildbQuerys,
|
|
9
|
+
ITablMainFinishcxQuerys,
|
|
10
|
+
ITablMainGet4dataQuerys,
|
|
11
|
+
ITablMainGet5formulaQuerys,
|
|
12
|
+
ITablMainInsertdbQuerys,
|
|
13
|
+
ITablMainSelectcxQuerys,
|
|
14
|
+
TTablMainSelectdbQuerys
|
|
15
|
+
} from "./type";
|
|
16
|
+
|
|
17
|
+
class MainRequest {
|
|
18
|
+
private httpRequest: HttpRequest;
|
|
19
|
+
constructor(httpRequest: HttpRequest) {
|
|
20
|
+
this.httpRequest = httpRequest;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
selectdb(querys: TTablMainSelectdbQuerys) {
|
|
24
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/selectdb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 新增Tabl
|
|
29
|
+
* @param querys
|
|
30
|
+
* @param params
|
|
31
|
+
* @returns
|
|
32
|
+
*/
|
|
33
|
+
insertdb(querys: ITablMainInsertdbQuerys, params: object) {
|
|
34
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/insertdb", querys, params);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 修改Tabl-保留历史记录
|
|
39
|
+
* @param params
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
modifydx(params: object) {
|
|
43
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/modifydx", undefined, params);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 批量修改Tabl-保留历史记录
|
|
48
|
+
*/
|
|
49
|
+
modifyd2(params: object) {
|
|
50
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/modifyd2", undefined, params);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 删除Tabl
|
|
55
|
+
* @param params
|
|
56
|
+
* @returns
|
|
57
|
+
*/
|
|
58
|
+
deletedb(params: object) {
|
|
59
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/deletedb", undefined, params);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 报表查询Finished
|
|
64
|
+
* @param querys
|
|
65
|
+
* @param params
|
|
66
|
+
* @returns
|
|
67
|
+
*/
|
|
68
|
+
finishcx(querys: ITablMainFinishcxQuerys, params: object) {
|
|
69
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/finishedcx", querys, params);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @param querys
|
|
75
|
+
* @param params
|
|
76
|
+
* @returns
|
|
77
|
+
*/
|
|
78
|
+
selectcx(querys: ITablMainSelectcxQuerys, params: object | undefined) {
|
|
79
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/selectcx", querys, params);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** 批量导入 */
|
|
83
|
+
uploaddb(params: object) {
|
|
84
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/uploaddb", undefined, params);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
detaildb(querys: ITablMainDetaildbQuerys) {
|
|
88
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/detaildb", querys, undefined);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
detaild2(querys: ITablMainDetaild2Querys) {
|
|
92
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/detaild2", querys, undefined);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
detaild3(querys: ITablMainDetaild3Querys) {
|
|
96
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/detaild3", querys, undefined);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
get4data(querys: ITablMainGet4dataQuerys) {
|
|
100
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/get4data", querys, undefined);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
chkexist(querys: ITablMainChkexistQuerys, params: object) {
|
|
104
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/chkexist", querys, params);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
chkexis2(querys: ITablMainChkexist2Querys, params: object) {
|
|
108
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/chkexis2", querys, params);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
get5formula(querys: ITablMainGet5formulaQuerys, params: object) {
|
|
112
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/get5formula", querys, params);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export default MainRequest;
|
package/packages/tabl/type.ts
CHANGED
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
/** ========== main ========== */
|
|
2
|
-
export interface ITablMainSelectdbQuerys {
|
|
3
|
-
sourcend: number;
|
|
4
|
-
sysclasc: number;
|
|
5
|
-
withflow: number;
|
|
6
|
-
usesyzcg: number;
|
|
7
|
-
usesform: number;
|
|
8
|
-
gzjgmain: number;
|
|
9
|
-
taskmain: number;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export class TTablMainSelectdbQuerys implements ITablMainSelectdbQuerys {
|
|
13
|
-
sourcend: number = -1;
|
|
14
|
-
sysclasc: number = -1;
|
|
15
|
-
withflow: number = 1;
|
|
16
|
-
usesyzcg: number = 1;
|
|
17
|
-
usesform: number = 1;
|
|
18
|
-
gzjgmain: number = -1;
|
|
19
|
-
taskmain: number = -1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface ITablMainInsertdbQuerys {
|
|
23
|
-
isauto: number;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export class TTablMainInsertdbQuerys implements ITablMainInsertdbQuerys {
|
|
27
|
-
isauto: number = -1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface ITablMainFinishcxQuerys {
|
|
31
|
-
gzjgmain: number;
|
|
32
|
-
sourcend: number;
|
|
33
|
-
sourceqj: number;
|
|
34
|
-
unitmain: number;
|
|
35
|
-
withstat: number;
|
|
36
|
-
dataguid: string;
|
|
37
|
-
withlock: number;
|
|
38
|
-
gzjglock: number;
|
|
39
|
-
taskmain: number;
|
|
40
|
-
voidonly: number;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export class TTablMainFinishcxQuerys implements ITablMainFinishcxQuerys {
|
|
44
|
-
gzjgmain: number = -1;
|
|
45
|
-
sourcend: number = -1;
|
|
46
|
-
sourceqj: number = -1;
|
|
47
|
-
unitmain: number = -1;
|
|
48
|
-
withstat: number = -1;
|
|
49
|
-
dataguid: string = "";
|
|
50
|
-
withlock: number = -1;
|
|
51
|
-
gzjglock: number = -1;
|
|
52
|
-
taskmain: number = -1;
|
|
53
|
-
voidonly: number = -1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export interface ITablMainSelectcxQuerys {
|
|
57
|
-
gzjgmain: number;
|
|
58
|
-
sourcend: number;
|
|
59
|
-
sourceqj: number;
|
|
60
|
-
unitmain: number;
|
|
61
|
-
withstat: number;
|
|
62
|
-
dataguid: string;
|
|
63
|
-
withlock: number;
|
|
64
|
-
gzjglock: number;
|
|
65
|
-
taskmain: number;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export class TTablMainSelectcxQuerys implements ITablMainSelectcxQuerys {
|
|
69
|
-
gzjgmain: number = -1;
|
|
70
|
-
sourcend: number = -1;
|
|
71
|
-
sourceqj: number = -1;
|
|
72
|
-
unitmain: number = -1;
|
|
73
|
-
withstat: number = -1;
|
|
74
|
-
dataguid: string = "";
|
|
75
|
-
withlock: number = -1;
|
|
76
|
-
gzjglock: number = -1;
|
|
77
|
-
taskmain: number = -1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface ITablMainDetaildbQuerys {
|
|
81
|
-
tablmain: number;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export class TTablMainDetaildbQuerys implements ITablMainDetaildbQuerys {
|
|
85
|
-
tablmain: number = -1;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface ITablMainDetaild2Querys {
|
|
89
|
-
gzjgmain: number;
|
|
90
|
-
dataguid: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export class TTablMainDetaild2Querys implements ITablMainDetaild2Querys {
|
|
94
|
-
gzjgmain: number = -1;
|
|
95
|
-
dataguid: string = "";
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export interface ITablMainDetaild3Querys {
|
|
99
|
-
gzjgmain: number;
|
|
100
|
-
fromguid: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export class TTablMainDetaild3Querys implements ITablMainDetaild3Querys {
|
|
104
|
-
gzjgmain: number = -1;
|
|
105
|
-
fromguid: string = "";
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface ITablMainGet4dataQuerys {
|
|
109
|
-
sourcend: number;
|
|
110
|
-
unitmain: number;
|
|
111
|
-
fromguid: string;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export class TTablMainGet4dataQuerys implements ITablMainGet4dataQuerys {
|
|
115
|
-
sourcend: number = -1;
|
|
116
|
-
unitmain: number = -1;
|
|
117
|
-
fromguid: string = "";
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export interface ITablMainChkexistQuerys {
|
|
121
|
-
gzjgmain: number;
|
|
122
|
-
sourcend: number;
|
|
123
|
-
link: number;
|
|
124
|
-
dataguid: string;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export class TTablMainChkexistQuerys implements ITablMainChkexistQuerys {
|
|
128
|
-
gzjgmain: number = -1;
|
|
129
|
-
sourcend: number = -1;
|
|
130
|
-
link: number = -1;
|
|
131
|
-
dataguid: string = "";
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export interface ITablMainChkexist2Querys {
|
|
135
|
-
gzjgmain: number;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export class TTablMainChkexist2Querys implements ITablMainChkexist2Querys {
|
|
139
|
-
gzjgmain: number = -1;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export interface ITablMainGet5formulaQuerys {
|
|
143
|
-
tabltzbl: number;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export class TTablMainGet5formulaQuerys implements ITablMainGet5formulaQuerys {
|
|
147
|
-
tabltzbl: number = -1;
|
|
148
|
-
}
|
|
1
|
+
/** ========== main ========== */
|
|
2
|
+
export interface ITablMainSelectdbQuerys {
|
|
3
|
+
sourcend: number;
|
|
4
|
+
sysclasc: number;
|
|
5
|
+
withflow: number;
|
|
6
|
+
usesyzcg: number;
|
|
7
|
+
usesform: number;
|
|
8
|
+
gzjgmain: number;
|
|
9
|
+
taskmain: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class TTablMainSelectdbQuerys implements ITablMainSelectdbQuerys {
|
|
13
|
+
sourcend: number = -1;
|
|
14
|
+
sysclasc: number = -1;
|
|
15
|
+
withflow: number = 1;
|
|
16
|
+
usesyzcg: number = 1;
|
|
17
|
+
usesform: number = 1;
|
|
18
|
+
gzjgmain: number = -1;
|
|
19
|
+
taskmain: number = -1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface ITablMainInsertdbQuerys {
|
|
23
|
+
isauto: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class TTablMainInsertdbQuerys implements ITablMainInsertdbQuerys {
|
|
27
|
+
isauto: number = -1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface ITablMainFinishcxQuerys {
|
|
31
|
+
gzjgmain: number;
|
|
32
|
+
sourcend: number;
|
|
33
|
+
sourceqj: number;
|
|
34
|
+
unitmain: number;
|
|
35
|
+
withstat: number;
|
|
36
|
+
dataguid: string;
|
|
37
|
+
withlock: number;
|
|
38
|
+
gzjglock: number;
|
|
39
|
+
taskmain: number;
|
|
40
|
+
voidonly: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class TTablMainFinishcxQuerys implements ITablMainFinishcxQuerys {
|
|
44
|
+
gzjgmain: number = -1;
|
|
45
|
+
sourcend: number = -1;
|
|
46
|
+
sourceqj: number = -1;
|
|
47
|
+
unitmain: number = -1;
|
|
48
|
+
withstat: number = -1;
|
|
49
|
+
dataguid: string = "";
|
|
50
|
+
withlock: number = -1;
|
|
51
|
+
gzjglock: number = -1;
|
|
52
|
+
taskmain: number = -1;
|
|
53
|
+
voidonly: number = -1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface ITablMainSelectcxQuerys {
|
|
57
|
+
gzjgmain: number;
|
|
58
|
+
sourcend: number;
|
|
59
|
+
sourceqj: number;
|
|
60
|
+
unitmain: number;
|
|
61
|
+
withstat: number;
|
|
62
|
+
dataguid: string;
|
|
63
|
+
withlock: number;
|
|
64
|
+
gzjglock: number;
|
|
65
|
+
taskmain: number;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export class TTablMainSelectcxQuerys implements ITablMainSelectcxQuerys {
|
|
69
|
+
gzjgmain: number = -1;
|
|
70
|
+
sourcend: number = -1;
|
|
71
|
+
sourceqj: number = -1;
|
|
72
|
+
unitmain: number = -1;
|
|
73
|
+
withstat: number = -1;
|
|
74
|
+
dataguid: string = "";
|
|
75
|
+
withlock: number = -1;
|
|
76
|
+
gzjglock: number = -1;
|
|
77
|
+
taskmain: number = -1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface ITablMainDetaildbQuerys {
|
|
81
|
+
tablmain: number;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export class TTablMainDetaildbQuerys implements ITablMainDetaildbQuerys {
|
|
85
|
+
tablmain: number = -1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface ITablMainDetaild2Querys {
|
|
89
|
+
gzjgmain: number;
|
|
90
|
+
dataguid: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export class TTablMainDetaild2Querys implements ITablMainDetaild2Querys {
|
|
94
|
+
gzjgmain: number = -1;
|
|
95
|
+
dataguid: string = "";
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export interface ITablMainDetaild3Querys {
|
|
99
|
+
gzjgmain: number;
|
|
100
|
+
fromguid: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export class TTablMainDetaild3Querys implements ITablMainDetaild3Querys {
|
|
104
|
+
gzjgmain: number = -1;
|
|
105
|
+
fromguid: string = "";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface ITablMainGet4dataQuerys {
|
|
109
|
+
sourcend: number;
|
|
110
|
+
unitmain: number;
|
|
111
|
+
fromguid: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export class TTablMainGet4dataQuerys implements ITablMainGet4dataQuerys {
|
|
115
|
+
sourcend: number = -1;
|
|
116
|
+
unitmain: number = -1;
|
|
117
|
+
fromguid: string = "";
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface ITablMainChkexistQuerys {
|
|
121
|
+
gzjgmain: number;
|
|
122
|
+
sourcend: number;
|
|
123
|
+
link: number;
|
|
124
|
+
dataguid: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export class TTablMainChkexistQuerys implements ITablMainChkexistQuerys {
|
|
128
|
+
gzjgmain: number = -1;
|
|
129
|
+
sourcend: number = -1;
|
|
130
|
+
link: number = -1;
|
|
131
|
+
dataguid: string = "";
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export interface ITablMainChkexist2Querys {
|
|
135
|
+
gzjgmain: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export class TTablMainChkexist2Querys implements ITablMainChkexist2Querys {
|
|
139
|
+
gzjgmain: number = -1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface ITablMainGet5formulaQuerys {
|
|
143
|
+
tabltzbl: number;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export class TTablMainGet5formulaQuerys implements ITablMainGet5formulaQuerys {
|
|
147
|
+
tabltzbl: number = -1;
|
|
148
|
+
}
|