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">
-
+
+
@@ -26,9 +29,12 @@
-
-
-
+
+
+
{{ scope.row.createTime | timestampFormatDate }}
@@ -81,10 +87,12 @@ import {
initCondition,
setUnSelectIds, toggleAllSelection,
} from "@/common/js/tableUtils";
+import MsTableHeaderSelectPopover from "@/business/components/common/components/table/MsTableHeaderSelectPopover";
export default {
name: "TestPlanReportList",
components: {
+ MsTableHeaderSelectPopover,
TestPlanReportView,
MsTableOperator, MsTableOperatorButton, MsTableHeader, MsTablePagination,
ReportTriggerModeItem, MsTag,
@@ -102,7 +110,7 @@ export default {
pageSize: 10,
isTestManagerOrTestUser: false,
selectRows: new Set(),
- screenHeight: document.documentElement.clientHeight - 296,//屏幕高度
+ screenHeight: 'calc(100vh - 295px)', //屏幕高度
total: 0,
tableData: [],
statusFilters: [
@@ -264,11 +272,11 @@ export default {
color: #1E90FF;
}
-.ms-select-all >>> th:first-child {
- margin-top: 20px;
-}
+/*.ms-select-all >>> th:first-child {*/
+/* margin-top: 20px;*/
+/*}*/
-.ms-select-all >>> th:nth-child(2) .el-icon-arrow-down {
- top: -2px;
-}
+/*.ms-select-all >>> th:nth-child(2) .el-icon-arrow-down {*/
+/* top: -2px;*/
+/*}*/