From 539a832228014c4423f18e25aad9cbead56c966a Mon Sep 17 00:00:00 2001 From: wangshiming Date: Mon, 18 Apr 2022 19:34:37 +0800 Subject: [PATCH] fix bug --- .../customtable/mancustomtable/mancustomtable.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/routes/datatable/components/customtable/mancustomtable/mancustomtable.component.ts b/src/app/routes/datatable/components/customtable/mancustomtable/mancustomtable.component.ts index efbfe907..c304ca58 100644 --- a/src/app/routes/datatable/components/customtable/mancustomtable/mancustomtable.component.ts +++ b/src/app/routes/datatable/components/customtable/mancustomtable/mancustomtable.component.ts @@ -20,7 +20,7 @@ export class DatatableMancustomtableComponent implements OnInit { mode = 'year'; date: any = null; defineDate = []; - resourceStatus: number = 0; + resourceStatus: number = 1; time: any = ['2022-01-01 00:00:00']; dateFormat = 'yyyy'; today = new Date(); @@ -106,6 +106,7 @@ export class DatatableMancustomtableComponent implements OnInit { let params: any = { time: this.time, type: this.type, + parType: this.resourceStatus, ...this.sf?.value };