<template>
  <div id="unit" class="flex-row" style="width: 100%">
    <order-list v-ref:list></order-list>
    <div class="flex binary-left" v-show=row.id style="width:50%;margin-left: 0 !important;">
      <order-apply-dispose :row="row" :title="title"></order-apply-dispose>
    </div>
  </div>
</template>

<script>
export default {
  title: '预约中心',
  data () {
    return {
      row: {},
      title: ''
    }
  },
  ready () {
  },
  methods: {
    init () {
      this.row = {}
    }
  },
  events: {
    'dispose' (data) {
      console.log("data",JSON.stringify(data))
      this.row = data
    }
    // 'refresh' () {
    //   this.$refs.list.$refs.paged.$refs.criteria.search()
    //   this.init()
    // }
  }
}
</script>
<style>
</style>
