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