Files
admin-sjzx/src/views/pqs/supervise/terminal/index.vue

58 lines
1.9 KiB
Vue
Raw Normal View History

<template>
<div class="default-main">
<el-tabs v-model="activeName" type="border-card">
2024-03-12 16:15:45 +08:00
<el-tab-pane label="终端入网检测" name="1">
<!-- <network v-if="activeName == '1'" /> -->
<el-tabs v-model="network" type="border-card" style="height: 100%" tab-position="left">
<el-tab-pane label="列表" name="1">
2024-03-19 15:53:01 +08:00
<networkTab />
</el-tab-pane>
<el-tab-pane label="图表" name="2">
<networkEch />
2024-03-12 16:15:45 +08:00
</el-tab-pane>
</el-tabs>
</el-tab-pane>
<el-tab-pane label="终端周期检测" name="2">
<el-tabs v-model="cycle" type="border-card" style="height: 100%" tab-position="left">
2024-03-19 15:53:01 +08:00
<el-tab-pane label="列表" name="1">
<cycleTab />
</el-tab-pane>
<el-tab-pane label="图表" name="2">
<cycleEch />
</el-tab-pane>
2024-03-12 16:15:45 +08:00
</el-tabs>
</el-tab-pane>
</el-tabs>
</div>
</template>
<script setup lang="ts">
import { onMounted, reactive, ref, provide } from 'vue'
2024-03-12 16:15:45 +08:00
import networkTab from './components/networkTab.vue'
2024-03-19 15:53:01 +08:00
import networkEch from './components/networkEch.vue'
2024-03-12 16:15:45 +08:00
import cycleTab from './components/cycleTab.vue'
2024-03-19 15:53:01 +08:00
import cycleEch from './components/cycleEch.vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
name: 'Processsupervision/Terminaldetection'
})
const activeName = ref('1')
2024-03-12 16:15:45 +08:00
const network = ref('1')
const cycle = ref('1')
const Statistics = ref()
const compatibility = ref()
const layout = mainHeight(63) as any
</script>
<style lang="scss" scoped>
.bars_w {
width: 100%;
height: 500px;
}
2024-03-18 19:43:55 +08:00
:deep(.el-tabs__content) {
height: v-bind('layout.height');
overflow-y: auto;
}
</style>