WebRoot/js/index/funcLink.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebRoot/public/template/0/grid.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebRoot/style/commons.css | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
WebRoot/js/index/funcLink.js
@@ -2063,9 +2063,22 @@ function showLoading() { $("#loading").show(); } function closeLoadingButton(){ let close = $(".loadingClose"); if (close) {close.remove();} $(".loadingMsg").after("<p class=\"loadingClose\">" + "<button class='easyui-linkbutton l-btn l-btn-small' onclick='javascript: closeLoading()'>关闭" + "</button></p>"); } function closeLoading() { $("#loading").hide(); } //错误异常的捕获 xin 2023-8-22 10:34:29 window.onerror=function (message, source, lineno, colno, error) { closeLoadingButton(); console.log(message); return true; // 防止异常的默认行为 } /** ***************************************** */ Object.extend = function(destination, source) { for ( var property in source) { WebRoot/public/template/0/grid.js
@@ -6,6 +6,7 @@ gridInt@num.InitValue="@initValue"; gridInt@num.mastercode=""; function create@num(where,flag,cp){ try{ if(where!=""){ if(where.indexOf("|")==0){ where = where.substring(where.indexOf("|")+1); @@ -33,15 +34,18 @@ @create gridId.push("@divID"); try{ if(';20;30;'.indexOf(';'+top.myFresh.panel[top.tabindex]+';')!=-1){gridHeight();} if(';20;30;'.indexOf(';'+top.myFresh.panel[top.tabindex]+';')!=-1){gridHeight();} }catch(e){} if(!navigator.userAgent.match(/iPad|iPhone|Android/i)){ Grids.OnEndEdit=null; } if(top.myFresh&&top.myFresh.grids){ top.myFresh.grids=Grids;//页卡关闭获取格线是否有内容改变。 } if(typeof(def)!="undefined"){ return def;//如果有定义def的才执行,用在8类型时需要调用promise方式返回来执行第三表的加载,其他类型不需要 } if(typeof(def)!="undefined"){ return def;//如果有定义def的才执行,用在8类型时需要调用promise方式返回来执行第三表的加载,其他类型不需要 } }catch(e1){ closeLoadingButton(); } } WebRoot/style/commons.css
@@ -33,6 +33,21 @@ margin:20px 0 0 -50px; padding:3px 10px; } .loadingClose{ color:#fff; position:absolute; width: 155px; top:55%; left:51%; margin:20px 0 0 -50px; padding:3px 10px; } .loadingClose button{ width: 80px; height: 30px; position: absolute; z-index: 999; } .loadingIFRM{ position: absolute; top:0px;left:0px;