fix(测试计划): 补充测试计划关联用例抽屉列表参数
This commit is contained in:
parent
7cc472529c
commit
d05d3d42ba
|
@ -5,6 +5,9 @@
|
||||||
:get-modules-func="getCaseModuleTree"
|
:get-modules-func="getCaseModuleTree"
|
||||||
:get-table-func="getTestPlanCaseList"
|
:get-table-func="getTestPlanCaseList"
|
||||||
:confirm-loading="confirmLoading"
|
:confirm-loading="confirmLoading"
|
||||||
|
:table-params="{
|
||||||
|
testPlanId: props?.testPlanId,
|
||||||
|
}"
|
||||||
:associated-ids="props.hasNotAssociatedIds || []"
|
:associated-ids="props.hasNotAssociatedIds || []"
|
||||||
:project-id="currentProjectId"
|
:project-id="currentProjectId"
|
||||||
:type="RequestModuleEnum.CASE_MANAGEMENT"
|
:type="RequestModuleEnum.CASE_MANAGEMENT"
|
||||||
|
@ -35,6 +38,7 @@
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
hasNotAssociatedIds?: string[];
|
hasNotAssociatedIds?: string[];
|
||||||
saveApi?: (params: AssociateCaseRequestType) => Promise<any>;
|
saveApi?: (params: AssociateCaseRequestType) => Promise<any>;
|
||||||
|
testPlanId?: string;
|
||||||
}>();
|
}>();
|
||||||
const innerVisible = defineModel<boolean>('visible', {
|
const innerVisible = defineModel<boolean>('visible', {
|
||||||
required: true,
|
required: true,
|
||||||
|
|
|
@ -114,6 +114,7 @@
|
||||||
v-model:visible="caseAssociateVisible"
|
v-model:visible="caseAssociateVisible"
|
||||||
:associated-ids="detail.repeatCase ? hasSelectedIds : []"
|
:associated-ids="detail.repeatCase ? hasSelectedIds : []"
|
||||||
:save-api="associationCaseToPlan"
|
:save-api="associationCaseToPlan"
|
||||||
|
:test-plan-id="planId"
|
||||||
@success="handleSuccess"
|
@success="handleSuccess"
|
||||||
/>
|
/>
|
||||||
<CreateAndEditPlanDrawer
|
<CreateAndEditPlanDrawer
|
||||||
|
|
Loading…
Reference in New Issue