Bläddra i källkod

第二页导出失败处理,关闭导出对话框不还原分页处理

临城职教中职
liangkun 2 år sedan
committed by ndbs
förälder
incheckning
d940defada
2 ändrade filer med 7 tillägg och 0 borttagningar
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js
  2. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-excel.js

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js Visa fil

@@ -2203,6 +2203,7 @@
dfop.rows = 1000000;
data = data || dfop.param || {};
dfop.param = data.param || data;
dfop.running.pageparam.page = 1;
_jfgrid.reload($self, dfop);
break;
case 'refresh':


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-excel.js Visa fil

@@ -61,6 +61,12 @@
callBack: function (id) {
return top[id].acceptClick();
},
end: function () {
if (learun.frameTab.currentIframe().$('#' + item.F_GridId)[0].dfop.rows == 1000000) {
learun.frameTab.currentIframe().$('#' + item.F_GridId)[0].dfop.rows = 30;
learun.frameTab.currentIframe().$('#' + item.F_GridId).jfGridSet('reload');
}
},
btn: ['导出Excel', '关闭']
});
});


Laddar…
Avbryt
Spara