<template>
  <el-table
    :data="tableData"
    style="width: 100%">
    <el-table-column label="分站运行情况 (出力单位：万千瓦)">
      <el-table-column
        prop="cz"
        label="厂站"
        width="120">
      </el-table-column>
      <el-table-column
        prop="zdcl"
        label="最大出力"
        width="120">
        <el-input slot-scope="scope" v-model="scope.row.zdcl"></el-input>
      </el-table-column>
      <el-table-column
        prop="zxcl"
        label="最小出力"
        width="120">
        <el-input slot-scope="scope" v-model="scope.row.zxcl"></el-input>
      </el-table-column>
      <el-table-column
        prop="lxaqts"
        label="连续安全天数"
        width="120">
        <el-input slot-scope="scope" v-model="scope.row.lxaqts"></el-input>
      </el-table-column>
      <el-table-column
        prop="bnaqts"
        label="本年安全天数"
        width="120">
        <el-input slot-scope="scope" v-model="scope.row.bnaqts"></el-input>
      </el-table-column>
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "3.8.5",
      tableData: [{
        cz: '麻黄山风电场',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      },{
        cz: '牛首山一期',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '牛首山二期',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '牛首山三期',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '青山一期',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '青山二期',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '石板泉风电',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '宁夏香山',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }, {
        cz: '青山三期',
        zdcl: 0,
        zxcl: 0,
        lxaqts: 0,
        bnaqts: 0,
      }]
    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    }
  }
};
</script>

<style scoped lang="scss">

</style>

