zhouna 4 years ago
parent
commit
6a3a722974
2 changed files with 5 additions and 4 deletions
  1. 2 1
      src/css/allotCheckTask.less
  2. 3 3
      src/js/allotCheckTask.js

+ 2 - 1
src/css/allotCheckTask.less

@@ -2,7 +2,8 @@
 .container{
     width: 100%;
     height: 100%;
-    /*overflow: auto;*/
+    overflow-x: auto;
+    overflow-y: hidden;
     background: #fff;
     border-bottom: 10px @disColor solid;
     box-sizing: border-box;

+ 3 - 3
src/js/allotCheckTask.js

@@ -263,9 +263,9 @@ $(function() {
 //高度适应
 function setBoxHeight() {
     const ht = window.innerHeight;
-    $('.table-cont').height(ht - 299 + 'px');
-    $(".patient-table-cont").height(ht - 414 + 'px');
-    $('.overAuto').height(ht - 239 + 'px');
+    $('.table-cont').height(ht - 309 + 'px');
+    $(".patient-table-cont").height(ht - 424 + 'px');
+    $('.overAuto').height(ht - 249 + 'px');
 }
 
 //病人列表获取筛选值