@ningboyz/apis 1.0.63 → 1.0.65
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 +2 -2
- package/packages/card/type.ts +10 -2
- package/packages/flow/main.ts +3 -3
- package/packages/flow/type.ts +16 -9
- package/packages/tabl/type.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.65",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "宁波甬政请求库",
|
|
6
6
|
"author": "nbyt-syq",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"registry": "https://registry.npmjs.org/"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ningboyz/types": "1.0.
|
|
20
|
+
"@ningboyz/types": "1.0.65",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/card/type.ts
CHANGED
|
@@ -23,9 +23,17 @@ export class TCardGblbDetaildbQuerys implements ICardGblbDetaildbQuerys {
|
|
|
23
23
|
gblbmain: number = -1;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface ICardGblbUploaddbQuerys {
|
|
26
|
+
export interface ICardGblbUploaddbQuerys {
|
|
27
|
+
/** 年度 */
|
|
28
|
+
sourcend: number;
|
|
29
|
+
/** 编码规则 */
|
|
30
|
+
coderule: string;
|
|
31
|
+
}
|
|
27
32
|
|
|
28
|
-
export class TCardGblbUploaddbQuerys implements ICardGblbUploaddbQuerys {
|
|
33
|
+
export class TCardGblbUploaddbQuerys implements ICardGblbUploaddbQuerys {
|
|
34
|
+
sourcend: number = -1;
|
|
35
|
+
coderule: string = "";
|
|
36
|
+
}
|
|
29
37
|
|
|
30
38
|
export interface ICardGblbGet4zclbQuerys {
|
|
31
39
|
/** 年度 */
|
package/packages/flow/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TFlow } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IFlowMainSelectdbQuerys } from "./type";
|
|
3
|
+
import { IFlowMainSelectdbQuerys, IFlowMainDetaildbQuerys } from "./type";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -21,8 +21,8 @@ class MainRequest {
|
|
|
21
21
|
* 审批流程详情
|
|
22
22
|
* @param params
|
|
23
23
|
*/
|
|
24
|
-
detaildb(
|
|
25
|
-
return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/flow/tmain/detaildb",
|
|
24
|
+
detaildb(querys: IFlowMainDetaildbQuerys) {
|
|
25
|
+
return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/flow/tmain/detaildb", querys, undefined);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
package/packages/flow/type.ts
CHANGED
|
@@ -86,38 +86,45 @@ export class TFlowMainSelectdbQuerys implements IFlowMainSelectdbQuerys {
|
|
|
86
86
|
unitmain: number = -1;
|
|
87
87
|
useruuid: string = "";
|
|
88
88
|
}
|
|
89
|
+
export interface IFlowMainDetaildbQuerys {
|
|
90
|
+
flowmain: number;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export class TFlowMainDetaildbQuerys implements IFlowMainDetaildbQuerys {
|
|
94
|
+
flowmain: number = -1;
|
|
95
|
+
}
|
|
89
96
|
|
|
90
97
|
/** ========== node ======== */
|
|
91
|
-
export interface IFlowNodeSelectdbQuerys{
|
|
98
|
+
export interface IFlowNodeSelectdbQuerys {
|
|
92
99
|
flowmain: number;
|
|
93
100
|
}
|
|
94
101
|
|
|
95
|
-
export class TFlowNodeSelectdbQuerys implements IFlowNodeSelectdbQuerys{
|
|
102
|
+
export class TFlowNodeSelectdbQuerys implements IFlowNodeSelectdbQuerys {
|
|
96
103
|
flowmain: number = -1;
|
|
97
104
|
}
|
|
98
105
|
|
|
99
|
-
export interface IFlowNodeDetaildbQuerys{
|
|
106
|
+
export interface IFlowNodeDetaildbQuerys {
|
|
100
107
|
flowmain: number;
|
|
101
108
|
flownode: number;
|
|
102
109
|
}
|
|
103
110
|
|
|
104
|
-
export class TFlowNodeDetaildbQuerys implements IFlowNodeDetaildbQuerys{
|
|
111
|
+
export class TFlowNodeDetaildbQuerys implements IFlowNodeDetaildbQuerys {
|
|
105
112
|
flowmain: number = -1;
|
|
106
113
|
flownode: number = -1;
|
|
107
114
|
}
|
|
108
115
|
|
|
109
|
-
export interface IFlowNodeInsertdbQuerys{
|
|
116
|
+
export interface IFlowNodeInsertdbQuerys {
|
|
110
117
|
flowmain: number;
|
|
111
118
|
}
|
|
112
119
|
|
|
113
|
-
export class TFlowNodeInsertdbQuerys implements IFlowNodeInsertdbQuerys{
|
|
120
|
+
export class TFlowNodeInsertdbQuerys implements IFlowNodeInsertdbQuerys {
|
|
114
121
|
flowmain: number = -1;
|
|
115
122
|
}
|
|
116
123
|
|
|
117
|
-
export interface IFlowNodeUpdatedbQuerys{
|
|
124
|
+
export interface IFlowNodeUpdatedbQuerys {
|
|
118
125
|
flowmain: number;
|
|
119
126
|
}
|
|
120
127
|
|
|
121
|
-
export class TFlowNodeUpdatedbQuerys implements IFlowNodeUpdatedbQuerys{
|
|
128
|
+
export class TFlowNodeUpdatedbQuerys implements IFlowNodeUpdatedbQuerys {
|
|
122
129
|
flowmain: number = -1;
|
|
123
|
-
}
|
|
130
|
+
}
|
package/packages/tabl/type.ts
CHANGED
|
@@ -143,6 +143,6 @@ export interface ITablMainGet5formulaQuerys {
|
|
|
143
143
|
tabltzbl: number;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
export class
|
|
146
|
+
export class TTablMainGet5formulaQuerys implements ITablMainGet5formulaQuerys {
|
|
147
147
|
tabltzbl: number = -1;
|
|
148
148
|
}
|