@ningboyz/apis 1.1.78 → 1.1.79
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/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 +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/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 +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 +579 -579
- package/packages/core/unit.ts +75 -75
- package/packages/core/user.ts +395 -395
- 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/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 +19 -16
- package/packages/gzjg/main.ts +62 -62
- package/packages/gzjg/qzgs.ts +39 -0
- package/packages/gzjg/type.ts +124 -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/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 +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/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
- 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/expd/type.ts~ +0 -17
- package/packages/noti/main.ts~ +0 -47
- package/packages/noti/type.ts~ +0 -29
- package/packages/wtui/type.ts~ +0 -380
package/packages/load/type.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/** ========== yqdw ========== */
|
|
2
|
-
export interface ILoadYqdwSelectdbQuerys {}
|
|
3
|
-
|
|
4
|
-
export class TLoadYqdwSelectdbQuerys implements ILoadYqdwSelectdbQuerys {}
|
|
5
|
-
|
|
6
|
-
/** ========== yqkm ========== */
|
|
7
|
-
export interface ILoadYqkmSelectdbQuerys {}
|
|
8
|
-
|
|
9
|
-
export class TLoadYqkmSelectdbQuerys implements ILoadYqkmSelectdbQuerys {}
|
|
10
|
-
|
|
11
|
-
/** ========== main ========== */
|
|
12
|
-
export interface ILoadMainUploadddQuerys {
|
|
13
|
-
gzjgmain: number;
|
|
14
|
-
kjndkjqj: number;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export class TLoadMainUploadddQuerys implements ILoadMainUploadddQuerys {
|
|
18
|
-
gzjgmain: number = -1;
|
|
19
|
-
kjndkjqj: number = -1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface ILoadDataSelectddQuerys {
|
|
23
|
-
gzjgmain: number;
|
|
24
|
-
kjndkjqj: number;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export class TLoadDataSelectddQuerys implements ILoadDataSelectddQuerys {
|
|
28
|
-
gzjgmain: number = -1;
|
|
29
|
-
kjndkjqj: number = -1;
|
|
30
|
-
}
|
|
1
|
+
/** ========== yqdw ========== */
|
|
2
|
+
export interface ILoadYqdwSelectdbQuerys {}
|
|
3
|
+
|
|
4
|
+
export class TLoadYqdwSelectdbQuerys implements ILoadYqdwSelectdbQuerys {}
|
|
5
|
+
|
|
6
|
+
/** ========== yqkm ========== */
|
|
7
|
+
export interface ILoadYqkmSelectdbQuerys {}
|
|
8
|
+
|
|
9
|
+
export class TLoadYqkmSelectdbQuerys implements ILoadYqkmSelectdbQuerys {}
|
|
10
|
+
|
|
11
|
+
/** ========== main ========== */
|
|
12
|
+
export interface ILoadMainUploadddQuerys {
|
|
13
|
+
gzjgmain: number;
|
|
14
|
+
kjndkjqj: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class TLoadMainUploadddQuerys implements ILoadMainUploadddQuerys {
|
|
18
|
+
gzjgmain: number = -1;
|
|
19
|
+
kjndkjqj: number = -1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface ILoadDataSelectddQuerys {
|
|
23
|
+
gzjgmain: number;
|
|
24
|
+
kjndkjqj: number;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export class TLoadDataSelectddQuerys implements ILoadDataSelectddQuerys {
|
|
28
|
+
gzjgmain: number = -1;
|
|
29
|
+
kjndkjqj: number = -1;
|
|
30
|
+
}
|
package/packages/load/yqdw.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Load } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
|
|
4
|
-
class YqdwRequest {
|
|
5
|
-
private httpRequest: HttpRequest;
|
|
6
|
-
constructor(httpRequest: HttpRequest) {
|
|
7
|
-
this.httpRequest = httpRequest;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
selectdb() {
|
|
11
|
-
return this.httpRequest.post<Load.IYqdwResponse[]>("/load/tyqdw/selectdb", undefined, undefined);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default YqdwRequest;
|
|
1
|
+
import { Load } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
|
|
4
|
+
class YqdwRequest {
|
|
5
|
+
private httpRequest: HttpRequest;
|
|
6
|
+
constructor(httpRequest: HttpRequest) {
|
|
7
|
+
this.httpRequest = httpRequest;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
selectdb() {
|
|
11
|
+
return this.httpRequest.post<Load.IYqdwResponse[]>("/load/tyqdw/selectdb", undefined, undefined);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default YqdwRequest;
|
package/packages/load/yqkm.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Load } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
|
|
4
|
-
class YqkmRequest {
|
|
5
|
-
private httpRequest: HttpRequest;
|
|
6
|
-
constructor(httpRequest: HttpRequest) {
|
|
7
|
-
this.httpRequest = httpRequest;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
selectdb() {
|
|
11
|
-
return this.httpRequest.post<Load.IYqkmResponse[]>("/load/tyqkm/selectdb", undefined, undefined);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default YqkmRequest;
|
|
1
|
+
import { Load } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
|
|
4
|
+
class YqkmRequest {
|
|
5
|
+
private httpRequest: HttpRequest;
|
|
6
|
+
constructor(httpRequest: HttpRequest) {
|
|
7
|
+
this.httpRequest = httpRequest;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
selectdb() {
|
|
11
|
+
return this.httpRequest.post<Load.IYqkmResponse[]>("/load/tyqkm/selectdb", undefined, undefined);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default YqkmRequest;
|
package/packages/myoa/index.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
|
-
import MainRequest from "./main";
|
|
3
|
-
import WithCardRequest from "./withcard";
|
|
4
|
-
import RoomRequest from "./room";
|
|
5
|
-
|
|
6
|
-
class MyoaRequest {
|
|
7
|
-
public main: MainRequest;
|
|
8
|
-
public withCard: WithCardRequest;
|
|
9
|
-
public room: RoomRequest;
|
|
10
|
-
constructor(config: IAxiosConfig) {
|
|
11
|
-
const request = createRequest(config);
|
|
12
|
-
this.main = new MainRequest(request);
|
|
13
|
-
this.withCard = new WithCardRequest(request);
|
|
14
|
-
this.room = new RoomRequest(request);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export default MyoaRequest;
|
|
19
|
-
export * from "./type"
|
|
1
|
+
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
|
+
import MainRequest from "./main";
|
|
3
|
+
import WithCardRequest from "./withcard";
|
|
4
|
+
import RoomRequest from "./room";
|
|
5
|
+
|
|
6
|
+
class MyoaRequest {
|
|
7
|
+
public main: MainRequest;
|
|
8
|
+
public withCard: WithCardRequest;
|
|
9
|
+
public room: RoomRequest;
|
|
10
|
+
constructor(config: IAxiosConfig) {
|
|
11
|
+
const request = createRequest(config);
|
|
12
|
+
this.main = new MainRequest(request);
|
|
13
|
+
this.withCard = new WithCardRequest(request);
|
|
14
|
+
this.room = new RoomRequest(request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default MyoaRequest;
|
|
19
|
+
export * from "./type"
|
package/packages/myoa/main.ts
CHANGED
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import { TCore, TMyoa, TCard } 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
|
-
IMyoaFinishedQuerys,
|
|
13
|
-
IMyoaMainScheduleQuerys
|
|
14
|
-
} from "./type";
|
|
15
|
-
import { IEmptyQuerys, IParams } from "../type";
|
|
16
|
-
|
|
17
|
-
class ParaRequest {
|
|
18
|
-
private httpRequest: HttpRequest;
|
|
19
|
-
constructor(httpRequest: HttpRequest) {
|
|
20
|
-
this.httpRequest = httpRequest;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* 获取盖章申请
|
|
25
|
-
*/
|
|
26
|
-
selectdb(querys: IMyoaMainSelectdbQuerys, params: object) {
|
|
27
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/selectdb", querys, params);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* 新增盖章申请
|
|
32
|
-
*/
|
|
33
|
-
insertdb(params: object) {
|
|
34
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertdb", undefined, params);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 修改盖章申请
|
|
38
|
-
*/
|
|
39
|
-
updatedb(params: object) {
|
|
40
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updatedb", undefined, params);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* 删除盖章申请, 删除公物仓入仓/领用关联资产卡片
|
|
45
|
-
*/
|
|
46
|
-
deletedb(params: object) {
|
|
47
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/deletedb", undefined, params);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* 获取盖章申请详情
|
|
52
|
-
*/
|
|
53
|
-
detaildb(querys: TMyoaMainDetaildbQuerys, params: object) {
|
|
54
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaildb", querys, params);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
//公物仓
|
|
58
|
-
/**
|
|
59
|
-
* 新增公物仓入仓/领用
|
|
60
|
-
*/
|
|
61
|
-
insertd2(querys: IMyoaMainInsertdb2Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
62
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertd2", querys, params);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* 修改公物仓入仓/领用
|
|
67
|
-
*/
|
|
68
|
-
updated4(querys: IMyoaMainUpdated4Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
69
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updated4", querys, params);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* 获取公物仓入仓/领用详情
|
|
74
|
-
*/
|
|
75
|
-
detaild2(querys: IMyoaMainDetail2dbQuerys) {
|
|
76
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaild2", querys, undefined);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* 公物仓入仓撤销终审
|
|
81
|
-
*/
|
|
82
|
-
canceled(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
83
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/canceled", querys, params);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* 公物仓入仓终审
|
|
88
|
-
*/
|
|
89
|
-
executed(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
90
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/executed", querys, params);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* 公物仓入仓/领用终审判断
|
|
95
|
-
*/
|
|
96
|
-
chkexist(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
97
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/chkexist", querys, params);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* 获取公物仓入仓/领用详情
|
|
102
|
-
*/
|
|
103
|
-
mrokdb(querys: TMyoaMainMrokdbQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
104
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/mrokdb", querys, params);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* 反折旧反结账后判断卡片是否有变动
|
|
109
|
-
* 获取公物仓入仓/领用详情
|
|
110
|
-
*/
|
|
111
|
-
chkinsert(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
112
|
-
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/chkinsert", querys, params);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* 根据myoamain进行其附件的替换
|
|
117
|
-
*/
|
|
118
|
-
set4path(querys: IMyoaMainSet4pathQuerys, params: object) {
|
|
119
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/set4path", querys, params);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* 根据myoamain修改其是否签章的标记
|
|
124
|
-
*/
|
|
125
|
-
usesdzqzUpdatedb(querys: IMyoaMainUsesdzqzUpdatedbQuerys, params: object) {
|
|
126
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/usesdzqz/updatedb", querys, params);
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* 获取登记已办业务
|
|
130
|
-
*/
|
|
131
|
-
finished(querys: IMyoaFinishedQuerys) {
|
|
132
|
-
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/finished", querys, undefined);
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* 获取用车列表/会议室列表
|
|
136
|
-
*/
|
|
137
|
-
schedule(querys: IMyoaMainScheduleQuerys, params: object) {
|
|
138
|
-
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/myoa/tmain/schedule", querys, params);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export default ParaRequest;
|
|
1
|
+
import { TCore, TMyoa, TCard } 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
|
+
IMyoaFinishedQuerys,
|
|
13
|
+
IMyoaMainScheduleQuerys
|
|
14
|
+
} from "./type";
|
|
15
|
+
import { IEmptyQuerys, IParams } from "../type";
|
|
16
|
+
|
|
17
|
+
class ParaRequest {
|
|
18
|
+
private httpRequest: HttpRequest;
|
|
19
|
+
constructor(httpRequest: HttpRequest) {
|
|
20
|
+
this.httpRequest = httpRequest;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 获取盖章申请
|
|
25
|
+
*/
|
|
26
|
+
selectdb(querys: IMyoaMainSelectdbQuerys, params: object) {
|
|
27
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/selectdb", querys, params);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 新增盖章申请
|
|
32
|
+
*/
|
|
33
|
+
insertdb(params: object) {
|
|
34
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertdb", undefined, params);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 修改盖章申请
|
|
38
|
+
*/
|
|
39
|
+
updatedb(params: object) {
|
|
40
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updatedb", undefined, params);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 删除盖章申请, 删除公物仓入仓/领用关联资产卡片
|
|
45
|
+
*/
|
|
46
|
+
deletedb(params: object) {
|
|
47
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/deletedb", undefined, params);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 获取盖章申请详情
|
|
52
|
+
*/
|
|
53
|
+
detaildb(querys: TMyoaMainDetaildbQuerys, params: object) {
|
|
54
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaildb", querys, params);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
//公物仓
|
|
58
|
+
/**
|
|
59
|
+
* 新增公物仓入仓/领用
|
|
60
|
+
*/
|
|
61
|
+
insertd2(querys: IMyoaMainInsertdb2Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
62
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertd2", querys, params);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 修改公物仓入仓/领用
|
|
67
|
+
*/
|
|
68
|
+
updated4(querys: IMyoaMainUpdated4Querys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
69
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/updated4", querys, params);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 获取公物仓入仓/领用详情
|
|
74
|
+
*/
|
|
75
|
+
detaild2(querys: IMyoaMainDetail2dbQuerys) {
|
|
76
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/detaild2", querys, undefined);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* 公物仓入仓撤销终审
|
|
81
|
+
*/
|
|
82
|
+
canceled(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
83
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/canceled", querys, params);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 公物仓入仓终审
|
|
88
|
+
*/
|
|
89
|
+
executed(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
90
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/executed", querys, params);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 公物仓入仓/领用终审判断
|
|
95
|
+
*/
|
|
96
|
+
chkexist(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
97
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/chkexist", querys, params);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* 获取公物仓入仓/领用详情
|
|
102
|
+
*/
|
|
103
|
+
mrokdb(querys: TMyoaMainMrokdbQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
104
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/mrokdb", querys, params);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* 反折旧反结账后判断卡片是否有变动
|
|
109
|
+
* 获取公物仓入仓/领用详情
|
|
110
|
+
*/
|
|
111
|
+
chkinsert(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
112
|
+
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/chkinsert", querys, params);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 根据myoamain进行其附件的替换
|
|
117
|
+
*/
|
|
118
|
+
set4path(querys: IMyoaMainSet4pathQuerys, params: object) {
|
|
119
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/set4path", querys, params);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* 根据myoamain修改其是否签章的标记
|
|
124
|
+
*/
|
|
125
|
+
usesdzqzUpdatedb(querys: IMyoaMainUsesdzqzUpdatedbQuerys, params: object) {
|
|
126
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/usesdzqz/updatedb", querys, params);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 获取登记已办业务
|
|
130
|
+
*/
|
|
131
|
+
finished(querys: IMyoaFinishedQuerys) {
|
|
132
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/finished", querys, undefined);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* 获取用车列表/会议室列表
|
|
136
|
+
*/
|
|
137
|
+
schedule(querys: IMyoaMainScheduleQuerys, params: object) {
|
|
138
|
+
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/myoa/tmain/schedule", querys, params);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export default ParaRequest;
|
package/packages/myoa/room.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { TMyoa } from "@ningboyz/types";
|
|
2
|
-
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IMyoaRoomSelectdbQuerys, IMyoaRoomGet5lastQuerys } from "./type";
|
|
4
|
-
|
|
5
|
-
class ParaRequest {
|
|
6
|
-
private httpRequest: HttpRequest;
|
|
7
|
-
constructor(httpRequest: HttpRequest) {
|
|
8
|
-
this.httpRequest = httpRequest;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 获取会议室
|
|
13
|
-
*/
|
|
14
|
-
selectdb(querys: IMyoaRoomSelectdbQuerys) {
|
|
15
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/selectdb", querys, undefined);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* 新增会议室
|
|
19
|
-
*/
|
|
20
|
-
insertdb(params: object) {
|
|
21
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/insertdb", undefined, params);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 修改会议室
|
|
25
|
-
*/
|
|
26
|
-
updatedb(params: object) {
|
|
27
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/updatedb", undefined, params);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* 删除会议室
|
|
31
|
-
*/
|
|
32
|
-
deletedb(params: object) {
|
|
33
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/deletedb", undefined, params);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @param querys 获取最近单据
|
|
38
|
-
* @returns
|
|
39
|
-
*/
|
|
40
|
-
get5last(querys: IMyoaRoomGet5lastQuerys) {
|
|
41
|
-
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/tmain/get5last", querys, undefined);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export default ParaRequest;
|
|
1
|
+
import { TMyoa } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IMyoaRoomSelectdbQuerys, IMyoaRoomGet5lastQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class ParaRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 获取会议室
|
|
13
|
+
*/
|
|
14
|
+
selectdb(querys: IMyoaRoomSelectdbQuerys) {
|
|
15
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/selectdb", querys, undefined);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 新增会议室
|
|
19
|
+
*/
|
|
20
|
+
insertdb(params: object) {
|
|
21
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/insertdb", undefined, params);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 修改会议室
|
|
25
|
+
*/
|
|
26
|
+
updatedb(params: object) {
|
|
27
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/updatedb", undefined, params);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* 删除会议室
|
|
31
|
+
*/
|
|
32
|
+
deletedb(params: object) {
|
|
33
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/troom/deletedb", undefined, params);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param querys 获取最近单据
|
|
38
|
+
* @returns
|
|
39
|
+
*/
|
|
40
|
+
get5last(querys: IMyoaRoomGet5lastQuerys) {
|
|
41
|
+
return this.httpRequest.post<TMyoa.IMyoaRoomResponse[]>("/gapi/myoa/tmain/get5last", querys, undefined);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export default ParaRequest;
|