fix(测试跟踪): 列表错位及用例行点击跳转多个TAB问题

--bug=1024740 --user=宋昌昌 【测试跟踪】关联用例-显示多了一条线 https://www.tapd.cn/55049933/s/1354258
This commit is contained in:
song-cc-rock 2023-03-22 10:25:36 +08:00 committed by fit2-zhao
parent 7c9f8cc1b9
commit 823a7968f9
4 changed files with 12 additions and 5 deletions

View File

@ -111,7 +111,7 @@ export default {
<style scoped>
.text-btn {
width: auto;
height: 22px;
height: 25px;
font-family: 'PingFang SC';
font-style: normal;
font-weight: 400;

View File

@ -24,7 +24,7 @@
@header-dragend="headerDragend"
@cell-mouse-enter="showPopover"
@row-click="handleRowClick"
:max-height="'calc(100vh - 287px)'"
:max-height="maxHeight"
ref="table">
<el-table-column
@ -169,6 +169,12 @@ export default {
};
},
props: {
maxHeight: {
type: String,
default() {
return 'calc(100vh - 287px)';
}
},
screenHeight: {
type: [String, Number],
// default: 400,

View File

@ -85,7 +85,7 @@
:label="$t('commons.id')"
min-width="80">
<template v-slot:default="scope">
<a style="cursor:pointer" @click="handleEdit(scope.row)"> {{ scope.row.num }} </a>
<a style="cursor:pointer"> {{ scope.row.num }} </a>
</template>
</ms-table-column>
@ -98,7 +98,7 @@
:label="$t('commons.id')"
min-width="80">
<template v-slot:default="scope">
<a style="cursor:pointer" @click="handleEdit(scope.row)"> {{ scope.row.customNum }} </a>
<a style="cursor:pointer"> {{ scope.row.customNum }} </a>
</template>
</ms-table-column>
@ -110,7 +110,7 @@
:label="$t('test_track.case.name')"
min-width="120">
<template v-slot:default="scope">
<a style="cursor:pointer" @click="handleEdit(scope.row)"> {{ scope.row.name }} </a>
<a style="cursor:pointer"> {{ scope.row.name }} </a>
</template>
</ms-table-column>

View File

@ -40,6 +40,7 @@
:data="data"
:enable-selection="false"
:operators="operators"
:max-height="'calc(100vh)'"
@refresh="initTable"
>
<ms-table-column