<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 v-if="!listpage">
      <user-info-detail-manage :f_userid="rowData.f_userinfo_code" @cancel-main="cancel"></user-info-detail-manage>
    </div>
  </div>
</template>

<script>
  export default {
    title: '表具管理',
    name: '表具管理',
    // 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>
