<template>
    <div class="statistics-tabs">
        <el-tabs v-model="activeName" type="border-card">
            <el-tab-pane label="列表视图" name="list">
                <list />
            </el-tab-pane>
            <el-tab-pane label="统计视图" name="chart">
                <chart />
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
import list from './list'
import chart from './chart'
export default {
    name: 'ProjectStatistics',
    components: {
        list,
        chart
    },
    data() {
        return {
            activeName: 'chart'
        }
    },
    mounted() {

    }, methods: {}

}
</script>

<style scoped>
.statistics-tabs {
    padding: 20px;
    width: 100%;
    height: 100%;
    .el-tab-pane {
        height: 100%;
    }
}
</style>
