<template>
  <tab-button>
    <tabs header="异常统计报表">
      <abnormal-info></abnormal-info>
    </tabs>
    <tabs header="不用气用户查询">
      <owe-query v-if="show[1]"></owe-query>
    </tabs>
    <tabs header="电量不足查询">
      <battery-low v-if="show[2]"></battery-low>
    </tabs>
    <tabs header="电磁干扰查询">
      <electro-magnetic v-if="show[3]"></electro-magnetic>
    </tabs>
    <tabs header="通信信息查询">
      <communication v-if="show[4]"></communication>
    </tabs>
    <tabs header="阀门统计">
      <value-info v-if="show[5]"></value-info>
    </tabs>

    <!--</tabs>-->
    <!--<tabs header="撤销查询">-->

    <!--</tabs>-->
  </tab-button>
</template>

<script>
  import TabButton from "./TabButton";
  import Tabs from "./Tabs";

  export default {
    name: "AbnormalQuery",
    title: '异常报表',
    data() {
      return {
        show: [true]
      }
    },
    components: {Tabs, TabButton},
  }
</script>

<style scoped>

</style>
