| | |
| | | const height = window.innerHeight |
| | | console.log('beforeEach========================:' + height) |
| | | const height13 = getEleHeghtByClassName('common-header', 0) |
| | | const height4 = getEleHeghtByClassName('table-pagination', 0,-20) |
| | | const height5 = document.getElementsByTagName('thead') && document.getElementsByTagName('thead')[0] ? document.getElementsByTagName('thead')[0].clientHeight : 0 |
| | | if (document.getElementsByClassName('main_app') && document.getElementsByClassName('main_app')[0]) { |
| | | console.log('main_app========================') |
| | | // alert(height) |
| | | const height3 = getEleHeghtByClassName('main-header', 0) |
| | | const height4 = getEleHeghtByClassName('table-pagination', 0) |
| | | const height2 = getEleHeghtByClassName('toolbar', 0) |
| | | const height6 = getEleHeghtByClassName('doumee-filter', 0, 16) |
| | | const height7 = getEleHeghtByClassName('pt16', 0, 0) |
| | |
| | | console.log('tableLayout========================') |
| | | const height1 = getEleHeghtByClassName('table-search-form', 40, 16) |
| | | const height3 = getEleHeghtByClassName('main-header', 0) |
| | | const height4 = getEleHeghtByClassName('table-pagination', 0) |
| | | // const height4 = getEleHeghtByClassName('table-pagination', 0,-20) |
| | | const height2 = getEleHeghtByClassName('toolbar', 0) |
| | | console.log('defualtlength', document.getElementsByClassName('table-search-form').length) |
| | | router.app.$store.commit('setTableHeightNew', height - height4 - height3 - height2 - height1 - height5 - height13) |