mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-06 05:58:46 +08:00
fix(测试跟踪): 测试计划关联功能用例,选中模块,添加筛选条件后,模块选中失效
--bug=1027718 --user=陈建星 【测试跟踪】测试计划关联功能用例页面选择模块后按照用例等级筛选-点击下一页会显示全部模块用例 https://www.tapd.cn/55049933/s/1392195
This commit is contained in:
parent
33adc071f1
commit
a08ae64fa9
@ -224,7 +224,7 @@ export default {
|
||||
this.setConditionModuleIdParam();
|
||||
this.page.condition.projectId = this.projectId;
|
||||
this.page.condition.versionId = null;
|
||||
this.getProjectNode();
|
||||
this.getProjectNodeForce();
|
||||
this.getTestCases();
|
||||
this.getCustomNum();
|
||||
this.getVersionOptions();
|
||||
@ -310,6 +310,12 @@ export default {
|
||||
this.$refs.table.clear();
|
||||
},
|
||||
getProjectNode(projectId, condition) {
|
||||
if (this.selectNodeIds && this.selectNodeIds.length > 0) {
|
||||
return;
|
||||
}
|
||||
this.getProjectNodeForce(projectId, condition);
|
||||
},
|
||||
getProjectNodeForce(projectId, condition) {
|
||||
const index = this.projects.findIndex(project => project.id === projectId);
|
||||
if (index !== -1) {
|
||||
this.projectName = this.projects[index].name;
|
||||
|
Loading…
Reference in New Issue
Block a user