Browse Source

test height

zhangweicheng 7 years ago
parent
commit
dfd90cd458
2 changed files with 4 additions and 1 deletions
  1. 1 0
      web/building_saas/js/global.js
  2. 3 1
      web/building_saas/main/js/views/project_view.js

+ 1 - 0
web/building_saas/js/global.js

@@ -10,6 +10,7 @@ function autoFlashHeight(){
     $(".main-data-side-q").height($(window).height()-headerHeight-toolsbarHeight-toolsBarHeightQ-302);
     $(".main-data-side-d").height($(window).height()-headerHeight-toolsbarHeight-toolsBarHeightD-302);
     $(".main-data-top").height($(window).height()-headerHeight-toolsbarHeight-bottomContentHeight-1);
+    $("#project_glj_sheet").height($(window).height()-headerHeight-toolsbarHeight-bottomContentHeight-1);
     $(".main-data-full").height($(window).height()-headerHeight-toolsbarHeight-1);
     $(".main-data-full-fl").height($(window).height()-headerHeight-toolsbarHeight-37);
     $(".main-data-full-feeRate").height($(window).height()-headerHeight-78);

+ 3 - 1
web/building_saas/main/js/views/project_view.js

@@ -599,7 +599,9 @@ var projectObj = {
                 that.project.projectMarkChecking();//是否需要重新进行造价计算
                 installationFeeObj.engineeringTypeChecking();//检查是否安装工程
                 //初始需要触发一次点击表格事件,sheet.getAutoFitWidth值(获取单元格文本长度)才正确
-                autoFlashHeight();//设置界面高度
+                //autoFlashHeight();//设置界面高度
+               // that.mainSpread.refresh();
+                $(window).resize();
             }
             else {