desc: 调整高度

This commit is contained in:
zyy 2019-10-24 18:28:06 +08:00
parent 5a808c1cd4
commit 033c6f40fa
5 changed files with 9 additions and 9 deletions

View File

@ -61,7 +61,7 @@ export default {
return this.$store.state.config.width;
},
height() {
return this.$store.state.config.height;
return this.$store.state.config.height - 30;
},
show() {
if (this.mode == TrainingMode.EDIT || this.mode == TrainingMode.MAP_EDIT) {

View File

@ -81,7 +81,7 @@ export default {
},
computed: {
cardHeight() {
return this.$store.state.app.height - 195;
return this.$store.state.app.height - 195-30;
}
},
watch: {

View File

@ -17,7 +17,7 @@
<!-- style="display: flex;justify-content: center;" -->
<div style="text-align:center;">
<el-button type="danger" size="big" @click="removeTrainWindow">{{ $t('map.deleteTrainWindow') }}</el-button>
<el-button type="primary" size="big" @click="createTrainWindow" style="margin-top:10px">{{ $t('map.createTrainWindow') }}</el-button>
<el-button type="primary" size="big" style="margin-top:10px" @click="createTrainWindow">{{ $t('map.createTrainWindow') }}</el-button>
</div>
</el-scrollbar>
</el-tab-pane>

View File

@ -4,7 +4,7 @@
<div class="runPlanList">{{$t('planMonitor.openRunPlan.runPlanList')}}</div>
<el-button size="small" type="primary" @click="handleCreate" class="createRunPlan" v-if="isCreate">{{$t('planMonitor.createRunningDiagram')}}</el-button>
</div>
<el-table :data="runPlanList" height="600" stripe
<el-table :data="runPlanList" height="500" stripe
border
style="width: 90%;margin-left:5%;margin-top:20px;display: inline-block;">
<el-table-column prop="name" :label="this.$t('planMonitor.runGraphName')" />
@ -75,7 +75,7 @@ export default {
},
computed: {
height() {
return this.$store.state.app.height - 50-30;
return this.$store.state.app.height - 60 -30;
},
skinCode() {
return this.$route.query.skinCode || '02';