From 9ee3f349fbbcaeed2694a46744fe14862ed09d7c Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 13 Nov 2024 11:35:36 +0800
Subject: [PATCH] 企业应急空间优化,三道防线优化
---
src/views/companyInfo/components/leftContainer.vue | 45 ++++++++++++++++++++++++++++++++++-----------
1 files changed, 34 insertions(+), 11 deletions(-)
diff --git a/src/views/companyInfo/components/leftContainer.vue b/src/views/companyInfo/components/leftContainer.vue
index 1b2d647..8ca3110 100644
--- a/src/views/companyInfo/components/leftContainer.vue
+++ b/src/views/companyInfo/components/leftContainer.vue
@@ -12,27 +12,38 @@
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">
+
+ <div class="unit box" v-if="state.buttonIndex == 3">
<title-box>
<template #titleName>
- <!-- 数据概览 -->
+ <!-- 应急空间 -->
+ </template>
+ </title-box>
+ <unit-content></unit-content>
+ </div>
+
+ <div class="data box" v-if="state.buttonIndex == 4">
+ <title-box>
+ <template #titleName>
+ <!-- 三道防线 -->
</template>
</title-box>
<data-content></data-content>
</div>
- <!-- <div class="unit box">
- <title-box>
- <template #titleName>
- 入住单位统计
- </template>
- </title-box>
- <unit-content></unit-content>
- </div> -->
+
<!-- <div class="fire box">
<title-box>
@@ -45,4 +56,16 @@
</div>
</template>
-<style lang="scss" scoped></style>
+<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