From 3936c62ede7a35929b156f208002e55a55e65496 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 21 Feb 2022 15:59:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=81=97=E7=95=99=E7=BC=BA=E9=99=B7=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=B8=AD=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010438 --user=lyh 【测试跟踪】-首页-点击遗留缺陷统计和过去7天测试计划失败用例TOP 10对应的记录-未进行跳转到对应页面 https://www.tapd.cn/55049933/s/1106672 --- .../track/response/TestPlanBugCount.java | 1 + .../io/metersphere/track/service/TrackService.java | 1 + .../track/home/components/BugCountCard.vue | 14 +++++++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/response/TestPlanBugCount.java b/backend/src/main/java/io/metersphere/track/response/TestPlanBugCount.java index 6802673d16..5cef08e69d 100644 --- a/backend/src/main/java/io/metersphere/track/response/TestPlanBugCount.java +++ b/backend/src/main/java/io/metersphere/track/response/TestPlanBugCount.java @@ -13,4 +13,5 @@ public class TestPlanBugCount { private int caseSize; private int bugSize; private String passRage; + private String planId; } diff --git a/backend/src/main/java/io/metersphere/track/service/TrackService.java b/backend/src/main/java/io/metersphere/track/service/TrackService.java index cbb3dc06c6..5bdbcfce58 100644 --- a/backend/src/main/java/io/metersphere/track/service/TrackService.java +++ b/backend/src/main/java/io/metersphere/track/service/TrackService.java @@ -131,6 +131,7 @@ public class TrackService { testPlanBug.setPlanName(plan.getName()); testPlanBug.setCreateTime(plan.getCreateTime()); testPlanBug.setStatus(plan.getStatus()); + testPlanBug.setPlanId(plan.getId()); int planCaseSize = getPlanCaseSize(plan.getId()); testPlanBug.setCaseSize(planCaseSize); diff --git a/frontend/src/business/components/track/home/components/BugCountCard.vue b/frontend/src/business/components/track/home/components/BugCountCard.vue index 34a30f2846..4a9bec95d8 100644 --- a/frontend/src/business/components/track/home/components/BugCountCard.vue +++ b/frontend/src/business/components/track/home/components/BugCountCard.vue @@ -22,7 +22,13 @@ + width="130" show-overflow-tooltip> + +