<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>
        <inPlantMaintenance v-if="activeName == '1'"></inPlantMaintenance>
        <oemMaintenance v-if="activeName == '2'"></oemMaintenance>
    </basic-container>
</template>
<script>
import inPlantMaintenance from './components/inPlantMaintenance.vue'
import oemMaintenance from './components/oemMaintenance.vue'
export default {
    components: {
        inPlantMaintenance,
        oemMaintenance
    },
    data() {
        return {
            activeName: '1'
        }
    },
    methods: {

    }
}
</script>