<template>
  <div class="row" style="padding: 10px;overflow:hidden;">
    <div v-show="listpage">
      <new-meter-list :isdeal="true"  @deal-msg="dealMsg"></new-meter-list>
    </div>
    <div  class="basic-main" v-if="!listpage">
      <user-info-detail-manage-new :f_userinfo_id="rowData.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
    </div>
  </div>
</template>

<script>
  export default {
    title: '表具查询',
    name: 'web-meter-Manage',
    // props:['searchNumber'],
    data () {
      return {
        // 页面开关
        listpage: true,
        width: {
          left: '100%',
          right: '0%'
        },
        // searchNumber:'',
        rowData: {}
      }
    },
    ready () {

    },
    methods: {
      // selected (row) {
      //  this.rowData = row.val
      // },
      dealMsg (obj) {
        this.listpage = false
        this.rowData = obj
      },
      cancel (obj) {
        this.listpage = true
      }
    },
    watch: {

    }
  }
</script>

<style scoped>

</style>
