xinyb
2024-09-19 18ffbca9acaccd5099a7a63652f52210f59a7e40
WebRoot/js/index/index.js
@@ -18,6 +18,7 @@
var gridFileInputVal;//针对格线附件控件的值 xin 2022-3-1 09:20:43
var isFileInputImage;//针对附件控件图片放大 xin 2022-3-1 09:20:43
var treeTab=[];
var layoutTitle="自定义控件";
//---end
myFresh.type=0;
$( function() {
@@ -164,6 +165,13 @@
               lastTabs.push(tt); // 重新压入,保证 最新的在最上面
               var sTab = $("#home-tabs").tabs("getTab", index);
               let layoutT = tt.split(">");//自定义控件页卡名 xin 2024-4-25 15:00:43
               if (layoutT.length > 1) {
                  layoutT = layoutT[1].split("-");
                  if (layoutT.length > 1) {
                     layoutTitle = layoutT[0] + layoutT[1];
                  }
               }
               if (!isLoadSelect) {// 在循环添加cookie里面的tab改变改值
                  /* 第一次点击加载 */
                  // var info=$.cookie("lastSelectedTab");
@@ -218,7 +226,14 @@
                     && myFresh.panel[index] != 18
                     && myFresh.panel[index] != 38
                     && myFresh.panel[index] != 3
                     && myFresh.panel[index] != 10) {
                     && myFresh.panel[index] != 10
                     && myFresh.formType!=1000
                     && myFresh.formType!=1001
                     && myFresh.formType!=1002
                     && myFresh.formType!=1003
                     && myFresh.formType!=1004
                     && myFresh.formType!=1005//by danaus 2024-06-01 11:17
               ) {
                  if (myFresh.panel[index + '-t']
                        || getGrid(myFresh.grids)) {
                     $.messager.confirm('确认',
@@ -842,7 +857,7 @@
   }
   /* end */
   //var tid=Math.round(Math.random()*10000)
   let panel_onlyOne="";
   //设置新页卡的高度为指定高度px(不能使用 100%),如果不设置指定高度px,遇到 chrome 低版本时(如 for xp )时页面只显示上半截 ,Added by Johns Wang,2018-12-04
   var iFrameHeight = $('#home-tabs').height() ;
   //var barHeight = window.innerHeight - document.body.clientHeight ;