fix: 修复功能用例表格高度修改导致高技搜索不能点击的问题

This commit is contained in:
CaptainB 2022-01-12 12:21:28 +08:00 committed by 刘瑞斌
parent 2cfd1a1710
commit 988bbdf513
1 changed files with 8 additions and 0 deletions

View File

@ -223,6 +223,9 @@
<test-case-preview ref="testCasePreview" :loading="rowCaseResult.loading"/>
<relationship-graph-drawer :graph-data="graphData" ref="relationshipGraph"/>
<!--高级搜索-->
<ms-table-adv-search-bar :condition.sync="condition" :showLink="false" ref="searchBar" @search="search"/>
</span>
</template>
@ -271,6 +274,7 @@ import {SYSTEM_FIELD_NAME_MAP} from "@/common/js/table-constants";
import TestCasePreview from "@/business/components/track/case/components/TestCasePreview";
import {editTestCaseOrder} from "@/network/testCase";
import {getGraphByCondition} from "@/network/graph";
import MsTableAdvSearchBar from "@/business/components/common/components/search/MsTableAdvSearchBar";
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
const relationshipGraphDrawer = requireComponent.keys().length > 0 ? requireComponent("./graph/RelationshipGraphDrawer.vue") : {};
@ -278,6 +282,7 @@ const relationshipGraphDrawer = requireComponent.keys().length > 0 ? requireComp
export default {
name: "TestCaseList",
components: {
MsTableAdvSearchBar,
TestCasePreview,
BatchMove,
MsTableColumn,
@ -687,6 +692,9 @@ export default {
}
this.getData();
},
open() {
this.$refs.searchBar.open();
},
getData() {
this.getSelectDataRange();
this.condition.selectThisWeedData = false;