fix(测试计划): 补充测试计划关联用例抽屉列表参数
This commit is contained in:
parent
7cc472529c
commit
d05d3d42ba
|
@ -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,
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
v-model:visible="caseAssociateVisible"
|
||||
:associated-ids="detail.repeatCase ? hasSelectedIds : []"
|
||||
:save-api="associationCaseToPlan"
|
||||
:test-plan-id="planId"
|
||||
@success="handleSuccess"
|
||||
/>
|
||||
<CreateAndEditPlanDrawer
|
||||
|
|
Loading…
Reference in New Issue