41 lines
1.3 KiB
Vue
41 lines
1.3 KiB
Vue
<template>
|
|
<div class="default-main">
|
|
<el-tabs v-model="activeName" type="border-card">
|
|
<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">
|
|
<earlyWarning v-if="activeName == '3'"/>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="预警单策略管理" name="4"><earlyWarning v-if="activeName == '4'"/></el-tab-pane>
|
|
</el-tabs>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import overview from './components/overview.vue'
|
|
import technology from './components/technology.vue'
|
|
import earlyWarning from './components/earlyWarning.vue'
|
|
import { onMounted, reactive, ref, provide } from 'vue'
|
|
|
|
import { mainHeight } from '@/utils/layout'
|
|
defineOptions({
|
|
name: 'Processsupervision/supervision/manage'
|
|
})
|
|
const activeName = 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;
|
|
}
|
|
::v-deep(.el-tabs__content) {
|
|
height: v-bind('layout.height');
|
|
overflow-y: auto;
|
|
}
|
|
</style>
|