// 来访管理
<template>
  <el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      prop="company"
      label="所属公司"
      >
    </el-table-column>
    <el-table-column
      prop="company"
      label="来访人"
      >
    </el-table-column>
    <el-table-column
      prop="start_date"
      label="来访时间"
      >
    </el-table-column>
    <el-table-column
      prop="end_date"
      label="离开时间"
      >
    </el-table-column>
    <el-table-column
      prop="shift"
      label="身份证号"
      >
    </el-table-column>
    <el-table-column
      prop="times"
      label="被访人"
      >
    </el-table-column>
    <el-table-column
      prop="times"
      label="所住单元"
      >
    </el-table-column>
    <el-table-column
      prop="times"
      label="来访事由"
      >
    </el-table-column>
    <el-table-column
      prop="times"
      label="值班人"
      >
    </el-table-column>
  </el-table>
</template>

<script>
  export default {
    methods: {
      handleClick(row) {
        console.log(row);
      }
    },

    data() {
      return {
        tableData: [{
          start_date: '2016-05-02',
          end_date: '2018-05-02',
          company: '1001',
          province: '上海',
          shift: '普陀区',
          times: '2016-05-02>>2018-05-02',
          post: '-',
          staffs: '11111'
        }]
      }
    }
  }
</script>