| | |
| | | <template> |
| | | <div class="chengzhenXinzengJiuye-wrap"> |
| | | <el-table |
| | | :max-height="tableHeight" |
| | | border |
| | | :data="tableData" |
| | | :header-cell-style="handleheader" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import nowSize from "../../../libs/nowSize"; |
| | | export default { |
| | | name: "chengzhenXinzengJiuye", |
| | | props: { |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | | tableHeight: window.innerHeight - nowSize(350) |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | return { |
| | | lineHeight: '2.5', |
| | | } |
| | | }, |
| | | getHeight() { |
| | | this.tableHeight = window.innerHeight - nowSize(230) |
| | | } |
| | | }, |
| | | created() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | }, |
| | | destroyed() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | } |
| | | } |
| | | </script> |