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

<script>

  export default {
    title: '指令查看',
    name: '指令查看',
    data () {
      return {
        // 页面开关
        listpage: true,
        width: {
          left: "100%",
          right: "0%"
        },
        rowData: {}
      }
    },
    ready () {

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

    }
  }
</script>

<style scoped>

</style>
