
diff --git a/src/app/home/nav/nav.component.ts b/src/app/home/nav/nav.component.ts
index ef35c8c..29cff3d 100644
--- a/src/app/home/nav/nav.component.ts
+++ b/src/app/home/nav/nav.component.ts
@@ -17,6 +17,8 @@ export class NavComponent implements OnInit {
constructor(private modal: NzModalService, private http: HttpClient, private message: NzMessageService, private viewContainerRef: ViewContainerRef, private router: Router, public token: CacheTokenService) { }
user = null
isSuperAdmin
+
+ isZhidui = false
ngOnInit(): void {
//调用服务中的function刷新token
this.token.startUp()
@@ -27,6 +29,8 @@ export class NavComponent implements OnInit {
})
isTrue ? this.isSuperAdmin = true : this.isSuperAdmin = false
+ let organizationLevel = JSON.parse(sessionStorage.getItem('userData')).organizationLevel
+ organizationLevel == 'brigade' ? this.isZhidui = true : this.isZhidui = false
signalR.initSR();
// 接收来自中心的消息
diff --git a/src/theme.less b/src/theme.less
index cbc3dad..b39bbd5 100644
--- a/src/theme.less
+++ b/src/theme.less
@@ -84,10 +84,57 @@
.maxHeightTreeSelect {
max-height: 280px;
}
-.ant-checkbox-group{
+
+.ant-checkbox-group {
display: flex;
flex-direction: column;
- label{
+
+ label {
margin-bottom: 6px;
}
}
+
+
+.bigfontpattern {
+ .logobox {
+ width: 255px !important;
+ font-size: 20px !important;
+ }
+
+ font-size: 16px !important;
+
+ th,
+ tr,
+ button,
+ input,
+ nz-select,
+ nz-tree-select {
+ font-size: 16px !important;
+ padding-top: 0;
+ padding-bottom: 0;
+ }
+
+}
+
+// 适配125%
+@media screen and (max-height: 750px) {
+ .bigfontpattern {
+ .logobox {
+ width: 240px !important;
+ font-size: 16px !important;
+ }
+
+ font-size: 14px !important;
+
+ th,
+ tr,
+ button,
+ input,
+ nz-select,
+ nz-tree-select {
+ font-size: 14px !important;
+ padding-top: 0;
+ padding-bottom: 0;
+ }
+ }
+}