<template>
  <div class="flex-row" style="padding: 10px">
    <div :class="{'basic-main':!showRight,'binary-left':showRight}">
      <history-apply-list v-ref:list></history-apply-list>
    </div>
    <div v-if="showRight"  class="binary-right">
      <div class="flex">
        <public-supervisoryh-cart :selectdata="selectdata"></public-supervisoryh-cart>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  title: '报装进度',
  data () {
    return {
      showRight: false,
      selectdata: null
    }
  },
  methods: {
  },
  events: {
    'click' (selectdata) {
      this.selectdata = selectdata
      this.showRight = true
    },
    'search' () {
      this.showRight = false
      this.selectdata = null
      this.$refs.list.$refs.cp.$refs.cri.search()
    }
  }
}
</script>
<style>
</style>
