@ningboyz/types 1.0.12 → 1.0.13
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
CHANGED
|
@@ -98,6 +98,8 @@ export interface ICardMainResponse {
|
|
|
98
98
|
autoJykh: string;
|
|
99
99
|
/** 单位名称 */
|
|
100
100
|
cardUnitText: string;
|
|
101
|
+
/** 国标名称 */
|
|
102
|
+
cardGblbText: string;
|
|
101
103
|
/** 部门名称 */
|
|
102
104
|
cardDeptText: string;
|
|
103
105
|
/** 资产类型名称 */
|
|
@@ -237,6 +239,7 @@ export class TCardMainResponse implements ICardMainResponse {
|
|
|
237
239
|
autoBfrq: number = 0;
|
|
238
240
|
autoJykh: string = "";
|
|
239
241
|
cardUnitText: string = "";
|
|
242
|
+
cardGblbText: string = "";
|
|
240
243
|
cardDeptText: string = "";
|
|
241
244
|
cardTypeText: string = "";
|
|
242
245
|
cardUsesText: string = "";
|
|
@@ -329,6 +332,7 @@ export class TCardMainResponse implements ICardMainResponse {
|
|
|
329
332
|
this.autoBfrq = card.autoBfrq ?? this.autoBfrq;
|
|
330
333
|
this.autoJykh = card.autoJykh ?? this.autoJykh;
|
|
331
334
|
this.cardUnitText = card.cardUnitText ?? this.cardUnitText;
|
|
335
|
+
this.cardGblbText = card.cardGblbText ?? this.cardGblbText;
|
|
332
336
|
this.cardDeptText = card.cardDeptText ?? this.cardDeptText;
|
|
333
337
|
this.cardTypeText = card.cardTypeText ?? this.cardTypeText;
|
|
334
338
|
this.cardUsesText = card.cardUsesText ?? this.cardUsesText;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
3
|
+
//#流程配置(按业务单据)
|
|
4
|
+
export interface IFlowCnfgResponse {
|
|
5
|
+
whoBuild: number;
|
|
6
|
+
userIndx: number;
|
|
7
|
+
cnfgIndx: number;
|
|
8
|
+
|
|
9
|
+
flowMain: number;
|
|
10
|
+
flowNode: number;
|
|
11
|
+
flowName: string;
|
|
12
|
+
nodeName: string;
|
|
13
|
+
|
|
14
|
+
createAt: number;
|
|
15
|
+
createBy: string;
|
|
16
|
+
dataDate: number;
|
|
17
|
+
dataFrom: number;
|
|
18
|
+
dataHide: number;
|
|
19
|
+
dataOrdr: number;
|
|
20
|
+
dataStat: number;
|
|
21
|
+
dataTime: number;
|
|
22
|
+
deleteAt: number;
|
|
23
|
+
deleteBy: string;
|
|
24
|
+
|
|
25
|
+
mastGUID: string;
|
|
26
|
+
mastName: string;
|
|
27
|
+
queuesBy: number;
|
|
28
|
+
updateAt: number;
|
|
29
|
+
updateBy: string;
|
|
30
|
+
|
|
31
|
+
cnfgName: string;
|
|
32
|
+
cnfg4Key: string;
|
|
33
|
+
cnfg4Val: string;
|
|
34
|
+
cnfgMemo: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export class TFlowCnfgResponse implements IFlowCnfgResponse {
|
|
38
|
+
whoBuild: number = 0;
|
|
39
|
+
userIndx: number = 0;
|
|
40
|
+
cnfgIndx: number = 0;
|
|
41
|
+
|
|
42
|
+
flowMain: number = 0;
|
|
43
|
+
flowNode: number = 0;
|
|
44
|
+
flowName: string = "";
|
|
45
|
+
nodeName: string = "";
|
|
46
|
+
|
|
47
|
+
createAt: number = 0;
|
|
48
|
+
createBy: string = "";
|
|
49
|
+
dataDate: number = 0;
|
|
50
|
+
dataFrom: number = 0;
|
|
51
|
+
dataHide: number = 0;
|
|
52
|
+
dataOrdr: number = 0;
|
|
53
|
+
dataStat: number = 0;
|
|
54
|
+
dataTime: number = 0;
|
|
55
|
+
deleteAt: number = 0;
|
|
56
|
+
deleteBy: string = "";
|
|
57
|
+
dutyIndx: number = 0;
|
|
58
|
+
dutyText: string = "";
|
|
59
|
+
flowIndx: number = 0;
|
|
60
|
+
|
|
61
|
+
mastGUID: string = "";
|
|
62
|
+
mastName: string = "";
|
|
63
|
+
queuesBy: number = 0;
|
|
64
|
+
updateAt: number = 0;
|
|
65
|
+
updateBy: string = "";
|
|
66
|
+
|
|
67
|
+
cnfgName: string = "";
|
|
68
|
+
cnfg4Key: string = "";
|
|
69
|
+
cnfg4Val: string = "";
|
|
70
|
+
cnfgMemo: string = "";
|
|
71
|
+
}
|
|
@@ -4,8 +4,16 @@ import type { IFlowDutyNodeParaConv } from "./IFlowDutyNodeParaConv";
|
|
|
4
4
|
import { TFlowDutyNodeParaConv } from "./IFlowDutyNodeParaConv";
|
|
5
5
|
|
|
6
6
|
export interface IFlowDutyResponse {
|
|
7
|
+
whoBuild: number;
|
|
8
|
+
userIndx: number;
|
|
9
|
+
dutyIndx: number;
|
|
10
|
+
|
|
11
|
+
flowNode: number;
|
|
12
|
+
flowMain: number;
|
|
13
|
+
flowIndx: number;
|
|
7
14
|
flowName: string;
|
|
8
15
|
nodeName: string;
|
|
16
|
+
|
|
9
17
|
createAt: number;
|
|
10
18
|
createBy: string;
|
|
11
19
|
dataDate: number;
|
|
@@ -16,27 +24,30 @@ export interface IFlowDutyResponse {
|
|
|
16
24
|
dataTime: number;
|
|
17
25
|
deleteAt: number;
|
|
18
26
|
deleteBy: string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
flowIndx: number;
|
|
22
|
-
flowNode: number;
|
|
23
|
-
flowMain: number;
|
|
27
|
+
updateAt: number;
|
|
28
|
+
updateBy: string;
|
|
24
29
|
mastGUID: string;
|
|
25
30
|
mastName: string;
|
|
31
|
+
|
|
32
|
+
dutyText: string;
|
|
26
33
|
queuesBy: number;
|
|
27
34
|
selectEd: number;
|
|
28
|
-
updateAt: number;
|
|
29
|
-
updateBy: string;
|
|
30
|
-
userIndx: number;
|
|
31
|
-
whoBuild: number;
|
|
32
35
|
dutyPara: string;
|
|
33
36
|
dutyParaConv: IFlowDutyNodeParaConv;
|
|
34
37
|
listNode: IFlowNodeResponse[];
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
export class TFlowDutyResponse implements IFlowDutyResponse {
|
|
38
|
-
|
|
41
|
+
whoBuild: number = 0;
|
|
42
|
+
userIndx: number = 0;
|
|
43
|
+
dutyIndx: number = 0;
|
|
44
|
+
|
|
45
|
+
flowNode: number = 0;
|
|
46
|
+
flowMain: number = 0;
|
|
47
|
+
flowIndx: number = 0;
|
|
39
48
|
flowName: string = "";
|
|
49
|
+
nodeName: string = "";
|
|
50
|
+
|
|
40
51
|
createAt: number = 0;
|
|
41
52
|
createBy: string = "";
|
|
42
53
|
dataDate: number = 0;
|
|
@@ -47,19 +58,15 @@ export class TFlowDutyResponse implements IFlowDutyResponse {
|
|
|
47
58
|
dataTime: number = 0;
|
|
48
59
|
deleteAt: number = 0;
|
|
49
60
|
deleteBy: string = "";
|
|
50
|
-
|
|
61
|
+
|
|
51
62
|
dutyText: string = "";
|
|
52
|
-
flowIndx: number = 0;
|
|
53
|
-
flowNode: number = 0;
|
|
54
|
-
flowMain: number = 0;
|
|
55
63
|
mastGUID: string = "";
|
|
56
64
|
mastName: string = "";
|
|
57
65
|
queuesBy: number = 0;
|
|
58
66
|
selectEd: number = 0;
|
|
59
67
|
updateAt: number = 0;
|
|
60
68
|
updateBy: string = "";
|
|
61
|
-
|
|
62
|
-
whoBuild: number = 0;
|
|
69
|
+
|
|
63
70
|
dutyPara: string = "";
|
|
64
71
|
listNode: IFlowNodeResponse[] = [];
|
|
65
72
|
dutyParaConv: IFlowDutyNodeParaConv = new TFlowDutyNodeParaConv();
|
package/src/flow/index.ts
CHANGED
|
@@ -3,16 +3,19 @@ import { IFlowMainResponse, TFlowMainResponse } from "./IFlowMainResponse";
|
|
|
3
3
|
import { IFlowNodeResponse, TFlowNodeResponse } from "./IFlowNodeResponse";
|
|
4
4
|
import { IFlowVoidResponse, TFlowVoidResponse } from "./IFlowVoidResponse";
|
|
5
5
|
import { IFlowTypeResponse, TFlowTypeResponse } from "./IFlowTypeResponse";
|
|
6
|
+
import { IFlowCnfgResponse, TFlowCnfgResponse } from "./IFlowCnfgResponse";
|
|
6
7
|
|
|
7
8
|
export {
|
|
9
|
+
type IFlowCnfgResponse,
|
|
8
10
|
type IFlowDutyResponse,
|
|
9
11
|
type IFlowMainResponse,
|
|
10
|
-
type IFlowTypeResponse,
|
|
11
12
|
type IFlowNodeResponse,
|
|
13
|
+
type IFlowTypeResponse,
|
|
12
14
|
type IFlowVoidResponse,
|
|
15
|
+
TFlowCnfgResponse,
|
|
13
16
|
TFlowDutyResponse,
|
|
14
17
|
TFlowMainResponse,
|
|
15
|
-
TFlowTypeResponse,
|
|
16
18
|
TFlowNodeResponse,
|
|
19
|
+
TFlowTypeResponse,
|
|
17
20
|
TFlowVoidResponse
|
|
18
21
|
};
|