修改 app
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
<view class="item item-title">畸变率(%)</view>
|
||||
<template v-for="(item, index) in renderData.电网电流">
|
||||
<view class="item">{{ item.phase }}</view>
|
||||
<view class="item">{{ item['Apf_RmsI_Sys(A)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_ThdA_Sys(%)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_RmsI_Sys(A)'] }}</view>
|
||||
<view class="item">{{ item['Apf_ThdA_Sys(%)'] }}</view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
@@ -22,9 +22,9 @@
|
||||
<view class="item item-title">畸变率(%)</view>
|
||||
<template v-for="(item, index) in renderData.电网电压">
|
||||
<view class="item">{{ item.phase }}</view>
|
||||
<view class="item">{{ item['Apf_PhV_Sys(V)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_Freq(Hz)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_ThdU_Sys(%)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_PhV_Sys(V)'] }}</view>
|
||||
<view class="item">{{ item['Apf_Freq(Hz)'] }}</view>
|
||||
<view class="item">{{ item['Apf_ThdU_Sys(%)'] }}</view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
@@ -36,8 +36,8 @@
|
||||
<view class="item item-title">畸变率(%)</view>
|
||||
<template v-for="(item, index) in renderData.负载电流">
|
||||
<view class="item">{{ item.phase }}</view>
|
||||
<view class="item">{{ item['Apf_RmsI_Load(A)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_ThdA_Load(%)'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_RmsI_Load(A)'] }}</view>
|
||||
<view class="item">{{ item['Apf_ThdA_Load(%)'] }}</view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
@@ -49,8 +49,8 @@
|
||||
<view class="item item-title">负载率(%)</view>
|
||||
<template v-for="(item, index) in renderData.补偿电流">
|
||||
<view class="item">{{ item.phase }}</view>
|
||||
<view class="item">{{ item['Apf_RmsI_TolOut(A)'] || '-' }}</view>
|
||||
<view class="item">{{ item['load_Rate'] || '-' }}</view>
|
||||
<view class="item">{{ item['Apf_RmsI_TolOut(A)'] }}</view>
|
||||
<view class="item">{{ item['load_Rate'] }}</view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
@@ -129,11 +129,11 @@ export default {
|
||||
return item2.phase === item.phase
|
||||
})
|
||||
if (index > -1) {
|
||||
this.renderData[key][index][item.statisticalName] = item.statisticalData || '-'
|
||||
this.renderData[key][index][item.statisticalName] = item.statisticalData //
|
||||
} else {
|
||||
this.renderData[key].push({
|
||||
phase: item.phase,
|
||||
[item.statisticalName]: item.statisticalData || '-',
|
||||
[item.statisticalName]: item.statisticalData //,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user