邓洁 : 修改细节

This commit is contained in:
邓洁
2023-12-09 18:22:10 +08:00
parent b66d3ce40f
commit 10268ab2ba

View File

@@ -26,7 +26,7 @@
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<fan-info/>
<fan-info v-if="showFan"/>
<transducer-list/>
<used-ele/>
</el-drawer>
@@ -43,9 +43,9 @@
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<wind-pressure-list/>
<air-info/>
<bad-gas-info/>
<wind-pressure-list v-if="showFan"/>
<air-info v-if="showFan"/>
<bad-gas-info v-if="showFan"/>
</el-drawer>
<div v-if="drawerRight" class="right-arrow" @click="closeRight"></div>
<div v-else class="shrink-right" @click="closeRight"></div>
@@ -75,10 +75,12 @@ import BadGasInfo from "@/components/content/badGasInfo/BadGasInfo.vue";
import ManageBtn from "@/components/manageBtn/index.vue";
import {dateFormat} from "@/utils/date.js";
import {useAuthStore} from '@/store/userstore.js'
import {onMounted} from "vue";
const authStore = useAuthStore()
const router = useRouter()
const selectIndex = ref(1)
const showFan = ref(false)
const drawerLeft = ref(true)
const drawerRight = ref(true)
const currentSite = ref('松江站')
@@ -109,6 +111,11 @@ const tunnelList = ref([
name: '七号隧道'
},
])
onMounted(()=>{
nextTick(()=>{
showFan.value=true
})
})
const manageSelect = () => {
// getInfo();
};