<template>
    <basic-container>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="生产绩效" name="1"></el-tab-pane>
            <el-tab-pane label="质量绩效" name="2"></el-tab-pane>
        </el-tabs>
        <millMeritsProduce v-if="activeName == '1'"></millMeritsProduce>
        <millMeritsQuality v-if="activeName == '2'"></millMeritsQuality>
    </basic-container>
</template>
<script>
import millMeritsProduce from './components/millMeritsProduce.vue'
import millMeritsQuality from './components/millMeritsQuality.vue'
export default {
    components: {
        millMeritsProduce,
        millMeritsQuality
    },
    data() {
        return {
            activeName: '1',
        }
    }
}
</script>