desc: 调整高度
This commit is contained in:
parent
5a808c1cd4
commit
033c6f40fa
@ -61,7 +61,7 @@ export default {
|
|||||||
return this.$store.state.config.width;
|
return this.$store.state.config.width;
|
||||||
},
|
},
|
||||||
height() {
|
height() {
|
||||||
return this.$store.state.config.height;
|
return this.$store.state.config.height - 30;
|
||||||
},
|
},
|
||||||
show() {
|
show() {
|
||||||
if (this.mode == TrainingMode.EDIT || this.mode == TrainingMode.MAP_EDIT) {
|
if (this.mode == TrainingMode.EDIT || this.mode == TrainingMode.MAP_EDIT) {
|
||||||
|
@ -81,7 +81,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
cardHeight() {
|
cardHeight() {
|
||||||
return this.$store.state.app.height - 195;
|
return this.$store.state.app.height - 195-30;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<!-- style="display: flex;justify-content: center;" -->
|
<!-- style="display: flex;justify-content: center;" -->
|
||||||
<div style="text-align:center;">
|
<div style="text-align:center;">
|
||||||
<el-button type="danger" size="big" @click="removeTrainWindow">{{ $t('map.deleteTrainWindow') }}</el-button>
|
<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>
|
</div>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div class="runPlanList">{{$t('planMonitor.openRunPlan.runPlanList')}}</div>
|
<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>
|
<el-button size="small" type="primary" @click="handleCreate" class="createRunPlan" v-if="isCreate">{{$t('planMonitor.createRunningDiagram')}}</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="runPlanList" height="600" stripe
|
<el-table :data="runPlanList" height="500" stripe
|
||||||
border
|
border
|
||||||
style="width: 90%;margin-left:5%;margin-top:20px;display: inline-block;">
|
style="width: 90%;margin-left:5%;margin-top:20px;display: inline-block;">
|
||||||
<el-table-column prop="name" :label="this.$t('planMonitor.runGraphName')" />
|
<el-table-column prop="name" :label="this.$t('planMonitor.runGraphName')" />
|
||||||
@ -75,7 +75,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
height() {
|
height() {
|
||||||
return this.$store.state.app.height - 50-30;
|
return this.$store.state.app.height - 60 -30;
|
||||||
},
|
},
|
||||||
skinCode() {
|
skinCode() {
|
||||||
return this.$route.query.skinCode || '02';
|
return this.$route.query.skinCode || '02';
|
||||||
|
Loading…
Reference in New Issue
Block a user