// 执勤管理
<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>
</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>