| | |
| | | /></div> |
| | | <div class="elTableDiv" style="margin-top: 0;"> |
| | | <el-table |
| | | ref="tableDataRef" |
| | | :data="tableData" |
| | | border |
| | | class="tableFixed" |
| | | :height="isExpandForm?tableHeight:(tableHeight+40)+'px'" |
| | | highlight-current-row |
| | | :row-class-name="tableRowClassName" |
| | |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 85 |
| | | this.tableHeight = this.mainHeight - 250 |
| | | this.$refs.tableDataRef.doLayout() |
| | | // if (window.innerHeight < 769) { |
| | | // this.tableHeight = this.tableHeight - 50 |
| | | // } |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | .tableFixed{ |
| | | ::v-deep .el-table__fixed-right{ |
| | | height: 100% !important; |
| | | } |
| | | ::v-deep .el-table__fixed{ |
| | | height: 100% !important; |
| | | } |
| | | } |
| | | </style> |
| | | <style> |
| | | |