|
@@ -13,7 +13,7 @@
|
|
|
全矿井通风检测
|
|
|
<CaretDownOutlined />
|
|
|
</a>
|
|
|
- <MonitorBar v-if="showBar" class="module-monitor-bar" :is-data-real-time="isDataRealTime" :data="barData" />
|
|
|
+ <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">
|
|
|
<template #overlay>
|
|
|
</template>
|
|
@@ -76,7 +76,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script lang="ts" setup>
|
|
|
- import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
|
|
|
+ import { onMounted, onUnmounted, ref, watch } from 'vue';
|
|
|
// import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
|
import MonitorBar from './components/MonitorBar.vue';
|
|
|
import { useInitConfigs, useInitPage } from './hooks/useInit';
|
|
@@ -97,10 +97,6 @@
|
|
|
const router = useRouter();
|
|
|
const isDataRealTime = ref(sysDataType === 'monitor');
|
|
|
const showBar = ref(true);
|
|
|
- const barData = computed(() => ({
|
|
|
- ...data.value,
|
|
|
- totallength: 223196,
|
|
|
- }));
|
|
|
let interval: number | undefined;
|
|
|
|
|
|
function switchDataMode() {
|