<template>
  <tab-button v-ref:list>
    <tabs header="计划下发">
      <card-down></card-down>
    </tabs>
    <tabs header="卡表抄表">
      <cards-hand></cards-hand>
    </tabs>
    <tabs header="抄表审核">
      <card-hand-audit></card-hand-audit>
    </tabs>
  </tab-button>
</template>


<script>
  import TabButton from './../comprehen/common/TabButton'
  import Tabs from './../comprehen/common/Tabs'
export default {
    name: 'cardHandManager',
    title: '卡表抄表管理',
    data () {
      return {// 页面开关
        f_start_date: '',
        f_end_date: '',
        listpage: true,
        width: {
          left: '100%',
          right: '0%'
        },
        showupload: false,
        // searchNumber:'',
        rowData: {},
        show: [true]
      }
    },
    components: {Tabs, TabButton},
    ready () {
      console.log(this.$refs.list)
    },
    methods: {
      cancel (obj) {
        this.listpage = true
      },
      dealMsg (obj) {
        this.rowData = obj
        this.listpage = false
        console.log(obj.model)
        this.f_start_date = obj.model.startDate
        this.f_end_date = obj.model.endDate
      }
    }
  }
</script>

<style scoped>

</style>
