<template>
  <div class="detailTable">
    <el-table :data="tableList" border height="180">
      <el-table-column prop="title" label width="105"></el-table-column>
      <el-table-column prop="" label="冷机开启台数" align="center" width="55">
        <template slot-scope="{row}">
          {{row.chillerNumSetL?(row.chillerNumSetL + row.chillerNumSetS):'--'}}
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷机出水温度" align="center" width="55">
         <template slot-scope="{row}">
          {{row.chillWaterOutTempSet}} ℃
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷冻泵台数" align="center" width>
         <template slot-scope="{row}">
          {{row.coolPumpNumSetL}} 大 {{row.coolPumpNumSetS}} 小
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷冻泵频率" align="center" width="65">
         <template slot-scope="{row}">
          {{row.coolPumpFreqSet}} HZ
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷却泵台数" align="center" width>
         <template slot-scope="{row}">
          {{row.chillPumpNumSetL + row.chillPumpNumSetS || '--'}} 
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷却泵频率" align="center" width="65">
         <template slot-scope="{row}">
          {{row.chillPumpFreqSet || '--'}} HZ
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷却塔台数" align="center" width>
         <template slot-scope="{row}">
          {{(row.coolTowerNumSetS + row.coolTowerNumSetL) || '--'}} 
        </template>
      </el-table-column>
      <el-table-column prop="zip" label="冷却塔频率" align="center" width="65">
        <template slot-scope="{row}">
          {{row.coolTowerFreqSet || '--'}} HZ
        </template>
      </el-table-column>
      <el-table-column prop="" label="室内平均温度" align="center" width="55">
         <template slot-scope="{row}">
          {{row.meanTindoor || '--'}} ℃
        </template>
      </el-table-column>
      <el-table-column prop="" label="室内最高温度" align="center" width>
         <template slot-scope="{row}">
          {{row.maxTindoor || '--'}} ℃
        </template>
      </el-table-column>
      <el-table-column prop="" label="冷机负载率" align="center" width="55">
         <template slot-scope="{row}">
          {{row.plrAllOrg || '--'}} HZ
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {
          name: "12",
          province: "12℃",
          city: " 2大1小",
          address: "32.2",
          zip: 2,
          hign: "25.6℃",
          load: "32.2",
          title: "当前运行状态"
        },
        {
          name: "12",
          province: "12℃",
          city: " 2大1小",
          address: "32.2",
          zip: 2,
          hign: "25.6℃",
          load: "32.2",
          title: "推送策略"
        },
        {
          name: "12",
          province: "12℃",
          city: " 2大1小",
          address: "32.2",
          zip: 2,
          hign: "25.6℃",
          load: "32.2",
          title: "执行策略"
        }
      ]
    };
  },
  props:['tableList']
};
</script>

 <style lang="scss">
.detailTable {
  .el-table {
    font-size: 12px;
  }
  .el-table th {
    padding: 6px 0;
    font-size: 12px;
  }
  .el-table td {
    padding: 8px 0;
  }
  .el-table th > .cell {
    padding-right: 2px;
    padding-left: 2px;
  }
}
</style>
