refactor(测试跟踪): 表格高度
This commit is contained in:
parent
be0248d168
commit
88979c56fb
|
@ -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'},
|
||||
|
|
|
@ -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'},
|
||||
|
|
Loading…
Reference in New Issue