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

View File

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

View File

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

View File

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