fix(测试跟踪): 功能用例部分列表错乱问题

--bug=1024867 --user=宋昌昌 【测试跟踪】功能用例-编辑用例-关联缺陷-部分数据未显示取消关联操作 https://www.tapd.cn/55049933/s/1357800
This commit is contained in:
song-cc-rock 2023-03-30 18:31:57 +08:00 committed by fit2-zhao
parent 9a6cc74dd6
commit 6381ad0265
4 changed files with 13 additions and 1 deletions

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)';
}
},
screenHeight: {
type: [String, Number],
// default: 400,

View File

@ -33,6 +33,7 @@
:page-size.sync="page.pageSize"
:operators="operators"
:screen-height="screenHeight"
:max-height="maxHeight"
:batch-operators="batchButtons"
:remember-order="true"
:enable-header-drag="true"
@ -360,6 +361,7 @@ export default {
tableHeaderKey: "TRACK_TEST_CASE",
tableHeaderDragKey: "TRACK_TEST_CASE_DRAG",
screenHeight: 'calc(100vh - 185px)',
maxHeight: 'calc(100vh - 287px)',
enableOrderDrag: true,
isMoveBatch: true,
loading: false,

View File

@ -40,6 +40,7 @@
:show-select-all="false"
@handlePageChange="getIssues"
@selectCountChange="setSelectCounts"
:max-height="maxHeight"
@refresh="getIssues"
class="relate-issue-table"
ref="table"
@ -193,6 +194,7 @@ export default {
isThirdPart: false,
selectCounts: null,
screenHeight: 'calc(100vh - 185px)',
maxHeight: 'calc(100vh - 287px)',
platformStatus: [],
platformStatusMap: new Map(),
};

View File

@ -26,6 +26,7 @@
:page-size.sync="page.pageSize"
:operators="operators"
:screen-height="screenHeight"
:max-height="maxHeight"
:batch-operators="batchButtons"
:remember-order="true"
:disable-header-config="true"
@ -288,6 +289,7 @@ export default {
type: TEST_CASE_LIST,
tableHeaderKey: "TRACK_PUBLIC_TEST_CASE",
screenHeight: 'calc(100vh - 185px)',
maxHeight: 'calc(100vh - 287px)',
loading: false,
condition: {
components: TEST_CASE_CONFIGS,