fix(测试跟踪): 修复用例评审默认项目下数据仍显示其它项目下用例问题
--bug=1024438 --user=赵勇 【测试跟踪】用例评审-关联用例-切换项目关联成功后再次关联-默认项目下数据仍显示其它项目下用例 https://www.tapd.cn/55049933/s/1350534 Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
454d3d16aa
commit
9761b96aab
|
@ -286,17 +286,16 @@ export default {
|
|||
} else {
|
||||
this.condition.nodeIds = [];
|
||||
}
|
||||
this.result.loading = true;
|
||||
initCondition(this.condition, this.condition.selectAll);
|
||||
if (this.projectId) {
|
||||
this.condition.projectId = this.projectId;
|
||||
getTestCaseReviewsCasePage(this.currentPage, this.pageSize, this.condition)
|
||||
.then((response) => {
|
||||
let data = response.data;
|
||||
this.total = data.itemCount;
|
||||
this.testReviews = data.listObject;
|
||||
});
|
||||
}
|
||||
|
||||
this.condition.projectId = this.projectId || getCurrentProjectID();
|
||||
getTestCaseReviewsCasePage(this.currentPage, this.pageSize, this.condition)
|
||||
.then((response) => {
|
||||
let data = response.data;
|
||||
this.total = data.itemCount;
|
||||
this.testReviews = data.listObject;
|
||||
this.result.loading = false;
|
||||
});
|
||||
},
|
||||
setSelectCounts(data) {
|
||||
this.selectCounts = data;
|
||||
|
|
Loading…
Reference in New Issue