@ningboyz/types 1.0.160 → 1.0.162

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.160",
3
+ "version": "1.0.162",
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
  };
@@ -0,0 +1,109 @@
1
+ export interface IGamsTypeResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ sourceND: number;
5
+ sourceID: number;
6
+ typeIndx: number;
7
+ typeMain: number;
8
+
9
+ parentID: number;
10
+ hashCode: number;
11
+ dataLevl: number;
12
+ dataFrom: number;
13
+ kjndKJQJ: number;
14
+ dataStat: number;
15
+ dataOrdr: number;
16
+ dataDate: number;
17
+ dataTime: number;
18
+ dataHide: number;
19
+ dataGUID: string;
20
+ mastName: string;
21
+ mastGUID: string;
22
+ createBy: string;
23
+ createAt: number;
24
+ updateBy: string;
25
+ updateAt: number;
26
+ deleteBy: string;
27
+ deleteAt: number;
28
+ queuesBy: number;
29
+ entityID: string;
30
+ typeCode: string;
31
+ typeName: string;
32
+ codeRule: string;
33
+ unionTxt: string;
34
+ compatBM: string;
35
+ compatMC: string;
36
+ typeSzlx: number;
37
+ typeMemo: string;
38
+ itemCome: number;
39
+ fromType: number;
40
+ formType: string;
41
+ multiVal: number;
42
+ cDefault: string;
43
+ nDefault: string;
44
+ uDefault: string;
45
+ colWidth: number;
46
+ typePara: string;
47
+ whatEver: number;
48
+ }
49
+
50
+ export class TGamsTypeResponse implements IGamsTypeResponse {
51
+ whoBuild: number = 0;
52
+ userIndx: number = 0;
53
+ sourceND: number = 0;
54
+ sourceID: number = 0;
55
+
56
+ typeIndx: number = 0;
57
+ typeMain: number = 0;
58
+
59
+ parentID: number = 0;
60
+ hashCode: number = 0;
61
+ dataLevl: number = 0;
62
+ dataFrom: number = 0;
63
+ kjndKJQJ: number = 0;
64
+ dataStat: number = 0;
65
+ dataOrdr: number = 0;
66
+ dataDate: number = 0;
67
+ dataTime: number = 0;
68
+ dataHide: number = 0;
69
+ dataGUID: string = "";
70
+ mastName: string = "";
71
+ mastGUID: string = "";
72
+ createBy: string = "";
73
+ createAt: number = 0;
74
+ updateBy: string = "";
75
+ updateAt: number = 0;
76
+ deleteBy: string = "";
77
+ deleteAt: number = 0;
78
+ queuesBy: number = 0;
79
+ entityID: string = "";
80
+
81
+
82
+ typeCode: string = "";
83
+ /** 要素名称 */
84
+ typeName: string = "";
85
+ /** 编码规则 */
86
+ codeRule: string = "";
87
+
88
+ unionTxt: string = "";
89
+ /** 兼容编码 */
90
+ compatBM: string = "";
91
+ /** 兼容名称 */
92
+ compatMC: string = "";
93
+ typeSzlx: number = 0;
94
+ /** 要素备注 */
95
+ typeMemo: string = "";
96
+ itemCome: number = 0;
97
+ fromType: number = 0;
98
+ /** 表单形式 */
99
+ formType: string = "";
100
+ multiVal: number = 0;
101
+ cDefault: string = "";
102
+ nDefault: string = "";
103
+ uDefault: string = "";
104
+ colWidth: number = 0;
105
+ /** 参数约定 */
106
+ typePara: string = "";
107
+ /** 允许任意匹配 */
108
+ whatEver: number = 0;
109
+ }
package/src/gams/index.ts CHANGED
@@ -3,6 +3,7 @@ import { IGamsBillResponse, TGamsBillResponse } from "./IGamsBillResponse";
3
3
  import { IGamsEachResponse, TGamsEachResponse } from "./IGamsEachResponse";
4
4
  import { IZbhdMainResponese, TZbhdMainResponese } from "./IZbhdMainResponese";
5
5
  import { IGamsMainResponse, TGamsMainResponse } from "./IGamsMainResponse";
6
+ import { IGamsTypeResponse, TGamsTypeResponse }from "./IGamsTypeResponse";
6
7
 
7
8
  export {
8
9
  type IGamsBillResponse,
@@ -10,9 +11,11 @@ export {
10
11
  type IGamsEachResponse,
11
12
  type IGamsMainResponse,
12
13
  type IZbhdMainResponese,
14
+ type IGamsTypeResponse,
13
15
  TGamsBillResponse,
14
16
  TGamsCnfgResponse,
15
17
  TGamsEachResponse,
16
18
  TGamsMainResponse,
17
- TZbhdMainResponese
19
+ TZbhdMainResponese,
20
+ TGamsTypeResponse
18
21
  };
@@ -67,6 +67,8 @@ export interface IZbzdMainResponse {
67
67
  deptName: string
68
68
  unitNamf: string
69
69
  zbzdMain: number
70
+ flowMain: number
71
+ flowNode: number
70
72
  /**
71
73
  * 指标分录
72
74
  */
@@ -140,6 +142,8 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
140
142
  deptName: string = ''
141
143
  unitNamf: string = ''
142
144
  zbzdMain: number = 0
145
+ flowMain: number = 0
146
+ flowNode: number = 0
143
147
  listZBFL: IZbzbZbflResponse[] = [];
144
148
  listPath: IZbzbZbflResponse[] = [];
145
149
  listYSBM: IZbzbZbflResponse[] = [];
@@ -159,8 +163,8 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
159
163
  const result = new TFlowDataResponse();
160
164
  result.whoBuild = zbzd.whoBuild;
161
165
  result.userIndx = zbzd.userIndx;
162
- result.flowMain = 0;
163
- result.flowNode = 0;
166
+ result.flowMain = zbzd.flowMain; //#flowmain=0
167
+ result.flowNode = zbzd.flowNode; //#flownode=0
164
168
  result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_YZCG_WAIT;
165
169
  result.entityID = zbzd.entityID;
166
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
- };