fix(测试跟踪): 关联测接口场景用例选中模块切换项目无数据显示
--bug=1014771 --user=陈建星 【测试跟踪】缺陷管理关联测试用例,选中某一模块后,再切换其他项目,列表数据显示不正确 https://www.tapd.cn/55049933/s/1203819
This commit is contained in:
parent
ee4821af5f
commit
cce6a7f0de
|
@ -114,7 +114,10 @@ export default {
|
|||
this.initTable();
|
||||
},
|
||||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.condition = {
|
||||
components: TEST_PLAN_RELEVANCE_API_DEFINITION_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.initTable();
|
||||
},
|
||||
currentVersion() {
|
||||
|
|
|
@ -116,7 +116,9 @@ import PriorityTableItem from "../../../../track/common/tableItems/planview/Prio
|
|||
import MsEnvironmentSelect from "../../../definition/components/case/MsEnvironmentSelect";
|
||||
import {_filter, _sort, buildBatchParam} from "@/common/js/tableUtils";
|
||||
import MsTableAdvSearchBar from "@/business/components/common/components/search/MsTableAdvSearchBar";
|
||||
import {TEST_PLAN_RELEVANCE_API_CASE_CONFIGS} from "@/business/components/common/components/search/search-components";
|
||||
import {
|
||||
TEST_PLAN_RELEVANCE_API_CASE_CONFIGS
|
||||
} from "@/business/components/common/components/search/search-components";
|
||||
import {hasLicense} from "@/common/js/utils";
|
||||
import MsSearch from "@/business/components/common/components/search/MsSearch";
|
||||
|
||||
|
@ -212,6 +214,10 @@ export default {
|
|||
this.initTable();
|
||||
},
|
||||
projectId() {
|
||||
this.condition = {
|
||||
components: TEST_PLAN_RELEVANCE_API_CASE_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.initTable();
|
||||
this.checkVersionEnable();
|
||||
},
|
||||
|
|
|
@ -162,6 +162,10 @@ export default {
|
|||
this.search();
|
||||
},
|
||||
projectId() {
|
||||
this.condition = {
|
||||
components: API_SCENARIO_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.search();
|
||||
},
|
||||
},
|
||||
|
|
|
@ -137,7 +137,10 @@ export default {
|
|||
this.initTable();
|
||||
},
|
||||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.condition = {
|
||||
components: TEST_CASE_RELEVANCE_API_CASE_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.getVersionOptions();
|
||||
this.initTable();
|
||||
}
|
||||
|
|
|
@ -139,7 +139,10 @@ export default {
|
|||
this.initTable();
|
||||
},
|
||||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.condition = {
|
||||
components: TEST_CASE_RELEVANCE_API_CASE_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.getVersionOptions();
|
||||
this.initTable();
|
||||
}
|
||||
|
|
|
@ -172,8 +172,6 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<!-- <form-rich-text-item :title="$t('commons.remark')" :data="form" prop="remark"/>-->
|
||||
|
||||
<issue-comment :issues-id="form.id"
|
||||
@getComments="getComments"
|
||||
ref="issueComment"/>
|
||||
|
|
|
@ -120,6 +120,8 @@ export default {
|
|||
this.initTableData();
|
||||
},
|
||||
projectId() {
|
||||
this.condition = {};
|
||||
this.selectNodeIds = [];
|
||||
this.initTableData();
|
||||
},
|
||||
},
|
||||
|
|
|
@ -176,7 +176,10 @@ export default {
|
|||
this.search();
|
||||
},
|
||||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.condition = {
|
||||
components: TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.search();
|
||||
this.getVersionOptions();
|
||||
},
|
||||
|
|
|
@ -155,7 +155,10 @@ export default {
|
|||
this.search();
|
||||
},
|
||||
projectId() {
|
||||
this.condition.versionId = null;
|
||||
this.condition = {
|
||||
components: TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS
|
||||
};
|
||||
this.selectNodeIds.length = 0;
|
||||
this.search();
|
||||
this.getVersionOptions();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue