refactor(用例管理): 用例详情缺陷列表初始化列表参数修改

This commit is contained in:
guoyuqi 2024-05-10 10:33:52 +08:00 committed by 刘瑞斌
parent 94722eb17e
commit af7be7395e
1 changed files with 3 additions and 2 deletions

View File

@ -415,7 +415,8 @@
filterParams[severityColumnId.value] = severityFilterValue.value;
return {
keyword: keyword.value,
caseId: props.caseId,
caseId: showType.value === 'link' ? props.caseId : null,
testPlanCaseId: showType.value === 'link' ? null : props.caseId,
projectId: appStore.currentProjectId,
filter: { ...filterParams },
condition: {
@ -469,7 +470,7 @@
const { msPagination } = linkPropsRes.value;
featureCaseStore.setListCount(featureCaseStore.activeTab, msPagination?.total || 0);
} else {
setTestPlanListParams({ keyword: '', projectId: appStore.currentProjectId, caseId: props.caseId });
setTestPlanListParams({ keyword: '', projectId: appStore.currentProjectId, testPlanCaseId: props.caseId });
await testPlanLinkList();
featureCaseStore.getCaseCounts(props.caseId);
}