fix(测试计划): 补充测试计划关联用例抽屉列表参数

This commit is contained in:
xinxin.wu 2024-05-18 13:43:33 +08:00 committed by 刘瑞斌
parent 7cc472529c
commit d05d3d42ba
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,9 @@
:get-modules-func="getCaseModuleTree"
:get-table-func="getTestPlanCaseList"
:confirm-loading="confirmLoading"
:table-params="{
testPlanId: props?.testPlanId,
}"
:associated-ids="props.hasNotAssociatedIds || []"
:project-id="currentProjectId"
:type="RequestModuleEnum.CASE_MANAGEMENT"
@ -35,6 +38,7 @@
const props = defineProps<{
hasNotAssociatedIds?: string[];
saveApi?: (params: AssociateCaseRequestType) => Promise<any>;
testPlanId?: string;
}>();
const innerVisible = defineModel<boolean>('visible', {
required: true,

View File

@ -114,6 +114,7 @@
v-model:visible="caseAssociateVisible"
:associated-ids="detail.repeatCase ? hasSelectedIds : []"
:save-api="associationCaseToPlan"
:test-plan-id="planId"
@success="handleSuccess"
/>
<CreateAndEditPlanDrawer