From adff3b26f05b53fb49726cd7cc54c5cdc39c55e0 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 26 May 2021 17:41:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtable=E9=AB=98=E5=BA=A6=E5=92=8C=E5=85=A8?= =?UTF-8?q?=E9=80=89checkbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/components/table/MsTable.vue | 4 +- .../components/track/issue/IssueList.vue | 2 + .../report/components/TestPlanReportList.vue | 42 +++++++++++-------- 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/frontend/src/business/components/common/components/table/MsTable.vue b/frontend/src/business/components/common/components/table/MsTable.vue index 9e85133168..174f1a3f6c 100644 --- a/frontend/src/business/components/common/components/table/MsTable.vue +++ b/frontend/src/business/components/common/components/table/MsTable.vue @@ -82,8 +82,8 @@ export default { }, props: { screenHeight: { - type: Number, - default: 400, + type: String, + default: '400', }, selectNodeIds: { type: Array, diff --git a/frontend/src/business/components/track/issue/IssueList.vue b/frontend/src/business/components/track/issue/IssueList.vue index 23d1ad05e6..118b785a5d 100644 --- a/frontend/src/business/components/track/issue/IssueList.vue +++ b/frontend/src/business/components/track/issue/IssueList.vue @@ -16,6 +16,7 @@ :page-size.sync="page.pageSize" :operators="operators" :show-select-all="false" + :screen-height="screenHeight" @handlePageChange="getIssues" @refresh="getIssues"> @@ -104,6 +105,7 @@ export default { data() { return { page: getPageInfo(), + screenHeight: 'calc(100vh - 310px)', operators: [ { tip: this.$t('commons.edit'), icon: "el-icon-edit", diff --git a/frontend/src/business/components/track/report/components/TestPlanReportList.vue b/frontend/src/business/components/track/report/components/TestPlanReportList.vue index 3cc0a7b784..44bcc545ae 100644 --- a/frontend/src/business/components/track/report/components/TestPlanReportList.vue +++ b/frontend/src/business/components/track/report/components/TestPlanReportList.vue @@ -10,15 +10,18 @@ @select="handleSelect" :height="screenHeight" ref="testPlanReportTable" - row-key="id" class="test-content adjust-table ms-select-all" - @filter-change="filter" @sort-change="sort" > + row-key="id" + class="test-content adjust-table ms-select-all-fixed" + @filter-change="filter" @sort-change="sort"> - + + - - - + + +