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> + +