mobile-estimatedData.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <div style="height: 100vh; width: 100vw">
  3. <van-nav-bar title="月预估数据" @click-left="toHome">
  4. <template #left>
  5. <van-icon name="arrow-left" />
  6. </template>
  7. </van-nav-bar>
  8. <van-row>
  9. <van-col span="24">
  10. <van-tabs v-model="select">
  11. <van-tab name="a" title="数据填报">
  12. <dataFilling></dataFilling>
  13. </van-tab>
  14. <van-tab name="b" title="历史填报">
  15. <historicalFilling></historicalFilling>
  16. </van-tab>
  17. </van-tabs>
  18. </van-col>
  19. </van-row>
  20. </div>
  21. </template>
  22. <script>
  23. import dataFilling from './components/data-filling.vue'
  24. import historicalFilling from './components/historical-filling.vue'
  25. export default {
  26. components: {
  27. dataFilling,
  28. historicalFilling
  29. },
  30. data() {
  31. return { select: 'a' }
  32. },
  33. methods: {
  34. toHome() {
  35. this.$router.push('/mobile-home')
  36. }
  37. }
  38. }
  39. </script>
  40. <style scoped></style>