From 09ef384736eff542e64a4deced704a6bec649324 Mon Sep 17 00:00:00 2001
From: zz <2510566342@qq.com>
Date: Thu, 18 Apr 2024 11:04:16 +0800
Subject: [PATCH] =?UTF-8?q?4.18=20=E4=B8=8A=E5=8D=88=E7=AC=AC=E4=B8=80?=
=?UTF-8?q?=E6=AC=A1=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/battery_details/index.vue | 1981 +++++++++++++++++++++++++
src/pages/charging/index.vue | 1 +
src/router/async/router.map.js | 13 +
src/services/api.js | 10 +-
src/services/battery_details/index.js | 56 +
5 files changed, 2059 insertions(+), 2 deletions(-)
create mode 100644 src/pages/battery_details/index.vue
create mode 100644 src/services/battery_details/index.js
diff --git a/src/pages/battery_details/index.vue b/src/pages/battery_details/index.vue
new file mode 100644
index 0000000..80de10d
--- /dev/null
+++ b/src/pages/battery_details/index.vue
@@ -0,0 +1,1981 @@
+
+
+
+
+
+
+
+ {{
+ dataList.fhvPwrOnStatus == null
+ ? "--"
+ : dataList.fhvPwrOnStatus || dataList.fhvPwrOnStatus == 0
+ ? "信号未定义"
+ : "--" || dataList.fhvPwrOnStatus == 1
+ ? "离线"
+ : "--" || dataList.fhvPwrOnStatus == 2
+ ? "在线"
+ : "--" || dataList.fhvPwrOnStatus == 3
+ ? "信号无效"
+ : "--"
+ }}
+
+
+ {{
+ dataList.fhvPwrOffRuquest == null
+ ? "--"
+ : dataList.fhvPwrOffRuquest || dataList.fhvPwrOffRuquest == 0
+ ? "信号未定义"
+ : "--" || dataList.fhvPwrOffRuquest == 1
+ ? "非激活"
+ : "--" || dataList.fhvPwrOffRuquest == 2
+ ? "激活"
+ : "--" || dataList.fhvPwrOffRuquest == 3
+ ? "信号无效"
+ : "--"
+ }}
+
+
+ {{
+ dataList.plvPwrOffReady == null
+ ? "--"
+ : dataList.plvPwrOffReady || dataList.plvPwrOffReady == 0
+ ? "信号未定义"
+ : "--" || dataList.plvPwrOffReady == 1
+ ? "否"
+ : "--" || dataList.plvPwrOffReady == 2
+ ? "是"
+ : "--" || dataList.plvPwrOffReady == 3
+ ? "信号无效"
+ : "--"
+ }}
+
+
+ {{ dataList.fSbmuAddress == null ? "--" : dataList.fSbmuAddress }}
+
+
+
+ {{
+ dataList.fReqDCChrgMode == null ? "--" : dataList.fReqDCChrgMode
+ }}
+
+
+
+ {{ dataList.fPackDispSOC == null ? "--" : dataList.fPackDispSOC }}%
+
+
+ {{ dataList.fPackRealSOH == null ? "--" : dataList.fPackRealSOH }}%
+
+
+
+ {{
+ dataList.fSysFltLvl == null
+ ? "--"
+ : dataList.fSysFltLvl || dataList.fSysFltLvl == 0
+ ? "正常"
+ : "--" || dataList.fSysFltLvl == 1
+ ? "等级一"
+ : "--" || dataList.fSysFltLvl == 2
+ ? "等级二"
+ : "--" || dataList.fSysFltLvl == 3
+ ? "等级三"
+ : "--"
+ }}
+
+
+
+ {{
+ dataList.mainAllowPwrOn == null
+ ? "--"
+ : dataList.mainAllowPwrOn || dataList.mainAllowPwrOn == 0
+ ? "信号未定义"
+ : "--" || dataList.mainAllowPwrOn == 1
+ ? "否"
+ : "--" || dataList.mainAllowPwrOn == 2
+ ? "是"
+ : "--" || dataList.mainAllowPwrOn == 3
+ ? "信号无效"
+ : "--"
+ }}
+
+
+ {{
+ dataList.auxAllowPwrOn == null
+ ? "--"
+ : "dataList.auxAllowPwrOn" || dataList.auxAllowPwrOn == 0
+ ? "信号未定义"
+ : "--" || dataList.auxAllowPwrOn == 1
+ ? "否"
+ : "--" || dataList.auxAllowPwrOn == 2
+ ? "是"
+ : "--" || dataList.auxAllowPwrOn == 3
+ ? "信号无效"
+ : "--"
+ }}
+
+
+ {{
+ dataList.reqDCChrgStop == null
+ ? "--"
+ : "dataList.reqDCChrgStop" || dataList.reqDCChrgStop == 0
+ ? "是"
+ : "--" || dataList.reqDCChrgStop == 1
+ ? "是"
+ : "--"
+ }}
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ alarmOneList.faL1CellOverVolt == null
+ ? "--"
+ : alarmOneList.faL1CellOverVolt ||
+ alarmOneList.faL1CellOverVolt == 0
+ ? "正常"
+ : "--" || alarmOneList.faL1CellOverVolt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.faL1CellOverVolt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.faL1CellOverVolt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.faL1CellUnderVolt == null
+ ? "--"
+ : alarmOneList.faL1CellUnderVolt ||
+ alarmOneList.faL1CellUnderVolt == 0
+ ? "正常"
+ : "--" || alarmOneList.faL1CellUnderVolt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.faL1CellUnderVolt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.faL1CellUnderVolt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1CellOverTemp == null
+ ? "--"
+ : alarmOneList.aL1CellOverTemp ||
+ alarmOneList.aL1CellOverTemp == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1CellOverTemp == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1CellOverTemp == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1CellOverTemp == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1CellUnderTemp == null
+ ? "--"
+ : alarmOneList.aL1CellUnderTemp ||
+ alarmOneList.aL1CellUnderTemp == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1CellUnderTemp == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1CellUnderTemp == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1CellUnderTemp == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ alarmOneList.aL1PackOverVolt == null
+ ? "--"
+ : alarmOneList.aL1PackOverVolt ||
+ alarmOneList.aL1PackOverVolt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1PackOverVolt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1PackOverVolt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1PackOverVolt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ alarmOneList.aL1PackUnderVolt == null
+ ? "--"
+ : "alarmOneList.aL1PackUnderVolt" ||
+ alarmOneList.aL1PackUnderVolt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1PackUnderVolt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1PackUnderVolt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1PackUnderVolt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1ChrgOverCurrFlt == null
+ ? "--"
+ : alarmOneList.aL1ChrgOverCurrFlt ||
+ alarmOneList.aL1ChrgOverCurrFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1ChrgOverCurrFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1ChrgOverCurrFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1ChrgOverCurrFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1BranDchrgOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1BranDchrgOvrCurFlt ||
+ alarmOneList.aL1BranDchrgOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1BranDchrgOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1BranDchrgOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1BranDchrgOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1PackDchrgOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1PackDchrgOvrCurFlt ||
+ alarmOneList.aL1PackDchrgOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1PackDchrgOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1PackDchrgOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1PackDchrgOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1BranRechrgOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1BranRechrgOvrCurFlt ||
+ alarmOneList.aL1BranRechrgOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1BranRechrgOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1BranRechrgOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1BranRechrgOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1PackRechrgOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1PackRechrgOvrCurFlt ||
+ alarmOneList.aL1PackRechrgOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1PackRechrgOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1PackRechrgOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1PackRechrgOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1ContBranReOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1ContBranReOvrCurFlt ||
+ alarmOneList.aL1ContBranReOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1ContBranReOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1ContBranReOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1ContBranReOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1ContPackReOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1ContPackReOvrCurFlt ||
+ alarmOneList.aL1ContPackReOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1ContPackReOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1ContPackReOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1ContPackReOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1ContBranDisOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1ContBranDisOvrCurFlt ||
+ alarmOneList.aL1ContBranDisOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1ContBranDisOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1ContBranDisOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1ContBranDisOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1ContPackDisOvrCurFlt == null
+ ? "--"
+ : alarmOneList.aL1ContPackDisOvrCurFlt ||
+ alarmOneList.aL1ContPackDisOvrCurFlt == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1ContPackDisOvrCurFlt == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1ContPackDisOvrCurFlt == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1ContPackDisOvrCurFlt == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmOneList.aL1PackOverSOC == null
+ ? "--"
+ : alarmOneList.aL1PackOverSOC ||
+ alarmOneList.aL1PackOverSOC == 0
+ ? "正常"
+ : "--" || alarmOneList.aL1PackOverSOC == 1
+ ? "一级报警"
+ : "--" || alarmOneList.aL1PackOverSOC == 2
+ ? "二级报警"
+ : "--" || alarmOneList.aL1PackOverSOC == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ alarmTwoList.aL2SampLineOpnFlg == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2SampLineOpnFlg == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2VoltOutOfRangeFlg == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2VoltOutOfRangeFlg == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2SysNTCMinorFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2SysNTCMinorFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2SysNTCSeriousFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2SysNTCSeriousFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ alarmTwoList.aL2DaisyChainComLost == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2DaisyChainComLost == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ alarmTwoList.aL2PackSOCJumpFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2PackSOCJumpFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2HeatFlmFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2HeatFlmFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2BranchMsdOffWarn == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2BranchMsdOffWarn == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2SysParaNotMatchFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2SysParaNotMatchFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2ChrgOvrDisCurrFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2ChrgOvrDisCurrFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2ChrgOvrCurrLowTFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2ChrgOvrCurrLowTFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2ChrgOvrCurrNormTFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2ChrgOvrCurrNormTFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2FireAlarmFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2FireAlarmFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2FireProbeComFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2FireProbeComFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2CurrSensorFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2CurrSensorFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2ACANComFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2ACANComFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2CSUCommLostFlg == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2CSUCommLostFlg == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2HVBMsgTimeOut == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2HVBMsgTimeOut == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2SCANLostFlg == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2SCANLostFlg == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2BSPEOverTempFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2BSPEOverTempFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2BSPEOverVoltFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2BSPEOverVoltFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2BSPEUnderVoltFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2BSPEUnderVoltFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2FireAlarmFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2FireAlarmFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2BMUPwrFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2BMUPwrFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2HvilFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2HvilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2BSPEAllFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2BSPEAllFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2InnerHVOpnCircuitFlt == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2InnerHVOpnCircuitFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ alarmTwoList.aL2CellOverDisChrgWarn == 0
+ ? "正常"
+ : "--" || alarmTwoList.aL2CellOverDisChrgWarn == 1
+ ? "一级报警"
+ : "--" || alarmTwoList.aL2CellOverDisChrgWarn == 2
+ ? "二级报警"
+ : "--" || alarmTwoList.aL2CellOverDisChrgWarn == 3
+ ? "三级报警"
+ : "--"
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ relaystatusList.branch1PosRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch1PosRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch1NegRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch1NegRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch2PosRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch2PosRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch2NegRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch2NegRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ relaystatusList.branch3PosRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch3PosRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ relaystatusList.branch3NegRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch3NegRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch4PosRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch4PosRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch4NegRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.branch4NegRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.mainPosRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.mainPosRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.mainNegRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.mainNegRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.aL2ChrgOvrCurrLowTFlt == 0
+ ? "打开"
+ : "--" || relaystatusList.preChrgRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.heatPosRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.heatPosRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.heatNegRlyStatus == 0
+ ? "打开"
+ : "--" || relaystatusList.heatNegRlyStatus == 1
+ ? "关闭"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch1PosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch1PosRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch1PosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch1PosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch1NegRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch1NegRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch1NegRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch1NegRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch2PosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch2PosRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch2PosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch2PosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch2NegRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch2NegRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch2NegRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch2NegRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch3PosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch3PosRlyFlt == 1
+ ? "关闭"
+ : "--" || alarmTrelaystatusListwoList.branch3PosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch3PosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch3NegRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch3NegRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch3NegRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch3NegRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch4PosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch4PosRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch4PosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch4PosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch4NegRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch4NegRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.branch4NegRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.branch4NegRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.mainPosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.mainPosRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.mainPosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.mainPosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.mainNegRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.mainNegRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.mainNegRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.mainNegRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.preChrgPosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.preChrgPosRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.preChrgPosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.preChrgPosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.heatPosRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.heatPosRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.heatPosRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.heatPosRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.heatNegRlyFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.heatNegRlyFlt == 1
+ ? "关闭"
+ : "--" || relaystatusList.heatNegRlyFlt == 2
+ ? "打开"
+ : "--" || relaystatusList.heatNegRlyFlt == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch1PosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch1PosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch1NegRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch1NegRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ relaystatusList.branch2PosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch2PosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch2NegRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch2NegRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch3PosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch3PosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch3NegRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch3NegRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch4PosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch4PosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.branch4NegRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.branch4NegRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.mainPosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.mainPosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.mainNegRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.mainNegRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.preChrgPosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.preChrgPosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.heatPosRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.heatPosRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+ {{
+ relaystatusList.heatNegRlyCoilFlt == 0
+ ? "正常"
+ : "--" || relaystatusList.heatNegRlyCoilFlt == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ ChargedischargecurrentList.pulseDischargeCurrent == null
+ ? "--"
+ : ChargedischargecurrentList.pulseDischargeCurrent }}A
+
+
+ {{ ChargedischargecurrentList.continuousDischargeCurrent == null
+ ? "--"
+ : ChargedischargecurrentList.continuousDischargeCurrent }}A
+
+
+ {{ ChargedischargecurrentList.pulseBackChargingStream == null
+ ? "--"
+ : ChargedischargecurrentList.pulseBackChargingStream }}A
+
+
+ {{ ChargedischargecurrentList.continuousRechargeStream == null
+ ? "--"
+ : ChargedischargecurrentList.continuousRechargeStream }}A
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ runningstateList.chargingCurrent == null
+ ? "--"
+ : runningstateList.chargingCurrent
+ }}A
+
+
+ {{
+ runningstateList.chargingVoltage == null
+ ? "--"
+ : runningstateList.chargingVoltage
+ }}V
+
+
+ {{
+ runningstateList.fullMark == null
+ ? "--"
+ : runningstateList.fullMark || runningstateList.fullMark == 0
+ ? "非充满"
+ : "--" || runningstateList.fullMark == 1
+ ? "充满"
+ : "--"
+ }}
+
+
+
+ {{
+ runningstateList.voltageTooLow == null
+ ? "--"
+ : runningstateList.voltageTooLow ||
+ runningstateList.voltageTooLow == 0
+ ? "正常"
+ : "--" || runningstateList.voltageTooLow == 1
+ ? "警报"
+ : "--"
+ }}
+
+
+
+
+
+ {{
+ runningstateList.temperatureConvergence == null
+ ? "--"
+ : runningstateList.temperatureConvergence ||
+ runningstateList.temperatureConvergence == 0
+ ? "数据无效"
+ : "--" || runningstateList.temperatureConvergence == 1
+ ? "数据部分有效"
+ : "--" || runningstateList.temperatureConvergence == 2
+ ? "数据全部有效"
+ : "--" || runningstateList.temperatureConvergence == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+ {{
+ runningstateList.voltageCollection == null
+ ? "--"
+ : runningstateList.voltageCollection ||
+ runningstateList.voltageCollection == 0
+ ? "数据无效"
+ : "--" || runningstateList.voltageCollection == 1
+ ? "数据部分有效"
+ : "--" || runningstateList.voltageCollection == 2
+ ? "数据全部有效"
+ : "--" || runningstateList.voltageCollection == 3
+ ? "无效"
+ : "--"
+ }}
+
+
+
+ {{
+ runningstateList.chargingEnableFlag == null
+ ? "--"
+ : runningstateList.chargingEnableFlag ||
+ runningstateList.chargingEnableFlag == 0
+ ? "禁用"
+ : "--" || runningstateList.chargingEnableFlag == 1
+ ? "使能"
+ : "--"
+ }}
+
+
+
+
+ {{
+ runningstateList.chargeFaultFlag == null
+ ? "--"
+ : runningstateList.chargeFaultFlag ||
+ runningstateList.chargeFaultFlag == 0
+ ? "充电故障"
+ : "--" || runningstateList.chargeFaultFlag == 1
+ ? "正常"
+ : "--"
+ }}
+
+
+
+ {{
+ runningstateList.chargeStopCause == null
+ ? "--"
+ : runningstateList.chargeStopCause ||
+ runningstateList.chargeStopCause == 0
+ ? "未停止充电"
+ : "--" || runningstateList.chargeStopCause == 1
+ ? "SOC到达停止"
+ : "--" || runningstateList.chargeStopCause == 2
+ ? "电池电压到达停止"
+ : "--" || runningstateList.chargeStopCause == 3
+ ? "电池组电压到达停止"
+ : "--" || runningstateList.chargeStopCause == 4
+ ? "其他故障停止"
+ : "--"
+ }}
+
+
+ {{
+ runningstateList.lowTemperatureHeating == null
+ ? "--"
+ : runningstateList.lowTemperatureHeating ||
+ runningstateList.lowTemperatureHeating == 1
+ ? "初始状态"
+ : "--" || runningstateList.lowTemperatureHeating == 2
+ ? "待机"
+ : "--" || runningstateList.lowTemperatureHeating == 3
+ ? "CC充电"
+ : "--" || runningstateList.lowTemperatureHeating == 4
+ ? "CV充电"
+ : "--" || runningstateList.lowTemperatureHeating == 5
+ ? "正常结束"
+ : "--" || runningstateList.lowTemperatureHeating == 6
+ ? "其他故障结束"
+ : "--"
+ }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/charging/index.vue b/src/pages/charging/index.vue
index 1e03daf..4ed81e4 100644
--- a/src/pages/charging/index.vue
+++ b/src/pages/charging/index.vue
@@ -7,6 +7,7 @@
Charging date monItoring screen
+
diff --git a/src/router/async/router.map.js b/src/router/async/router.map.js
index 82c70ab..b67e00c 100644
--- a/src/router/async/router.map.js
+++ b/src/router/async/router.map.js
@@ -495,6 +495,19 @@ const routerMap = {
component: () => import('@/pages/charge_battery/battery_maintain_log/index')
},
+// zz
+battery_details: {
+ path: 'battery_details',
+ name: '详情展示',
+ meta: {
+ authority: {
+ permission: 'battery_details'
+ }
+ },
+ component: () => import('@/pages/battery_details/index')
+},
+
+
fault_log: {
name: '故障日志',
diff --git a/src/services/api.js b/src/services/api.js
index 9fd6b31..8830ea7 100644
--- a/src/services/api.js
+++ b/src/services/api.js
@@ -20,8 +20,14 @@ module.exports = {
WriteColdTemperature: `${second_url}/HeatMonitor/WriteColdTemperature`, // 写入制冷温度
WriteHotTemperature: `${second_url}/HeatMonitor/WriteHotTemperature`, // 写入制冷温度
WriteWorkModelNo: `${second_url}/HeatMonitor/WriteWorkModelNo`, // 写入制冷温度
-
-
+// zzz
+
+Battery_Details: `${BASE_URL}/TBsBatteryPackStatus`,
+Battery_Alarm_One: `${BASE_URL}/TFlRealAlarmOne`,
+Battery_Alarm_Two: `${BASE_URL}/TFlRealAlarmTwo`,
+Relay_status: `${BASE_URL}/TBsRelayStatus`,
+Charge_discharge_current: `${BASE_URL}/TCdChargeDischargeCurrent`,
+Running_State: `${BASE_URL}/TBsRunningState`,
GetBattPerStatusCount: `${BASE_URL}/SwapMonitor/GetBattPerStatusCount`, // 换电大屏数据
GetPLCSwapParamsValue: `${BASE_URL}/SwapMonitor/GetPLCSwapParamsValue`, // GetPLCSwapParamsValue
diff --git a/src/services/battery_details/index.js b/src/services/battery_details/index.js
new file mode 100644
index 0000000..a87fd2c
--- /dev/null
+++ b/src/services/battery_details/index.js
@@ -0,0 +1,56 @@
+import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State} from '@/services/api'
+import { request, METHOD, } from '@/utils/request'
+
+// export async function index (data) {
+// return request(Battery_Maintain_Log, METHOD.GET, data)
+// }
+
+export async function index (data) {
+ return request( Battery_Details, METHOD.GET, data)
+}
+export async function alarmone (data) {
+ return request( Battery_Alarm_One, METHOD.GET, data)
+}
+export async function alarmtwo (data) {
+ return request( Battery_Alarm_Two, METHOD.GET, data)
+}
+export async function Relaystatus (data) {
+ return request( Relay_status, METHOD.GET, data)
+}
+export async function Chargedischargecurrent (data) {
+ return request( Charge_discharge_current, METHOD.GET, data)
+}
+
+export async function Runningstate (data) {
+ return request( Running_State, METHOD.GET, data)
+}
+
+
+// export async function store (data) {
+// return request(Battery_Maintain_Log, METHOD.POST, data)
+// }
+
+// export async function update (data) {
+// return request(Battery_Maintain_Log, METHOD.PUT, data)
+// }
+
+// export async function destroy (id) {
+// return request(Battery_Maintain_Log + '/' + id, METHOD.DELETE)
+// }
+
+// export async function batchDelete (data) {
+// return request(Battery_Maintain_Log + '/BatchDelete', METHOD.POST, data)
+// }
+
+export default {
+ index,
+ alarmone,
+ alarmtwo,
+ Relaystatus,
+ Chargedischargecurrent,
+ Runningstate,
+ // store,
+ // update,
+ // destroy,
+ // batchDelete
+}