@ningboyz/types 1.0.159 → 1.0.161

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.0.159",
3
+ "version": "1.0.161",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -0,0 +1,200 @@
1
+ //#固定资产事项登记
2
+
3
+ import { IPathResponse } from "../core/IPathResponse";
4
+ import { TFlowDataResponse } from "../flow/IFlowDataResponse";
5
+ import * as Const from "../const";
6
+ /**
7
+ 车辆保险:dataType=1加001,使用单位(unitDict),投保单位(dddwText),生效日期(handleAt),到期日期(autoBxrq)
8
+ 车辆加油:dataType=1002,加油日期(handleAt),油油号(字典)(autoJyyh),加油容量(nowCount)
9
+ 车辆里程:dataType=1003,读取日期(handleAt),里程数(nowCount)
10
+ 车辆年检:dataType=1004,本次年检时间(handleAt),本次年检费用(nowMoney),下次年检时间(autoNjrq)
11
+ 车辆维修:dataType=1005,维修日期(handleAt),维修金额(nowMoney),维修单位(dddwText)
12
+ */
13
+
14
+ export interface IDataResponse {
15
+ whoBuild: number;
16
+ userIndx: number;
17
+ dataIndx: number;
18
+ parentID: number;
19
+ hashCode: number;
20
+ dataLevl: number;
21
+ dataFrom: number;
22
+ kjndKJQJ: number;
23
+ isLasted: number;
24
+ dataStat: number;
25
+ dataOrdr: number;
26
+ dataHide: number;
27
+ dataDate: number;
28
+ dataTime: number;
29
+ dataGUID: string;
30
+ mastName: string;
31
+ mastGUID: string;
32
+ createBy: string;
33
+ createAt: number;
34
+ updateBy: string;
35
+ updateAt: number;
36
+ deleteBy: string;
37
+ deleteAt: number;
38
+ queuesBy: number;
39
+ entityID: string;
40
+ dataType: number; //#登记类别(系统常量)
41
+ cardMain: number;
42
+ unitMain: number;
43
+ unitDict: number; //#new使用单位(字典)
44
+ deptMain: number;
45
+ menuUUID: string;
46
+ handleAt: number; //#经办时间
47
+ handleBy: string; //#经办用户
48
+ nowCount: number; //#当前里程
49
+ nowMoney: number; //#保险花费
50
+ dataText: string; //#登记内容
51
+ dataMemo: string; //#备注信息
52
+ dddwText: string; //#定点单位
53
+ autoJyyh: number; //#new加油油号
54
+ autoBxrq: number; //#new保险到期日期
55
+ autoNjrq: number; //#new年检到期日期=下次年检时间
56
+ cardExid: number;
57
+ autoTbdw: number;
58
+ autoType: number;
59
+ startDay: number;
60
+ endedDay: number;
61
+ getMoney: number; //加油金额
62
+
63
+ autoCpbh: string; //#车牌号
64
+ cardName: string;
65
+ cardCode: string;
66
+ unitDictText: string;
67
+ autoJyyhText: string;
68
+ autoTbdwText: string;
69
+ autoJykh: string;
70
+ expdMain: number;
71
+ expdCode: string;
72
+ listPath: IPathResponse[];
73
+
74
+ autoClno: string; //#车架编号
75
+
76
+ doneWlzf: number; //支付确认
77
+
78
+ autoTbxz: number; //保险险种
79
+ autoTbxzText: string;
80
+
81
+ billStat: number;
82
+ flowMain: number;
83
+ flowNode: number;
84
+ lastMemo: string;
85
+
86
+ flowText: string;
87
+
88
+ flowUser: string;
89
+
90
+ itemMain: number; //加油卡id
91
+ sourceND: number;
92
+ //虚拟字段
93
+ sourceNd: number;
94
+ ylcs: number; //月里程数
95
+ nclcs: number; //年初里程数
96
+ }
97
+
98
+ export class TDataResponse implements IDataResponse {
99
+ whoBuild: number = 0;
100
+ userIndx: number = 0;
101
+ dataIndx: number = 0;
102
+ parentID: number = 0;
103
+ hashCode: number = 0;
104
+ dataLevl: number = 0;
105
+ dataFrom: number = 0;
106
+ kjndKJQJ: number = 0;
107
+ isLasted: number = 0;
108
+ dataStat: number = 0;
109
+ dataOrdr: number = 0;
110
+ dataHide: number = 0;
111
+ dataDate: number = 0;
112
+ dataTime: number = 0;
113
+ dataGUID: string = "";
114
+ mastName: string = "";
115
+ mastGUID: string = "";
116
+ createBy: string = "";
117
+ createAt: number = 0;
118
+ updateBy: string = "";
119
+ updateAt: number = 0;
120
+ deleteBy: string = "";
121
+ deleteAt: number = 0;
122
+ queuesBy: number = 0;
123
+ entityID: string = "";
124
+ dataType: number = 0;
125
+ cardMain: number = 0;
126
+ unitMain: number = 0;
127
+ unitDict: number = 0;
128
+ deptMain: number = 0;
129
+ menuUUID: string = "";
130
+ handleAt: number = 0;
131
+ handleBy: string = "";
132
+ nowCount: number = 0;
133
+ nowMoney: number = 0;
134
+ dataText: string = "";
135
+ dataMemo: string = "";
136
+ dddwText: string = "";
137
+ startDay: number = 0;
138
+ endedDay: number = 0;
139
+ getMoney: number = 0; //加油金额
140
+
141
+ autoJyyh: number = 0;
142
+ autoBxrq: number = 0;
143
+ autoNjrq: number = 0;
144
+ cardExid: number = 0;
145
+ autoTbdw: number = 0;
146
+ autoType: number = 0;
147
+
148
+ autoCpbh: string = "";
149
+ cardCode: string = "";
150
+ cardName: string = "";
151
+ unitDictText: string = "";
152
+ autoJyyhText: string = "";
153
+ autoTbdwText: string = "";
154
+ autoJykh: string = "";
155
+ expdMain: number = 0;
156
+ expdCode: string = "";
157
+ listPath: IPathResponse[] = [];
158
+
159
+ autoClno: string = ""; //#车架编号
160
+ doneWlzf: number = 0; //支付确认
161
+
162
+ autoTbxz: number = 0; //保险险种
163
+ autoTbxzText: string = "";
164
+
165
+ billStat: number = 0;
166
+ flowMain: number = 0;
167
+ lastMemo: string = "";
168
+ flowNode: number = 0;
169
+ flowText: string = "";
170
+ flowUser: string = "";
171
+ itemMain: number = 0;
172
+ sourceND: number = 0;
173
+
174
+ //虚拟字段
175
+ sourceNd: number = 0;
176
+ ylcs: number = 0; //月里程数
177
+ nclcs: number = 0; //年初里程数
178
+
179
+ static toFlowData(card: TDataResponse): TFlowDataResponse {
180
+ let result = new TFlowDataResponse();
181
+ result.whoBuild = card.whoBuild;
182
+ result.userIndx = card.userIndx;
183
+ result.flowMain = card.flowMain;
184
+ result.flowNode = card.flowNode;
185
+ result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_YZHT_WAIT;
186
+ result.entityID = card.entityID;
187
+ result.billMain = card.dataIndx;
188
+ result.billCode = card.cardCode === "" ? card.dataIndx.toString() : card.cardCode;
189
+ result.billMemo = card.dataMemo;
190
+ result.outMoney = card.nowMoney;
191
+ result.createAt = card.createAt;
192
+ result.mastName = card.mastName;
193
+ result.createBy = card.createBy;
194
+ result.unitMain = card.unitMain;
195
+ result.deptMain = card.deptMain;
196
+ result.flowStat = card.billStat;
197
+ result.menuUUID = card.menuUUID;
198
+ return result;
199
+ }
200
+ }
package/src/card/index.ts CHANGED
@@ -10,6 +10,7 @@ import { IZczjPropResponse, TZczjPropResponse } from "./IZczjPropResponse";
10
10
  import { TSyszclbgblbResponse, ISyszclbgblbResponse } from "./ISyszclbgblbResponse";
11
11
  import { IZczjResponse, TZczjResponse } from "./IZczjResponse";
12
12
  import { IRangeVal, ICardMainFindResponse, TRangeVal, TCardMainFindResponse } from "./ICardMainFindResponse";
13
+ import { TDataResponse, IDataResponse } from "./ICardDataResponse.ts";
13
14
 
14
15
  export {
15
16
  type ICardMainFindResponse,
@@ -25,6 +26,7 @@ export {
25
26
  type IZczjPropResponse,
26
27
  type IZczjResponse,
27
28
  type ISyszclbgblbResponse,
29
+ type IDataResponse,
28
30
  TCardMainFindResponse,
29
31
  TCardMainResponse,
30
32
  TGblbResponse,
@@ -37,5 +39,6 @@ export {
37
39
  TZclbResponse,
38
40
  TZczjPropResponse,
39
41
  TZczjResponse,
40
- TSyszclbgblbResponse
42
+ TSyszclbgblbResponse,
43
+ TDataResponse
41
44
  };
@@ -66,6 +66,9 @@ export interface IZbzdMainResponse {
66
66
 
67
67
  deptName: string
68
68
  unitNamf: string
69
+ zbzdMain: number
70
+ flowMain: number
71
+ flowNode: number
69
72
  /**
70
73
  * 指标分录
71
74
  */
@@ -138,6 +141,9 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
138
141
 
139
142
  deptName: string = ''
140
143
  unitNamf: string = ''
144
+ zbzdMain: number = 0
145
+ flowMain: number = 0
146
+ flowNode: number = 0
141
147
  listZBFL: IZbzbZbflResponse[] = [];
142
148
  listPath: IZbzbZbflResponse[] = [];
143
149
  listYSBM: IZbzbZbflResponse[] = [];
@@ -157,8 +163,8 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
157
163
  const result = new TFlowDataResponse();
158
164
  result.whoBuild = zbzd.whoBuild;
159
165
  result.userIndx = zbzd.userIndx;
160
- result.flowMain = 0;
161
- result.flowNode = 0;
166
+ result.flowMain = zbzd.flowMain; //#flowmain=0
167
+ result.flowNode = zbzd.flowNode; //#flownode=0
162
168
  result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_YZCG_WAIT;
163
169
  result.entityID = zbzd.entityID;
164
170
  result.billMain = 0;
@@ -1,41 +0,0 @@
1
- import { ICardMainResponse, TCardMainResponse } from "./ICardMainResponse";
2
- import { IGblbResponse, TGblbResponse } from "./IGblbResponse";
3
- import { IP4pzResponse, TP4pzResponse } from "./IP4pzResponse";
4
- import { IZcbdResponse, TZcbdResponse } from "./IZcbdResponse";
5
- import { IZccfResponse, TZccfResponse } from "./IZccfResponse";
6
- import { IZcczResponse, TZcczResponse } from "./IZcczResponse";
7
- import { IZcdbResponse, TZcdbResponse } from "./IZcdbResponse";
8
- import { IZclbResponse, TZclbResponse } from "./IZclbResponse";
9
- import { IZczjPropResponse, TZczjPropResponse } from "./IZczjPropResponse";
10
- import { TSyszclbgblbResponse, TSyszclbgblbResponse } from "./ISyszclbgblbResponse";
11
- import { IZczjResponse, TZczjResponse } from "./IZczjResponse";
12
- import { IRangeVal, ICardMainFindResponse, TRangeVal, TCardMainFindResponse } from "./ICardMainFindResponse";
13
-
14
- export {
15
- type ICardMainFindResponse,
16
- type ICardMainResponse,
17
- type IGblbResponse,
18
- type IP4pzResponse,
19
- type IRangeVal,
20
- type IZcbdResponse,
21
- type IZccfResponse,
22
- type IZcczResponse,
23
- type IZcdbResponse,
24
- type IZclbResponse,
25
- type IZczjPropResponse,
26
- type IZczjResponse,
27
- type TSyszclbgblbResponse,
28
- TCardMainFindResponse,
29
- TCardMainResponse,
30
- TGblbResponse,
31
- TP4pzResponse,
32
- TRangeVal,
33
- TZcbdResponse,
34
- TZccfResponse,
35
- TZcczResponse,
36
- TZcdbResponse,
37
- TZclbResponse,
38
- TZczjPropResponse,
39
- TZczjResponse,
40
- TSyszclbgblbResponse
41
- };