4.24下午第2次提交

main
zz 7 months ago
parent 4941ca2d6e
commit bfd2c3795b

@ -1,11 +1,29 @@
<template>
<a-modal
title="换电详情"
:width="1400"
:visible="visible"
:confirmLoading="loading"
@ok="
() => {
$emit('ok');
this.visible=false
}
"
@cancel="
() => {
this.visible=false
}
"
>
<div class="main_content_hei">
<a-card>
<div class="t_bs_battery_pack_statusmian">
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包状态信息</span
>
</div>
@ -37,7 +55,8 @@
{{
dataList.fhvPwrOffRuquest == null
? "--"
: dataList.fhvPwrOffRuquest || dataList.fhvPwrOffRuquest == 0
: dataList.fhvPwrOffRuquest ||
dataList.fhvPwrOffRuquest == 0
? "信号未定义"
: "--" || dataList.fhvPwrOffRuquest == 1
? "非激活"
@ -70,7 +89,9 @@
label="SBMU地址"
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{ dataList.fSbmuAddress == null ? "--" : dataList.fSbmuAddress }}
{{
dataList.fSbmuAddress == null ? "--" : dataList.fSbmuAddress
}}
</el-descriptions-item>
<!-- string -->
<el-descriptions-item
@ -78,7 +99,9 @@
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{
dataList.fReqDCChrgMode == null ? "--" : dataList.fReqDCChrgMode
dataList.fReqDCChrgMode == null
? "--"
: dataList.fReqDCChrgMode
}}
</el-descriptions-item>
@ -176,7 +199,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>报警部分1</span
>
</div>
@ -530,7 +554,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>报警部分2</span
>
</div>
@ -1026,7 +1051,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>继电器状态</span
>
</div>
@ -1353,7 +1379,8 @@
? "正常"
: "--" || relaystatusList.branch3PosRlyFlt == 1
? "关闭"
: "--" || alarmTrelaystatusListwoList.branch3PosRlyFlt == 2
: "--" ||
alarmTrelaystatusListwoList.branch3PosRlyFlt == 2
? "打开"
: "--" || relaystatusList.branch3PosRlyFlt == 3
? "无效"
@ -1759,7 +1786,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>充放电电流限制显示</span
>
</div>
@ -1815,7 +1843,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>运行状态</span
>
</div>
@ -1849,7 +1878,8 @@
{{
runningstateList.fullMark == null
? "--"
: runningstateList.fullMark || runningstateList.fullMark == 0
: runningstateList.fullMark ||
runningstateList.fullMark == 0
? "非充满"
: "--" || runningstateList.fullMark == 1
? "充满"
@ -2000,7 +2030,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>单体电压</span
>
</div>
@ -2011,13 +2042,17 @@
label="最高单体电压"
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{ res1List.maxCellVolt == null ? "--" : res1List.maxCellVolt }}V
{{
res1List.maxCellVolt == null ? "--" : res1List.maxCellVolt
}}V
</el-descriptions-item>
<el-descriptions-item
label="最低单体电压"
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{ res1List.minCellVolt == null ? "--" : res1List.minCellVolt }}V
{{
res1List.minCellVolt == null ? "--" : res1List.minCellVolt
}}V
</el-descriptions-item>
<el-descriptions-item
label="最高单体电压所在CSC号"
@ -2137,7 +2172,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>单体温度</span
>
</div>
@ -2148,19 +2184,25 @@
label="最高单体温度"
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{ res2List.maxCellTemp == null ? "--" : res2List.maxCellTemp }}
{{
res2List.maxCellTemp == null ? "--" : res2List.maxCellTemp
}}
</el-descriptions-item>
<el-descriptions-item
label="最低单体温度"
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{ res2List.minCellTemp == null ? "--" : res2List.minCellTemp }}
{{
res2List.minCellTemp == null ? "--" : res2List.minCellTemp
}}
</el-descriptions-item>
<el-descriptions-item
label="平均单体温度"
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{ res2List.avgCellTemp == null ? "--" : res2List.avgCellTemp }}
{{
res2List.avgCellTemp == null ? "--" : res2List.avgCellTemp
}}
</el-descriptions-item>
<el-descriptions-item
label="最高温度所在CSC号"
@ -2253,7 +2295,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>系统总插枪充电</span
>
</div>
@ -2289,7 +2332,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>系统总放电</span
>
</div>
@ -2325,7 +2369,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>系统总回充</span
>
</div>
@ -2361,7 +2406,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>HVB绝缘检测</span
>
</div>
@ -2407,7 +2453,9 @@
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{
res33List.isoIsoResPos == null ? "--" : res33List.isoIsoResPos
res33List.isoIsoResPos == null
? "--"
: res33List.isoIsoResPos
}}Ω
</el-descriptions-item>
@ -2416,7 +2464,9 @@
:labelStyle="{ 'text-align': 'right', width: '25%' }"
>
{{
res34List.isoIsoResNeg == null ? "--" : res34List.isoIsoResNeg
res34List.isoIsoResNeg == null
? "--"
: res34List.isoIsoResNeg
}}Ω
</el-descriptions-item>
@ -2439,7 +2489,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>支路单体电压</span
>
</div>
@ -2578,7 +2629,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>支路单体温度</span
>
</div>
@ -2723,7 +2775,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>CSC单体电压</span
>
</div>
@ -2775,7 +2828,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>CSC单体温度</span
>
</div>
@ -2826,7 +2880,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包信息1</span
>
</div>
@ -2871,7 +2926,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包信息2</span
>
</div>
@ -2916,7 +2972,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包信息3</span
>
</div>
@ -2951,7 +3008,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包信息4</span
>
</div>
@ -2986,7 +3044,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包信息5</span
>
</div>
@ -3071,7 +3130,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池包信息6</span
>
</div>
@ -3106,7 +3166,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电池单体电压</span
>
</div>
@ -3129,7 +3190,8 @@
<div class="title">
<div class="iconzz"></div>
<div style="margin-left: 10px">
<span style="font-weight: 700; font-size: medium; margin-top: 20px"
<span
style="font-weight: 700; font-size: medium; margin-top: 20px"
>电芯温度</span
>
</div>
@ -3149,13 +3211,14 @@
</div>
</a-card>
</div>
</a-modal>
</template>
<script>
import ListHandler from "@/mixins/ListHandler";
import {
index,
indexone,
alarmone,
alarmtwo,
Relaystatus,
@ -3197,9 +3260,24 @@ export default {
// StandardTable,
// CreateForm,
},
props: {
// visible: {
// type: Boolean,
// required: false,
// },
loading: {
type: Boolean,
default: () => false,
},
// model: {
// type: Object,
// default: () => null,
// },
},
mixins: [ListHandler],
data() {
return {
visible: false,
// columns: columns,
dataList: [],
alarmOneList: [],
@ -3347,6 +3425,7 @@ export default {
"",
"",
],
selectId: "",
};
},
mounted() {
@ -3355,32 +3434,6 @@ export default {
// this.getAlarmOnelist();
// this.getList()
// }, 3000);
this.handle_GetS2MBATTENERGYINFO1();
this.handle_GetS2MBATTENERGYINFO2();
this.handle_GetS2MBATTENERGYINFO3();
this.handle_GetS2MBATTENERGYINFO4();
this.handle_GetS2MBATTENERGYINFO5();
this.handle_GetS2MBATTENERGYINFO6();
},
created() {
this.getListHandler = index;
this.getAlarmOnelistHandler = alarmone;
// this.getAlarmTwolistHandler = alarmtwo;
this.getRelaystatusHandler = Relaystatus;
this.getChargedischargecurrentHandler = Chargedischargecurrent;
this.getRunningstateHandler = Runningstate;
//
this.getSumvoltHandler = Sumvolt;
this.getSumTempHandler = SumTemp;
this.getChrgaccuInfoHandler = ChrgaccuInfo;
this.getBrachSumvolTHandler = BrachSumvolT;
this.getBrachSumtempHandler = BrachSumtemp;
this.getCscSumvoltHandler = CscSumvolt;
this.getCscSumtempHandler = CscSumtemp;
// this.createHandler = store;
// this.updateHandler = update;
// this.deleteHandler = destroy;
// this.batchDeleteHandler = batchDelete;
this.getList();
this.getAlarmOnelist();
this.getAlarmTwolist();
@ -3396,6 +3449,20 @@ export default {
this.getBrachSumtemp();
this.getCscSumvolt();
this.getCscSumtemp();
this.handle_GetS2MBATTENERGYINFO1();
this.handle_GetS2MBATTENERGYINFO2();
this.handle_GetS2MBATTENERGYINFO3();
this.handle_GetS2MBATTENERGYINFO4();
this.handle_GetS2MBATTENERGYINFO5();
this.handle_GetS2MBATTENERGYINFO6();
},
created() {
// this.getAlarmTwolistHandler = alarmtwo;
// this.createHandler = store;
// this.updateHandler = update;
// this.deleteHandler = destroy;
// this.batchDeleteHandler = batchDelete;
},
filters: {
filterResult(value) {
@ -3411,198 +3478,157 @@ export default {
},
methods: {
moment,
//
visibleClick(item) {
this.selectId = item;
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.handle_GetS2MBATTENERGYINFO1();
this.handle_GetS2MBATTENERGYINFO2();
this.handle_GetS2MBATTENERGYINFO3();
this.handle_GetS2MBATTENERGYINFO4();
this.handle_GetS2MBATTENERGYINFO5();
this.handle_GetS2MBATTENERGYINFO6();
this.visible = true;
},
//
getList() {
this.listLoading = true;
this.getListHandler(this.$route.query.id)
.then((response) => {
indexone(this.selectId).then((response) => {
const res = response.data;
this.dataList = res;
})
.catch(() => {
this.listLoading = false;
});
// ------
},
getAlarmOnelist() {
// this.beforeGetList()
this.listLoading = true;
this.getAlarmOnelistHandler(this.$route.query.id)
.then((response) => {
alarmone(this.selectId).then((response) => {
const alarmOne = response.data;
this.alarmOneList = alarmOne;
})
.catch(() => {
this.listLoading = false;
});
},
//
getAlarmTwolist() {
this.listLoading = true;
// console.log(this.$route.query.id,'id');
alarmtwo(this.$route.query.id)
.then((response) => {
alarmtwo(this.selectId).then((response) => {
const alarmTwo = response.data;
this.alarmTwoList = alarmTwo;
})
.catch(() => {
this.listLoading = false;
});
},
//
getRelaystatusList() {
this.listLoading = true;
this.getRelaystatusHandler(this.$route.query.id)
.then((response) => {
const Relaystatus = response.data;
this.relaystatusList = Relaystatus;
})
.catch(() => {
this.listLoading = false;
Relaystatus(this.selectId).then((response) => {
const Relaystatu = response.data;
this.relaystatusList = Relaystatu;
});
},
getChargedischargecurrentList() {
this.listLoading = true;
this.getChargedischargecurrentHandler(this.$route.query.id)
.then((response) => {
Chargedischargecurrent(this.selectId).then((response) => {
const Chargecurrent = response.data;
this.ChargedischargecurrentList = Chargecurrent;
})
.catch(() => {
this.listLoading = false;
});
},
getRunningstate() {
this.listLoading = true;
this.getRunningstateHandler(this.$route.query.id)
.then((response) => {
Runningstate(this.selectId).then((response) => {
const runningstate = response.data;
this.runningstateList = runningstate;
})
.catch(() => {
this.listLoading = false;
});
},
// -----
getSumvolt() {
this.listLoading = true;
this.getSumvoltHandler(this.$route.query.id)
.then((response) => {
Sumvolt(this.selectId).then((response) => {
const res1 = response.data;
this.res1List = res1;
})
.catch(() => {
this.listLoading = false;
});
},
getSumTemp() {
this.listLoading = true;
this.getSumTempHandler(this.$route.query.id)
.then((response) => {
SumTemp(this.selectId).then((response) => {
const res2 = response.data;
this.res2List = res2;
})
.catch(() => {
this.listLoading = false;
});
},
getChrgaccuInfo() {
this.listLoading = true;
this.getChrgaccuInfoHandler(this.$route.query.id)
.then((response) => {
ChrgaccuInfo(this.selectId).then((response) => {
const res3 = response.data;
this.res31List = res3.s2MCHRGACCUINFO;
this.res32List = res3.s2MDISCHRGACCUINFO;
this.res33List = res3.s2MRECHRGACCUINFO;
this.res34List = res3.s2MISOINFO;
})
.catch(() => {
this.listLoading = false;
});
},
getBrachSumvolT() {
this.listLoading = true;
this.getBrachSumvolTHandler(this.$route.query.id)
.then((response) => {
BrachSumvolT(this.selectId).then((response) => {
const res4 = response.data;
this.res4List = res4;
})
.catch(() => {
this.listLoading = false;
});
},
getBrachSumtemp() {
this.listLoading = true;
this.getBrachSumtempHandler(this.$route.query.id)
.then((response) => {
BrachSumtemp(this.selectId).then((response) => {
const res5 = response.data;
this.res5List = res5;
})
.catch(() => {
this.listLoading = false;
});
},
getCscSumvolt() {
this.listLoading = true;
this.getCscSumvoltHandler(this.$route.query.id)
.then((response) => {
CscSumvolt(this.selectId).then((response) => {
const res6 = response.data;
this.res6List = res6;
})
.catch(() => {
this.listLoading = false;
});
},
getCscSumtemp() {
this.listLoading = true;
this.getCscSumtempHandler(this.$route.query.id)
.then((response) => {
CscSumtemp(this.selectId).then((response) => {
const res7 = response.data;
this.res7List = res7;
})
.catch(() => {
this.listLoading = false;
});
},
handle_GetS2MBATTENERGYINFO1() {
handle_GetS2MBATTENERGYINFO1(this.$route.query.id).then((response) => {
handle_GetS2MBATTENERGYINFO1(this.selectId).then((response) => {
this.batter_cum_one = response.data;
});
},
handle_GetS2MBATTENERGYINFO2() {
handle_GetS2MBATTENERGYINFO2(this.$route.query.id).then((response) => {
handle_GetS2MBATTENERGYINFO2(this.selectId).then((response) => {
this.batter_cum_two = response.data;
});
},
handle_GetS2MBATTENERGYINFO3() {
handle_GetS2MBATTENERGYINFO3(this.$route.query.id).then((response) => {
handle_GetS2MBATTENERGYINFO3(this.selectId).then((response) => {
this.batter_cum_three = response.data;
});
},
handle_GetS2MBATTENERGYINFO4() {
handle_GetS2MBATTENERGYINFO4(this.$route.query.id).then((response) => {
handle_GetS2MBATTENERGYINFO4(this.selectId).then((response) => {
this.batter_cum_four = response.data;
});
},
handle_GetS2MBATTENERGYINFO5() {
handle_GetS2MBATTENERGYINFO5(this.$route.query.id).then((response) => {
handle_GetS2MBATTENERGYINFO5(this.selectId).then((response) => {
this.batter_cum_five = response.data;
});
},
handle_GetS2MBATTENERGYINFO6() {
handle_GetS2MBATTENERGYINFO6(this.$route.query.id).then((response) => {
handle_GetS2MBATTENERGYINFO6(this.selectId).then((response) => {
this.batter_cum_six = response.data;
});
},
handle_BatteryCelllVoltageInfo() {
handle_BatteryCelllVoltageInfo(this.$route.query.id).then((response) => {
handle_BatteryCelllVoltageInfo(this.selectId).then((response) => {
this.BatteryCelllVoltageInfo_list = Object.values(response.data);
});
},
handle_BatteryCellTempInfo() {
handle_BatteryCellTempInfo(this.$route.query.id).then((response) => {
handle_BatteryCellTempInfo(this.selectId).then((response) => {
this.BatteryCellTempInfo_list = Object.values(response.data);
});
},

@ -124,6 +124,9 @@
>
</div>
</el-dialog>
<detail
ref="details"
/>
</div>
</template>
@ -132,8 +135,12 @@ import {
handleGetChargMonitorChargBmsData,
handle_TCgRealTimeDisplay,
} from "@/services/swapping";
import detail from "@/pages/battery_details/index";
export default {
components: {
detail,
},
data() {
return {
cont_list: [
@ -272,6 +279,8 @@ export default {
expectePower: [{ required: true, message: "请输入", trigger: "blur" }],
sn: [{ required: true, message: "请选择", trigger: "change" }],
},
main_visible: false,
check_fid: 0,
};
},
created() {},
@ -281,16 +290,19 @@ export default {
this.handleGetChargMonitorChargBmsData()
},
methods: {
// handle_push(data) {
// this.$router.push({
// path: 'charge_battery/battery_details',
// query: {
// id: data
// },
// });
// },
handle_push(data) {
// this.$router.push({name:"charge_battery/battery_details",query:{id:data}});//id
// this.$router.push("charge_battery/battery_details");
this.$router.push({
path: 'charge_battery/battery_details',
query: {
id: data
}
});
this.$refs.details.visibleClick(data)
},
resetForm() {
this.$refs["battr_form"].resetFields();
this.dialogFormVisible = false;

@ -30,7 +30,7 @@ import {
// return request(Battery_Maintain_Log, METHOD.GET, data)
// }
export async function index(data) {
export async function indexone(data) {
return request(Battery_Details + '?sn=' + data, METHOD.GET)
}
export async function alarmone(data) {
@ -127,7 +127,7 @@ export async function handle_BatteryCellTempInfo(data) {
// }
export default {
index,
indexone,
alarmone,
alarmtwo,
Relaystatus,

Loading…
Cancel
Save