|
@@ -263,9 +263,13 @@ $(function() {
|
|
|
//高度适应
|
|
|
function setBoxHeight() {
|
|
|
const ht = window.innerHeight;
|
|
|
- $('.table-cont').height(ht - 309 + 'px');
|
|
|
- $(".patient-table-cont").height(ht - 424 + 'px');
|
|
|
- $('.overAuto').height(ht - 249 + 'px');
|
|
|
+ let at = 70;console.log($(".tabs:visible"))
|
|
|
+ if($(".tabs:visible").length){ //tab显示时高度
|
|
|
+ at=0;
|
|
|
+ }
|
|
|
+ $('.table-cont').height(ht - (309-at) + 'px');
|
|
|
+ $(".patient-table-cont").height(ht - (424-at) + 'px');
|
|
|
+ $('.overAuto').height(ht - (249-at) + 'px');
|
|
|
}
|
|
|
|
|
|
//病人列表获取筛选值
|