<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-tab-pane label="模具-子件" name="3"></el-tab-pane>
        </el-tabs>
        <pieceChildQuery v-if="activeName=='1'"></pieceChildQuery>
        <sinterMoldNew v-if="activeName=='2'"></sinterMoldNew>
        <moldChild v-if="activeName=='3'"></moldChild>
    </basic-container>
</template>
<script>
import pieceChildQuery from './components/pieceChildQuery.vue'
import sinterMoldNew from './components/sinterMoldNew.vue'
import moldChild from './components/moldChild.vue'
export default {
    components: {
        pieceChildQuery,
        sinterMoldNew,
        moldChild
    },
    data() {
        return {
            activeName: '1',
        }
    }
}
</script>