|
@@ -96,14 +96,13 @@
|
|
|
</el-collapse-item>
|
|
|
</el-collapse>
|
|
|
</el-header>
|
|
|
- <el-main>
|
|
|
+ <el-main :style="{height:tableMaxHeight}">
|
|
|
<el-table
|
|
|
:data="list"
|
|
|
style="width: 100%"
|
|
|
v-loading="loading"
|
|
|
@row-click="open_detail"
|
|
|
@selection-change="deleteEvents"
|
|
|
- :height="tableMaxHeight"
|
|
|
>
|
|
|
<!-- <el-table-column v-if="noticeRole" :selectable="isSelectable" type="selection" width="55" fixed></el-table-column>-->
|
|
|
<el-table-column :selectable="isSelectable" type="selection" width="55" fixed></el-table-column>
|
|
@@ -1257,10 +1256,12 @@ export default {
|
|
|
},
|
|
|
computed:{
|
|
|
tableMaxHeight(){
|
|
|
- return this.activeCollapseName.includes('search') ? 530 : 710
|
|
|
+ // return this.activeCollapseName.includes('search') ? 530 : 710
|
|
|
+ return this.activeCollapseName.includes('search') ? '30%' : '80%'
|
|
|
},
|
|
|
headerMaxHeight(){
|
|
|
- return this.activeCollapseName.includes('search') ? '300' : '50'
|
|
|
+ // return this.activeCollapseName.includes('search') ? '300' : '50'
|
|
|
+ return this.activeCollapseName.includes('search') ? '27%' : '5%'
|
|
|
}
|
|
|
}
|
|
|
};
|