From 406f1a7ce20b00a45cc8f536e1b081e58b73d23b Mon Sep 17 00:00:00 2001 From: shilei <965026003@qq.com> Date: Fri, 26 Apr 2024 14:08:35 +0800 Subject: [PATCH] =?UTF-8?q?4.26=20=E4=BB=A3=E7=A0=81=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/battery_details/index.vue | 388 ++++++++++++++-------------- src/pages/swapping/index.vue | 167 ++++++------ 2 files changed, 272 insertions(+), 283 deletions(-) diff --git a/src/pages/battery_details/index.vue b/src/pages/battery_details/index.vue index e87f272..f970d75 100644 --- a/src/pages/battery_details/index.vue +++ b/src/pages/battery_details/index.vue @@ -16,7 +16,7 @@ } " > -
+
@@ -35,7 +35,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.fhvPwrOnStatus == null + dataList == null ? "--" : dataList.fhvPwrOnStatus || dataList.fhvPwrOnStatus == 0 ? "信号未定义" @@ -53,7 +53,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.fhvPwrOffRuquest == null + dataList == null ? "--" : dataList.fhvPwrOffRuquest || dataList.fhvPwrOffRuquest == 0 @@ -72,7 +72,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.plvPwrOffReady == null + dataList == null ? "--" : dataList.plvPwrOffReady || dataList.plvPwrOffReady == 0 ? "信号未定义" @@ -90,7 +90,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.fSbmuAddress == null ? "--" : dataList.fSbmuAddress + dataList == null ? "--" : dataList.fSbmuAddress }} @@ -99,7 +99,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.fReqDCChrgMode == null + dataList == null ? "--" : dataList.fReqDCChrgMode }} @@ -110,7 +110,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.fPackDispSOC == null ? "--" : dataList.fPackDispSOC + dataList == null ? "--" : dataList.fPackDispSOC }}% {{ - dataList.fPackRealSOH == null ? "--" : dataList.fPackRealSOH + dataList == null ? "--" : dataList.fPackRealSOH }}% {{ - dataList.fSysFltLvl == null + dataList == null ? "--" : dataList.fSysFltLvl || dataList.fSysFltLvl == 0 ? "正常" @@ -146,7 +146,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.mainAllowPwrOn == null + dataList == null ? "--" : dataList.mainAllowPwrOn || dataList.mainAllowPwrOn == 0 ? "信号未定义" @@ -164,7 +164,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.auxAllowPwrOn == null + dataList == null ? "--" : "dataList.auxAllowPwrOn" || dataList.auxAllowPwrOn == 0 ? "信号未定义" @@ -182,7 +182,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - dataList.reqDCChrgStop == null + dataList == null ? "--" : "dataList.reqDCChrgStop" || dataList.reqDCChrgStop == 0 ? "是" @@ -213,7 +213,7 @@ > {{ - alarmOneList.faL1CellOverVolt == null + alarmOneList == null ? "--" : alarmOneList.faL1CellOverVolt || alarmOneList.faL1CellOverVolt == 0 @@ -234,7 +234,7 @@ > {{ - alarmOneList.faL1CellUnderVolt == null + alarmOneList == null ? "--" : alarmOneList.faL1CellUnderVolt || alarmOneList.faL1CellUnderVolt == 0 @@ -255,7 +255,7 @@ > {{ - alarmOneList.aL1CellOverTemp == null + alarmOneList == null ? "--" : alarmOneList.aL1CellOverTemp || alarmOneList.aL1CellOverTemp == 0 @@ -276,7 +276,7 @@ > {{ - alarmOneList.aL1CellUnderTemp == null + alarmOneList == null ? "--" : alarmOneList.aL1CellUnderTemp || alarmOneList.aL1CellUnderTemp == 0 @@ -298,7 +298,7 @@ > {{ - alarmOneList.aL1PackOverVolt == null + alarmOneList == null ? "--" : alarmOneList.aL1PackOverVolt || alarmOneList.aL1PackOverVolt == 0 @@ -320,7 +320,7 @@ > {{ - alarmOneList.aL1PackUnderVolt == null + alarmOneList == null ? "--" : "alarmOneList.aL1PackUnderVolt" || alarmOneList.aL1PackUnderVolt == 0 @@ -341,7 +341,7 @@ > {{ - alarmOneList.aL1ChrgOverCurrFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1ChrgOverCurrFlt || alarmOneList.aL1ChrgOverCurrFlt == 0 @@ -362,7 +362,7 @@ > {{ - alarmOneList.aL1BranDchrgOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1BranDchrgOvrCurFlt || alarmOneList.aL1BranDchrgOvrCurFlt == 0 @@ -383,7 +383,7 @@ > {{ - alarmOneList.aL1PackDchrgOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1PackDchrgOvrCurFlt || alarmOneList.aL1PackDchrgOvrCurFlt == 0 @@ -404,7 +404,7 @@ > {{ - alarmOneList.aL1BranRechrgOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1BranRechrgOvrCurFlt || alarmOneList.aL1BranRechrgOvrCurFlt == 0 @@ -425,7 +425,7 @@ > {{ - alarmOneList.aL1PackRechrgOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1PackRechrgOvrCurFlt || alarmOneList.aL1PackRechrgOvrCurFlt == 0 @@ -446,7 +446,7 @@ > {{ - alarmOneList.aL1ContBranReOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1ContBranReOvrCurFlt || alarmOneList.aL1ContBranReOvrCurFlt == 0 @@ -467,7 +467,7 @@ > {{ - alarmOneList.aL1ContPackReOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1ContPackReOvrCurFlt || alarmOneList.aL1ContPackReOvrCurFlt == 0 @@ -488,7 +488,7 @@ > {{ - alarmOneList.aL1ContBranDisOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1ContBranDisOvrCurFlt || alarmOneList.aL1ContBranDisOvrCurFlt == 0 @@ -509,7 +509,7 @@ > {{ - alarmOneList.aL1ContPackDisOvrCurFlt == null + alarmOneList == null ? "--" : alarmOneList.aL1ContPackDisOvrCurFlt || alarmOneList.aL1ContPackDisOvrCurFlt == 0 @@ -530,7 +530,7 @@ > {{ - alarmOneList.aL1PackOverSOC == null + alarmOneList == null ? "--" : alarmOneList.aL1PackOverSOC || alarmOneList.aL1PackOverSOC == 0 @@ -568,7 +568,7 @@ > {{ - alarmTwoList.aL2SampLineOpnFlg == null + alarmTwoList == null ? "--" : alarmTwoList.aL2SampLineOpnFlg || alarmTwoList.aL2SampLineOpnFlg == 0 @@ -585,7 +585,7 @@ > {{ - alarmTwoList.aL2VoltOutOfRangeFlg == null + alarmTwoList == null ? "--" : alarmTwoList.aL2VoltOutOfRangeFlg || alarmTwoList.aL2VoltOutOfRangeFlg == 0 @@ -602,7 +602,7 @@ > {{ - alarmTwoList.aL2SysNTCMinorFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2SysNTCMinorFlt || alarmTwoList.aL2SysNTCMinorFlt == 0 @@ -619,7 +619,7 @@ > {{ - alarmTwoList.aL2SysNTCSeriousFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2SysNTCSeriousFlt || alarmTwoList.aL2SysNTCSeriousFlt == 0 @@ -637,7 +637,7 @@ > {{ - alarmTwoList.aL2DaisyChainComLost == null + alarmTwoList == null ? "--" : alarmTwoList.aL2DaisyChainComLost || alarmTwoList.aL2DaisyChainComLost == 0 @@ -655,7 +655,7 @@ > {{ - alarmTwoList.aL2PackSOCJumpFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2PackSOCJumpFlt || alarmTwoList.aL2PackSOCJumpFlt == 0 @@ -672,7 +672,7 @@ > {{ - alarmTwoList.aL2HeatFlmFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2HeatFlmFlt || alarmTwoList.aL2HeatFlmFlt == 0 @@ -689,7 +689,7 @@ > {{ - alarmTwoList.aL2BranchMsdOffWarn == null + alarmTwoList == null ? "--" : alarmTwoList.aL2BranchMsdOffWarn || alarmTwoList.aL2BranchMsdOffWarn == 0 @@ -706,7 +706,7 @@ > {{ - alarmTwoList.aL2SysParaNotMatchFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2SysParaNotMatchFlt || alarmTwoList.aL2SysParaNotMatchFlt == 0 @@ -723,7 +723,7 @@ > {{ - alarmTwoList.aL2ChrgOvrDisCurrFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2ChrgOvrDisCurrFlt || alarmTwoList.aL2ChrgOvrDisCurrFlt == 0 @@ -740,7 +740,7 @@ > {{ - alarmTwoList.aL2ChrgOvrCurrLowTFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2ChrgOvrCurrLowTFlt || alarmTwoList.aL2ChrgOvrCurrLowTFlt == 0 @@ -757,7 +757,7 @@ > {{ - alarmTwoList.aL2ChrgOvrCurrNormTFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2ChrgOvrCurrNormTFlt || alarmTwoList.aL2ChrgOvrCurrNormTFlt == 0 @@ -774,7 +774,7 @@ > {{ - alarmTwoList.aL2FireAlarmFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2FireAlarmFlt || alarmTwoList.aL2FireAlarmFlt == 0 @@ -791,7 +791,7 @@ > {{ - alarmTwoList.aL2FireProbeComFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2FireProbeComFlt || alarmTwoList.aL2FireProbeComFlt == 0 @@ -808,7 +808,7 @@ > {{ - alarmTwoList.aL2CurrSensorFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2CurrSensorFlt || alarmTwoList.aL2CurrSensorFlt == 0 @@ -825,7 +825,7 @@ > {{ - alarmTwoList.aL2ACANComFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2ACANComFlt || alarmTwoList.aL2ACANComFlt == 0 @@ -842,7 +842,7 @@ > {{ - alarmTwoList.aL2CSUCommLostFlg == null + alarmTwoList == null ? "--" : alarmTwoList.aL2CSUCommLostFlg || alarmTwoList.aL2CSUCommLostFlg == 0 @@ -859,7 +859,7 @@ > {{ - alarmTwoList.aL2HVBMsgTimeOut == null + alarmTwoList == null ? "--" : alarmTwoList.aL2HVBMsgTimeOut || alarmTwoList.aL2HVBMsgTimeOut == 0 @@ -876,7 +876,7 @@ > {{ - alarmTwoList.aL2SCANLostFlg == null + alarmTwoList == null ? "--" : alarmTwoList.aL2SCANLostFlg || alarmTwoList.aL2SCANLostFlg == 0 @@ -893,7 +893,7 @@ > {{ - alarmTwoList.aL2BSPEOverTempFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2BSPEOverTempFlt || alarmTwoList.aL2BSPEOverTempFlt == 0 @@ -910,7 +910,7 @@ > {{ - alarmTwoList.aL2BSPEOverVoltFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2BSPEOverVoltFlt || alarmTwoList.aL2BSPEOverVoltFlt == 0 @@ -927,7 +927,7 @@ > {{ - alarmTwoList.aL2BSPEUnderVoltFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2BSPEUnderVoltFlt || alarmTwoList.aL2BSPEUnderVoltFlt == 0 @@ -944,7 +944,7 @@ > {{ - alarmTwoList.aL2FireAlarmFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2FireAlarmFlt || alarmTwoList.aL2FireAlarmFlt == 0 @@ -961,7 +961,7 @@ > {{ - alarmTwoList.aL2BMUPwrFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2BMUPwrFlt || alarmTwoList.aL2BMUPwrFlt == 0 @@ -978,7 +978,7 @@ > {{ - alarmTwoList.aL2HvilFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2HvilFlt || alarmTwoList.aL2HvilFlt == 0 ? "正常" @@ -994,7 +994,7 @@ > {{ - alarmTwoList.aL2BSPEAllFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2BSPEAllFlt || alarmTwoList.aL2BSPEAllFlt == 0 @@ -1011,7 +1011,7 @@ > {{ - alarmTwoList.aL2InnerHVOpnCircuitFlt == null + alarmTwoList == null ? "--" : alarmTwoList.aL2InnerHVOpnCircuitFlt || alarmTwoList.aL2InnerHVOpnCircuitFlt == 0 @@ -1028,7 +1028,7 @@ > {{ - alarmTwoList.aL2CellOverDisChrgWarn == null + alarmTwoList == null ? "--" : alarmTwoList.aL2CellOverDisChrgWarn || alarmTwoList.aL2CellOverDisChrgWarn == 0 @@ -1065,7 +1065,7 @@ > {{ - relaystatusList.branch1PosRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch1PosRlyStatus || relaystatusList.branch1PosRlyStatus == 0 @@ -1082,7 +1082,7 @@ > {{ - relaystatusList.branch1NegRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch1NegRlyStatus || relaystatusList.branch1NegRlyStatus == 0 @@ -1099,7 +1099,7 @@ > {{ - relaystatusList.branch2PosRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch2PosRlyStatus || relaystatusList.branch2PosRlyStatus == 0 @@ -1116,7 +1116,7 @@ > {{ - relaystatusList.branch2NegRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch2NegRlyStatus || relaystatusList.branch2NegRlyStatus == 0 @@ -1134,7 +1134,7 @@ > {{ - relaystatusList.branch3PosRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch3PosRlyStatus || relaystatusList.branch3PosRlyStatus == 0 @@ -1152,7 +1152,7 @@ > {{ - relaystatusList.branch3NegRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch3NegRlyStatus || relaystatusList.branch3NegRlyStatus == 0 @@ -1169,7 +1169,7 @@ > {{ - relaystatusList.branch4PosRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch4PosRlyStatus || relaystatusList.branch4PosRlyStatus == 0 @@ -1186,7 +1186,7 @@ > {{ - relaystatusList.branch4NegRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.branch4NegRlyStatu || relaystatusList.branch4NegRlyStatus == 0 @@ -1203,7 +1203,7 @@ > {{ - relaystatusList.mainPosRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.mainPosRlyStatus || relaystatusList.mainPosRlyStatus == 0 @@ -1220,7 +1220,7 @@ > {{ - relaystatusList.mainNegRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.mainNegRlyStatus || relaystatusList.mainNegRlyStatus == 0 @@ -1237,7 +1237,7 @@ > {{ - relaystatusList.aL2ChrgOvrCurrLowTFlt == null + relaystatusList == null ? "--" : relaystatusList.aL2ChrgOvrCurrLowTFlt || relaystatusList.aL2ChrgOvrCurrLowTFlt == 0 @@ -1254,7 +1254,7 @@ > {{ - relaystatusList.heatPosRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.heatPosRlyStatus || relaystatusList.heatPosRlyStatus == 0 @@ -1271,7 +1271,7 @@ > {{ - relaystatusList.heatNegRlyStatus == null + relaystatusList == null ? "--" : relaystatusList.heatNegRlyStatus || relaystatusList.heatNegRlyStatus == 0 @@ -1288,7 +1288,7 @@ > {{ - relaystatusList.branch1PosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch1PosRlyFlt || relaystatusList.branch1PosRlyFlt == 0 @@ -1309,7 +1309,7 @@ > {{ - relaystatusList.branch1NegRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch1NegRlyFlt || relaystatusList.branch1NegRlyFlt == 0 @@ -1330,7 +1330,7 @@ > {{ - relaystatusList.branch2PosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch2PosRlyFlt || relaystatusList.branch2PosRlyFlt == 0 @@ -1351,7 +1351,7 @@ > {{ - relaystatusList.branch2NegRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch2NegRlyFlt || relaystatusList.branch2NegRlyFlt == 0 @@ -1372,7 +1372,7 @@ > {{ - relaystatusList.branch3PosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch3PosRlyFlt || relaystatusList.branch3PosRlyFlt == 0 @@ -1394,7 +1394,7 @@ > {{ - relaystatusList.branch3NegRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch3NegRlyFlt || relaystatusList.branch3NegRlyFlt == 0 @@ -1415,7 +1415,7 @@ > {{ - relaystatusList.branch4PosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch4PosRlyFlt || relaystatusList.branch4PosRlyFlt == 0 @@ -1436,7 +1436,7 @@ > {{ - relaystatusList.branch4NegRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.branch4NegRlyFlt || relaystatusList.branch4NegRlyFlt == 0 @@ -1457,7 +1457,7 @@ > {{ - relaystatusList.mainPosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.mainPosRlyFlt || relaystatusList.mainPosRlyFlt == 0 @@ -1478,7 +1478,7 @@ > {{ - relaystatusList.mainNegRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.mainNegRlyFlt || relaystatusList.mainNegRlyFlt == 0 @@ -1499,7 +1499,7 @@ > {{ - relaystatusList.preChrgPosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.preChrgPosRlyFlt || relaystatusList.preChrgPosRlyFlt == 0 @@ -1520,7 +1520,7 @@ > {{ - relaystatusList.heatPosRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.heatPosRlyFlt || relaystatusList.heatPosRlyFlt == 0 @@ -1541,7 +1541,7 @@ > {{ - relaystatusList.heatNegRlyFlt == null + relaystatusList == null ? "--" : relaystatusList.heatNegRlyFlt || relaystatusList.heatNegRlyFlt == 0 @@ -1562,7 +1562,7 @@ > {{ - relaystatusList.branch1PosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch1PosRlyCoilFlt || relaystatusList.branch1PosRlyCoilFlt == 0 @@ -1579,7 +1579,7 @@ > {{ - relaystatusList.branch1NegRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch1NegRlyCoilFlt || relaystatusList.branch1NegRlyCoilFlt == 0 @@ -1597,7 +1597,7 @@ > {{ - relaystatusList.branch2PosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch2PosRlyCoilFlt || relaystatusList.branch2PosRlyCoilFlt == 0 @@ -1614,7 +1614,7 @@ > {{ - relaystatusList.branch2NegRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch2NegRlyCoilFlt || relaystatusList.branch2NegRlyCoilFlt == 0 @@ -1631,7 +1631,7 @@ > {{ - relaystatusList.branch3PosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch3PosRlyCoilFlt || relaystatusList.branch3PosRlyCoilFlt == 0 @@ -1648,7 +1648,7 @@ > {{ - relaystatusList.branch3NegRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch3NegRlyCoilFlt || relaystatusList.branch3NegRlyCoilFlt == 0 @@ -1665,7 +1665,7 @@ > {{ - relaystatusList.branch4PosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch4PosRlyCoilFlt || relaystatusList.branch4PosRlyCoilFlt == 0 @@ -1682,7 +1682,7 @@ > {{ - relaystatusList.branch4NegRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.branch4NegRlyCoilFlt || relaystatusList.branch4NegRlyCoilFlt == 0 @@ -1699,7 +1699,7 @@ > {{ - relaystatusList.mainPosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.mainPosRlyCoilFlt || relaystatusList.mainPosRlyCoilFlt == 0 @@ -1716,7 +1716,7 @@ > {{ - relaystatusList.mainNegRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.mainNegRlyCoilFlt || relaystatusList.mainNegRlyCoilFlt == 0 @@ -1733,7 +1733,7 @@ > {{ - relaystatusList.preChrgPosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.preChrgPosRlyCoilFlt || relaystatusList.preChrgPosRlyCoilFlt == 0 @@ -1750,7 +1750,7 @@ > {{ - relaystatusList.heatPosRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.heatPosRlyCoilFlt || relaystatusList.heatPosRlyCoilFlt == 0 @@ -1767,7 +1767,7 @@ > {{ - relaystatusList.heatNegRlyCoilFlt == null + relaystatusList == null ? "--" : relaystatusList.heatNegRlyCoilFlt || relaystatusList.heatNegRlyCoilFlt == 0 @@ -1799,7 +1799,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - ChargedischargecurrentList.pulseDischargeCurrent == null + ChargedischargecurrentList == null ? "--" : ChargedischargecurrentList.pulseDischargeCurrent }}A @@ -1809,7 +1809,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - ChargedischargecurrentList.continuousDischargeCurrent == null + ChargedischargecurrentList == null ? "--" : ChargedischargecurrentList.continuousDischargeCurrent }}A @@ -1819,7 +1819,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - ChargedischargecurrentList.pulseBackChargingStream == null + ChargedischargecurrentList == null ? "--" : ChargedischargecurrentList.pulseBackChargingStream }}A @@ -1829,7 +1829,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - ChargedischargecurrentList.continuousRechargeStream == null + ChargedischargecurrentList == null ? "--" : ChargedischargecurrentList.continuousRechargeStream }}A @@ -1856,7 +1856,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.chargingCurrent == null + runningstateList == null ? "--" : runningstateList.chargingCurrent }}A @@ -1866,7 +1866,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.chargingVoltage == null + runningstateList == null ? "--" : runningstateList.chargingVoltage }}V @@ -1876,7 +1876,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.fullMark == null + runningstateList == null ? "--" : runningstateList.fullMark || runningstateList.fullMark == 0 @@ -1892,7 +1892,7 @@ > {{ - runningstateList.voltageTooLow == null + runningstateList == null ? "--" : runningstateList.voltageTooLow || runningstateList.voltageTooLow == 0 @@ -1910,7 +1910,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.temperatureConvergence == null + runningstateList == null ? "--" : runningstateList.temperatureConvergence || runningstateList.temperatureConvergence == 0 @@ -1929,7 +1929,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.voltageCollection == null + runningstateList == null ? "--" : runningstateList.voltageCollection || runningstateList.voltageCollection == 0 @@ -1949,7 +1949,7 @@ > {{ - runningstateList.chargingEnableFlag == null + runningstateList == null ? "--" : runningstateList.chargingEnableFlag || runningstateList.chargingEnableFlag == 0 @@ -1966,7 +1966,7 @@ > {{ - runningstateList.chargeFaultFlag == null + runningstateList == null ? "--" : runningstateList.chargeFaultFlag || runningstateList.chargeFaultFlag == 0 @@ -1982,7 +1982,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.chargeStopCause == null + runningstateList == null ? "--" : runningstateList.chargeStopCause || runningstateList.chargeStopCause == 0 @@ -2003,7 +2003,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - runningstateList.lowTemperatureHeating == null + runningstateList == null ? "--" : runningstateList.lowTemperatureHeating || runningstateList.lowTemperatureHeating == 1 @@ -2043,7 +2043,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res1List.maxCellVolt == null ? "--" : res1List.maxCellVolt + res1List == null ? "--" : res1List.maxCellVolt }}V {{ - res1List.minCellVolt == null ? "--" : res1List.minCellVolt + res1List == null ? "--" : res1List.minCellVolt }}V {{ - res1List.maxCellVoltCSCNum == null + res1List == null ? "--" : res1List.fullMark || res1List.maxCellVoltCSCNum == 0 ? "CSC1" @@ -2085,7 +2085,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res1List.minCellVoltCSCNum == null + res1List == null ? "--" : res1List.minCellVoltCSCNum || res1List.minCellVoltCSCNum == 0 @@ -2114,7 +2114,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res1List.maxCellVoltCellNum == null + res1List == null ? "--" : res1List.maxCellVoltCellNum || res1List.maxCellVoltCellNum == 0 @@ -2141,7 +2141,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res1List.minCellVoltCellNum == null + res1List == null ? "--" : res1List.minCellVoltCellNum || res1List.minCellVoltCellNum == 0 @@ -2185,7 +2185,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res2List.maxCellTemp == null ? "--" : res2List.maxCellTemp + res2List == null ? "--" : res2List.maxCellTemp }}℃ {{ - res2List.minCellTemp == null ? "--" : res2List.minCellTemp + res2List == null ? "--" : res2List.minCellTemp }}℃ {{ - res2List.avgCellTemp == null ? "--" : res2List.avgCellTemp + res2List == null ? "--" : res2List.avgCellTemp }}℃ {{ - res2List.maxCellTempCSCNum == null + res2List == null ? "--" : res2List.maxCellTempCSCNum || res2List.maxCellTempCSCNum == 0 @@ -2238,7 +2238,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res2List.maxCellTempCellNum == null + res2List == null ? "--" : res2List.maxCellTempCellNum }} @@ -2248,7 +2248,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res2List.minCellTempCSCNum == null + res2List == null ? "--" : res2List.minCellTempCSCNum || res2List.minCellTempCSCNum == 0 @@ -2275,7 +2275,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res2List.minCellTempCellNum == null + res2List == null ? "--" : res2List.minCellTempCellNum }} @@ -2284,7 +2284,7 @@ label="平均单体电压" :labelStyle="{ 'text-align': 'right', width: '25%' }" > - {{ res2List.avgCellVolt == null ? "--" : res2List.avgCellVolt }} + {{ res2List == null ? "--" : res2List.avgCellVolt }}
@@ -2308,7 +2308,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res31List.sysAccuChrgEnergy == null + res31List == null ? "--" : res31List.sysAccuChrgEnergy }}kw·h @@ -2318,7 +2318,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res31List.sysAccuChrgCapacity == null + res31List == null ? "--" : res31List.sysAccuChrgCapacity }}Ah @@ -2345,7 +2345,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res32List.sysAccuDischrgEnergy == null + res32List == null ? "--" : res32List.sysAccuDischrgEnergy }}kw·h @@ -2355,7 +2355,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res32List.sysAccuDischrgCapacity == null + res32List == null ? "--" : res32List.sysAccuDischrgCapacity }}Ah @@ -2382,7 +2382,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res33List.sysAccuReChrgEnergy == null + res33List == null ? "--" : res33List.sysAccuReChrgEnergy }}kw·h @@ -2392,7 +2392,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res33List.sysAccuReChrgCapacity == null + res33List == null ? "--" : res33List.sysAccuReChrgCapacity }}Ah @@ -2420,7 +2420,7 @@ > {{ - res34List.isoVoltVld == null + res34List == null ? "--" : res34List.isoVoltVld || res34List.isoVoltVld == 0 ? "无效" @@ -2436,7 +2436,7 @@ > {{ - res34List.isoisoSampEnStatus == null + res34List == null ? "--" : res34List.isoisoSampEnStatus || res34List.isoisoSampEnStatus == 0 @@ -2453,7 +2453,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res33List.isoIsoResPos == null + res33List == null ? "--" : res33List.isoIsoResPos }}Ω @@ -2464,7 +2464,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res34List.isoIsoResNeg == null + res34List == null ? "--" : res34List.isoIsoResNeg }}Ω @@ -2475,7 +2475,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res34List.reminChrgTime == null + res34List == null ? "--" : res34List.reminChrgTime }}分钟 @@ -2502,7 +2502,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran1MaxCellVolt == null + res4List == null ? "--" : res4List.bran1MaxCellVolt }}V @@ -2512,7 +2512,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran1MinCellVolt == null + res4List == null ? "--" : res4List.bran1MinCellVolt }}V @@ -2523,7 +2523,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran1CellAvgVolt == null + res4List == null ? "--" : res4List.bran1CellAvgVolt }}V @@ -2534,7 +2534,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran2MaxCellVolt == null + res4List == null ? "--" : res4List.bran2MaxCellVolt }}V @@ -2545,7 +2545,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran2MinCellVolt == null + res4List == null ? "--" : res4List.bran2MinCellVolt }}V @@ -2555,7 +2555,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran2CellAvgVolt == null + res4List == null ? "--" : res4List.bran2CellAvgVolt }}V @@ -2565,7 +2565,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran3MaxCellVolt == null + res4List == null ? "--" : res4List.bran3MaxCellVolt }}V @@ -2575,7 +2575,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran3MinCellVolt == null + res4List == null ? "--" : res4List.bran3MinCellVolt }}V @@ -2585,7 +2585,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran3CellAvgVolt == null + res4List == null ? "--" : res4List.bran3CellAvgVolt }}V @@ -2595,7 +2595,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran4MaxCellVolt == null + res4List == null ? "--" : res4List.bran4MaxCellVolt }}V @@ -2605,7 +2605,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran4MinCellVolt == null + res4List == null ? "--" : res4List.bran4MinCellVolt }}V @@ -2615,7 +2615,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res4List.bran4CellAvgVolt == null + res4List == null ? "--" : res4List.bran4CellAvgVolt }}V @@ -2642,7 +2642,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran1MaxCellTemp == null + res5List == null ? "--" : res5List.bran1MaxCellTemp }}℃ @@ -2652,7 +2652,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran1MinCellTemp == null + res5List == null ? "--" : res5List.bran1MinCellTemp }}℃ @@ -2663,7 +2663,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran1CellAvgTemp == null + res5List == null ? "--" : res5List.bran1CellAvgTemp }}℃ @@ -2674,7 +2674,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran3MaxCellTemp == null + res5List == null ? "--" : res5List.bran3MaxCellTemp }}℃ @@ -2685,7 +2685,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran2MinCellTemp == null + res5List == null ? "--" : res5List.bran2MinCellTemp }}℃ @@ -2695,7 +2695,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran2CellAvgTemp == null + res5List == null ? "--" : res5List.bran2CellAvgTemp }}℃ @@ -2705,7 +2705,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran3MaxCellTemp == null + res5List == null ? "--" : res5List.bran3MaxCellTemp }}℃ @@ -2715,7 +2715,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran3MinCellTemp == null + res5List == null ? "--" : res5List.bran3MinCellTemp }}℃ @@ -2725,7 +2725,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran3CellAvgTemp == null + res5List == null ? "--" : res5List.bran3CellAvgTemp }}℃ @@ -2735,7 +2735,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran4MaxCellTemp == null + res5List == null ? "--" : res5List.bran4MaxCellTemp }}℃ @@ -2745,7 +2745,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran4MinCellTemp == null + res5List == null ? "--" : res5List.bran4MinCellTemp }}℃ @@ -2755,7 +2755,7 @@ :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > {{ - res5List.bran4CellAvgTemp == null + res5List == null ? "--" : res5List.bran4CellAvgTemp }}℃ @@ -2764,7 +2764,7 @@ label="Pack真实最小SOC(高精度)" :labelStyle="{ 'text-align': 'right', width: '16.6%' }" > - {{ res5List.packMinSOC == null ? "--" : res5List.packMinSOC }}% + {{ res5List == null ? "--" : res5List.packMinSOC }}%
@@ -2787,14 +2787,14 @@ label="CSC号" :labelStyle="{ 'text-align': 'right', width: '25%' }" > - {{ res6List.cscSumVNo == null ? "--" : res6List.cscSumVNo }} + {{ res6List == null ? "--" : res6List.cscSumVNo }} {{ - res6List.cscMaxCellVolt == null + res6List == null ? "--" : res6List.cscMaxCellVolt }}V @@ -2804,7 +2804,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res6List.cscMinCellVolt == null + res6List == null ? "--" : res6List.cscMinCellVolt }}V @@ -2814,7 +2814,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res6List.cscCellAvgVolt == null + res6List == null ? "--" : res6List.cscCellAvgVolt }}V @@ -2840,14 +2840,14 @@ label="CSC号" :labelStyle="{ 'text-align': 'right', width: '25%' }" > - {{ res7List.cscSumTNo == null ? "--" : res7List.cscSumTNo }} + {{ res7List == null ? "--" : res7List.cscSumTNo }} {{ - res7List.cscMaxCellTemp == null + res7List == null ? "--" : res7List.cscMaxCellTemp }}℃ @@ -2857,7 +2857,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res7List.cscMinCellTemp == null + res7List == null ? "--" : res7List.cscMinCellTemp }}℃ @@ -2867,7 +2867,7 @@ :labelStyle="{ 'text-align': 'right', width: '25%' }" > {{ - res7List.cscAvgCellTemp == null + res7List == null ? "--" : res7List.cscAvgCellTemp }}℃ @@ -3434,28 +3434,28 @@ export default { // this.getAlarmOnelist(); // this.getList() // }, 3000); - this.getList(); - this.getAlarmOnelist(); - this.getAlarmTwolist(); - this.getRelaystatusList(); - this.getChargedischargecurrentList(); - this.getRunningstate(); + // this.getList(); + // this.getAlarmOnelist(); + // this.getAlarmTwolist(); + // this.getRelaystatusList(); + // this.getChargedischargecurrentList(); + // this.getRunningstate(); // - this.getSumvolt(); - this.getSumTemp(); - this.getChrgaccuInfo(); - this.getBrachSumvolT(); - this.getBrachSumtemp(); - this.getCscSumvolt(); - this.getCscSumtemp(); + // this.getSumvolt(); + // this.getSumTemp(); + // this.getChrgaccuInfo(); + // this.getBrachSumvolT(); + // this.getBrachSumtemp(); + // this.getCscSumvolt(); + // this.getCscSumtemp(); - this.handle_GetS2MBATTENERGYINFO1(); - this.handle_GetS2MBATTENERGYINFO2(); - this.handle_GetS2MBATTENERGYINFO3(); - this.handle_GetS2MBATTENERGYINFO4(); - this.handle_GetS2MBATTENERGYINFO5(); - this.handle_GetS2MBATTENERGYINFO6(); + // this.handle_GetS2MBATTENERGYINFO1(); + // this.handle_GetS2MBATTENERGYINFO2(); + // this.handle_GetS2MBATTENERGYINFO3(); + // this.handle_GetS2MBATTENERGYINFO4(); + // this.handle_GetS2MBATTENERGYINFO5(); + // this.handle_GetS2MBATTENERGYINFO6(); }, created() { // this.getAlarmTwolistHandler = alarmtwo; @@ -3464,18 +3464,7 @@ export default { // this.deleteHandler = destroy; // this.batchDeleteHandler = batchDelete; }, - filters: { - filterResult(value) { - if (value == 1) { - return "正常"; - } else if (value == 2) { - return "中断"; - } else if (value == 3) { - return "其他"; - } - // console.log(value) - }, - }, + methods: { moment, //打开弹框获取信息 @@ -3637,9 +3626,10 @@ export default { \ No newline at end of file +