This commit is contained in:
caozehui
2025-05-23 10:15:05 +08:00
parent 2e5d551e5d
commit e192158deb

View File

@@ -86,9 +86,13 @@
<el-table-column v-for="(chnItem,index2) in item.chnNum" :key="`${item.deviceId}${chnItem}`"
:label="'通道'+chnItem" align="center">
<template #default="{row}">
<!-- <el-tooltip-->
<!-- :content="row.devices[index1].chnResult[index2].color===CheckData.ButtonColorEnum.INFO ? '暂无数据' : '点击查看详情'"-->
<!-- placement="top">-->
<el-tooltip
:content="row.devices[index1].chnResult[index2].icon==='More' ? '暂无数据'
: row.devices[index1].chnResult[index2].icon==='CircleCheckFilled' ? '符合'
: row.devices[index1].chnResult[index2].icon==='Close' ? '不符合'
: row.devices[index1].chnResult[index2].icon==='WarnTriangleFilled' ? '数据异常'
: row.devices[index1].chnResult[index2].icon==='Loading'? '检测中':'连接中断'"
placement="right">
<el-button
:disabled="row.devices[index1].chnResult[index2].color===CheckData.ButtonColorEnum.INFO || row.devices[index1].chnResult[index2].color===CheckData.ButtonColorEnum.LOADING"
:color="row.devices[index1].chnResult[index2].color"
@@ -105,7 +109,7 @@
</el-icon>
</el-button>
<!-- </el-tooltip>-->
</el-tooltip>
</template>
</el-table-column>
</el-table-column>