英文版本配置,部分报错问题修复

This commit is contained in:
2025-08-14 14:41:36 +08:00
parent 79d755fbad
commit de8e81a5e2
19 changed files with 188 additions and 187 deletions

View File

@ -28,7 +28,7 @@
<view class="item-num">{{panelData.cabinetTemperatureLeft | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.leftTemCabin')}}()</view>
<view class="item-title">{{$t('homePage.device.leftTemCabin')}}()</view>
</view>
</view>
@ -43,7 +43,7 @@
<view class="item-num">{{panelData.cabinetHumidityLeft | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.leftHubCabin')}}(%)</view>
<view class="item-title">{{$t('homePage.device.leftHubCabin')}}(%)</view>
</view>
</view>
@ -58,7 +58,7 @@
<view class="item-num">{{panelData.cabinetTemperatureRight | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.rightTemCabin')}}()</view>
<view class="item-title">{{$t('homePage.device.rightTemCabin')}}()</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.rightHubCabin'), 'wet', 'transmitter','%','','右')">
@ -72,7 +72,7 @@
<view class="item-num">{{panelData.cabinetHumidityRight | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.rightHubCabin')}}(%)</view>
<view class="item-title">{{$t('homePage.device.rightHubCabin')}}(%)</view>
</view>
</view>
@ -88,7 +88,7 @@
<view class="item-num">{{panelData.outputPower | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackCurrent')}}(A)</view>
<view class="item-title">{{$t('homePage.device.stackCurrent')}}(A)</view>
</view>
</view>
@ -103,7 +103,7 @@
<view class="item-num">{{panelData.stackTotalVol | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackTotalVol')}}(V)</view>
<view class="item-title">{{$t('homePage.device.stackTotalVol')}}(V)</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.stackTotalCurrent'), 'stackTotalCurrent', 'bms','A','')">
@ -117,7 +117,7 @@
<view class="item-num">{{panelData.stackTotalCurrent | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackTotalCurrent')}}(A)</view>
<view class="item-title">{{$t('homePage.device.stackTotalCurrent')}}(A)</view>
</view>
</view>
@ -132,7 +132,7 @@
<view class="item-num">{{panelData.soc | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackSoc')}}(%)</view>
<view class="item-title">{{$t('homePage.device.stackSoc')}}(%)</view>
</view>
</view>
@ -147,7 +147,7 @@
<view class="item-num">{{(panelData.totalCharge / 1000).toFixed(2) | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.CumulativeCharge')}}(MWh)</view>
<view class="item-title">{{$t('homePage.device.CumulativeCharge')}}(MWh)</view>
</view>
</view>
<view class="group-item" @click="showHistory($t('homePage.device.CumulativeDischarge'), 'totalDischarge', 'bms','kWh','')">
@ -161,7 +161,7 @@
<view class="item-num">{{(panelData.totalDischarge / 1000).toFixed(2) | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.CumulativeDischarge')}}(MWh)</view>
<view class="item-title">{{$t('homePage.device.CumulativeDischarge')}}(MWh)</view>
</view>
</view>
@ -177,7 +177,7 @@
<view class="item-num">{{panelData.stackInsulationPositiveResistance | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.zdz')}}()</view>
<view class="item-title">{{$t('homePage.device.zdz')}}()</view>
</view>
</view>
@ -193,7 +193,7 @@
<view class="item-num">{{panelData.stackInsulationNegativeResistance | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.fdz')}}()</view>
<view class="item-title">{{$t('homePage.device.fdz')}}()</view>
</view>
</view>
@ -208,7 +208,7 @@
<view class="item-num">{{panelData.rechargeCapacity | kwhFormat}}
</view>
<view class="item-title">{{this.$t('homePage.device.rechargeCapacity')}}({{panelData.rechargeCapacity | kwhUnitFormat}})</view>
<view class="item-title">{{$t('homePage.device.rechargeCapacity')}}({{panelData.rechargeCapacity | kwhUnitFormat}})</view>
</view>
</view>
@ -222,7 +222,7 @@
<view class="item-con">
<view class="item-num">{{panelData.dischargeCapacity | kwhFormat}}
</view>
<view class="item-title">{{this.$t('homePage.device.dischargeCapacity')}}({{panelData.dischargeCapacity | kwhUnitFormat}})</view>
<view class="item-title">{{$t('homePage.device.dischargeCapacity')}}({{panelData.dischargeCapacity | kwhUnitFormat}})</view>
</view>
</view>
</view>
@ -238,7 +238,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.totalMaxVolData')}}
{{$t('homePage.device.totalMaxVolData')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
@ -248,7 +248,7 @@
</view>
</view>
<view class="bottom-value">
{{this.$t('homePage.device.stackCell')}}{{panelData.totalMaxVolNum | isNull}}
{{$t('homePage.device.stackCell')}}{{panelData.totalMaxVolNum | isNull}}
</view>
</view>
@ -259,7 +259,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.totalMinVolData')}}
{{$t('homePage.device.totalMinVolData')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
@ -269,7 +269,7 @@
</view>
</view>
<view class="bottom-value">
{{this.$t('homePage.device.stackCell')}}{{panelData.totalMinVolNum | isNull}}
{{$t('homePage.device.stackCell')}}{{panelData.totalMinVolNum | isNull}}
</view>
</view>
@ -280,7 +280,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxvolDiff')}}
{{$t('homePage.device.maxvolDiff')}}
</view>
<view class="value">
{{(panelData.singleMaxVolData - panelData.singleMinVolData).toFixed(3) | isNull }}V
@ -296,7 +296,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxCellVol')}}
{{$t('homePage.device.maxCellVol')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
@ -307,15 +307,15 @@
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{panelData.singleMaxVolNum | isNull}}
{{$t('homePage.device.stackNum')}}{{panelData.singleMaxVolNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{panelData.singleMaxVolBMUNum | isNull}}
{{$t('homePage.device.groupNum')}}{{panelData.singleMaxVolBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{panelData.singleMaxVolBoxNum | isNull}}
{{$t('homePage.device.cellLocation')}}{{panelData.singleMaxVolBoxNum | isNull}}
</view>
</view>
@ -328,7 +328,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.minCellVol')}}
{{$t('homePage.device.minCellVol')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
@ -339,15 +339,15 @@
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{panelData.singleMinVolNum | isNull}}
{{$t('homePage.device.stackNum')}}{{panelData.singleMinVolNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{panelData.singleMinVolBMUNum | isNull}}
{{$t('homePage.device.groupNum')}}{{panelData.singleMinVolBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{panelData.singleMinVolBoxNum | isNull}}
{{$t('homePage.device.cellLocation')}}{{panelData.singleMinVolBoxNum | isNull}}
</view>
</view>
@ -359,7 +359,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxTemDiff')}}
{{$t('homePage.device.maxTemDiff')}}
</view>
<view class="value">
{{ panelData.singleMaxTemData - panelData.singleMinTemData | isNull}}
@ -375,7 +375,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxCellTem')}}
{{$t('homePage.device.maxCellTem')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
@ -386,15 +386,15 @@
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{ panelData.singleMaxTemNum | isNull}}
{{$t('homePage.device.stackNum')}}{{ panelData.singleMaxTemNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{ panelData.singleMaxTemBMUNum | isNull}}
{{$t('homePage.device.groupNum')}}{{ panelData.singleMaxTemBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{ panelData.singleMaxTemBoxNum | isNull}}
{{$t('homePage.device.cellLocation')}}{{ panelData.singleMaxTemBoxNum | isNull}}
</view>
</view>
@ -406,7 +406,7 @@
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.minCellTem')}}
{{$t('homePage.device.minCellTem')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
@ -417,15 +417,15 @@
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{ panelData.singleMinTemNum | isNull}}
{{$t('homePage.device.stackNum')}}{{ panelData.singleMinTemNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{ panelData.singleMinTemBMUNum | isNull}}
{{$t('homePage.device.groupNum')}}{{ panelData.singleMinTemBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{ panelData.singleMinTemBoxNum | isNull }}
{{$t('homePage.device.cellLocation')}}{{ panelData.singleMinTemBoxNum | isNull }}
</view>
</view>