@ningboyz/types 1.2.171 → 1.2.173

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.2.171",
4
+ "version": "1.2.173",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -103,8 +103,22 @@ export interface IBillMainResponse {
103
103
  /** 会计主管 */
104
104
  finaMast: string;
105
105
 
106
+ /** 开始日期 */
107
+ startDay: number;
108
+ /** 结束日期 */
109
+ ended_day: number;
106
110
  /** 收支方向:0:收入;1:支出 */
107
111
  isExpend: number;
112
+
113
+ /** 关闭类型:0:手工;1:系统 */
114
+ closeType: number;
115
+ /** 关闭状态:0:未关闭;1:已关闭 */
116
+ canClose: number;
117
+ /** 关闭人 */
118
+ closeBy: string;
119
+ /** 关闭时间 */
120
+ closeAt: number;
121
+
108
122
  /** 支付方式(字典) */
109
123
  billZffs: number;
110
124
  /** 支付方式(文本) */
@@ -228,8 +242,22 @@ export class TBillMainResponse implements IBillMainResponse {
228
242
  /** 会计主管 */
229
243
  finaMast: string = "";
230
244
 
245
+ /** 开始日期 */
246
+ startDay: number = 0;
247
+ /** 结束日期 */
248
+ ended_day: number = 0;
231
249
  /** 收支方向:0:收入;1:支出 */
232
250
  isExpend: number = 0;
251
+
252
+ /** 关闭类型:0:手工;1:系统 */
253
+ closeType: number = 0;
254
+ /** 关闭状态:0:未关闭;1:已关闭 */
255
+ canClose: number = 0;
256
+ /** 关闭人 */
257
+ closeBy: string = "";
258
+ /** 关闭时间 */
259
+ closeAt: number = 0;
260
+
233
261
  /** 支付方式(字典) */
234
262
  billZffs: number = 0;
235
263
  /** 支付方式(文本) */
@@ -251,3 +251,18 @@ export const CONST_SYS_TYPEU_专利软著_业务类型 = "专利软著-业务类
251
251
  * */
252
252
  export const CONST_SYS_TYPEU_甬农检_检验类型 = "甬农检-检验类型";
253
253
  export const CONST_SYS_TYPEU_甬农检_支付对象 = "甬农检-支付对象";
254
+ export const CONST_SYS_TYPEU_甬农检_抽检_支付对象 = "甬农检-抽检-检验类型";
255
+ export const CONST_SYS_TYPEU_甬农检_委托1_支付对象 = "甬农检-委托1-检验类型";
256
+ export const CONST_SYS_TYPEU_甬农检_时间要求 = "甬农检-时间要求";
257
+ export const CONST_SYS_TYPEU_甬农检_副样处理方式 = "甬农检-副样处理方式";
258
+ export const CONST_SYS_TYPEU_甬农检_报告领取方式 = "甬农检-报告领取方式";
259
+ export const CONST_SYS_TYPEU_甬农检_提供报告要求 = "甬农检-提供报告要求";
260
+ export const CONST_SYS_TYPEU_甬农检_样品保存方式 = "甬农检-样品保存方式";
261
+ export const CONST_SYS_TYPEU_甬农检_分包 = "甬农检-分包";
262
+ export const CONST_SYS_TYPEU_甬农检_检验类别 = "甬农检-检验类别";
263
+ export const CONST_SYS_TYPEU_甬农检_委托2_样品状态 = "甬农检-委托2-样品状态";
264
+ export const CONST_SYS_TYPEU_甬农检_付费方式 = "甬农检-付费方式";
265
+ export const CONST_SYS_TYPEU_甬农检_制备状态 = "甬农检-制备状态";
266
+ export const CONST_SYS_TYPEU_甬农检_检验状态 = "甬农检-检验状态";
267
+ export const CONST_SYS_TYPEU_甬农检_样品类型 = "甬农检-样品类型";
268
+ export const CONST_SYS_TYPEU_甬农检_样品交接_样品状态 = "甬农检-样品交接-样品状态";
@@ -1,5 +1,6 @@
1
- import { THznj, TCore } from "..";
1
+ import {THznj, TCore} from "..";
2
2
  import _ from "lodash";
3
+ import {TFlowDataResponse} from "../flow";
3
4
 
4
5
  export interface IHznjDzqrResponse {
5
6
  whoBuild: number;
@@ -68,6 +69,8 @@ export interface IHznjDzqrResponse {
68
69
  lastMemo: string;
69
70
  userName: string;
70
71
  userGUID: string;
72
+ flowMain: number;
73
+ flowNode: number;
71
74
 
72
75
  /**附件 */
73
76
  listPath: TCore.IPathResponse[];
@@ -134,7 +137,9 @@ export class THznjDzqrResponse implements IHznjDzqrResponse {
134
137
  didFirst: number = 0;
135
138
  lastMemo: string = "";
136
139
  userName: string = "";
137
- userGUID: string = "";
140
+ userGUID: string = "";
141
+ flowMain: number = 0;
142
+ flowNode: number = 0;
138
143
 
139
144
  listPath: TCore.IPathResponse[] = [];
140
145
  listFrom: THznj.IHznjXmsyResponse[] = [];
@@ -144,4 +149,29 @@ export class THznjDzqrResponse implements IHznjDzqrResponse {
144
149
  _.merge(this, _.pick(data, Object.keys(this)));
145
150
  }
146
151
  }
152
+
153
+ static toFlowData(data: IHznjDzqrResponse): TFlowDataResponse {
154
+ const result = new TFlowDataResponse();
155
+ result.whoBuild = data.whoBuild;
156
+ result.userIndx = data.userIndx;
157
+ result.flowMain = data.flowMain;
158
+ result.flowNode = data.flowNode;
159
+ result.notified = "";
160
+ result.entityID = data.entityID;
161
+ result.billMain = data.dzqrIndx;
162
+ result.billCode = data.dzqrCode;
163
+ result.billMemo = data.dzqrMemo;
164
+ result.flowStat = data.dzqrStat;
165
+ result.createAt = data.createAt;
166
+ result.mastName = data.mastName;
167
+ result.createBy = data.createBy;
168
+ result.unitMain = data.unitMain;
169
+ result.deptMain = data.deptMain;
170
+ result.menuUUID = data.menuUUID;
171
+ return result;
172
+ }
173
+
174
+ static toFlowDatas(list: IHznjDzqrResponse[]): TFlowDataResponse[] {
175
+ return list.map((data) => this.toFlowData(data));
176
+ }
147
177
  }
@@ -1,5 +1,6 @@
1
- import { THznj } from "..";
1
+ import {THznj} from "..";
2
2
  import _ from "lodash";
3
+ import {TFlowDataResponse} from "../flow";
3
4
 
4
5
  export interface IHznjNotiResponse {
5
6
  whoBuild: number;
@@ -70,6 +71,8 @@ export interface IHznjNotiResponse {
70
71
  lastMemo: string;
71
72
  userName: string;
72
73
  userGUID: string;
74
+ flowMain: number;
75
+ flowNode: number;
73
76
 
74
77
  /**任务通知.拆分 */
75
78
  listBill: THznj.IHznjNotiBillResponse[];
@@ -136,6 +139,8 @@ export class THznjNotiResponse implements IHznjNotiResponse {
136
139
  lastMemo: string = "";
137
140
  userName: string = "";
138
141
  userGUID: string = "";
142
+ flowMain: number = 0;
143
+ flowNode: number = 0;
139
144
 
140
145
 
141
146
  listBill: THznj.IHznjNotiBillResponse[] = [];
@@ -145,4 +150,29 @@ export class THznjNotiResponse implements IHznjNotiResponse {
145
150
  _.merge(this, _.pick(data, Object.keys(this)));
146
151
  }
147
152
  }
153
+
154
+ static toFlowData(data: IHznjNotiResponse): TFlowDataResponse {
155
+ const result = new TFlowDataResponse();
156
+ result.whoBuild = data.whoBuild;
157
+ result.userIndx = data.userIndx;
158
+ result.flowMain = data.flowMain;
159
+ result.flowNode = data.flowNode;
160
+ result.notified = "";
161
+ result.entityID = data.entityID;
162
+ result.billMain = data.notiIndx;
163
+ result.billCode = data.notiCode;
164
+ result.billMemo = data.notiMemo;
165
+ result.flowStat = data.notiStat;
166
+ result.createAt = data.createAt;
167
+ result.mastName = data.mastName;
168
+ result.createBy = data.createBy;
169
+ result.unitMain = data.unitMain;
170
+ result.deptMain = data.deptMain;
171
+ result.menuUUID = data.menuUUID;
172
+ return result;
173
+ }
174
+
175
+ static toFlowDatas(list: IHznjNotiResponse[]): TFlowDataResponse[] {
176
+ return list.map((data) => this.toFlowData(data));
177
+ }
148
178
  }
@@ -1,5 +1,6 @@
1
- import { THznj, TCore } from "..";
1
+ import {THznj, TCore, Const} from "..";
2
2
  import _ from "lodash";
3
+ import {TFlowDataResponse} from "../flow";
3
4
 
4
5
  export interface IHznjRwqxResponse {
5
6
  whoBuild: number;
@@ -67,7 +68,9 @@ export interface IHznjRwqxResponse {
67
68
  didFirst: number;
68
69
  lastMemo: string;
69
70
  userName: string;
70
- userGUID: string;
71
+ userGUID: string;
72
+ flowMain: number;
73
+ flowNode: number;
71
74
 
72
75
  /**附件 */
73
76
  listPath: TCore.IPathResponse[];
@@ -134,7 +137,9 @@ export class THznjRwqxResponse implements IHznjRwqxResponse {
134
137
  didFirst: number = 0;
135
138
  lastMemo: string = "";
136
139
  userName: string = "";
137
- userGUID: string = "";
140
+ userGUID: string = "";
141
+ flowMain: number = 0;
142
+ flowNode: number = 0;
138
143
 
139
144
  listPath: TCore.IPathResponse[] = [];
140
145
  listFrom: THznj.IHznjXmsyResponse[] = [];
@@ -144,4 +149,29 @@ export class THznjRwqxResponse implements IHznjRwqxResponse {
144
149
  _.merge(this, _.pick(data, Object.keys(this)));
145
150
  }
146
151
  }
152
+
153
+ static toFlowData(zcbd: IHznjRwqxResponse): TFlowDataResponse {
154
+ const result = new TFlowDataResponse();
155
+ result.whoBuild = zcbd.whoBuild;
156
+ result.userIndx = zcbd.userIndx;
157
+ result.flowMain = zcbd.flowMain;
158
+ result.flowNode = zcbd.flowNode;
159
+ result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_ZCBD_WAIT;
160
+ result.entityID = zcbd.entityID;
161
+ result.billMain = zcbd.rwqxIndx;
162
+ result.billCode = zcbd.rwqxCode;
163
+ result.billMemo = zcbd.rwqxMemo;
164
+ result.flowStat = zcbd.rwqxStat;
165
+ result.createAt = zcbd.createAt;
166
+ result.mastName = zcbd.mastName;
167
+ result.createBy = zcbd.createBy;
168
+ result.unitMain = zcbd.unitMain;
169
+ result.deptMain = zcbd.deptMain;
170
+ result.menuUUID = zcbd.menuUUID;
171
+ return result;
172
+ }
173
+
174
+ static toFlowDatas(zcbds: IHznjRwqxResponse[]): TFlowDataResponse[] {
175
+ return zcbds.map((u) => this.toFlowData(u));
176
+ }
147
177
  }
@@ -1,5 +1,6 @@
1
- import { THznj, TCore } from "..";
1
+ import {THznj, TCore} from "..";
2
2
  import _ from "lodash";
3
+ import {TFlowDataResponse} from "../flow";
3
4
 
4
5
  export interface IHznjXmjjResponse {
5
6
  whoBuild: number;
@@ -67,7 +68,10 @@ export interface IHznjXmjjResponse {
67
68
  didFirst: number;
68
69
  lastMemo: string;
69
70
  userName: string;
70
- userGUID: string;
71
+ userGUID: string;
72
+
73
+ flowMain: number;
74
+ flowNode: number;
71
75
 
72
76
  /**附件 */
73
77
  listPath: TCore.IPathResponse[];
@@ -135,7 +139,10 @@ export class THznjXmjjResponse implements IHznjXmjjResponse {
135
139
  didFirst: number = 0;
136
140
  lastMemo: string = "";
137
141
  userName: string = "";
138
- userGUID: string = "";
142
+ userGUID: string = "";
143
+ flowMain: number = 0;
144
+ flowNode: number = 0;
145
+
139
146
 
140
147
  listPath: TCore.IPathResponse[] = [];
141
148
  listItem: THznj.IHznjXmjjItemResponse[] = [];
@@ -146,4 +153,29 @@ export class THznjXmjjResponse implements IHznjXmjjResponse {
146
153
  _.merge(this, _.pick(data, Object.keys(this)));
147
154
  }
148
155
  }
156
+
157
+ static toFlowData(data: IHznjXmjjResponse): TFlowDataResponse {
158
+ const result = new TFlowDataResponse();
159
+ result.whoBuild = data.whoBuild;
160
+ result.userIndx = data.userIndx;
161
+ result.flowMain = data.flowMain;
162
+ result.flowNode = data.flowNode;
163
+ result.notified = "";
164
+ result.entityID = data.entityID;
165
+ result.billMain = data.xmjjIndx;
166
+ result.billCode = data.xmjjCode;
167
+ result.billMemo = data.xmjjMemo;
168
+ result.createAt = data.createAt;
169
+ result.mastName = data.mastName;
170
+ result.createBy = data.createBy;
171
+ result.unitMain = data.unitMain;
172
+ result.deptMain = data.deptMain;
173
+ result.menuUUID = data.menuUUID;
174
+ result.flowStat = data.xmjjStat;
175
+ return result;
176
+ }
177
+
178
+ static toFlowDatas(list: IHznjXmjjResponse[]): TFlowDataResponse[] {
179
+ return list.map((data) => this.toFlowData(data));
180
+ }
149
181
  }
@@ -1,5 +1,6 @@
1
- import { THznj, TCore } from "..";
1
+ import {THznj, TCore} from "..";
2
2
  import _ from "lodash";
3
+ import {TFlowDataResponse} from "../flow";
3
4
 
4
5
  export interface IHznjXmsyResponse {
5
6
  whoBuild: number;
@@ -97,7 +98,9 @@ export interface IHznjXmsyResponse {
97
98
  didFirst: number;
98
99
  lastMemo: string;
99
100
  userName: string;
100
- userGUID: string;
101
+ userGUID: string;
102
+ flowMain: number;
103
+ flowNode: number;
101
104
 
102
105
  /**附件 */
103
106
  listPath: TCore.IPathResponse[];
@@ -182,7 +185,9 @@ export class THznjXmsyResponse implements IHznjXmsyResponse {
182
185
  didFirst: number = 0;
183
186
  lastMemo: string = "";
184
187
  userName: string = "";
185
- userGUID: string = "";
188
+ userGUID: string = "";
189
+ flowMain: number = 0;
190
+ flowNode: number = 0;
186
191
 
187
192
  listPath: TCore.IPathResponse[] = [];
188
193
  listItem: THznj.IHznjXmsyItemResponse[] = [];
@@ -194,4 +199,29 @@ export class THznjXmsyResponse implements IHznjXmsyResponse {
194
199
  _.merge(this, _.pick(data, Object.keys(this)));
195
200
  }
196
201
  }
202
+
203
+ static toFlowData(data: IHznjXmsyResponse): TFlowDataResponse {
204
+ const result = new TFlowDataResponse();
205
+ result.whoBuild = data.whoBuild;
206
+ result.userIndx = data.userIndx;
207
+ result.flowMain = data.flowMain;
208
+ result.flowNode = data.flowNode;
209
+ result.notified = "";
210
+ result.entityID = data.entityID;
211
+ result.billMain = data.xmsyIndx;
212
+ result.billCode = data.xmsyCode;
213
+ result.billMemo = data.xmsyMemo;
214
+ result.flowStat = data.xmsyStat;
215
+ result.createAt = data.createAt;
216
+ result.mastName = data.mastName;
217
+ result.createBy = data.createBy;
218
+ result.unitMain = data.unitMain;
219
+ result.deptMain = data.deptMain;
220
+ result.menuUUID = data.menuUUID;
221
+ return result;
222
+ }
223
+
224
+ static toFlowDatas(list: IHznjXmsyResponse[]): TFlowDataResponse[] {
225
+ return list.map((data) => this.toFlowData(data));
226
+ }
197
227
  }
@@ -1,5 +1,6 @@
1
1
  import { THznj, TCore } from "..";
2
2
  import _ from "lodash";
3
+ import {TFlowDataResponse} from "../flow";
3
4
 
4
5
  export interface IHznjZblrResponse {
5
6
  whoBuild: number;
@@ -65,7 +66,9 @@ export interface IHznjZblrResponse {
65
66
  didFirst: number;
66
67
  lastMemo: string;
67
68
  userName: string;
68
- userGUID: string;
69
+ userGUID: string;
70
+ flowMain: number;
71
+ flowNode: number;
69
72
 
70
73
  /**附件 */
71
74
  listPath: TCore.IPathResponse[];
@@ -131,7 +134,10 @@ export class THznjZblrResponse implements IHznjZblrResponse {
131
134
  didFirst: number = 0;
132
135
  lastMemo: string = "";
133
136
  userName: string = "";
134
- userGUID: string = "";
137
+ userGUID: string = "";
138
+ flowMain: number = 0;
139
+ flowNode: number = 0;
140
+
135
141
 
136
142
  listPath: TCore.IPathResponse[] = [];
137
143
  listBill: THznj.IHznjZblrBillResponse[] = [];
@@ -142,4 +148,29 @@ export class THznjZblrResponse implements IHznjZblrResponse {
142
148
  _.merge(this, _.pick(data, Object.keys(this)));
143
149
  }
144
150
  }
151
+
152
+ static toFlowData(data: IHznjZblrResponse): TFlowDataResponse {
153
+ const result = new TFlowDataResponse();
154
+ result.whoBuild = data.whoBuild;
155
+ result.userIndx = data.userIndx;
156
+ result.flowMain = data.flowMain;
157
+ result.flowNode = data.flowNode;
158
+ result.notified = "";
159
+ result.entityID = data.entityID;
160
+ result.billMain = data.zblrIndx;
161
+ result.billCode = data.zblrCode;
162
+ result.billMemo = data.zblrMemo;
163
+ result.flowStat = data.zblrStat;
164
+ result.createAt = data.createAt;
165
+ result.mastName = data.mastName;
166
+ result.createBy = data.createBy;
167
+ result.unitMain = data.unitMain;
168
+ result.deptMain = data.deptMain;
169
+ result.menuUUID = data.menuUUID;
170
+ return result;
171
+ }
172
+
173
+ static toFlowDatas(list: IHznjZblrResponse[]): TFlowDataResponse[] {
174
+ return list.map((data) => this.toFlowData(data));
175
+ }
145
176
  }
@@ -71,7 +71,7 @@ export interface IHznkXmysResponse {
71
71
  /**附件 */
72
72
  listPath: TCore.IPathResponse[];
73
73
  /** 关联项目 */
74
- listFrom: THznk.IHznkMainResponse[];
74
+ listFrom: THznk.IHznkYssqResponse[];
75
75
  listItem: THznk.IHznkXmysItemResponse[];
76
76
  listYSXQ: THznk.IHznkXmysYsxqResponse[];
77
77
  }
@@ -138,7 +138,7 @@ export class THznkXmysResponse implements IHznkXmysResponse {
138
138
  userGUID: string = "";
139
139
 
140
140
  listPath: TCore.IPathResponse[] = [];
141
- listFrom: THznk.IHznkMainResponse[] = [];
141
+ listFrom: THznk.IHznkYssqResponse[] = [];
142
142
  listItem: THznk.IHznkXmysItemResponse[] = [];
143
143
  listYSXQ: THznk.IHznkXmysYsxqResponse[] = [];
144
144