单体电池
This commit is contained in:
@ -66,7 +66,7 @@ export default {
|
|||||||
chargeStatusOptions: (state) => state?.ems?.chargeStatusOptions || {},
|
chargeStatusOptions: (state) => state?.ems?.chargeStatusOptions || {},
|
||||||
}),
|
}),
|
||||||
mainInfo() {
|
mainInfo() {
|
||||||
return this.info.siteMonitorDataVo.length > 0
|
return this.info?.siteMonitorDataVo?.length > 0
|
||||||
? this.info.siteMonitorDataVo[0]
|
? this.info.siteMonitorDataVo[0]
|
||||||
: {};
|
: {};
|
||||||
},
|
},
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
:class="handleListClass(item)"
|
:class="handleListClass(item)"
|
||||||
@click="chartDetail(item)"
|
@click="chartDetail(item)"
|
||||||
>
|
>
|
||||||
|
<div style="font-size: 10px;font-weight: 500">{{ item.clusterDeviceId }}</div>
|
||||||
<div>#{{ item.deviceId }}</div>
|
<div>#{{ item.deviceId }}</div>
|
||||||
<div class="dy">{{ item.voltage }}V</div>
|
<div class="dy">{{ item.voltage }}V</div>
|
||||||
<div class="wd">{{ item.temperature }}℃</div>
|
<div class="wd">{{ item.temperature }}℃</div>
|
||||||
@ -110,12 +111,13 @@ export default {
|
|||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
.lists {
|
.lists {
|
||||||
margin: 10px 5px;
|
margin: 10px 5px;
|
||||||
padding: 10px;
|
padding: 5px 9px;
|
||||||
|
font-size: 11px;
|
||||||
|
line-height: 20px;
|
||||||
border: 1.6px solid #09ada3;
|
border: 1.6px solid #09ada3;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
line-height: 20px;
|
|
||||||
float: left;
|
float: left;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
min-width: 60px;
|
min-width: 60px;
|
||||||
|
|||||||
@ -255,7 +255,7 @@ export default {
|
|||||||
},
|
},
|
||||||
init() {
|
init() {
|
||||||
// 只有页面初次加载或切换站点的时候调用电池堆列表,其他情况不需要
|
// 只有页面初次加载或切换站点的时候调用电池堆列表,其他情况不需要
|
||||||
this.search = { stackId: "", clusterId: "" }; //保证切换站点时,清空选择项
|
this.search = { stackId: "", clusterId: "" ,batteryId:""}; //保证切换站点时,清空选择项
|
||||||
this.clusterOptions = [];
|
this.clusterOptions = [];
|
||||||
this.pageNum = 1;
|
this.pageNum = 1;
|
||||||
this.totalSize = 0;
|
this.totalSize = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user