fix(用例管理): 修复批量编辑缺少模块参数,会更新全部用例问题
--bug=1035962 --user=王旭 【用例管理】功能用例-批量编辑自定义字段失败 https://www.tapd.cn/55049933/s/1477982
This commit is contained in:
parent
df980ac47c
commit
95f2ff2312
|
@ -77,6 +77,8 @@
|
|||
const props = defineProps<{
|
||||
visible: boolean;
|
||||
batchParams: BatchActionQueryParams;
|
||||
activeFolder: string;
|
||||
offspringIds: string[];
|
||||
}>();
|
||||
|
||||
const emits = defineEmits<{
|
||||
|
@ -181,6 +183,7 @@
|
|||
projectId: currentProjectId.value,
|
||||
append: enable as boolean,
|
||||
tags: form.value.tags,
|
||||
moduleIds: props.activeFolder === 'all' ? [] : [props.activeFolder, ...props.offspringIds],
|
||||
customField: form.value.selectedAttrsId === 'systemTags' ? {} : customField,
|
||||
};
|
||||
await batchEditAttrs(params);
|
||||
|
|
|
@ -306,7 +306,13 @@
|
|||
></FeatureCaseTree>
|
||||
</a-modal>
|
||||
<ExportExcelDrawer v-model:visible="showExportExcelVisible" />
|
||||
<BatchEditModal v-model:visible="showEditModel" :batch-params="batchParams" @success="successHandler" />
|
||||
<BatchEditModal
|
||||
v-model:visible="showEditModel"
|
||||
:batch-params="batchParams"
|
||||
:active-folder="props.activeFolder"
|
||||
:offspring-ids="props.offspringIds"
|
||||
@success="successHandler"
|
||||
/>
|
||||
<CaseDetailDrawer
|
||||
v-model:visible="showDetailDrawer"
|
||||
:detail-id="activeDetailId"
|
||||
|
|
Loading…
Reference in New Issue