|
@@ -9,11 +9,11 @@
|
|
<div v-if="!route.query.embed" class="top-bg">
|
|
<div v-if="!route.query.embed" class="top-bg">
|
|
<div class="main-title">{{ mainTitle }}</div>
|
|
<div class="main-title">{{ mainTitle }}</div>
|
|
</div>
|
|
</div>
|
|
- <a class="ant-dropdown-link module-dropdown" @click.prevent="showBar = !showBar">
|
|
|
|
|
|
+ <!-- <a class="ant-dropdown-link module-dropdown" @click.prevent="showBar = !showBar">
|
|
全矿井通风检测
|
|
全矿井通风检测
|
|
<CaretDownOutlined />
|
|
<CaretDownOutlined />
|
|
- </a>
|
|
|
|
- <MonitorBar v-if="showBar" class="module-monitor-bar" :is-data-real-time="isDataRealTime" :data="data" />
|
|
|
|
|
|
+ </a> -->
|
|
|
|
+ <!-- <MonitorBar v-if="showBar" class="module-monitor-bar" :is-data-real-time="isDataRealTime" :data="data" /> -->
|
|
<!-- <a-dropdown class="module-dropdown" :class="{ 'module-dropdown-original': isOriginal }" :trigger="['click']" placement="bottomRight">
|
|
<!-- <a-dropdown class="module-dropdown" :class="{ 'module-dropdown-original': isOriginal }" :trigger="['click']" placement="bottomRight">
|
|
<template #overlay>
|
|
<template #overlay>
|
|
</template>
|
|
</template>
|
|
@@ -78,7 +78,7 @@
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
import { onMounted, onUnmounted, ref, watch } from 'vue';
|
|
import { onMounted, onUnmounted, ref, watch } from 'vue';
|
|
// import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
// import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
- import MonitorBar from './components/MonitorBar.vue';
|
|
|
|
|
|
+ // import MonitorBar from './components/MonitorBar.vue';
|
|
import { useInitConfigs, useInitPage } from './hooks/useInit';
|
|
import { useInitConfigs, useInitPage } from './hooks/useInit';
|
|
import ModuleEnhanced from './components/ModuleEnhanced.vue';
|
|
import ModuleEnhanced from './components/ModuleEnhanced.vue';
|
|
import ModuleOriginal from './components/ModuleOriginal.vue';
|
|
import ModuleOriginal from './components/ModuleOriginal.vue';
|
|
@@ -96,7 +96,7 @@
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
const isDataRealTime = ref(sysDataType === 'monitor');
|
|
const isDataRealTime = ref(sysDataType === 'monitor');
|
|
- const showBar = ref(true);
|
|
|
|
|
|
+ // const showBar = ref(true);
|
|
let interval: number | undefined;
|
|
let interval: number | undefined;
|
|
|
|
|
|
function switchDataMode() {
|
|
function switchDataMode() {
|