@ningboyz/apis 1.0.44 → 1.0.46
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/package.json +1 -1
- package/packages/card/main.ts +1 -1
- package/packages/card/type.ts +10 -4
- package/packages/card/zcbd.ts +7 -1
- package/packages/card/zccz.ts +7 -1
- package/packages/card/zcdb.ts +7 -0
- package/packages/elem/index.ts +15 -0
- package/packages/elem/type.ts +7 -0
- package/packages/wtui/type.ts +20 -20
package/package.json
CHANGED
package/packages/card/main.ts
CHANGED
|
@@ -36,7 +36,7 @@ class MainRequest {
|
|
|
36
36
|
// 关联变动卡片:withflow=0&cansplit=-1&viewonly=1&canclose=0
|
|
37
37
|
// 关联拆分卡片:withflow=0&cansplit=1&viewonly=1&canclose=0
|
|
38
38
|
// by xf-dev
|
|
39
|
-
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/card/tmain/selectd2",
|
|
39
|
+
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/card/tmain/selectd2", querys, params);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
package/packages/card/type.ts
CHANGED
|
@@ -62,7 +62,7 @@ export class TCardGblbNextYearQuerys implements ICardGblbNextYearQuerys {
|
|
|
62
62
|
/** ========== main ==========*/
|
|
63
63
|
export interface ICardMainSelectd2Querys {
|
|
64
64
|
/** 是否需要筛选只能拆分的资产卡片 */
|
|
65
|
-
|
|
65
|
+
canSplit: number;
|
|
66
66
|
/** 1为待处理中数据,0为选择卡片(关联区数据以及所有业务中)\*/
|
|
67
67
|
withflow: number;
|
|
68
68
|
/** 0为根据单位权限 */
|
|
@@ -80,7 +80,7 @@ export interface ICardMainSelectd2Querys {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export class TCardMainSelectd2Querys implements ICardMainSelectd2Querys {
|
|
83
|
-
|
|
83
|
+
canSplit: number = -1;
|
|
84
84
|
withflow: number = -1;
|
|
85
85
|
viewonly: number = -1;
|
|
86
86
|
canclose: number = -1;
|
|
@@ -538,9 +538,15 @@ export class TCardZclbDetaildbQuerys implements ICardZclbDetaildbQuerys {
|
|
|
538
538
|
zclbmain: number = -1;
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
export interface ICardZclbUploaddbQuerys {
|
|
541
|
+
export interface ICardZclbUploaddbQuerys {
|
|
542
|
+
sourcend: number;
|
|
543
|
+
coderule: string;
|
|
544
|
+
}
|
|
542
545
|
|
|
543
|
-
export class TCardZclbUploaddbQuerys implements ICardZclbUploaddbQuerys {
|
|
546
|
+
export class TCardZclbUploaddbQuerys implements ICardZclbUploaddbQuerys {
|
|
547
|
+
sourcend: number = -1;
|
|
548
|
+
coderule: string = "";
|
|
549
|
+
}
|
|
544
550
|
|
|
545
551
|
/** ========== zczj ==========*/
|
|
546
552
|
export interface ICardZczjSelectdbQuerys {
|
package/packages/card/zcbd.ts
CHANGED
|
@@ -50,7 +50,13 @@ class ZcbdRequest {
|
|
|
50
50
|
deletedb(params: object) {
|
|
51
51
|
return this.httpRequest.post<TCard.IZcbdResponse[]>("/gapi/card/tzcbd/deletedb", undefined, params);
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
/**
|
|
54
|
+
* 删除资产变动关联的卡片
|
|
55
|
+
* @param params
|
|
56
|
+
*/
|
|
57
|
+
deleteCard(params: object) {
|
|
58
|
+
return this.httpRequest.post<TCard.IZcbdResponse[]>("/gapi/card/tzcbd/tbill/deletedb", undefined, params);
|
|
59
|
+
}
|
|
54
60
|
/**
|
|
55
61
|
* 获取变动待办
|
|
56
62
|
*/
|
package/packages/card/zccz.ts
CHANGED
|
@@ -53,7 +53,13 @@ class ZcczRequest {
|
|
|
53
53
|
deletedb(params: object) {
|
|
54
54
|
return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/deletedb", undefined, params);
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
/**
|
|
57
|
+
* 删除关联卡片
|
|
58
|
+
* @param params
|
|
59
|
+
*/
|
|
60
|
+
deleteCard(params: object) {
|
|
61
|
+
return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/tbill/deletedb", undefined, params);
|
|
62
|
+
}
|
|
57
63
|
/**
|
|
58
64
|
* 获取处置待办
|
|
59
65
|
*/
|
package/packages/card/zcdb.ts
CHANGED
|
@@ -54,6 +54,13 @@ class ZcdbRequest {
|
|
|
54
54
|
return this.httpRequest.post<TCard.IZcdbResponse[]>("/gapi/card/tzcdb/deletedb", undefined, params);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
/**
|
|
58
|
+
* 删除关联卡片
|
|
59
|
+
* @param params
|
|
60
|
+
*/
|
|
61
|
+
deleteCard(params: object) {
|
|
62
|
+
return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzcdb/tbill/deletedb", undefined, params);
|
|
63
|
+
}
|
|
57
64
|
/**
|
|
58
65
|
* 获取调拨待办
|
|
59
66
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { HttpRequest } from "../axios";
|
|
2
|
+
import { IElemElemResponse } from "../../../types/src/elem/IElemElemResponse";
|
|
3
|
+
import { IElemSelectdbQuerys } from "./type";
|
|
4
|
+
class ParaRequest {
|
|
5
|
+
private httpRequest: HttpRequest;
|
|
6
|
+
constructor(httpRequest: HttpRequest) {
|
|
7
|
+
this.httpRequest = httpRequest;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
selectdb(querys: IElemSelectdbQuerys) {
|
|
11
|
+
return this.httpRequest.post<IElemElemResponse[]>(`/elem/telem/selectdb`, querys, undefined);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default ParaRequest;
|
package/packages/wtui/type.ts
CHANGED
|
@@ -55,61 +55,61 @@ export class TWtuiCtrlUpdatedbQuerys implements IWtuiCtrlUpdatedbQuerys {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export interface IWtuiCtrlDetaildbQuerys {
|
|
58
|
-
|
|
58
|
+
ctrlindx: number;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
export class TWtuiCtrlDetaildbQuerys implements IWtuiCtrlDetaildbQuerys {
|
|
62
|
-
|
|
62
|
+
ctrlindx: number = -1;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/** ========== envr ========== */
|
|
66
66
|
|
|
67
67
|
/** ========== form ========== */
|
|
68
68
|
export interface IWtuiFormSelectdbQuerys {
|
|
69
|
-
|
|
69
|
+
zonemain: number;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export class TWtuiFormSelectdbQuerys implements IWtuiFormSelectdbQuerys {
|
|
73
|
-
|
|
73
|
+
zonemain: number = -1;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export interface IWtuiFormDetaild2Querys {
|
|
77
|
-
|
|
77
|
+
formname: string;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export class TWtuiFormDetaild2Querys implements IWtuiFormDetaild2Querys {
|
|
81
|
-
|
|
81
|
+
formname: string = "";
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export interface IWtuiFormInsertdbQuerys {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
wtuizone: number;
|
|
86
|
+
wtuimain: number;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export class TWtuiFormInsertdbQuerys implements IWtuiFormInsertdbQuerys {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
wtuizone: number = -1;
|
|
91
|
+
wtuimain: number = -1;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export interface IWtuiFormDetaildbQuerys {
|
|
95
|
-
|
|
95
|
+
formmain: number;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export class TWtuiFormDetaildbQuerys implements IWtuiFormDetaildbQuerys {
|
|
99
|
-
|
|
99
|
+
formmain: number = -1;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/** ========== item ========== */
|
|
103
103
|
export interface IWtuiItemSelectdbQuerys {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
wtuimain: number;
|
|
105
|
+
zonemain: number;
|
|
106
|
+
formmain: number;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export class TWtuiItemSelectdbQuerys implements IWtuiItemSelectdbQuerys {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
wtuimain: number = -1;
|
|
111
|
+
zonemain: number = -1;
|
|
112
|
+
formmain: number = -1;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export interface IWtuiItemInsertdbQuerys {
|
|
@@ -242,8 +242,8 @@ export class TWtuiNodeUpdatedbQuerys implements IWtuiNodeUpdatedbQuerys {
|
|
|
242
242
|
}
|
|
243
243
|
export interface IWtuiNodeDatahideQuerys {
|
|
244
244
|
/** 是否隐藏
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
0:正常;1:隐藏
|
|
246
|
+
*/
|
|
247
247
|
datahide: number;
|
|
248
248
|
wtuimain: number;
|
|
249
249
|
}
|