// 保安安排
<template>
  <el-table
    :data="tableData"
    border
    style="width: 100%">
    <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="address"
      label="地段"
      >
    </el-table-column>
    <el-table-column
      prop="post"
      label="岗位"
      >
    </el-table-column>
    <el-table-column
      prop="staffs"
      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',
          address: '11111'
        }]
      }
    }
  }
</script>