总览图鼠标移上故障提示显示完整

This commit is contained in:
fengrong 2024-12-26 09:09:32 +08:00
parent 69a515a008
commit 0d8c35afc1

View File

@ -68,12 +68,13 @@
</el-row> </el-row>
</div> </div>
<div class="fanlist-bottom"> <div class="fanlist-bottom">
<el-tooltip
v-if="item.attributeMap.firsttriggeredcode"
:content="item.attributeMap.firsttriggeredcode">
<span :style="item.attributeMap.locked == 1 ? 'max-width:120px;' : 'max-width:150px;'"> <span :style="item.attributeMap.locked == 1 ? 'max-width:120px;' : 'max-width:150px;'">
{{ item.attributeMap.firsttriggeredcode }} {{ item.attributeMap.firsttriggeredcode }}
</span> </span>
<!-- <span :style="item.attributeMap.locked == 1 ? 'max-width:120px;' : 'max-width:150px;'"> </el-tooltip>
{{ getFaultDescription(item) }}
</span>-->
<!-- <el-tag class="tag-panel is-danger">已锁定</el-tag>--> <!-- <el-tag class="tag-panel is-danger">已锁定</el-tag>-->
<el-tag v-if="item.attributeMap.locked === 1" class="tag-panel is-danger">已锁定</el-tag> <el-tag v-if="item.attributeMap.locked === 1" class="tag-panel is-danger">已锁定</el-tag>
</div> </div>