From 6f2e1f380b4bfdcc43dcac731226ccab49e17706 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期四, 24 八月 2023 13:42:49 +0800
Subject: [PATCH] 大屏

---
 screen_standard/src/components/AppLayout.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/screen_standard/src/components/AppLayout.vue b/screen_standard/src/components/AppLayout.vue
index 88f8907..fb9771d 100644
--- a/screen_standard/src/components/AppLayout.vue
+++ b/screen_standard/src/components/AppLayout.vue
@@ -115,9 +115,9 @@
 }
 
 const fullChange = () => {
-  data.isFull = !data.isFull
+  // data.isFull = !data.isFull
   let element = document.documentElement;
-  if (data.isFull) {   // 鍏ㄥ睆
+  if (!data.isFull) {   // 鍏ㄥ睆
     if (element.requestFullscreen) {
       element.requestFullscreen();
     } else if (element.webkitRequestFullScreen) {
@@ -139,10 +139,11 @@
       document.msExitFullscreen();
     }
   }
-  // data.isFull = !data.isFull
+  data.isFull = !data.isFull
 }
 
 onMounted(() => {
+  enterprise.setDepartId()
   getDepartmentList(enterprise.companyId)
     .then(res => {
       data.comList = res
@@ -150,6 +151,7 @@
       enterprise.setDepartId(data.tempCom.id)
     })
     .catch(err => {})
+  fullChange()
   const week = ['鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�', '鏄熸湡鏃�']
   setInterval(() => {
     let tempDate = new Date()
@@ -184,6 +186,11 @@
   height: 100%;
   padding: 20px 30px;
   overflow-y: scroll;
+  scrollbar-width:none;
+  -ms-overflow-style:none;
+  &::-webkit-scrollbar{
+    width: 0;
+  }
   display: flex;
   flex-direction: column;
 

--
Gitblit v1.9.3