diff --git a/frontend/src/components/pure/ms-button/index.vue b/frontend/src/components/pure/ms-button/index.vue index 6896418de0..f5086b792c 100644 --- a/frontend/src/components/pure/ms-button/index.vue +++ b/frontend/src/components/pure/ms-button/index.vue @@ -58,11 +58,6 @@ color: rgb(var(--primary-3)) !important; cursor: not-allowed; } - .ms-button-text { - @apply p-0; - - color: rgb(var(--primary-5)); - } .ms-button-icon { padding: 4px; color: var(--color-text-4); @@ -109,4 +104,9 @@ padding: 0 2px; font-size: 12px; } + .ms-button-text { + @apply p-0; + + color: rgb(var(--primary-5)); + } diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index a9348b6cc7..fd42365a30 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -736,6 +736,11 @@ line-height: normal; height: 48px; } + :deep(.arco-table-size-mini) { + .arco-table-td { + height: 36px; + } + } :deep(.arco-table-cell-align-left) { .arco-table-td-content { @apply flex items-center; diff --git a/frontend/src/enums/tableEnum.ts b/frontend/src/enums/tableEnum.ts index 6f5385e50b..bb588edcb8 100644 --- a/frontend/src/enums/tableEnum.ts +++ b/frontend/src/enums/tableEnum.ts @@ -67,6 +67,7 @@ export enum TableKeyEnum { TEST_PLAN_DETAIL_BUG_TABLE = 'testPlanDetailBug', TEST_PLAN_DETAIL_FEATURE_CASE_TABLE = 'testPlanDetailFeatureCaseTable', TEST_PLAN_DETAIL_BUG_TABLE_CASE_COUNT = 'testPlanDetailBugCaseCount', + TEST_PLAN_DETAIL_CASE_TABLE_BUG_COUNT = 'testPlanDetailCaseBugCount', TEST_PLAN_REPORT_TABLE = 'testPlanReportTable', TEST_PLAN_REPORT_DETAIL_BUG = 'testPlanReportDetailBug', TEST_PLAN_REPORT_DETAIL_FEATURE_CASE = 'testPlanReportDetailFeatureCase', diff --git a/frontend/src/models/testPlan/testPlan.ts b/frontend/src/models/testPlan/testPlan.ts index 74d789273b..da3ae68b7e 100644 --- a/frontend/src/models/testPlan/testPlan.ts +++ b/frontend/src/models/testPlan/testPlan.ts @@ -114,7 +114,7 @@ export interface PlanDetailBugItem { id: string; num: string; title: string; - relateCase: { + relateCases: { id: string; bugId: string; name: string; @@ -152,6 +152,13 @@ export interface PlanDetailFeatureCaseItem { customFields: customFieldsItem[]; // 自定义字段集合 caseId: string; testPlanId: string; + bugList: { + bugId: string; + id: string; + title: string; + type: string; + caseId: string; + }[]; } export interface PlanDetailFeatureCaseListQueryParams extends TableQueryParams, TestPlanBaseParams {} diff --git a/frontend/src/views/test-plan/testPlan/detail/bugManagement/caseCountPopover.vue b/frontend/src/views/test-plan/testPlan/detail/bugManagement/caseCountPopover.vue index a251154f94..16b9e7f057 100644 --- a/frontend/src/views/test-plan/testPlan/detail/bugManagement/caseCountPopover.vue +++ b/frontend/src/views/test-plan/testPlan/detail/bugManagement/caseCountPopover.vue @@ -1,13 +1,13 @@