<template>
  <div class="row" style="padding: 10px;overflow:hidden;">
    <div v-show="listpage">
      <web-meter-manages :isdeal="true"  @deal-msg="dealMsg"></web-meter-manages>
    </div>
    <div v-if="!listpage">
      <user-info-manage :f_userid="rowData.f_userid" @cancel-main="cancel"></user-info-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>
