2024-03-06 16:14:09 +08:00
|
|
|
<template>
|
2024-03-12 11:16:54 +08:00
|
|
|
<div class="default-main">
|
|
|
|
|
<el-tabs v-model="activeName" type="border-card">
|
2024-05-15 21:33:54 +08:00
|
|
|
<!-- <el-tab-pane label="概览" name="1"><overview v-if="activeName == '1'"/></el-tab-pane>
|
|
|
|
|
<el-tab-pane label="技术监督管理" name="2"><technology v-if="activeName == '2'"/></el-tab-pane> -->
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="预警单列表" name="3">
|
2024-03-12 16:15:45 +08:00
|
|
|
<earlyWarning v-if="activeName == '3'"/>
|
2024-03-12 11:16:54 +08:00
|
|
|
</el-tab-pane>
|
2024-05-15 21:33:54 +08:00
|
|
|
<el-tab-pane label="告警单列表" name="4"><alarm v-if="activeName == '4'"/></el-tab-pane>
|
2024-03-12 11:16:54 +08:00
|
|
|
</el-tabs>
|
2024-03-06 16:14:09 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
2024-03-12 11:16:54 +08:00
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2024-03-13 20:33:01 +08:00
|
|
|
import overview from './components/overview.vue'
|
2024-03-12 11:16:54 +08:00
|
|
|
import technology from './components/technology.vue'
|
|
|
|
|
import earlyWarning from './components/earlyWarning.vue'
|
2024-05-15 21:33:54 +08:00
|
|
|
import alarm from './components/alarm.vue'
|
2024-03-12 11:16:54 +08:00
|
|
|
import { onMounted, reactive, ref, provide } from 'vue'
|
|
|
|
|
|
|
|
|
|
import { mainHeight } from '@/utils/layout'
|
|
|
|
|
defineOptions({
|
2024-05-15 21:33:54 +08:00
|
|
|
name: 'supervision/harmonicmanagement'
|
2024-03-12 11:16:54 +08:00
|
|
|
})
|
2024-05-15 21:33:54 +08:00
|
|
|
const activeName = ref('3')
|
2024-03-12 11:16:54 +08:00
|
|
|
const Statistics = ref()
|
|
|
|
|
const compatibility = ref()
|
|
|
|
|
|
|
|
|
|
const layout = mainHeight(63) as any
|
2024-03-06 16:14:09 +08:00
|
|
|
</script>
|
|
|
|
|
|
2024-03-12 11:16:54 +08:00
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.bars_w {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 500px;
|
|
|
|
|
}
|
2024-03-18 19:43:55 +08:00
|
|
|
:deep(.el-tabs__content) {
|
2024-03-12 11:16:54 +08:00
|
|
|
height: v-bind('layout.height');
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
2024-03-06 16:14:09 +08:00
|
|
|
</style>
|