Kaynağa Gözat

功能授权加载加载完成取消提示,解决列表取消选中状态样式

新疆警官学校中职
libo 1 yıl önce
ebeveyn
işleme
793f6a8a75
3 değiştirilmiş dosya ile 28 ekleme ve 11 silme
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.cshtml
  2. +26
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.js
  3. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.cshtml Dosyayı Görüntüle

@@ -29,7 +29,7 @@

<div class="lr-form-bottom-button" id="wizard-actions">
<a id="btn_prev" class="btn btn-default btn-prev" disabled>上一步</a>
<a id="btn_next" class="btn btn-default btn-next">下一步</a>
<a id="btn_next" class="btn btn-default btn-next" disabled>下一步</a>
<a id="btn_finish" disabled class="btn btn-success">完成</a>
</div>
</div>


+ 26
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_AuthorizeModule/Views/Authorize/Form.js Dosyayı Görüntüle

@@ -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) {


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js Dosyayı Görüntüle

@@ -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':


Yükleniyor…
İptal
Kaydet