<template>
  <div v-show="listpage" id="stand-work-list" class="flex bg-white p-10">
    <tab-button >
      <!--<tab header="用户查询">
        <user-query @deal-msg="dealMsg"></user-query>
      </tab>-->
      <tab header="用户查询">
        <meter-query  @deal-msg="dealMsg"></meter-query>
      </tab>
      <tab header="设备查询">
        <equipment-query  @deal-msg="dealMsg"></equipment-query>
      </tab>
      <tab header="档案变更记录">
        <changeuser-query  @deal-msg="dealMsg"></changeuser-query>
      </tab>
    </tab-button>
  </div>
  <div v-if="!listpage">
    <meter-info-manage :row="rowData"></meter-info-manage>
  </div>

</template>

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

  export default {
    title: '档案查询',
    data(){
      return{
        listpage: true,
        show: [true]
      }
    },
    methods: {
      cancel (obj) {
        this.listpage = true
      },
      dealMsg(obj) {
        console.log('-------------------2222---dealmsg')
        this.rowData = obj
        this.listpage = false
      },
    },
    components: {Tabs, TabButton},
  }
</script>

<style scoped>
</style>
