fix(测试计划): 修复测试计划关联用例重复数据问题

This commit is contained in:
xinxin.wu 2024-06-18 11:58:38 +08:00 committed by Craftsman
parent 4cf9878306
commit 12719e6774
2 changed files with 7 additions and 6 deletions

View File

@ -753,11 +753,6 @@
loading.value = true; loading.value = true;
await editPlanMinder(makeMinderParams(fullJson)); await editPlanMinder(makeMinderParams(fullJson));
Message.success(t('common.saveSuccess')); Message.success(t('common.saveSuccess'));
tempMinderParams.value = {
planId: props.planId,
editList: [],
deletedIds: [],
};
handleConfigCancel(); handleConfigCancel();
initMinder(); initMinder();
callback(); callback();
@ -768,6 +763,11 @@
selectedAssociateCasesParams.value.selectIds = []; selectedAssociateCasesParams.value.selectIds = [];
} finally { } finally {
loading.value = false; loading.value = false;
tempMinderParams.value = {
planId: props.planId,
editList: [],
deletedIds: [],
};
} }
} }

View File

@ -13,7 +13,8 @@
<ExecuteResult :execute-result="filterContent.key" /> <ExecuteResult :execute-result="filterContent.key" />
</template> </template>
<template #lastExecResult="{ record }"> <template #lastExecResult="{ record }">
<ExecuteResult :execute-result="record.executeResult" /> <ExecuteResult v-if="record.executeResult" :execute-result="record.executeResult" />
<span v-else>-</span>
<!-- TOTO 暂时不上 --> <!-- TOTO 暂时不上 -->
<!-- <MsIcon <!-- <MsIcon
v-show="record.lastExecResult !== LastExecuteResults.PENDING" v-show="record.lastExecResult !== LastExecuteResults.PENDING"