<template>
  <el-table :data="tableData" border v-loading="loading" style="width: 100%">
    <el-table-column prop="date" label="序号" width="80" align="center">
      <template slot-scope="scope">{{ scope.$index + 1 }}</template>
    </el-table-column>
    <el-table-column prop="name" label="单位" align="center"> </el-table-column>
    <el-table-column label="配网故障情况" align="center">
      <el-table-column prop="address" label="整线故障数量" align="center">
      </el-table-column>
      <el-table-column prop="address" label="支线故障数量" align="center">
      </el-table-column>
      <el-table-column prop="address" label="主动消缺数量" align="center">
      </el-table-column>
      <el-table-column prop="address" label="主动消缺明细" align="center">
      </el-table-column>
    </el-table-column>
    <el-table-column label="三零统计" align="center">
      <el-table-column prop="address" label="本月连续天数" align="center">
      </el-table-column>
      <el-table-column prop="address" label="本月累计天数" align="center">
      </el-table-column>
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  data() {
    return {
      loading: true,
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
    };
  },
  methods: {
    getList(dateRange) {
      this.loading = true;
      setTimeout(() => {
        this.loading = false;
      }, 2000);
    },
  },
};
</script>

<style></style>
