基础数据之机场修改优化和各模块表格对齐修改

This commit is contained in:
zhouyuejun
2019-02-20 16:00:35 +08:00
parent 6b318f6faa
commit 209f14d3d6
13 changed files with 411 additions and 265 deletions
@@ -152,7 +152,7 @@ export class CheckinDeskComponent implements OnInit {
setWidth(isLast) {
if (isLast) {
$(".table-body tbody>tr").eq(0).find('td').each((index, element) => {
$(".table-head table thead tr").eq(0).find('th').eq(index).attr('width', $(element).innerWidth() + 'px');
$(".table-head table thead tr").eq(0).find('th').eq(index).attr('width', $(element).outerWidth() + 'px');
})
if (this.tableBody.nativeElement.scrollHeight <= (this.tableBody.nativeElement.innerHeight || this.tableBody.nativeElement.clientHeight)) {
this.tableHead.nativeElement.style.overflowY = 'auto';