实训设计盘高度调整
This commit is contained in:
parent
d0d77bd350
commit
00e2b3231a
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="editContent" :class="{'active': dialogVisible}">
|
||||
<div class="editContent" :class="{'active': dialogVisible}" :style="{height: paneHeight + 'px'}">
|
||||
<div class="editContentTab">
|
||||
<div class="editContentTabLable" @click="minisize">
|
||||
<span class="titleStyle">实训设计</span>
|
||||
@ -144,9 +144,10 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
tableHeight() {
|
||||
const s = 330;
|
||||
const h = this.$store.state.app.height;
|
||||
return h - s;
|
||||
return this.$store.state.app.height - 385;
|
||||
},
|
||||
paneHeight() {
|
||||
return this.$store.state.app.height - 55;
|
||||
},
|
||||
group() {
|
||||
return this.$route.query.group;
|
||||
|
@ -6,7 +6,15 @@
|
||||
<div style="text-align: right;padding: 10px;margin-bottom: 10px;">
|
||||
<el-button size="small" type="text" class="createScript" @click="handleCreate">新建</el-button>
|
||||
</div>
|
||||
<QueryListPage ref="queryListPage" :card-padding="10" :pager-config="pagerConfig" :query-form="queryForm" :query-list="queryList" />
|
||||
<QueryListPage
|
||||
ref="queryListPage"
|
||||
:style="{maxHeight: tableHeight + 'px'}"
|
||||
style="overflow-y: scroll;"
|
||||
:card-padding="10"
|
||||
:pager-config="pagerConfig"
|
||||
:query-form="queryForm"
|
||||
:query-list="queryList"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -46,7 +54,6 @@ export default {
|
||||
RAIL_CTC: '10'
|
||||
},
|
||||
queryList: {
|
||||
height: 800,
|
||||
query: this.queryFunction,
|
||||
selectCheckShow: false,
|
||||
columns: [
|
||||
@ -139,6 +146,9 @@ export default {
|
||||
},
|
||||
trainingSwitch() {
|
||||
return this.$store.state.trainingNew.trainingSwitch;
|
||||
},
|
||||
tableHeight() {
|
||||
return this.$store.state.app.height - 180;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user