style: 修改测试跟踪、测试计划用例列表高度及其他样式问题
This commit is contained in:
parent
b0457f0302
commit
3010d670ca
|
@ -942,7 +942,7 @@ export default {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* /deep/ .el-table__fixed-body-wrapper {
|
/deep/ .el-table__fixed-body-wrapper {
|
||||||
top: 60px !important;
|
top: 60px !important;
|
||||||
} */
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -279,7 +279,7 @@ export default {
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
total: 0,
|
total: 0,
|
||||||
selectDataCounts: 0,
|
selectDataCounts: 0,
|
||||||
screenHeight: 'calc(100vh - 330px)',//屏幕高度
|
screenHeight: 'calc(100vh - 250px)',//屏幕高度
|
||||||
// environmentId: undefined,
|
// environmentId: undefined,
|
||||||
currentCaseProjectId: "",
|
currentCaseProjectId: "",
|
||||||
runData: [],
|
runData: [],
|
||||||
|
@ -750,6 +750,6 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-table__fixed-body-wrapper {
|
/deep/ .el-table__fixed-body-wrapper {
|
||||||
top: 59px !important;
|
top: 48px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<el-table-column v-if="item.id == 'name'" prop="name" :label="$t('api_test.automation.scenario_name')" min-width="120px"
|
<el-table-column v-if="item.id == 'name'" prop="name" :label="$t('api_test.automation.scenario_name')" min-width="120px"
|
||||||
sortable
|
sortable
|
||||||
show-overflow-tooltip :key="index"/>
|
show-overflow-tooltip :key="index"/>
|
||||||
<el-table-column v-if="item.id == 'level'" prop="level" :label="$t('api_test.automation.case_level')" min-width="100px"
|
<el-table-column v-if="item.id == 'level'" prop="level" :label="$t('api_test.automation.case_level')" min-width="120px"
|
||||||
column-key="level"
|
column-key="level"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
:filters="LEVEL_FILTERS"
|
:filters="LEVEL_FILTERS"
|
||||||
|
@ -211,7 +211,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
type: TEST_PLAN_SCENARIO_CASE,
|
type: TEST_PLAN_SCENARIO_CASE,
|
||||||
headerItems: Test_Plan_Scenario_Case,
|
headerItems: Test_Plan_Scenario_Case,
|
||||||
screenHeight: 'calc(100vh - 330px)',//屏幕高度
|
screenHeight: 'calc(100vh - 250px)',//屏幕高度
|
||||||
tableLabel: [],
|
tableLabel: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
condition: {},
|
condition: {},
|
||||||
|
@ -536,9 +536,10 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-select-all-fixed >>> th:nth-child(2) .el-icon-arrow-down {
|
.ms-select-all-fixed >>> th:nth-child(2) .el-icon-arrow-down {
|
||||||
top: -3px;
|
top: -4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .el-table__fixed-body-wrapper {
|
||||||
|
top: 48px !important;
|
||||||
}
|
}
|
||||||
/*/deep/ .el-table__fixed-body-wrapper {*/
|
|
||||||
/* top: 59px !important;*/
|
|
||||||
/*}*/
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -294,7 +294,7 @@ export default {
|
||||||
type: TEST_PLAN_FUNCTION_TEST_CASE,
|
type: TEST_PLAN_FUNCTION_TEST_CASE,
|
||||||
fields: [],
|
fields: [],
|
||||||
fieldsWidth: getCustomTableWidth('TRACK_TEST_CASE'),
|
fieldsWidth: getCustomTableWidth('TRACK_TEST_CASE'),
|
||||||
screenHeight: 'calc(100vh - 330px)',
|
screenHeight: 'calc(100vh - 275px)',
|
||||||
tableLabel: [],
|
tableLabel: [],
|
||||||
result: {},
|
result: {},
|
||||||
deletePath: "/test/case/delete",
|
deletePath: "/test/case/delete",
|
||||||
|
|
|
@ -201,7 +201,7 @@ export default {
|
||||||
total: 0,
|
total: 0,
|
||||||
selectDataCounts: 0,
|
selectDataCounts: 0,
|
||||||
status: 'default',
|
status: 'default',
|
||||||
screenHeight: 'calc(100vh - 330px)',//屏幕高度
|
screenHeight: 'calc(100vh - 250px)',//屏幕高度
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
name: this.$t('test_track.plan.load_case.unlink_in_bulk'), handleClick: this.handleDeleteBatch, permissions: ['PROJECT_TRACK_PLAN:READ+CASE_BATCH_DELETE']
|
name: this.$t('test_track.plan.load_case.unlink_in_bulk'), handleClick: this.handleDeleteBatch, permissions: ['PROJECT_TRACK_PLAN:READ+CASE_BATCH_DELETE']
|
||||||
|
@ -496,6 +496,6 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/deep/ .el-table__fixed-body-wrapper {
|
/deep/ .el-table__fixed-body-wrapper {
|
||||||
top: 59px !important;
|
top: 47px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -186,4 +186,10 @@ export default {
|
||||||
height: calc(100vh - 80px - 53px);
|
height: calc(100vh - 80px - 53px);
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-menu.el-menu--horizontal > li {
|
||||||
|
height: 49px;
|
||||||
|
line-height: 50px;
|
||||||
|
color: dimgray;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -248,7 +248,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
type: TEST_CASE_REVIEW_CASE_LIST,
|
type: TEST_CASE_REVIEW_CASE_LIST,
|
||||||
headerItems: Test_Case_Review_Case_List,
|
headerItems: Test_Case_Review_Case_List,
|
||||||
screenHeight: 'calc(100vh - 330px)',
|
screenHeight: 'calc(100vh - 270px)',
|
||||||
tableLabel: [],
|
tableLabel: [],
|
||||||
result: {},
|
result: {},
|
||||||
condition: {},
|
condition: {},
|
||||||
|
@ -547,7 +547,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-table__fixed-body-wrapper {
|
/deep/ .el-table__fixed-body-wrapper {
|
||||||
top: 59px !important;
|
top: 48px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,10 @@
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-dialog__body {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.tip {
|
.tip {
|
||||||
padding: 3px 5px;
|
padding: 3px 5px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
Loading…
Reference in New Issue