<template>
    <div style="height: 100vh; width: 100vw">
        <van-nav-bar title="月预估数据" @click-left="toHome">
            <template #left>
                <van-icon name="arrow-left" />
            </template>
        </van-nav-bar>
        <van-row>
            <van-col span="24">
                <van-tabs v-model="select">
                    <van-tab name="a" title="数据填报">
                        <dataFilling></dataFilling>
                    </van-tab>
                    <van-tab name="b" title="历史填报">
                        <historicalFilling></historicalFilling>
                    </van-tab>
                </van-tabs>
            </van-col>
        </van-row>
    </div>
</template>
<script>
import dataFilling from './components/data-filling.vue'
import historicalFilling from './components/historical-filling.vue'
export default {
    components: {
        dataFilling,
        historicalFilling
    },
    data() {
        return { select: 'a' }
    },
    methods: {
        toHome() {
            this.$router.push('/mobile-home')
        }
    }
}
</script>
<style scoped></style>
