refactor(测试跟踪): 表格高度
This commit is contained in:
parent
be0248d168
commit
88979c56fb
|
@ -15,6 +15,7 @@
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
@filter-change="filter"
|
@filter-change="filter"
|
||||||
@sort-change="sort"
|
@sort-change="sort"
|
||||||
|
:height="screenHeight"
|
||||||
@row-click="intoPlan">
|
@row-click="intoPlan">
|
||||||
<template v-for="(item, index) in tableLabel">
|
<template v-for="(item, index) in tableLabel">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -282,6 +283,7 @@ export default {
|
||||||
isTestManagerOrTestUser: false,
|
isTestManagerOrTestUser: false,
|
||||||
total: 0,
|
total: 0,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
|
screenHeight: 'calc(100vh - 295px)',
|
||||||
statusFilters: [
|
statusFilters: [
|
||||||
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
|
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
|
||||||
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},
|
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
class="adjust-table"
|
class="adjust-table"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
@filter-change="filter"
|
@filter-change="filter"
|
||||||
|
:height="screenHeight"
|
||||||
@sort-change="sort"
|
@sort-change="sort"
|
||||||
@row-click="intoReview">
|
@row-click="intoReview">
|
||||||
<template v-for="(item, index) in tableLabel">
|
<template v-for="(item, index) in tableLabel">
|
||||||
|
@ -155,6 +156,7 @@ export default {
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
total: 0,
|
total: 0,
|
||||||
|
screenHeight: 'calc(100vh - 295px)',
|
||||||
statusFilters: [
|
statusFilters: [
|
||||||
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
|
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
|
||||||
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},
|
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},
|
||||||
|
|
Loading…
Reference in New Issue