@ningboyz/types 1.1.26 → 1.1.28
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
|
@@ -29,6 +29,7 @@ export interface ICardMainFindResponse {
|
|
|
29
29
|
cardRzrqRange: IRangeVal;
|
|
30
30
|
cardGrrqRange: IRangeVal;
|
|
31
31
|
cardLaid: ILaidResponse[];
|
|
32
|
+
laidMino: ILaidResponse[];
|
|
32
33
|
cardDept: IDeptResponse[];
|
|
33
34
|
cardUser: IUserResponse[];
|
|
34
35
|
cardKeep: IUserResponse[];
|
|
@@ -68,6 +69,7 @@ export class TCardMainFindResponse implements ICardMainFindResponse {
|
|
|
68
69
|
cardRzrqRange: IRangeVal = new TRangeVal();
|
|
69
70
|
cardGrrqRange: IRangeVal = new TRangeVal();
|
|
70
71
|
cardLaid: ILaidResponse[] = [];
|
|
72
|
+
laidMino: ILaidResponse[] = [];
|
|
71
73
|
cardDept: IDeptResponse[] = [];
|
|
72
74
|
cardUser: IUserResponse[] = [];
|
|
73
75
|
cardKeep: IUserResponse[] = [];
|
|
@@ -56,6 +56,10 @@ export interface ICardMainResponse {
|
|
|
56
56
|
cardDept: number;
|
|
57
57
|
/** 存放地点 */
|
|
58
58
|
cardLaid: number;
|
|
59
|
+
/** 公务仓 */
|
|
60
|
+
laidMino: number;
|
|
61
|
+
/** 公务仓文本 */
|
|
62
|
+
laidMinoText: string;
|
|
59
63
|
/** 分类用途 */
|
|
60
64
|
cardUses: number;
|
|
61
65
|
/** 计量单位 */
|
|
@@ -532,6 +536,7 @@ export class TCardMainResponse implements ICardMainResponse {
|
|
|
532
536
|
cardUserText: string = "";
|
|
533
537
|
landQsxzText: string = "";
|
|
534
538
|
buldJzjgText: string = "";
|
|
539
|
+
laidMinoText: string = "";
|
|
535
540
|
|
|
536
541
|
knockCnt: number = 0;
|
|
537
542
|
userSize: number = 0;
|
|
@@ -592,6 +597,9 @@ export class TCardMainResponse implements ICardMainResponse {
|
|
|
592
597
|
startOut: number = 0;
|
|
593
598
|
endedOut: number = 0;
|
|
594
599
|
cardMain: number = 0;
|
|
600
|
+
|
|
601
|
+
laidMino: number = 0;
|
|
602
|
+
|
|
595
603
|
myoaCode: string = "";
|
|
596
604
|
|
|
597
605
|
/** 二维码 */
|
package/src/enums/btnMode.ts
CHANGED
|
@@ -32,15 +32,15 @@ export enum TButtonType {
|
|
|
32
32
|
/** 新增 */
|
|
33
33
|
add = "insert",
|
|
34
34
|
/** 返回 */
|
|
35
|
-
back = "
|
|
35
|
+
back = "back",
|
|
36
36
|
/** 修改 */
|
|
37
37
|
edit = "update",
|
|
38
38
|
/** 暂存 */
|
|
39
39
|
staged = "staged",
|
|
40
40
|
/** 保存 */
|
|
41
|
-
save = "
|
|
41
|
+
save = "save",
|
|
42
42
|
/** 取消 */
|
|
43
|
-
cancel = "
|
|
43
|
+
cancel = "cancel",
|
|
44
44
|
/** 删除 */
|
|
45
45
|
remove = "delete",
|
|
46
46
|
/** 查看 */
|
|
@@ -48,7 +48,7 @@ export enum TButtonType {
|
|
|
48
48
|
/** 送审 */
|
|
49
49
|
submit = "submit",
|
|
50
50
|
/** 撤销终审 */
|
|
51
|
-
cancelFinalAudit = "
|
|
51
|
+
cancelFinalAudit = "cancelFinalAudit",
|
|
52
52
|
/** 撤销送审 */
|
|
53
53
|
cancelSend = "cancelSend",
|
|
54
54
|
/** 审核 */
|
|
@@ -79,8 +79,10 @@ export enum TButtonType {
|
|
|
79
79
|
notAccount = "反结账",
|
|
80
80
|
/** 明细 */
|
|
81
81
|
details = "明细",
|
|
82
|
+
/** 变动 */
|
|
83
|
+
change = "change",
|
|
82
84
|
/** 变动记录 */
|
|
83
|
-
changeLog = "
|
|
85
|
+
changeLog = "changeLog",
|
|
84
86
|
/** 导出 */
|
|
85
87
|
exportFile = "export",
|
|
86
88
|
/** 导入 */
|
|
@@ -356,7 +356,7 @@ export class TMyoaMainResponse implements IMyoaMainResponse {
|
|
|
356
356
|
//虚拟字段
|
|
357
357
|
detailId: number = 0;
|
|
358
358
|
|
|
359
|
-
constructor(card:
|
|
359
|
+
constructor(card: keyof TMyoaMainResponse | object) {
|
|
360
360
|
if (card) {
|
|
361
361
|
_.merge(this, _.pick(card, Object.keys(this)));
|
|
362
362
|
}
|