From 505798927f75c84693cc51becf16aa525503fc92 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 11 七月 2024 17:23:38 +0800
Subject: [PATCH] 2024.7.11

---
 src/views/main/MonitorView.vue |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/views/main/MonitorView.vue b/src/views/main/MonitorView.vue
index 9ee3c3f..6591259 100644
--- a/src/views/main/MonitorView.vue
+++ b/src/views/main/MonitorView.vue
@@ -1,9 +1,9 @@
 <template>
   <el-row>
     <el-col :span="7" class="page-right">
-      <!-- <el-scrollbar height="var(--fy-body-height)"> -->
-      <ManagementView></ManagementView>
-      <!-- </el-scrollbar> -->
+      <el-scrollbar height="var(--fy-body-height)">
+        <ManagementView></ManagementView>
+      </el-scrollbar>
     </el-col>
     <el-col :span="10">
       <el-scrollbar class="page-left-top">
@@ -32,6 +32,15 @@
 const windowHeight = ref(window.innerHeight)
 const areaStore = useAreaStore()
 areaStore.setTimeOneDay()
+areaStore.setLocation({
+  pCode: '31',
+  pName: '涓婃捣甯�',
+  cCode: '3100',
+  cName: '涓婃捣甯�',
+  dCode: '310106',
+  dName: '闈欏畨鍖�'
+})
+areaStore.setSceneType('1')
 
 // const headerHeight = computed(()=>{
 //   return
@@ -40,16 +49,17 @@
 //   console.log(res.text())
 // })
 
-provide('mapHeight', 'calc(var(--fy-body-height) / 3 * 2)')
+provide('mapHeight', 'calc(var(--fy-body-height) / 4 * 3)')
+provide('excludeMapHeight', 'calc(var(--fy-body-height) / 4 * 1)')
 </script>
 
 <style scoped>
 .page-left-top {
-  height: calc(var(--fy-body-height) / 3 * 2);
+  height: calc(var(--fy-body-height) / 4 * 3);
   /* background-color: aquamarine; */
 }
 .page-left-bottom {
-  height: calc(var(--fy-body-height) / 3 * 1);
+  height: calc(var(--fy-body-height) / 4 * 1);
   /* background-color: bisque; */
 }
 

--
Gitblit v1.9.3