<template>
    <div class="default-main">
        <el-tabs v-model="activeName" type="border-card">
            <el-tab-pane label="电能质量问题查询维护" name="1">
                <maintenance v-if="activeName == '1'" />
            </el-tab-pane>
            <el-tab-pane label="电能质量问题审核" name="2">
                <audit v-if="activeName == '2'" />
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script setup lang="ts">
import { onMounted, reactive, ref, provide } from 'vue'
import maintenance from './components/maintenance.vue'
import audit from './components/audit.vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
    name: 'Processsupervision/electricitymanagement'
})
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;
}
:deep(.el-tabs__content) {
    height: v-bind('layout.height');
    overflow-y: auto;
}
</style>
