@ningboyz/types 1.0.122 → 1.0.124
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
package/src/conf/IConfig.ts
CHANGED
|
@@ -8,6 +8,10 @@ export interface IAboutConfig {
|
|
|
8
8
|
|
|
9
9
|
export interface IBaseConfig {
|
|
10
10
|
title: string;
|
|
11
|
+
/**
|
|
12
|
+
* 系统副标题
|
|
13
|
+
* */
|
|
14
|
+
subTitle: string;
|
|
11
15
|
baseURL: string;
|
|
12
16
|
wsURL: string;
|
|
13
17
|
previewURL: string;
|
|
@@ -20,6 +24,10 @@ export interface IBaseConfig {
|
|
|
20
24
|
passwordReg: string;
|
|
21
25
|
mobileCheck: boolean;
|
|
22
26
|
usesCaptcha: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* 登入检测部门
|
|
29
|
+
* */
|
|
30
|
+
loginWidthDept: boolean;
|
|
23
31
|
}
|
|
24
32
|
|
|
25
33
|
export interface IPathConfig {
|
|
@@ -48,7 +48,8 @@ export interface ILaidResponse extends IBaseResponse<ILaidResponse> {
|
|
|
48
48
|
autoCpbh: string; // #车牌号
|
|
49
49
|
|
|
50
50
|
takeType: number; // , 默认0, -1:出库, 1:入库;
|
|
51
|
-
isPublic: number;
|
|
51
|
+
isPublic: number;
|
|
52
|
+
isCommon: number; // #1:公务仓;0:普通存放地点
|
|
52
53
|
sysclasc: number; // , 模块大类
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -98,6 +99,7 @@ export class TLaidResponse extends TBaseResponse<ILaidResponse> implements ILaid
|
|
|
98
99
|
takeType: number = 0;
|
|
99
100
|
isPublic: number = 0;
|
|
100
101
|
sysclasc: number = 0;
|
|
102
|
+
isCommon: number = 0;
|
|
101
103
|
|
|
102
104
|
public static toTree(listLaid: ILaidResponse[]) {
|
|
103
105
|
return construct(listLaid, { id: "laidIndx", pid: "parentID", children: "children" }) as ILaidResponse[];
|
|
@@ -293,7 +293,7 @@ export class TMyoaMainResponse implements IMyoaMainResponse {
|
|
|
293
293
|
result.entityID = myoa.entityID;
|
|
294
294
|
result.billMain = myoa.myoaIndx;
|
|
295
295
|
result.billCode = myoa.myoaCode;
|
|
296
|
-
result.billMemo =
|
|
296
|
+
result.billMemo = myoa.myoaMemo;
|
|
297
297
|
result.billUses = "";
|
|
298
298
|
result.ysxmText = "";
|
|
299
299
|
result.outMoney = 0;
|
|
@@ -283,7 +283,7 @@ export class TYzcgMainResponse implements IYzcgMainResponse {
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
static toFlowData(yzcg: TYzcgMainResponse): TFlowDataResponse {
|
|
286
|
-
|
|
286
|
+
const result = new TFlowDataResponse();
|
|
287
287
|
result.whoBuild = yzcg.whoBuild;
|
|
288
288
|
result.userIndx = yzcg.userIndx;
|
|
289
289
|
result.flowMain = yzcg.flowMain;
|
|
@@ -299,9 +299,9 @@ export class TYzcgMainResponse implements IYzcgMainResponse {
|
|
|
299
299
|
result.mastName = yzcg.mastName;
|
|
300
300
|
result.createBy = yzcg.createBy;
|
|
301
301
|
result.unitMain = yzcg.unitMain;
|
|
302
|
+
result.menuUUID = yzcg.menuUUID;
|
|
302
303
|
result.deptMain = yzcg.deptMain;
|
|
303
304
|
result.flowStat = yzcg.yzcgStat;
|
|
304
|
-
result.menuUUID = yzcg.menuUUID;
|
|
305
305
|
return result;
|
|
306
306
|
}
|
|
307
307
|
}
|