fix(测试跟踪): 列表错位及用例行点击跳转多个TAB问题
--bug=1024740 --user=宋昌昌 【测试跟踪】关联用例-显示多了一条线 https://www.tapd.cn/55049933/s/1354258
This commit is contained in:
parent
7c9f8cc1b9
commit
823a7968f9
|
@ -111,7 +111,7 @@ export default {
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.text-btn {
|
.text-btn {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: 22px;
|
height: 25px;
|
||||||
font-family: 'PingFang SC';
|
font-family: 'PingFang SC';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
@header-dragend="headerDragend"
|
@header-dragend="headerDragend"
|
||||||
@cell-mouse-enter="showPopover"
|
@cell-mouse-enter="showPopover"
|
||||||
@row-click="handleRowClick"
|
@row-click="handleRowClick"
|
||||||
:max-height="'calc(100vh - 287px)'"
|
:max-height="maxHeight"
|
||||||
ref="table">
|
ref="table">
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -169,6 +169,12 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
maxHeight: {
|
||||||
|
type: String,
|
||||||
|
default() {
|
||||||
|
return 'calc(100vh - 287px)';
|
||||||
|
}
|
||||||
|
},
|
||||||
screenHeight: {
|
screenHeight: {
|
||||||
type: [String, Number],
|
type: [String, Number],
|
||||||
// default: 400,
|
// default: 400,
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
:label="$t('commons.id')"
|
:label="$t('commons.id')"
|
||||||
min-width="80">
|
min-width="80">
|
||||||
<template v-slot:default="scope">
|
<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>
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
:label="$t('commons.id')"
|
:label="$t('commons.id')"
|
||||||
min-width="80">
|
min-width="80">
|
||||||
<template v-slot:default="scope">
|
<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>
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
:label="$t('test_track.case.name')"
|
:label="$t('test_track.case.name')"
|
||||||
min-width="120">
|
min-width="120">
|
||||||
<template v-slot:default="scope">
|
<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>
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
:data="data"
|
:data="data"
|
||||||
:enable-selection="false"
|
:enable-selection="false"
|
||||||
:operators="operators"
|
:operators="operators"
|
||||||
|
:max-height="'calc(100vh)'"
|
||||||
@refresh="initTable"
|
@refresh="initTable"
|
||||||
>
|
>
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
|
|
Loading…
Reference in New Issue