<template>
    <div class="default-main">
        <el-tabs v-model="activeName" type="border-card">
            <el-tab-pane label="普测计划管理" name="1">
                <planManage v-if="activeName == '1'" />
            </el-tab-pane>
            <!-- <el-tab-pane label="普测计划审批" name="2">
                <planAudits  v-if="activeName == '2'"/>
            </el-tab-pane> -->
            <!-- <el-tab-pane label="普测结果管理" name="3"><outcome v-if="activeName == '3'"/></el-tab-pane>
            <el-tab-pane label="普测计划占比配置" name="4"><occupancy v-if="activeName == '4'"/></el-tab-pane> -->
        </el-tabs>
    </div>
</template>

<script setup lang="ts">
import { onMounted, reactive, ref, provide } from 'vue'
import occupancy from './components/occupancy.vue'
import outcome from './components/outcome.vue'
import planAudits from './components/planAudits.vue'
import planManage from './components/planManage.vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
    name: 'supervision/harmonicmanagement'
})
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>
