修改关联测试用例弹框样式

This commit is contained in:
王振 2020-05-11 22:12:23 +08:00
parent 5719f67c04
commit 96b8c89071
2 changed files with 13 additions and 9 deletions

View File

@ -115,6 +115,7 @@
.el-dialog__body { .el-dialog__body {
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px;
} }
.download-template { .download-template {

View File

@ -5,7 +5,8 @@
<el-dialog :title="$t('test_track.plan_view.relevance_test_case')" <el-dialog :title="$t('test_track.plan_view.relevance_test_case')"
:visible.sync="dialogFormVisible" :visible.sync="dialogFormVisible"
@close="close" @close="close"
width="50%"> width="60%"
top="50px">
<el-container class="main-content"> <el-container class="main-content">
<el-aside class="tree-aside" width="250px"> <el-aside class="tree-aside" width="250px">
@ -18,12 +19,13 @@
<el-container> <el-container>
<el-main class="case-content" v-loading="result.loading"> <el-main class="case-content" v-loading="result.loading">
<el-scrollbar> <!-- <el-scrollbar> -->
<el-table <el-table
:data="testCases" :data="testCases"
row-key="id" row-key="id"
@select-all="handleSelectAll" @select-all="handleSelectAll"
@select="handleSelectionChange" @select="handleSelectionChange"
height="70vh"
ref="table"> ref="table">
<el-table-column <el-table-column
@ -38,7 +40,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-scrollbar> <!-- </el-scrollbar> -->
</el-main> </el-main>
</el-container> </el-container>
</el-container> </el-container>
@ -185,17 +187,18 @@
} }
.case-content { .case-content {
height: 500px; padding: 0px 20px;
height: 100%;
/*border: 1px solid #EBEEF5;*/ /*border: 1px solid #EBEEF5;*/
} }
.tree-aside {
min-height: 300px;
max-height: 100%;
}
.main-content { .main-content {
min-height: 300px; min-height: 300px;
/*border: 1px solid #EBEEF5;*/
}
.el-scrollbar {
height: 100%; height: 100%;
/*border: 1px solid #EBEEF5;*/
} }
</style> </style>