refactor(测试跟踪): 表格高度

This commit is contained in:
Captain.B 2021-05-26 14:06:49 +08:00 committed by 刘瑞斌
parent be0248d168
commit 88979c56fb
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@
:data="tableData"
@filter-change="filter"
@sort-change="sort"
:height="screenHeight"
@row-click="intoPlan">
<template v-for="(item, index) in tableLabel">
<el-table-column
@ -282,6 +283,7 @@ export default {
isTestManagerOrTestUser: false,
total: 0,
tableData: [],
screenHeight: 'calc(100vh - 295px)',
statusFilters: [
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},

View File

@ -12,6 +12,7 @@
class="adjust-table"
:data="tableData"
@filter-change="filter"
:height="screenHeight"
@sort-change="sort"
@row-click="intoReview">
<template v-for="(item, index) in tableLabel">
@ -155,6 +156,7 @@ export default {
currentPage: 1,
pageSize: 10,
total: 0,
screenHeight: 'calc(100vh - 295px)',
statusFilters: [
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},