@@ -83,7 +83,9 @@
<div>{{ item.name }}</div>
<div class="table-value">
{{ Number(item.value).toFixed(2) }}
- <!-- <div class="unit">{{ item.valueUnit }}</div> -->
+ <div v-if="item.valueUnit != 'NULL'" class="unit">
+ {{ item.valueUnit }}
+ </div>
</div>
@@ -547,7 +549,7 @@ export default {
font-weight: 400;
color: #606769;
margin-left: 5px;
- width: 40px;
+ // width: 40px;
}
&.round {
@@ -283,7 +283,9 @@
@@ -954,7 +956,7 @@ export default {
@@ -209,31 +209,31 @@ export default {
{ name: "设备容量", uniformCode: "SBXH", valueUnit: "MW", width: "80" },
{
name: "风速",
- valueUnit: null,
+ valueUnit: 'm/s',
uniformCode: "AI066",
width: "150",
},
name: "风向",
+ valueUnit: '°',
uniformCode: "AI067",
name: "有功功率",
+ valueUnit: 'MW',
uniformCode: "AI114",
name: "机舱温度",
+ valueUnit: '℃',
uniformCode: "AI074",
name: "发电机转速",
+ valueUnit: 'rpm',
uniformCode: "AI060",
@@ -276,31 +276,31 @@ export default {
name: "日发电量",
+ valueUnit: "万kWh",
uniformCode: "RFDL",
name: "月发电量",
uniformCode: "YFDL",
name: "年发电量",
uniformCode: "NFDL",
name: "实时总功率",
+ valueUnit: "MW",
uniformCode: "SSZGL",
name: "实时平均风速",
+ valueUnit: "m/s",
uniformCode: "SSPJFS",