Przeglądaj źródła

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

临城职教中职
liangkun 2 lat temu
committed by ndbs
rodzic
commit
d940defada
2 zmienionych plików z 7 dodań i 0 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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', '关闭']
});
});


Ładowanie…
Anuluj
Zapisz