diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java index e325f7e71b..caaf8f1f36 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java @@ -781,7 +781,7 @@ public class TestPlanReportService { sendMessage(report, testPlan.getProjectId()); } } catch (Exception e) { - + LogUtil.error(e); } } else { } diff --git a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue index 288fe39490..b10802d30b 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue @@ -287,6 +287,7 @@ if (this.$refs.apitable) { this.$refs.apitable.doLayout(); this.$refs.apitable.checkTableRowIsSelect(); + this.$refs.apitable.clear(); } }); }); diff --git a/frontend/src/business/components/api/automation/scenario/api/RelevanceCaseList.vue b/frontend/src/business/components/api/automation/scenario/api/RelevanceCaseList.vue index 55cb1cc903..7cd3c850ea 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceCaseList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceCaseList.vue @@ -225,6 +225,7 @@ export default { if (this.$refs.table) { this.$refs.table.doLayout(); this.$refs.table.checkTableRowIsSelect(); + this.$refs.table.clear(); } }); }); diff --git a/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue b/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue index f1b4167770..3b1c4d9685 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue @@ -162,6 +162,7 @@ item.tags = JSON.parse(item.tags); } }); + this.clear(); }); }, clear() { diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue index b394f82cfc..ab2b80a98f 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue @@ -222,6 +222,9 @@ export default { item.checked = false; item.tags = JSON.parse(item.tags); }); + if (this.$refs.table) { + this.$refs.table.clear(); + } }); } }, diff --git a/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue index 0dd84820fa..2c2c353102 100644 --- a/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue @@ -196,6 +196,11 @@ export default { let data = response.data; this.total = data.itemCount; this.testCases = data.listObject; + + this.selectIds.clear(); + if (this.$refs.table) { + this.$refs.table.clearSelection(); + } }); } if (this.reviewId) {