From 9a37c5e1b2190c3f6ec71483923922189091dd52 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 18 Dec 2024 09:42:01 +0800
Subject: [PATCH] 事件模拟更新

---
 src/views/companyInfo/components/leftContainer.vue |   53 ++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 38 insertions(+), 15 deletions(-)

diff --git a/src/views/companyInfo/components/leftContainer.vue b/src/views/companyInfo/components/leftContainer.vue
index eb16e22..8ca3110 100644
--- a/src/views/companyInfo/components/leftContainer.vue
+++ b/src/views/companyInfo/components/leftContainer.vue
@@ -4,35 +4,46 @@
  * @LastEditors: shuishen 1109946754@qq.com
  * @LastEditTime: 2024-10-25 18:43:23
  * @FilePath: \bigScreen\src\views\statistics\components\leftContainer.vue
- * @Description: 
- * 
- * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
+ * @Description:
+ *
+ * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
 -->
 <script setup>
 import dataContent from './box/dataContent.vue'
 import unitContent from './box/unitContent.vue'
 import fireContent from './box/fireContent.vue'
+
+let state = defineProps({
+  buttonIndex: {
+    type: Number,
+    default: 1
+  }
+})
+
 </script>
 
 <template>
   <div class="left-container">
-    <!-- <div class="data box">
-      <title-box>
-        <template #titleName>
-          数据概览
-        </template>
-      </title-box>
-      <data-content></data-content>
-    </div> -->
 
-    <!-- <div class="unit box">
+    <div class="unit box" v-if="state.buttonIndex == 3">
       <title-box>
         <template #titleName>
-          入住单位统计
+          <!-- 应急空间 -->
         </template>
       </title-box>
       <unit-content></unit-content>
-    </div> -->
+    </div>
+
+    <div class="data box" v-if="state.buttonIndex == 4">
+      <title-box>
+        <template #titleName>
+          <!-- 三道防线 -->
+        </template>
+      </title-box>
+      <data-content></data-content>
+    </div>
+
+
 
     <!-- <div class="fire box">
       <title-box>
@@ -45,4 +56,16 @@
   </div>
 </template>
 
-<style lang="scss" scoped></style>
\ No newline at end of file
+<style lang="scss" scoped>
+.left-container {
+  display: flex;
+  flex-direction: column;
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100px;
+  height: 100%;
+  pointer-events: auto;
+  // background: rgba(28, 115, 195, 0.2);
+}
+</style>

--
Gitblit v1.9.3