develop_cloud #1

Merged
dashixiong merged 234 commits from develop_cloud into main-cloud 2026-02-11 02:06:04 +00:00
99 changed files with 9798 additions and 30 deletions
Showing only changes of commit 8b20c89cb2 - Show all commits

View File

@ -66,7 +66,7 @@ export default {
chargeStatusOptions: (state) => state?.ems?.chargeStatusOptions || {},
}),
mainInfo() {
return this.info.siteMonitorDataVo.length > 0
return this.info?.siteMonitorDataVo?.length > 0
? this.info.siteMonitorDataVo[0]
: {};
},

View File

@ -12,6 +12,7 @@
:class="handleListClass(item)"
@click="chartDetail(item)"
>
<div style="font-size: 10px;font-weight: 500">{{ item.clusterDeviceId }}</div>
<div>#{{ item.deviceId }}</div>
<div class="dy">{{ item.voltage }}V</div>
<div class="wd">{{ item.temperature }}</div>
@ -110,12 +111,13 @@ export default {
padding: 20px 0;
.lists {
margin: 10px 5px;
padding: 10px;
padding: 5px 9px;
font-size: 11px;
line-height: 20px;
border: 1.6px solid #09ada3;
border-radius: 5px;
position: relative;
color: #333333;
line-height: 20px;
float: left;
box-sizing: content-box;
min-width: 60px;

View File

@ -255,7 +255,7 @@ export default {
},
init() {
// 只有页面初次加载或切换站点的时候调用电池堆列表,其他情况不需要
this.search = { stackId: "", clusterId: "" }; //保证切换站点时,清空选择项
this.search = { stackId: "", clusterId: "" ,batteryId:""}; //保证切换站点时,清空选择项
this.clusterOptions = [];
this.pageNum = 1;
this.totalSize = 0;