From 486eac7c54e84e2db7e19389d319c0cea03f649b Mon Sep 17 00:00:00 2001
From: cpf <1105965053@qq.com>
Date: Fri, 24 Jun 2022 14:27:46 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/pages/audit/audit-record/audit-record.component.html | 2 +-
src/app/pages/audit/audit-record/audit-record.component.ts | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/app/pages/audit/audit-record/audit-record.component.html b/src/app/pages/audit/audit-record/audit-record.component.html
index 78b4492..1f1bfb3 100644
--- a/src/app/pages/audit/audit-record/audit-record.component.html
+++ b/src/app/pages/audit/audit-record/audit-record.component.html
@@ -6,7 +6,7 @@
-
+
diff --git a/src/app/pages/audit/audit-record/audit-record.component.ts b/src/app/pages/audit/audit-record/audit-record.component.ts
index 51282b4..4224da9 100644
--- a/src/app/pages/audit/audit-record/audit-record.component.ts
+++ b/src/app/pages/audit/audit-record/audit-record.component.ts
@@ -20,12 +20,15 @@ export class AuditRecordComponent implements OnInit {
constructor(private element: ElementRef, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private toTree: TreeService, private http: HttpClient, private fb: FormBuilder) { }
list = []
-
+ level=false
tableScrollHeight
resizeListener
startdate
enddate
async ngOnInit(): Promise {
+ if(JSON.parse(sessionStorage.getItem('userdata')).organization.level==1){
+ this.level=true
+ }
this.tableScrollHeight = '100px'
// 页面监听
this.resizeListener = fromEvent(window, 'resize').pipe(debounceTime(100)).subscribe((event) => {