<template>
  <my-page :left-style="{width: '20vw'}">
    <template slot="left">
      <DfBroker ref="dfBroker" style="height: 100%;width:100%;"  @row-click="handleRowClick"></DfBroker>
    </template>
    <BrokerUserVo ref="brokerUser" :extraHeight="100" style="height: 97%;margin-left: 8px;" :rowData="rowData"></BrokerUserVo>
  </my-page>
</template>

<script>
import BrokerUserVo from './components/BrokerUser.vue';
import DfBroker from './components/DfBroker.vue';

export default {
  name: "BrokerUser",
  components: {
    BrokerUserVo,
    DfBroker,
  },
  data() {
    return {
      rowData: null
    };
  },
  methods: {
    handleRowClick(row) {
      this.rowData = row;// 在父组件中接收到子组件传递过来的 row 数据
    }
  }
};
</script>
