From e76308113ef76f7b2ab4104af3966e3906dc3064 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Sat, 16 Mar 2024 16:58:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86=E9=83=A8?= =?UTF-8?q?=E5=88=86=5Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/addStep.vue | 4 +- .../components/caseDetailDrawer.vue | 75 ++++++++++--------- .../tabContent/tabBug/tabDefect.vue | 2 +- .../tabContent/tabCase/tabCaseTable.vue | 2 +- .../tabContent/tabComment/tabCommentIndex.vue | 12 ++- .../tabContent/tabDemand/demand.vue | 11 ++- .../components/tabContent/tabDetail.vue | 17 ++--- .../caseManagementFeature/locale/en-US.ts | 1 + .../caseManagementFeature/locale/zh-CN.ts | 1 + 9 files changed, 68 insertions(+), 57 deletions(-) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue b/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue index 615d8eafac..9c9df6a442 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/addStep.vue @@ -67,9 +67,11 @@ defineProps<{ stepList: any; isDisabled?: boolean; + isScrollY?: boolean; }>(), { isDisabled: false, + isScrollY: true, } ); @@ -149,7 +151,7 @@ const { propsRes, propsEvent, setProps } = useTable(undefined, { tableKey: TableKeyEnum.CASE_MANAGEMENT_DETAIL_TABLE, columns: templateFieldColumns.value, - scroll: { x: '100%', y: 400 }, + scroll: { x: '100%', y: props.isScrollY ? 400 : '' }, selectable: false, noDisable: true, size: 'default', diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue index a1e8f96342..e112c82219 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue @@ -118,40 +118,47 @@ -
- - - - - - - - - +
+ + + + + + + + + + +
diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue index 56b7f6dde4..82b2d66c9d 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue @@ -390,7 +390,7 @@ } = useTable(getLinkedCaseBugList, { columns: testPlanColumns, scroll: { x: '100%' }, - heightUsed: 340, + heightUsed: 354, enableDrag: true, }); diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue index b0294345f2..e0f0600388 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue @@ -1,6 +1,6 @@