<template>
  <div>
    <el-table
      :data="list"
      style
      :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
      tooltip-effect="dark"
    >
      <el-table-column
        prop="name"
        align="center"
        width="120"
        label="学员编号"
      ></el-table-column>
      <el-table-column
        prop="name"
        align="center"
        width="120"
        label="学员姓名"
      ></el-table-column>
      <el-table-column
        prop="name"
        align="center"
        width="120"
        label="性别"
      ></el-table-column>
      <el-table-column
        prop="name"
        align="center"
        width="120"
        label="联系电话"
      ></el-table-column>
      <el-table-column
        prop="name"
        align="center"
        width="120"
        label="专业"
      ></el-table-column>
    </el-table>
    <div slot="footer" class="dialog-footer">
      <el-button type="primary" @click="$listeners.close">确 定</el-button>
    </div>
  </div>
</template>
<script>
export default {
  props: ['list'],
};
</script>
