@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.
Files changed (163) hide show
  1. package/.prettierrc +15 -15
  2. package/index.ts +90 -90
  3. package/package.json +24 -24
  4. package/packages/antv/cnfg.ts +47 -47
  5. package/packages/antv/index.ts +20 -20
  6. package/packages/antv/main.ts +54 -54
  7. package/packages/antv/para.ts +47 -47
  8. package/packages/antv/type.ts +59 -59
  9. package/packages/axios.ts +136 -136
  10. package/packages/card/form.ts +18 -18
  11. package/packages/card/gblb.ts +113 -113
  12. package/packages/card/index.ts +49 -49
  13. package/packages/card/main.ts +270 -270
  14. package/packages/card/p4pz.ts +93 -93
  15. package/packages/card/tdata.ts +104 -104
  16. package/packages/card/type.ts +792 -792
  17. package/packages/card/tzclbgblb.ts +36 -36
  18. package/packages/card/zcbd.ts +110 -110
  19. package/packages/card/zccf.ts +105 -105
  20. package/packages/card/zccz.ts +112 -112
  21. package/packages/card/zcdb.ts +120 -120
  22. package/packages/card/zclb.ts +93 -93
  23. package/packages/card/zczj.ts +21 -21
  24. package/packages/card/zczjProp.ts +21 -21
  25. package/packages/cnfg/index.ts +14 -14
  26. package/packages/cnfg/main.ts +42 -42
  27. package/packages/cnfg/type.ts +4 -4
  28. package/packages/core/dddw.ts +51 -51
  29. package/packages/core/dept.ts +94 -94
  30. package/packages/core/dict.ts +69 -69
  31. package/packages/core/index.ts +62 -62
  32. package/packages/core/laid.ts +85 -85
  33. package/packages/core/local.ts +29 -29
  34. package/packages/core/mast.ts +23 -23
  35. package/packages/core/part.ts +62 -62
  36. package/packages/core/path.ts +46 -46
  37. package/packages/core/sysbilltype.ts +53 -53
  38. package/packages/core/sysclas.ts +16 -16
  39. package/packages/core/sysenvr.ts +15 -15
  40. package/packages/core/syskjnd.ts +18 -18
  41. package/packages/core/sysmenu.ts +119 -119
  42. package/packages/core/systravel.ts +40 -40
  43. package/packages/core/type.ts +73 -73
  44. package/packages/core/types.ts +579 -579
  45. package/packages/core/unit.ts +75 -75
  46. package/packages/core/user.ts +395 -395
  47. package/packages/cron/index.ts +14 -14
  48. package/packages/cron/main.ts +55 -55
  49. package/packages/cron/type.ts +18 -18
  50. package/packages/elem/index.ts +14 -14
  51. package/packages/elem/main.ts +68 -68
  52. package/packages/elem/type.ts +7 -7
  53. package/packages/expd/index.ts +14 -14
  54. package/packages/expd/main.ts +23 -23
  55. package/packages/expd/type.ts +18 -18
  56. package/packages/flow/duty.ts +57 -57
  57. package/packages/flow/flow.ts +97 -97
  58. package/packages/flow/index.ts +25 -25
  59. package/packages/flow/main.ts +61 -61
  60. package/packages/flow/node.ts +76 -76
  61. package/packages/flow/type.ts +214 -214
  62. package/packages/flow/void.ts +64 -64
  63. package/packages/gams/cnfg.ts +64 -64
  64. package/packages/gams/index.ts +19 -19
  65. package/packages/gams/titem.ts +40 -40
  66. package/packages/gams/ttype.ts +40 -40
  67. package/packages/gams/type.ts +88 -88
  68. package/packages/grow/grow.ts +17 -17
  69. package/packages/grow/index.ts +14 -14
  70. package/packages/grow/type.ts +7 -7
  71. package/packages/gzjg/gzlm.ts +82 -82
  72. package/packages/gzjg/index.ts +19 -16
  73. package/packages/gzjg/main.ts +62 -62
  74. package/packages/gzjg/qzgs.ts +39 -0
  75. package/packages/gzjg/type.ts +124 -100
  76. package/packages/gztb/index.ts +14 -14
  77. package/packages/gztb/main.ts +33 -33
  78. package/packages/gztb/type.ts +27 -27
  79. package/packages/gzzd/index.ts +14 -14
  80. package/packages/gzzd/main.ts +82 -82
  81. package/packages/gzzd/type.ts +68 -68
  82. package/packages/hzcb/index.ts +14 -14
  83. package/packages/hzcb/main.ts +43 -43
  84. package/packages/hzcb/type.ts +20 -20
  85. package/packages/index.ts +26 -26
  86. package/packages/load/data.ts +20 -20
  87. package/packages/load/index.ts +23 -23
  88. package/packages/load/main.ts +19 -19
  89. package/packages/load/type.ts +30 -30
  90. package/packages/load/yqdw.ts +15 -15
  91. package/packages/load/yqkm.ts +15 -15
  92. package/packages/myoa/index.ts +19 -19
  93. package/packages/myoa/main.ts +142 -142
  94. package/packages/myoa/room.ts +45 -45
  95. package/packages/myoa/type.ts +186 -186
  96. package/packages/myoa/withcard.ts +114 -114
  97. package/packages/noti/index.ts +14 -14
  98. package/packages/noti/main.ts +47 -47
  99. package/packages/noti/type.ts +26 -26
  100. package/packages/ocri/index.ts +13 -13
  101. package/packages/ocri/path.ts +17 -17
  102. package/packages/ocri/type.ts +6 -6
  103. package/packages/pzpt/cnfg.ts +92 -92
  104. package/packages/pzpt/glfa.ts +59 -59
  105. package/packages/pzpt/glkm.ts +51 -51
  106. package/packages/pzpt/index.ts +47 -47
  107. package/packages/pzpt/item.ts +54 -54
  108. package/packages/pzpt/k0km.ts +41 -41
  109. package/packages/pzpt/k8km.ts +55 -55
  110. package/packages/pzpt/kbkm.ts +25 -25
  111. package/packages/pzpt/pzpz.ts +60 -60
  112. package/packages/pzpt/pzpzp6pz.ts +44 -44
  113. package/packages/pzpt/type.ts +50 -50
  114. package/packages/pzpt/types.ts +481 -481
  115. package/packages/pzpt/yqkb.ts +20 -20
  116. package/packages/pzpt/yqkm.ts +34 -34
  117. package/packages/tabl/index.ts +14 -14
  118. package/packages/tabl/main.ts +116 -116
  119. package/packages/tabl/type.ts +148 -148
  120. package/packages/task/index.ts +13 -13
  121. package/packages/task/main.ts +48 -48
  122. package/packages/task/type.ts +18 -18
  123. package/packages/type.ts +9 -9
  124. package/packages/wldy/data.ts +52 -52
  125. package/packages/wldy/index.ts +20 -20
  126. package/packages/wldy/item.ts +52 -52
  127. package/packages/wldy/page.ts +63 -63
  128. package/packages/wldy/type.ts +48 -48
  129. package/packages/wtui/ctrl.ts +45 -45
  130. package/packages/wtui/envr.ts +15 -15
  131. package/packages/wtui/form.ts +61 -61
  132. package/packages/wtui/index.ts +44 -44
  133. package/packages/wtui/item.ts +62 -62
  134. package/packages/wtui/main.ts +85 -85
  135. package/packages/wtui/menu.ts +37 -37
  136. package/packages/wtui/node.ts +55 -55
  137. package/packages/wtui/todo.ts +77 -77
  138. package/packages/wtui/type.ts +384 -384
  139. package/packages/wtui/user.ts +39 -39
  140. package/packages/wtui/view.ts +90 -90
  141. package/packages/wtui/zone.ts +52 -52
  142. package/packages/yzcg/index.ts +14 -14
  143. package/packages/yzcg/main.ts +49 -49
  144. package/packages/yzcg/type.ts +22 -22
  145. package/packages/yzht/index.ts +14 -14
  146. package/packages/yzht/main.ts +50 -50
  147. package/packages/yzht/type.ts +38 -38
  148. package/packages/zbys/detail.ts +55 -55
  149. package/packages/zbys/index.ts +13 -13
  150. package/packages/zbys/type.ts +40 -40
  151. package/packages/zbzd/index.ts +14 -14
  152. package/packages/zbzd/main.ts +48 -48
  153. package/packages/zbzd/type.ts +29 -29
  154. package/readme.md +1 -1
  155. package/packages/antv/type.ts~ +0 -57
  156. package/packages/card/index.ts~ +0 -47
  157. package/packages/card/tzclbsort.ts~ +0 -36
  158. package/packages/card/zccz.ts~ +0 -106
  159. package/packages/core/laid.ts~ +0 -84
  160. package/packages/expd/type.ts~ +0 -17
  161. package/packages/noti/main.ts~ +0 -47
  162. package/packages/noti/type.ts~ +0 -29
  163. package/packages/wtui/type.ts~ +0 -380
@@ -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
+ }
@@ -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;
@@ -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;
@@ -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"
@@ -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;
@@ -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;