@ningboyz/types 1.0.19 → 1.0.21
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/index.ts +1 -1
- package/package.json +1 -1
- package/src/const/const_type_name.ts +13 -0
- package/src/const/index.ts +4 -4
- package/src/enums/index.ts +2 -1
- package/src/enums/wldyItemType.ts +5 -0
- package/src/flow/IFlowDataResponse.ts +159 -0
- package/src/flow/index.ts +4 -0
- package/src/gzjg/IGzjgGzlmResponse.ts +6 -0
- package/src/hzcb/IHzcbRypqResponse.ts +22 -0
- package/src/wldy/IWldyItemResponse.ts +2 -0
package/index.ts
CHANGED
|
@@ -26,7 +26,7 @@ import * as TYzcb from "./src/yzcb";
|
|
|
26
26
|
import * as TGzzd from "./src/gzzd";
|
|
27
27
|
import * as TZfsq from "./src/zfsq";
|
|
28
28
|
import * as TZfht from "./src/zfht";
|
|
29
|
-
import * as THzcb from "./src/
|
|
29
|
+
import * as THzcb from "./src/hzcb";
|
|
30
30
|
import * as TTake from "./src/take";
|
|
31
31
|
import * as TExpd from "./src/expd";
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -137,3 +137,16 @@ export const CONST_SYS_TYPEU_举办会议_会议地点 = "举办会议-会议地
|
|
|
137
137
|
export const CONST_SYS_TYPEU_包干经费支出 = "包干经费支出";
|
|
138
138
|
export const CONST_SYS_TYPEU_用户类型 = "用户管理-用户类型";
|
|
139
139
|
export const CONST_SYS_TYPEU_资金来源_固定资产 = "资金来源-固定资产";
|
|
140
|
+
export const CONST_SYS_TYPEU_资产类型_固定资产 = "资产类型-固定资产";
|
|
141
|
+
export const CONST_SYS_TYPEU_折旧状态_固定资产 = "折旧状态-固定资产";
|
|
142
|
+
export const CONST_SYS_TYPEU_折旧方法_固定资产 = "折旧方法-固定资产";
|
|
143
|
+
export const CONST_SYS_TYPEU_使用方向_固定资产 = "使用方向-固定资产";
|
|
144
|
+
export const CONST_SYS_TYPEU_产权形式_固定资产 = "产权形式-固定资产";
|
|
145
|
+
export const CONST_SYS_TYPEU_建筑结构_固定资产 = "建筑结构-固定资产";
|
|
146
|
+
export const CONST_SYS_TYPEU_土地来源_固定资产 = "土地来源-固定资产";
|
|
147
|
+
export const CONST_SYS_TYPEU_入账形式_固定资产 = "入账形式-固定资产";
|
|
148
|
+
export const CONST_SYS_TYPEU_权属性质_固定资产 = "权属性质-固定资产";
|
|
149
|
+
export const CONST_SYS_TYPEU_车辆产地_固定资产 = "车辆产地-固定资产";
|
|
150
|
+
export const CONST_SYS_TYPEU_分类_固定资产 = "分类-固定资产";
|
|
151
|
+
export const CONST_SYS_TYPEU_编制情况_固定资产 = "编制情况-固定资产";
|
|
152
|
+
export const CONST_SYS_TYPEU_文物等级_固定资产 = "文物等级-固定资产";
|
package/src/const/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as Align from "./const_align";
|
|
1
2
|
import * as Audit from "./const_audit";
|
|
2
3
|
import * as Card from "./const_card";
|
|
3
4
|
import * as Clas from "./const_clas";
|
|
@@ -5,19 +6,18 @@ import * as Cnfg from "./const_cnfg";
|
|
|
5
6
|
import * as DataFrom from "./const_data_from";
|
|
6
7
|
import * as Elem from "./const_elem";
|
|
7
8
|
import * as Flow from "./const_flow";
|
|
8
|
-
import * as Gzlm from "./const_gzlm";
|
|
9
9
|
import * as GamsMode from "./const_gams_mode";
|
|
10
|
+
import * as Gzlm from "./const_gzlm";
|
|
10
11
|
import * as Myoa from "./const_myoa";
|
|
11
12
|
import * as Part from "./const_part";
|
|
13
|
+
import * as Stat from "./const_stat";
|
|
12
14
|
import * as TakeType from "./const_take_type";
|
|
13
15
|
import * as Todo from "./const_todo";
|
|
14
16
|
import * as Travel from "./const_travel";
|
|
15
|
-
import * as TypeName from "./const_type_name";
|
|
16
17
|
import * as Type from "./const_type";
|
|
18
|
+
import * as TypeName from "./const_type_name";
|
|
17
19
|
import * as User from "./const_user";
|
|
18
20
|
import * as Yiha from "./const_yiha";
|
|
19
21
|
import * as Zbzd from "./const_zbzd";
|
|
20
|
-
import * as Align from "./const_align";
|
|
21
|
-
import * as Stat from "./const_stat";
|
|
22
22
|
|
|
23
23
|
export { Align, Audit, Card, Clas, Cnfg, DataFrom, Elem, Flow, GamsMode, Gzlm, Myoa, Part, Stat, TakeType, Todo, Travel, Type, TypeName, User, Yiha, Zbzd };
|
package/src/enums/index.ts
CHANGED
|
@@ -5,5 +5,6 @@ import { TFormType } from "./formType";
|
|
|
5
5
|
import { TViewMode } from "./viewMode";
|
|
6
6
|
import { StoreId } from "./storeId";
|
|
7
7
|
import { TBtnActive } from "./btnMode";
|
|
8
|
+
import { EWldyItemType } from "./wldyItemType";
|
|
8
9
|
|
|
9
|
-
export { TabActive, TDoneMode, TEditMode, TFormType, TViewMode
|
|
10
|
+
export { EWldyItemType, StoreId, TabActive, TBtnActive, TDoneMode, TEditMode, TFormType, TViewMode };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
export interface IFlowDataResponse {
|
|
2
|
+
whoBuild: number; //#硬件实例
|
|
3
|
+
userIndx: number; //#租户实例
|
|
4
|
+
|
|
5
|
+
flowMain: number; //#审核流程
|
|
6
|
+
flowNode: number; //#审核节点
|
|
7
|
+
partText: string; //#角色名称
|
|
8
|
+
nodeName: string; //#节点名称
|
|
9
|
+
|
|
10
|
+
nextNode: number; //#指定节点:/flow/tflow/nextnode
|
|
11
|
+
undoFlow: number; //#退出流程{1:退回制单}
|
|
12
|
+
undoNode: number; //#退回节点:/flow/tflow/undonode
|
|
13
|
+
|
|
14
|
+
menuUUID: string; //#单据类型
|
|
15
|
+
entityID: string; //#单据实例
|
|
16
|
+
billMain: number; //#单据实例
|
|
17
|
+
billCode: string; //#单据编号
|
|
18
|
+
billMemo: string; //#单据备注
|
|
19
|
+
billUses: string; //#申请用途
|
|
20
|
+
billStat: number; //#单据状态
|
|
21
|
+
ysxmText: string; //#预算项目
|
|
22
|
+
outMoney: number; //#申请金额
|
|
23
|
+
createAt: number; //#创建时间
|
|
24
|
+
mastName: string; //#制单用户(名称)
|
|
25
|
+
mobileID: string; //审核用户手机号码
|
|
26
|
+
createBy: string; //#制单用户(UUID)
|
|
27
|
+
|
|
28
|
+
coverURL: string;
|
|
29
|
+
dataStat: number;
|
|
30
|
+
didFirst: number;
|
|
31
|
+
flowStat: number;
|
|
32
|
+
lastDate: number;
|
|
33
|
+
lastTime: number;
|
|
34
|
+
tablFrom: string;
|
|
35
|
+
travelID: number;
|
|
36
|
+
|
|
37
|
+
unitFrom: string; //#单位编码(CODE)
|
|
38
|
+
unitMain: number; //#单位序号
|
|
39
|
+
|
|
40
|
+
deptFrom: string; //#部门编码(CODE)
|
|
41
|
+
deptMain: number; //#部门序号
|
|
42
|
+
|
|
43
|
+
userFrom: string; //#用户标识(UUID)
|
|
44
|
+
userMain: number; //#用户序号
|
|
45
|
+
|
|
46
|
+
nextNoti: string; //#通过消息
|
|
47
|
+
undoNoti: string; //#退回消息
|
|
48
|
+
userNoti: string; //#抄吿消息
|
|
49
|
+
notified: string; //#自定义消息类别(合采基);
|
|
50
|
+
|
|
51
|
+
didDoubt: number; //#是否存疑
|
|
52
|
+
doubtTxt: string; //#存疑理由
|
|
53
|
+
statusMC: string; //#附属信息&编制状态
|
|
54
|
+
touchURL: string; //#审核签名
|
|
55
|
+
|
|
56
|
+
todo4URL: string; //待办路径
|
|
57
|
+
todoLock: number;
|
|
58
|
+
doneWlzf: number; //网络支付
|
|
59
|
+
|
|
60
|
+
userName: string; //#受理用户(REAL)
|
|
61
|
+
userGUID: string; //#受理用户(REAL)
|
|
62
|
+
handleBy: string; //#受理用户(PREV)
|
|
63
|
+
dataDate: number; //#送审时间
|
|
64
|
+
dataTime: number; //#送审时间
|
|
65
|
+
lastMemo: string; //#最后信息
|
|
66
|
+
errorMsg: string; //#错误信息
|
|
67
|
+
breakOff: number; //1主动撤回 0退回
|
|
68
|
+
flowNodeName: string; //当前岗
|
|
69
|
+
fromNodeName: string; //从哪里来
|
|
70
|
+
statusBy: string; //
|
|
71
|
+
path4Web: string;
|
|
72
|
+
|
|
73
|
+
sourceND: number;
|
|
74
|
+
flowType: number;
|
|
75
|
+
flowWill: number;
|
|
76
|
+
dataFrom: number; //1手机端,0电脑端
|
|
77
|
+
flowTypeText: string;
|
|
78
|
+
nodePara: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export class TFlowDataResponse implements IFlowDataResponse {
|
|
82
|
+
whoBuild: number = 0;
|
|
83
|
+
userIndx: number = 0;
|
|
84
|
+
|
|
85
|
+
flowMain: number = 0;
|
|
86
|
+
flowNode: number = 0;
|
|
87
|
+
partText: string = "";
|
|
88
|
+
nodeName: string = "";
|
|
89
|
+
|
|
90
|
+
nextNode: number = 0;
|
|
91
|
+
undoFlow: number = 0;
|
|
92
|
+
undoNode: number = 0;
|
|
93
|
+
|
|
94
|
+
menuUUID: string = "";
|
|
95
|
+
entityID: string = "";
|
|
96
|
+
billMain: number = 0;
|
|
97
|
+
billCode: string = "";
|
|
98
|
+
billMemo: string = "";
|
|
99
|
+
billUses: string = "";
|
|
100
|
+
billStat: number = 0;
|
|
101
|
+
ysxmText: string = "";
|
|
102
|
+
outMoney: number = 0;
|
|
103
|
+
createAt: number = 0;
|
|
104
|
+
mastName: string = "";
|
|
105
|
+
createBy: string = "";
|
|
106
|
+
mobileID: string = "";
|
|
107
|
+
coverURL: string = "";
|
|
108
|
+
dataStat: number = 0;
|
|
109
|
+
didFirst: number = 0;
|
|
110
|
+
flowStat: number = 0;
|
|
111
|
+
lastDate: number = 0;
|
|
112
|
+
lastTime: number = 0;
|
|
113
|
+
tablFrom: string = "";
|
|
114
|
+
travelID: number = 0;
|
|
115
|
+
|
|
116
|
+
unitFrom: string = "";
|
|
117
|
+
unitMain: number = 0;
|
|
118
|
+
|
|
119
|
+
deptFrom: string = "";
|
|
120
|
+
deptMain: number = 0;
|
|
121
|
+
|
|
122
|
+
userFrom: string = "";
|
|
123
|
+
userMain: number = 0;
|
|
124
|
+
|
|
125
|
+
nextNoti: string = "";
|
|
126
|
+
undoNoti: string = "";
|
|
127
|
+
userNoti: string = "";
|
|
128
|
+
notified: string = "";
|
|
129
|
+
|
|
130
|
+
didDoubt: number = 0;
|
|
131
|
+
doubtTxt: string = "";
|
|
132
|
+
statusMC: string = "";
|
|
133
|
+
touchURL: string = "";
|
|
134
|
+
|
|
135
|
+
todo4URL: string = "";
|
|
136
|
+
todoLock: number = 0;
|
|
137
|
+
doneWlzf: number = 0;
|
|
138
|
+
|
|
139
|
+
userName: string = "";
|
|
140
|
+
userGUID: string = "";
|
|
141
|
+
handleBy: string = "";
|
|
142
|
+
dataDate: number = 0;
|
|
143
|
+
dataTime: number = 0;
|
|
144
|
+
lastMemo: string = "";
|
|
145
|
+
errorMsg: string = "";
|
|
146
|
+
breakOff: number = 0;
|
|
147
|
+
flowNodeName: string = "";
|
|
148
|
+
fromNodeName: string = ""; //从哪里来
|
|
149
|
+
statusBy: string = "";
|
|
150
|
+
sourceND: number = 0;
|
|
151
|
+
path4Web: string = "";
|
|
152
|
+
|
|
153
|
+
flowType: number = 0;
|
|
154
|
+
flowWill: number = 0;
|
|
155
|
+
dataFrom: number = 0; //1手机端,0电脑端
|
|
156
|
+
flowTypeText: string = "";
|
|
157
|
+
|
|
158
|
+
nodePara: string = "";
|
|
159
|
+
}
|
package/src/flow/index.ts
CHANGED
|
@@ -4,15 +4,19 @@ import { IFlowNodeResponse, TFlowNodeResponse } from "./IFlowNodeResponse";
|
|
|
4
4
|
import { IFlowVoidResponse, TFlowVoidResponse } from "./IFlowVoidResponse";
|
|
5
5
|
import { IFlowTypeResponse, TFlowTypeResponse } from "./IFlowTypeResponse";
|
|
6
6
|
import { IFlowCnfgResponse, TFlowCnfgResponse } from "./IFlowCnfgResponse";
|
|
7
|
+
import { IFlowDataResponse, TFlowDataResponse } from "./IFlowDataResponse";
|
|
7
8
|
|
|
8
9
|
export {
|
|
9
10
|
type IFlowCnfgResponse,
|
|
11
|
+
type IFlowDataResponse,
|
|
10
12
|
type IFlowDutyResponse,
|
|
11
13
|
type IFlowMainResponse,
|
|
12
14
|
type IFlowNodeResponse,
|
|
13
15
|
type IFlowTypeResponse,
|
|
14
16
|
type IFlowVoidResponse,
|
|
17
|
+
|
|
15
18
|
TFlowCnfgResponse,
|
|
19
|
+
TFlowDataResponse,
|
|
16
20
|
TFlowDutyResponse,
|
|
17
21
|
TFlowMainResponse,
|
|
18
22
|
TFlowNodeResponse,
|
|
@@ -68,6 +68,9 @@ export interface IGzjgGzlmResponse {
|
|
|
68
68
|
dynamicDict: any[];
|
|
69
69
|
jsScript: string;
|
|
70
70
|
sql4Load: string;
|
|
71
|
+
|
|
72
|
+
id: number;
|
|
73
|
+
children: IGzjgGzlmResponse[];
|
|
71
74
|
}
|
|
72
75
|
|
|
73
76
|
export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
|
|
@@ -134,6 +137,9 @@ export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
|
|
|
134
137
|
dynamicField: string = "";
|
|
135
138
|
dynamicDict: any[] = [];
|
|
136
139
|
|
|
140
|
+
id: number = 0;
|
|
141
|
+
children = [];
|
|
142
|
+
|
|
137
143
|
static parseJson(gzlmPara: string) {
|
|
138
144
|
const defaultGzlmPara = new TGzjgGzlmResponseGzlmPara();
|
|
139
145
|
if (_.isEmpty(gzlmPara)) {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Const } from "../..";
|
|
1
2
|
import { IDictResponse } from "../core/IDictResponse";
|
|
2
3
|
import { IPathResponse } from "../core/IPathResponse";
|
|
4
|
+
import { TFlowDataResponse } from "../flow";
|
|
3
5
|
|
|
4
6
|
export interface IHzcbRypqResponse {
|
|
5
7
|
whoBuild: number;
|
|
@@ -177,4 +179,24 @@ export class THzcbRypqResponse implements IHzcbRypqResponse {
|
|
|
177
179
|
|
|
178
180
|
listPath: IPathResponse[] = [];
|
|
179
181
|
listArea: IDictResponse[] = [];
|
|
182
|
+
|
|
183
|
+
static toFlowData(hzcb: THzcbRypqResponse): TFlowDataResponse {
|
|
184
|
+
const flowData = new TFlowDataResponse();
|
|
185
|
+
flowData.whoBuild = hzcb.whoBuild;
|
|
186
|
+
flowData.userIndx = hzcb.userIndx;
|
|
187
|
+
flowData.flowMain = hzcb.flowMain;
|
|
188
|
+
flowData.flowNode = hzcb.flowNode;
|
|
189
|
+
flowData.flowStat = hzcb.rypqStat;
|
|
190
|
+
flowData.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HZCB_WAIT;
|
|
191
|
+
flowData.entityID = hzcb.entityID;
|
|
192
|
+
flowData.billMain = hzcb.rypqIndx;
|
|
193
|
+
flowData.billCode = hzcb.rypqCode;
|
|
194
|
+
flowData.billMemo = hzcb.rypqMemo;
|
|
195
|
+
flowData.createAt = hzcb.createAt;
|
|
196
|
+
flowData.mastName = hzcb.mastName;
|
|
197
|
+
flowData.createBy = hzcb.createBy;
|
|
198
|
+
flowData.unitMain = hzcb.unitMain;
|
|
199
|
+
flowData.deptMain = hzcb.deptMain;
|
|
200
|
+
return flowData;
|
|
201
|
+
}
|
|
180
202
|
}
|
|
@@ -32,6 +32,7 @@ export interface IWldyItemResponse {
|
|
|
32
32
|
valudNew: string;
|
|
33
33
|
nonEmpty: number;
|
|
34
34
|
itemCode: string;
|
|
35
|
+
jsMethod: string;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
export class TWldyItemResponse implements IWldyItemResponse {
|
|
@@ -67,4 +68,5 @@ export class TWldyItemResponse implements IWldyItemResponse {
|
|
|
67
68
|
valudNew: string = "";
|
|
68
69
|
nonEmpty: number = 0;
|
|
69
70
|
itemCode: string = "";
|
|
71
|
+
jsMethod: string = "";
|
|
70
72
|
}
|