修改大屏,每个模块的图片,去掉标题文字

This commit is contained in:
fengerli
2025-09-29 11:08:17 +08:00
parent 52d90d490b
commit a3be91c6ac
13 changed files with 68 additions and 29 deletions

View File

@ -49,6 +49,7 @@
<el-select v-model="queryParams.onlineStatus" placeholder="设备状态" clearable>
<el-option label="在线" value="1"></el-option>
<el-option label="离线" value="0"></el-option>
<el-option label="故障" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="设备MAC" prop="deviceMac">
@ -109,6 +110,7 @@
<template #default="scope">
<div class="normal green" v-if="scope.row.onlineStatus == 1">在线</div>
<div class="normal red" v-if="scope.row.onlineStatus == 0">离线</div>
<div class="normal red" v-if="scope.row.onlineStatus == 2">故障</div>
</template>
</el-table-column>
<el-table-column label="电量" align="center" prop="battery">
@ -118,7 +120,7 @@
'battery-yellow': Number(scope.row.battery) >= 20 && Number(scope.row.battery) < 80,
'battery-green': Number(scope.row.battery) >= 80 && Number(scope.row.battery) <= 100
}">
{{ scope.row.battery || '0'}}%
{{ scope.row.battery || '0' }}%
</div>
</template>
</el-table-column>
@ -485,15 +487,17 @@ const forceAlarm = async () => {
</script>
<style lang="scss" scoped>
.p-2{
.p-2 {
background: rgba(247, 248, 252, 1);
min-height: 100vh;
box-sizing: border-box;
padding: 15px;
}
:deep .el-collapse{
border-top:none
:deep .el-collapse {
border-top: none
}
:deep .el-collapse-item__header {
display: none;
}