@ningboyz/types 1.2.126 → 1.2.128
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,4 +1,5 @@
|
|
|
1
1
|
import _ from "lodash";
|
|
2
|
+
import { TFlowDataResponse } from "../flow";
|
|
2
3
|
|
|
3
4
|
export interface IBillMainResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -73,6 +74,9 @@ export interface IBillMainResponse {
|
|
|
73
74
|
checkCnt: number;
|
|
74
75
|
printCnt: number;
|
|
75
76
|
billFrom: number;
|
|
77
|
+
flowMain: number;
|
|
78
|
+
flowNode: number;
|
|
79
|
+
flowStat: number;
|
|
76
80
|
|
|
77
81
|
/** 银行类型 */
|
|
78
82
|
bankType: number;
|
|
@@ -191,6 +195,9 @@ export class TBillMainResponse implements IBillMainResponse {
|
|
|
191
195
|
checkCnt: number = 0;
|
|
192
196
|
printCnt: number = 0;
|
|
193
197
|
billFrom: number = 0;
|
|
198
|
+
flowMain: number = 0;
|
|
199
|
+
flowNode: number = 0;
|
|
200
|
+
flowStat: number = 0;
|
|
194
201
|
|
|
195
202
|
/** 银行类型 */
|
|
196
203
|
bankType: number = 0;
|
|
@@ -238,4 +245,32 @@ export class TBillMainResponse implements IBillMainResponse {
|
|
|
238
245
|
_.merge(this, _.pick(response, Object.keys(this)));
|
|
239
246
|
}
|
|
240
247
|
}
|
|
248
|
+
|
|
249
|
+
static toFlowDatas(notis: TBillMainResponse[]): TFlowDataResponse[] {
|
|
250
|
+
return notis.map((u) => this.toFlowData(u));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
static toFlowData(bill: TBillMainResponse): TFlowDataResponse {
|
|
254
|
+
const result = new TFlowDataResponse();
|
|
255
|
+
result.whoBuild = bill.whoBuild;
|
|
256
|
+
result.userIndx = bill.userIndx;
|
|
257
|
+
result.flowMain = bill.flowMain;
|
|
258
|
+
result.flowNode = bill.flowNode;
|
|
259
|
+
result.notified = "";
|
|
260
|
+
result.entityID = bill.entityID;
|
|
261
|
+
result.billMain = bill.billIndx;
|
|
262
|
+
result.billCode = bill.billCode;
|
|
263
|
+
result.billMemo = bill.billMemo;
|
|
264
|
+
result.billUses = "";
|
|
265
|
+
result.ysxmText = "";
|
|
266
|
+
result.outMoney = bill.outMoney;
|
|
267
|
+
result.createAt = bill.createAt;
|
|
268
|
+
result.mastName = bill.mastName;
|
|
269
|
+
result.createBy = bill.createBy;
|
|
270
|
+
result.unitMain = bill.unitMain;
|
|
271
|
+
result.menuUUID = bill.menuUUID;
|
|
272
|
+
result.deptMain = bill.deptMain;
|
|
273
|
+
result.flowStat = bill.billStat;
|
|
274
|
+
return result;
|
|
275
|
+
}
|
|
241
276
|
}
|
|
@@ -191,18 +191,8 @@ export const CONST_SYS_TYPEU_房产管理_招租方式 = "房产管理-招租方
|
|
|
191
191
|
export const CONST_SYS_TYPEU_房产管理_底价确定方式 = "房产管理-底价确定方式";
|
|
192
192
|
export const CONST_SYS_TYPEU_房产管理_所在社区 = "房产管理-所在社区";
|
|
193
193
|
export const CONST_SYS_TYPEU_房产管理_所在街道 = "房产管理-所在街道";
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
194
|
+
export const CONST_SYS_TYPEU_LSGL_FKFS = "流水管理-付款方式";
|
|
195
|
+
export const CONST_SYS_TYPEU_LSGL_ZFFS = "流水管理-支付方式";
|
|
206
196
|
|
|
207
197
|
export const CONST_SYS_TYPEU_公章管理_公章类型 = "公章管理-公章类型";
|
|
208
198
|
export const CONST_SYS_TYPEU_公章管理_文件类型 = "公章管理-文件类型";
|
|
@@ -222,6 +212,18 @@ export const CONST_SYS_TYPEU_RYGL_ZYDJ = "人员管理-职员等级";
|
|
|
222
212
|
export const CONST_SYS_TYPEU_RYGL_ZYJB = "人员管理-职员级别";
|
|
223
213
|
export const CONST_SYS_TYPEU_RYGL_ZZMM = "人员管理-政治面貌";
|
|
224
214
|
|
|
215
|
+
export const CONST_SYS_TYPEU_XXXC_XCLB = "信息宣传-宣传类别";
|
|
216
|
+
export const CONST_SYS_TYPEU_XXXC_FWDX = "信息宣传-服务对象";
|
|
217
|
+
export const CONST_SYS_TYPEU_DKBF_BFDD = "对口帮扶-帮扶地点";
|
|
218
|
+
export const CONST_SYS_TYPEU_DWPX_PXLX = "对外培训-培训类型";
|
|
219
|
+
export const CONST_SYS_TYPEU_KJTPY_KJLX = "科技特派员-科技类型";
|
|
220
|
+
export const CONST_SYS_TYPEU_KJTPY_KHDC = "科技特派员-考核等次";
|
|
221
|
+
export const CONST_SYS_TYPEU_PTCJ_PTLX = "平台创建-平台类型";
|
|
222
|
+
export const CONST_SYS_TYPEU_PTCJ_PTJB = "平台创建-平台级别";
|
|
223
|
+
export const CONST_SYS_TYPEU_XSJL_XSLX = "学术交流-学术类型";
|
|
224
|
+
export const CONST_SYS_TYPEU_XSJL_XSJB = "学术交流-学术级别";
|
|
225
|
+
export const CONST_SYS_TYPEU_CXTD_KHDC = "创新团队-考核等次";
|
|
226
|
+
|
|
225
227
|
/** 票据打印系统 */
|
|
226
228
|
export const CONST_SYS_TYPEU_PGDY_YT = "票据列表-用途";
|
|
227
229
|
|