|
@@ -3,38 +3,108 @@
|
|
|
<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}'>{{shutDown(row.chillerNumSetLOrg,true,null)}} 大 {{shutDown(row.chillerNumSetSOrg,true,null)}} 小</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.chillerNumSetLOrg,true,null)=="x"||shutDown(row.chillerNumSetLOrg,true,null)=="--"||shutDown(row.chillerNumSetLOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.chillerNumSetLOrg,true,null)}}</font>
|
|
|
+ 大
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.chillerNumSetSOrg,true,null)=="x"||shutDown(row.chillerNumSetSOrg,true,null)=="--"||shutDown(row.chillerNumSetSOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.chillerNumSetSOrg,true,null)}}</font>
|
|
|
+ 小
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷机出水温度' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.chillWaterOutTempSetOrg,false,1)}} ℃</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.chillWaterOutTempSetOrg,false,1)=="x"||shutDown(row.chillWaterOutTempSetOrg,false,1)=="--"||shutDown(row.chillWaterOutTempSetOrg,false,1)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.chillWaterOutTempSetOrg,false,1)}}</font>
|
|
|
+ ℃
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷冻泵台数' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.coolPumpNumSetLOrg,true,null)}} 大 {{shutDown(row.coolPumpNumSetSOrg,true,null)}} 小</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.coolPumpNumSetLOrg,true,null)=="x"||shutDown(row.coolPumpNumSetLOrg,true,null)=="--"||shutDown(row.coolPumpNumSetLOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.coolPumpNumSetLOrg,true,null)}}</font>
|
|
|
+ 大
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.coolPumpNumSetSOrg,true,null)=="x"||shutDown(row.coolPumpNumSetSOrg,true,null)=="--"||shutDown(row.coolPumpNumSetSOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.coolPumpNumSetSOrg,true,null)}}</font>
|
|
|
+ 小
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷冻泵频率' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.coolPumpFreqSetOrg,false,0)}} HZ</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.coolPumpFreqSetOrg,false,0)=="x"||shutDown(row.coolPumpFreqSetOrg,false,0)=="--"||shutDown(row.coolPumpFreqSetOrg,false,0)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.coolPumpFreqSetOrg,false,0)}}</font>
|
|
|
+ HZ
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷却泵台数' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.chillPumpNumSetLOrg,true,null)}}大{{shutDown(row.chillPumpNumSetSOrg,true,null)}}小</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.chillPumpNumSetLOrg,true,null)=="x"||shutDown(row.chillPumpNumSetLOrg,true,null)=="--"||shutDown(row.chillPumpNumSetLOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.chillPumpNumSetLOrg,true,null)}}</font>
|
|
|
+ 大
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.chillPumpNumSetSOrg,true,null)=="x"||shutDown(row.chillPumpNumSetSOrg,true,null)=="--"||shutDown(row.chillPumpNumSetSOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.chillPumpNumSetSOrg,true,null)}}</font>
|
|
|
+ 小
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷却泵频率' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.chillPumpFreqSetOrg,false,0)}} HZ</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.chillPumpFreqSetOrg,false,0)=="x"||shutDown(row.chillPumpFreqSetOrg,false,0)=="--"||shutDown(row.chillPumpFreqSetOrg,false,0)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.chillPumpFreqSetOrg,false,0)}}</font>
|
|
|
+ HZ
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷却塔台数' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.coolTowerNumSetSOrg,true,null)}}大{{shutDown(row.coolTowerNumSetLOrg,true,null)}}小</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.coolTowerNumSetSOrg,true,null)=="x"||shutDown(row.coolTowerNumSetSOrg,true,null)=="--"||shutDown(row.coolTowerNumSetSOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.coolTowerNumSetSOrg,true,null)}}</font>
|
|
|
+ 大
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.coolTowerNumSetLOrg,true,null)=="x"||shutDown(row.coolTowerNumSetLOrg,true,null)=="--"||shutDown(row.coolTowerNumSetLOrg,true,null)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.coolTowerNumSetLOrg,true,null)}}</font>
|
|
|
+ 小
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='zip' label='冷却塔频率' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.coolTowerFreqSetOrg,false,0)}} HZ</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.coolTowerFreqSetOrg,false,0)=="x"||shutDown(row.coolTowerFreqSetOrg,false,0)=="--"||shutDown(row.coolTowerFreqSetOrg,false,0)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.coolTowerFreqSetOrg,false,0)}}</font>
|
|
|
+ HZ
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='室内平均温度' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{row.meanTindoor}}</template>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.meanTindoor,false,1)}} ℃</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.meanTindoor,false,1)=="x"||shutDown(row.meanTindoor,false,1)=="--"||shutDown(row.meanTindoor,false,1)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.meanTindoor,false,1)}}</font>
|
|
|
+ ℃
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='室内最高温度' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.maxTindoor,false,1)}} ℃</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.maxTindoor,false,1)=="x"||shutDown(row.maxTindoor,false,1)=="--"||shutDown(row.maxTindoor,false,1)=="0")?"reds":""'
|
|
|
+ >{{shutDown(row.maxTindoor,false,1)}}</font>
|
|
|
+ ℃
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop label='冷机负载率' align='center' width>
|
|
|
- <template slot-scope='{row}'>{{shutDown(row.plrAllOrg,false,0)}} HZ</template>
|
|
|
+ <template slot-scope='{row}'>
|
|
|
+ <font
|
|
|
+ :class='(shutDown(row.plrAllOrg,false,0)=="x"||shutDown(row.plrAllOrg,false,0)=="0"||shutDown(row.plrAllOrg,false,0)=="--")?"reds":""'
|
|
|
+ >{{shutDown(row.plrAllOrg,false,0)}}</font>
|
|
|
+ HZ
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -58,6 +128,9 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.detailTable {
|
|
|
+ .reds {
|
|
|
+ color: #f54e45;
|
|
|
+ }
|
|
|
margin: 0 auto;
|
|
|
.el-table {
|
|
|
font-size: 12px;
|