@ningboyz/apis 1.1.0 → 1.1.1
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 +82 -82
- 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 +113 -113
- package/packages/card/index.ts +49 -49
- package/packages/card/main.ts +231 -231
- package/packages/card/p4pz.ts +93 -93
- package/packages/card/tdata.ts +104 -104
- package/packages/card/type.ts +709 -709
- 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 +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/local.ts +29 -29
- package/packages/core/mast.ts +23 -23
- package/packages/core/part.ts +54 -54
- 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 +557 -557
- package/packages/core/unit.ts +75 -75
- package/packages/core/user.ts +369 -369
- 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 +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 +52 -52
- 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 +73 -73
- 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 +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 +19 -19
- package/packages/myoa/main.ts +128 -128
- package/packages/myoa/room.ts +40 -40
- package/packages/myoa/type.ts +161 -161
- package/packages/myoa/withcard.ts +114 -114
- package/packages/noti/index.ts +14 -14
- package/packages/noti/main.ts +47 -47
- package/packages/noti/type.ts +26 -26
- 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 +20 -20
- 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/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/zbys/detail.ts +55 -55
- package/packages/zbys/index.ts +13 -13
- package/packages/zbys/type.ts +38 -38
- 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
- package/packages/antv/type.ts~ +0 -57
- package/packages/card/index.ts~ +0 -47
- 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/myoa/main.ts
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
import { TCore, TMyoa } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
4
|
-
TMyoaMainDetaildbQuerys,
|
|
5
|
-
IMyoaMainSelectdbQuerys,
|
|
6
|
-
IMyoaMainInsertdb2Querys,
|
|
7
|
-
IMyoaMainUpdated4Querys,
|
|
8
|
-
TMyoaMainMrokdbQuerys,
|
|
9
|
-
IMyoaMainDetail2dbQuerys,
|
|
10
|
-
IMyoaMainSet4pathQuerys,
|
|
11
|
-
IMyoaMainUsesdzqzUpdatedbQuerys
|
|
12
|
-
} from "./type";
|
|
13
|
-
import { IEmptyQuerys, IParams } from "../type";
|
|
14
|
-
|
|
15
|
-
class ParaRequest {
|
|
16
|
-
private httpRequest: HttpRequest;
|
|
17
|
-
constructor(httpRequest: HttpRequest) {
|
|
18
|
-
this.httpRequest = httpRequest;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* 获取盖章申请
|
|
23
|
-
*/
|
|
24
|
-
selectdb(querys: IMyoaMainSelectdbQuerys, params: object) {
|
|
25
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/selectdb", querys, params);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* 新增盖章申请
|
|
30
|
-
*/
|
|
31
|
-
insertdb(params: object) {
|
|
32
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertdb", undefined, params);
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* 修改盖章申请
|
|
36
|
-
*/
|
|
37
|
-
updatedb(params: object) {
|
|
38
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updatedb", undefined, params);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* 删除盖章申请, 删除公物仓入仓/领用关联资产卡片
|
|
43
|
-
*/
|
|
44
|
-
deletedb(params: object) {
|
|
45
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/deletedb", undefined, params);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* 获取盖章申请详情
|
|
50
|
-
*/
|
|
51
|
-
detaildb(querys: TMyoaMainDetaildbQuerys, params: object) {
|
|
52
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaildb", querys, params);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
//公物仓
|
|
56
|
-
/**
|
|
57
|
-
* 新增公物仓入仓/领用
|
|
58
|
-
*/
|
|
59
|
-
insertd2(querys: IMyoaMainInsertdb2Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
60
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertd2", querys, params);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* 修改公物仓入仓/领用
|
|
65
|
-
*/
|
|
66
|
-
updated4(querys: IMyoaMainUpdated4Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
67
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updated4", querys, params);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* 获取公物仓入仓/领用详情
|
|
72
|
-
*/
|
|
73
|
-
detaild2(querys: IMyoaMainDetail2dbQuerys) {
|
|
74
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaild2", querys, undefined);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* 公物仓入仓撤销终审
|
|
79
|
-
*/
|
|
80
|
-
canceled(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
81
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/canceled", querys, params);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* 公物仓入仓终审
|
|
86
|
-
*/
|
|
87
|
-
executed(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
88
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/executed", querys, params);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* 公物仓入仓/领用终审判断
|
|
93
|
-
*/
|
|
94
|
-
chkexist(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
95
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/chkexist", querys, params);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* 获取公物仓入仓/领用详情
|
|
100
|
-
*/
|
|
101
|
-
mrokdb(querys: TMyoaMainMrokdbQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
102
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/mrokdb", querys, params);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* 反折旧反结账后判断卡片是否有变动
|
|
107
|
-
* 获取公物仓入仓/领用详情
|
|
108
|
-
*/
|
|
109
|
-
chkinsert(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
110
|
-
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/chkinsert", querys, params);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* 根据myoamain进行其附件的替换
|
|
115
|
-
*/
|
|
116
|
-
set4path(querys: IMyoaMainSet4pathQuerys, params: object) {
|
|
117
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/set4path", querys, params);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* 根据myoamain修改其是否签章的标记
|
|
122
|
-
*/
|
|
123
|
-
usesdzqzUpdatedb(querys: IMyoaMainUsesdzqzUpdatedbQuerys, params: object) {
|
|
124
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/usesdzqz/updatedb", querys, params);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export default ParaRequest;
|
|
1
|
+
import { TCore, TMyoa } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import {
|
|
4
|
+
TMyoaMainDetaildbQuerys,
|
|
5
|
+
IMyoaMainSelectdbQuerys,
|
|
6
|
+
IMyoaMainInsertdb2Querys,
|
|
7
|
+
IMyoaMainUpdated4Querys,
|
|
8
|
+
TMyoaMainMrokdbQuerys,
|
|
9
|
+
IMyoaMainDetail2dbQuerys,
|
|
10
|
+
IMyoaMainSet4pathQuerys,
|
|
11
|
+
IMyoaMainUsesdzqzUpdatedbQuerys
|
|
12
|
+
} from "./type";
|
|
13
|
+
import { IEmptyQuerys, IParams } from "../type";
|
|
14
|
+
|
|
15
|
+
class ParaRequest {
|
|
16
|
+
private httpRequest: HttpRequest;
|
|
17
|
+
constructor(httpRequest: HttpRequest) {
|
|
18
|
+
this.httpRequest = httpRequest;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 获取盖章申请
|
|
23
|
+
*/
|
|
24
|
+
selectdb(querys: IMyoaMainSelectdbQuerys, params: object) {
|
|
25
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/selectdb", querys, params);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 新增盖章申请
|
|
30
|
+
*/
|
|
31
|
+
insertdb(params: object) {
|
|
32
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertdb", undefined, params);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 修改盖章申请
|
|
36
|
+
*/
|
|
37
|
+
updatedb(params: object) {
|
|
38
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updatedb", undefined, params);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 删除盖章申请, 删除公物仓入仓/领用关联资产卡片
|
|
43
|
+
*/
|
|
44
|
+
deletedb(params: object) {
|
|
45
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/deletedb", undefined, params);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 获取盖章申请详情
|
|
50
|
+
*/
|
|
51
|
+
detaildb(querys: TMyoaMainDetaildbQuerys, params: object) {
|
|
52
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaildb", querys, params);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
//公物仓
|
|
56
|
+
/**
|
|
57
|
+
* 新增公物仓入仓/领用
|
|
58
|
+
*/
|
|
59
|
+
insertd2(querys: IMyoaMainInsertdb2Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
60
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertd2", querys, params);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 修改公物仓入仓/领用
|
|
65
|
+
*/
|
|
66
|
+
updated4(querys: IMyoaMainUpdated4Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
67
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updated4", querys, params);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* 获取公物仓入仓/领用详情
|
|
72
|
+
*/
|
|
73
|
+
detaild2(querys: IMyoaMainDetail2dbQuerys) {
|
|
74
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaild2", querys, undefined);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 公物仓入仓撤销终审
|
|
79
|
+
*/
|
|
80
|
+
canceled(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
81
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/canceled", querys, params);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* 公物仓入仓终审
|
|
86
|
+
*/
|
|
87
|
+
executed(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
88
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/executed", querys, params);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* 公物仓入仓/领用终审判断
|
|
93
|
+
*/
|
|
94
|
+
chkexist(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
95
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/chkexist", querys, params);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* 获取公物仓入仓/领用详情
|
|
100
|
+
*/
|
|
101
|
+
mrokdb(querys: TMyoaMainMrokdbQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
102
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/mrokdb", querys, params);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* 反折旧反结账后判断卡片是否有变动
|
|
107
|
+
* 获取公物仓入仓/领用详情
|
|
108
|
+
*/
|
|
109
|
+
chkinsert(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
110
|
+
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/chkinsert", querys, params);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* 根据myoamain进行其附件的替换
|
|
115
|
+
*/
|
|
116
|
+
set4path(querys: IMyoaMainSet4pathQuerys, params: object) {
|
|
117
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/set4path", querys, params);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 根据myoamain修改其是否签章的标记
|
|
122
|
+
*/
|
|
123
|
+
usesdzqzUpdatedb(querys: IMyoaMainUsesdzqzUpdatedbQuerys, params: object) {
|
|
124
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/usesdzqz/updatedb", querys, params);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export default ParaRequest;
|
package/packages/myoa/room.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { TMyoa } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
4
|
-
IMyoaRoomSelectdbQuerys,
|
|
5
|
-
} from "./type";
|
|
6
|
-
|
|
7
|
-
class ParaRequest {
|
|
8
|
-
private httpRequest: HttpRequest;
|
|
9
|
-
constructor(httpRequest: HttpRequest) {
|
|
10
|
-
this.httpRequest = httpRequest;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* 获取会议室
|
|
15
|
-
*/
|
|
16
|
-
selectdb(querys: IMyoaRoomSelectdbQuerys) {
|
|
17
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/selectdb", querys, undefined);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* 新增会议室
|
|
21
|
-
*/
|
|
22
|
-
insertdb(params: object) {
|
|
23
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/insertdb", undefined, params);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* 修改会议室
|
|
27
|
-
*/
|
|
28
|
-
updatedb(params: object) {
|
|
29
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/updatedb", undefined, params);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* 删除会议室
|
|
33
|
-
*/
|
|
34
|
-
deletedb(params: object) {
|
|
35
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/deletedb", undefined, params);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export default ParaRequest;
|
|
1
|
+
import { TMyoa } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import {
|
|
4
|
+
IMyoaRoomSelectdbQuerys,
|
|
5
|
+
} from "./type";
|
|
6
|
+
|
|
7
|
+
class ParaRequest {
|
|
8
|
+
private httpRequest: HttpRequest;
|
|
9
|
+
constructor(httpRequest: HttpRequest) {
|
|
10
|
+
this.httpRequest = httpRequest;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* 获取会议室
|
|
15
|
+
*/
|
|
16
|
+
selectdb(querys: IMyoaRoomSelectdbQuerys) {
|
|
17
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/selectdb", querys, undefined);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 新增会议室
|
|
21
|
+
*/
|
|
22
|
+
insertdb(params: object) {
|
|
23
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/insertdb", undefined, params);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* 修改会议室
|
|
27
|
+
*/
|
|
28
|
+
updatedb(params: object) {
|
|
29
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/updatedb", undefined, params);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* 删除会议室
|
|
33
|
+
*/
|
|
34
|
+
deletedb(params: object) {
|
|
35
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/deletedb", undefined, params);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export default ParaRequest;
|
package/packages/myoa/type.ts
CHANGED
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
/** ========== main ========== */
|
|
2
|
-
export interface IMyoaMainSelectdbQuerys {
|
|
3
|
-
sourcend: number;
|
|
4
|
-
/** 申请-0 审核-1 */
|
|
5
|
-
withflow: number;
|
|
6
|
-
viewonly: number;
|
|
7
|
-
useronly: number;
|
|
8
|
-
/** 1001 会议申请 1002 用车申请 1010 盖章 */
|
|
9
|
-
myoatype: number;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export class TMyoaMainSelectdbQuerys implements IMyoaMainSelectdbQuerys {
|
|
13
|
-
sourcend: number = -1;
|
|
14
|
-
withflow: number = -1;
|
|
15
|
-
viewonly: number = -1;
|
|
16
|
-
useronly: number = -1;
|
|
17
|
-
myoatype: number = -1;
|
|
18
|
-
}
|
|
19
|
-
/** ========== room ========== */
|
|
20
|
-
export interface IMyoaRoomSelectdbQuerys {
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export class TMyoaRoomSelectdbQuerys implements IMyoaRoomSelectdbQuerys {
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/** ========== main ========== */
|
|
29
|
-
export interface IMyoaMainInsertdb2Querys {
|
|
30
|
-
/** 结账年度 */
|
|
31
|
-
cardkjnd: number;
|
|
32
|
-
/** 结账期间 */
|
|
33
|
-
cardkjqj: number;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export class TMyoaMainInsertdb2Querys implements IMyoaMainInsertdb2Querys {
|
|
37
|
-
cardkjnd: number = -1;
|
|
38
|
-
cardkjqj: number = -1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface IMyoaMainUpdated4Querys {
|
|
42
|
-
/** 结账年度 */
|
|
43
|
-
cardkjnd: number;
|
|
44
|
-
/** 结账期间 */
|
|
45
|
-
cardkjqj: number;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export class TMyoaMainUpdated4Querys implements IMyoaMainUpdated4Querys {
|
|
49
|
-
cardkjnd: number = -1;
|
|
50
|
-
cardkjqj: number = -1;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export interface IMyoaMainDetaildbQuerys {
|
|
54
|
-
myoamain: number;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export class TMyoaMainDetaildbQuerys implements IMyoaMainDetaildbQuerys {
|
|
58
|
-
myoamain: number = -1;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface IMyoaMainDetail2dbQuerys {
|
|
62
|
-
/** 单据主键 */
|
|
63
|
-
myoamain: number;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export class TMyoaMainDetail2dbQuerys implements IMyoaMainDetail2dbQuerys {
|
|
67
|
-
myoamain: number = -1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/** ========== WithCardRequest ========== */
|
|
71
|
-
export interface IMyoaMainSelectd2Querys {
|
|
72
|
-
withflow: number;
|
|
73
|
-
viewonly: number;
|
|
74
|
-
useronly: number;
|
|
75
|
-
sourcend: number;
|
|
76
|
-
myoatype: number;
|
|
77
|
-
queuesby: number;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export class TMyoaMainSelectd2Querys implements IMyoaMainSelectd2Querys {
|
|
81
|
-
withflow: number = 0;
|
|
82
|
-
viewonly: number = -1;
|
|
83
|
-
useronly: number = -1;
|
|
84
|
-
sourcend: number = -1;
|
|
85
|
-
myoatype: number = -1;
|
|
86
|
-
queuesby: number = -1;
|
|
87
|
-
}
|
|
88
|
-
export interface IMyoaWithCardFinishedQuerys {
|
|
89
|
-
sourcend: number;
|
|
90
|
-
unitmain: number;
|
|
91
|
-
myoatype: number;
|
|
92
|
-
queuesby: number;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export class TMyoaWithCardFinishedQuerys implements IMyoaWithCardFinishedQuerys {
|
|
96
|
-
sourcend: number = -1;
|
|
97
|
-
unitmain: number = -1;
|
|
98
|
-
myoatype: number = -1;
|
|
99
|
-
queuesby: number = -1;
|
|
100
|
-
}
|
|
101
|
-
export interface IMyoaWithCardTodosizeQuerys {
|
|
102
|
-
sourcend: number;
|
|
103
|
-
myoatype: number;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export class TMyoaWithCardTodosizeQuerys implements IMyoaWithCardTodosizeQuerys {
|
|
107
|
-
sourcend: number = -1;
|
|
108
|
-
myoatype: number = -1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export interface IMyoaWithCardTodolistQuerys {
|
|
112
|
-
sourcend: number;
|
|
113
|
-
myoatype: number;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export class TMyoaWithCardTodolistQuerys implements IMyoaWithCardTodolistQuerys {
|
|
117
|
-
sourcend: number = -1;
|
|
118
|
-
myoatype: number = -1;
|
|
119
|
-
}
|
|
120
|
-
export interface IMyoaMainMrokdbQuerys {
|
|
121
|
-
/** 领用 */
|
|
122
|
-
mrokstat: number;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export class TMyoaMainMrokdbQuerys implements IMyoaMainMrokdbQuerys {
|
|
126
|
-
mrokstat: number = -1;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export interface IMyoaMainChkinsertQuerys {
|
|
130
|
-
/** 结账年度 */
|
|
131
|
-
cardkjnd: number;
|
|
132
|
-
/** 结账期间 */
|
|
133
|
-
cardkjqj: number;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export class TMyoaMainChkinsertQuerys implements IMyoaMainChkinsertQuerys {
|
|
137
|
-
cardkjnd: number = -1;
|
|
138
|
-
cardkjqj: number = -1;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export interface IMyoaMainSet4pathQuerys {
|
|
142
|
-
/** 单据主键 */
|
|
143
|
-
myoamain: number;
|
|
144
|
-
}
|
|
145
|
-
export class TMyoaMainSet4pathQuerys implements IMyoaMainSet4pathQuerys {
|
|
146
|
-
/** 单据主键 */
|
|
147
|
-
myoamain: number = 0;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export interface IMyoaMainUsesdzqzUpdatedbQuerys {
|
|
151
|
-
/** 单据主键 */
|
|
152
|
-
myoamain: number;
|
|
153
|
-
/** 签章状态 */
|
|
154
|
-
usesdzqz: number;
|
|
155
|
-
}
|
|
156
|
-
export class TMyoaMainUsesdzqzUpdatedbQuerys implements IMyoaMainUsesdzqzUpdatedbQuerys {
|
|
157
|
-
/** 单据主键 */
|
|
158
|
-
myoamain: number = 0;
|
|
159
|
-
/** 签章状态 */
|
|
160
|
-
usesdzqz: number = 0;
|
|
161
|
-
}
|
|
1
|
+
/** ========== main ========== */
|
|
2
|
+
export interface IMyoaMainSelectdbQuerys {
|
|
3
|
+
sourcend: number;
|
|
4
|
+
/** 申请-0 审核-1 */
|
|
5
|
+
withflow: number;
|
|
6
|
+
viewonly: number;
|
|
7
|
+
useronly: number;
|
|
8
|
+
/** 1001 会议申请 1002 用车申请 1010 盖章 */
|
|
9
|
+
myoatype: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class TMyoaMainSelectdbQuerys implements IMyoaMainSelectdbQuerys {
|
|
13
|
+
sourcend: number = -1;
|
|
14
|
+
withflow: number = -1;
|
|
15
|
+
viewonly: number = -1;
|
|
16
|
+
useronly: number = -1;
|
|
17
|
+
myoatype: number = -1;
|
|
18
|
+
}
|
|
19
|
+
/** ========== room ========== */
|
|
20
|
+
export interface IMyoaRoomSelectdbQuerys {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export class TMyoaRoomSelectdbQuerys implements IMyoaRoomSelectdbQuerys {
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** ========== main ========== */
|
|
29
|
+
export interface IMyoaMainInsertdb2Querys {
|
|
30
|
+
/** 结账年度 */
|
|
31
|
+
cardkjnd: number;
|
|
32
|
+
/** 结账期间 */
|
|
33
|
+
cardkjqj: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class TMyoaMainInsertdb2Querys implements IMyoaMainInsertdb2Querys {
|
|
37
|
+
cardkjnd: number = -1;
|
|
38
|
+
cardkjqj: number = -1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface IMyoaMainUpdated4Querys {
|
|
42
|
+
/** 结账年度 */
|
|
43
|
+
cardkjnd: number;
|
|
44
|
+
/** 结账期间 */
|
|
45
|
+
cardkjqj: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class TMyoaMainUpdated4Querys implements IMyoaMainUpdated4Querys {
|
|
49
|
+
cardkjnd: number = -1;
|
|
50
|
+
cardkjqj: number = -1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface IMyoaMainDetaildbQuerys {
|
|
54
|
+
myoamain: number;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class TMyoaMainDetaildbQuerys implements IMyoaMainDetaildbQuerys {
|
|
58
|
+
myoamain: number = -1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface IMyoaMainDetail2dbQuerys {
|
|
62
|
+
/** 单据主键 */
|
|
63
|
+
myoamain: number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export class TMyoaMainDetail2dbQuerys implements IMyoaMainDetail2dbQuerys {
|
|
67
|
+
myoamain: number = -1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** ========== WithCardRequest ========== */
|
|
71
|
+
export interface IMyoaMainSelectd2Querys {
|
|
72
|
+
withflow: number;
|
|
73
|
+
viewonly: number;
|
|
74
|
+
useronly: number;
|
|
75
|
+
sourcend: number;
|
|
76
|
+
myoatype: number;
|
|
77
|
+
queuesby: number;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export class TMyoaMainSelectd2Querys implements IMyoaMainSelectd2Querys {
|
|
81
|
+
withflow: number = 0;
|
|
82
|
+
viewonly: number = -1;
|
|
83
|
+
useronly: number = -1;
|
|
84
|
+
sourcend: number = -1;
|
|
85
|
+
myoatype: number = -1;
|
|
86
|
+
queuesby: number = -1;
|
|
87
|
+
}
|
|
88
|
+
export interface IMyoaWithCardFinishedQuerys {
|
|
89
|
+
sourcend: number;
|
|
90
|
+
unitmain: number;
|
|
91
|
+
myoatype: number;
|
|
92
|
+
queuesby: number;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class TMyoaWithCardFinishedQuerys implements IMyoaWithCardFinishedQuerys {
|
|
96
|
+
sourcend: number = -1;
|
|
97
|
+
unitmain: number = -1;
|
|
98
|
+
myoatype: number = -1;
|
|
99
|
+
queuesby: number = -1;
|
|
100
|
+
}
|
|
101
|
+
export interface IMyoaWithCardTodosizeQuerys {
|
|
102
|
+
sourcend: number;
|
|
103
|
+
myoatype: number;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export class TMyoaWithCardTodosizeQuerys implements IMyoaWithCardTodosizeQuerys {
|
|
107
|
+
sourcend: number = -1;
|
|
108
|
+
myoatype: number = -1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export interface IMyoaWithCardTodolistQuerys {
|
|
112
|
+
sourcend: number;
|
|
113
|
+
myoatype: number;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export class TMyoaWithCardTodolistQuerys implements IMyoaWithCardTodolistQuerys {
|
|
117
|
+
sourcend: number = -1;
|
|
118
|
+
myoatype: number = -1;
|
|
119
|
+
}
|
|
120
|
+
export interface IMyoaMainMrokdbQuerys {
|
|
121
|
+
/** 领用 */
|
|
122
|
+
mrokstat: number;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class TMyoaMainMrokdbQuerys implements IMyoaMainMrokdbQuerys {
|
|
126
|
+
mrokstat: number = -1;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface IMyoaMainChkinsertQuerys {
|
|
130
|
+
/** 结账年度 */
|
|
131
|
+
cardkjnd: number;
|
|
132
|
+
/** 结账期间 */
|
|
133
|
+
cardkjqj: number;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export class TMyoaMainChkinsertQuerys implements IMyoaMainChkinsertQuerys {
|
|
137
|
+
cardkjnd: number = -1;
|
|
138
|
+
cardkjqj: number = -1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface IMyoaMainSet4pathQuerys {
|
|
142
|
+
/** 单据主键 */
|
|
143
|
+
myoamain: number;
|
|
144
|
+
}
|
|
145
|
+
export class TMyoaMainSet4pathQuerys implements IMyoaMainSet4pathQuerys {
|
|
146
|
+
/** 单据主键 */
|
|
147
|
+
myoamain: number = 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface IMyoaMainUsesdzqzUpdatedbQuerys {
|
|
151
|
+
/** 单据主键 */
|
|
152
|
+
myoamain: number;
|
|
153
|
+
/** 签章状态 */
|
|
154
|
+
usesdzqz: number;
|
|
155
|
+
}
|
|
156
|
+
export class TMyoaMainUsesdzqzUpdatedbQuerys implements IMyoaMainUsesdzqzUpdatedbQuerys {
|
|
157
|
+
/** 单据主键 */
|
|
158
|
+
myoamain: number = 0;
|
|
159
|
+
/** 签章状态 */
|
|
160
|
+
usesdzqz: number = 0;
|
|
161
|
+
}
|