间谐波电流、间谐波电流复制bug,tooltip位置调整

This commit is contained in:
caozehui
2025-04-24 16:16:04 +08:00
parent 2df455b667
commit 04939606fc
3 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@
:props="defaultProps"
@node-click="handleNodeClick" class="custom-tree" ref="treeRef">
<template #default="{ node, data }">
<el-tooltip effect="dark" :content="data.scriptTypeName" placement="top">
<el-tooltip effect="dark" :content="data.scriptTypeName" placement="right">
<span class="custom-tree-node" :style="data.fly===2? 'color: #F56C6C;':data.fly===4? 'color: #e6a23c;':''">{{
data.scriptTypeName
}}</span>

View File

@@ -86,9 +86,9 @@
<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].color===CheckData.ButtonColorEnum.INFO ? '暂无数据' : '点击查看详情'"-->
<!-- placement="top">-->
<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 +105,7 @@
</el-icon>
</el-button>
</el-tooltip>
<!-- </el-tooltip>-->
</template>
</el-table-column>
</el-table-column>

View File

@@ -627,7 +627,7 @@ const copyRow = (num: number, index: number) => {
form.value.channelList[0].channelType = 'Ua'
form.value.channelList[1].channelType = 'Ia'
form.value.channelList[2].channelType = 'Ub'
form.value.channelList[3].channelType = 'Ia'
form.value.channelList[3].channelType = 'Ib'
form.value.channelList[4].channelType = 'Uc'
form.value.channelList[5].channelType = 'Ic'
key.value += 1