<template>
  <div class="col-sm-12" >
    <div class="col-sm-7">
        <user-notice-list @select-changed="selected" v-ref:usernoticelist></user-notice-list>
    </div>
    <div class="col-sm-5">
      <user-notice-record : :row="row" ></user-notice-record>
    </div>
  </div>
</template>

<script>
  export default {
    title: '用户公告',
    data () {
      return {
        // 单选数据
        row: {},



      }
    },
    created () {
    },
    methods: {
      selected (row) {
        this.row = row.val
      }
    },
    events: {
      // 重新查询
      'refresh' () {
        this.$refs.noticelist.search()
      }

    }
  }
</script>

<style lang="less">

</style>
