diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.cshtml index fae581f81..a38baed9e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.cshtml @@ -29,7 +29,7 @@
上一步 - 下一步 + 下一步 完成
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.js index 82827cd7a..7eeb05722 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.js @@ -68,18 +68,24 @@ var bootstrap = function ($, learun) { learun.loading(true, '正在获取数据'); learun.httpAsyncGet(top.$.rootUrl + '/LR_SystemModule/Module/GetCheckTreeForModuleList', function (res) { if (res.code == 200) { + setTimeout(function () { + learun.loading(false); + }); treeData = res.data; $('#step-1').lrtree({ data: treeData.moduleList, - isAllExpand:false + isAllExpand: false }); if (!!objectId) { setTreeData1(); } + + } else { + setTimeout(function () { + learun.loading(false); + }); } - setTimeout(function () { - learun.loading(false); - }); + }); learun.httpAsyncGet(top.$.rootUrl + '/LR_SystemModule/Module/GetCheckTreeForButtonList', function (res) { if (res.code == 200) { @@ -90,10 +96,16 @@ var bootstrap = function ($, learun) { if (!!objectId) { setTreeData2(); } + setTimeout(function () { + learun.loading(false); + }); + $("#btn_next").removeAttr('disabled'); + } else { + setTimeout(function () { + learun.loading(false); + }); } - setTimeout(function () { - learun.loading(false); - }); + }); learun.httpAsyncGet(top.$.rootUrl + '/LR_SystemModule/Module/GetCheckTreeForColumnList', function (res) { if (res.code == 200) { @@ -104,10 +116,14 @@ var bootstrap = function ($, learun) { if (!!objectId) { setTreeData3(); } + setTimeout(function () { + learun.loading(false); + }); + } else { + setTimeout(function () { + learun.loading(false); + }); } - setTimeout(function () { - learun.loading(false); - }); }); //learun.httpAsyncGet(top.$.rootUrl + '/LR_SystemModule/Module/GetCheckTree', function (res) { // if (res.code == 200) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js index 0b5fc2ada..030636b1f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js @@ -2215,6 +2215,7 @@ _jfgrid.dataRender($self, dfop, dfop.rowdatas); //liang解决刷新后选择的行不能清除的问题 + $self.find('#jfgrid_left_' + dfop.id + ' .jfgrid-selected,#jfgrid_right_' + dfop.id + ' .jfgrid-selected').removeClass('jfgrid-selected'); dfop.running.rowSelected = undefined; break; case 'addRow':