refactor(测试计划): 计划功能用例列表查询逻辑

This commit is contained in:
song-cc-rock 2024-08-29 13:58:56 +08:00 committed by Craftsman
parent c78ccb502c
commit fe3c5dd672
2 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,7 @@
},
{
title: 'caseManagement.featureCase.defectState',
dataIndex: 'type',
dataIndex: 'status',
width: 100,
},
...(!props.canEdit

View File

@ -564,7 +564,8 @@
const tableParams = await getTableParams(false);
setLoadListParams({
...tableParams,
projectId: props.activeModule !== 'all' && props.treeType === 'MODULE' ? props.moduleParentId : '',
projectId:
props.activeModule !== 'all' && props.treeType === 'MODULE' ? props.moduleParentId : appStore.currentProjectId,
});
resetSelector();
loadList();