<template>
    <div class='detailTable' style='width: 767px'>
        <el-table :data='tableList' border>
            <el-table-column prop='title' label width='95'></el-table-column>
            <el-table-column prop label='冷机开启台数' align='center' width>
                <template
                    slot-scope='{row}'
                >{{row.chillerNumSetLOrg!=undefined?row.chillerNumSetLOrg : '--'}} 大 {{row.chillerNumSetSOrg!=undefined?row.chillerNumSetSOrg : '--'}} 小</template>
            </el-table-column>
            <el-table-column prop label='冷机出水温度' align='center' width>
                <template slot-scope='{row}'>{{row.chillWaterOutTempSetOrg?(row.chillWaterOutTempSetOrg ).toFixed(1): '--'}} ℃</template>
            </el-table-column>
            <el-table-column prop label='冷冻泵台数' align='center' width>
                <template
                    slot-scope='{row}'
                >{{row.coolPumpNumSetLOrg!=undefined?row.coolPumpNumSetLOrg : '--'}} 大 {{row.coolPumpNumSetSOrg !=undefined?row.coolPumpNumSetSOrg : '--'}} 小</template>
            </el-table-column>
            <el-table-column prop label='冷冻泵频率' align='center' width>
                <template slot-scope='{row}'>{{row.coolPumpFreqSetOrg?row.coolPumpFreqSetOrg.toFixed(0): '--'}} HZ</template>
            </el-table-column>
            <el-table-column prop label='冷却泵台数' align='center' width>
                <template
                    slot-scope='{row}'
                >{{row.chillPumpNumSetLOrg!=undefined?row.chillPumpNumSetLOrg : '--' }}大{{row.chillPumpNumSetSOrg !=undefined?row.chillPumpNumSetSOrg : '--'}}小</template>
            </el-table-column>
            <el-table-column prop label='冷却泵频率' align='center' width>
                <template slot-scope='{row}'>{{row.chillPumpFreqSetOrg ?(row.chillPumpFreqSetOrg.toFixed(0)):'--'}} HZ</template>
            </el-table-column>
            <el-table-column prop label='冷却塔台数' align='center' width>
                <template
                    slot-scope='{row}'
                >{{row.coolTowerNumSetSOrg !=undefined?row.coolTowerNumSetSOrg : '--'}}大{{row.coolTowerNumSetLOrg!=undefined?row.coolTowerNumSetLOrg : '--'}}小</template>
            </el-table-column>
            <el-table-column prop='zip' label='冷却塔频率' align='center' width>
                <template slot-scope='{row}'>{{row.coolTowerFreqSetOrg?(row.coolTowerFreqSetOrg).toFixed(0) : '--'}} HZ</template>
            </el-table-column>
            <el-table-column prop label='室内平均温度' align='center' width>
                <template slot-scope='{row}'>{{row.meanTindoor?(row.meanTindoor).toFixed(1): '--'}} ℃</template>
            </el-table-column>
            <el-table-column prop label='室内最高温度' align='center' width>
                <template slot-scope='{row}'>{{row.maxTindoor?(row.maxTindoor).toFixed(1): '--'}} ℃</template>
            </el-table-column>
            <el-table-column prop label='冷机负载率' align='center' width>
                <template slot-scope='{row}'>{{row.plrAllOrg||'--'}} HZ</template>
            </el-table-column>
        </el-table>
    </div>
</template>

<script>
export default {
    data() {
        return {}
    },
    props: ['tableList'],
    mounted() {
        console.log(this.tableList)
    }
}
</script>

 <style lang="scss" scoped>
.detailTable {
    margin: 0 auto;
    .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>
<style lang="scss">
.detailTable {
    .el-table__header,
    table {
        width: auto !important;
    }
    .el-table_tbody {
        width: auto !important;
    }
}
</style>
