若依2.2版本发布
This commit is contained in:
@ -187,7 +187,6 @@ $(function() {
|
||||
});
|
||||
|
||||
function menuItem() {
|
||||
$.modal.loading("数据加载中,请稍后...");
|
||||
// 获取标识数据
|
||||
var dataUrl = $(this).attr('href'),
|
||||
dataIndex = $(this).data('index'),
|
||||
@ -221,12 +220,17 @@ $(function() {
|
||||
// 添加选项卡对应的iframe
|
||||
var str1 = '<iframe class="RuoYi_iframe" name="iframe' + dataIndex + '" width="100%" height="100%" src="' + dataUrl + '" frameborder="0" data-id="' + dataUrl + '" seamless></iframe>';
|
||||
$('.mainContent').find('iframe.RuoYi_iframe').hide().parents('.mainContent').append(str1);
|
||||
|
||||
|
||||
$.modal.loading("数据加载中,请稍后...");
|
||||
|
||||
$('.mainContent iframe:visible').load(function () {
|
||||
$.modal.closeLoading();
|
||||
});
|
||||
|
||||
// 添加选项卡
|
||||
$('.menuTabs .page-tabs-content').append(str);
|
||||
scrollToTab($('.menuTab.active'));
|
||||
}
|
||||
$.modal.closeLoading();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -95,6 +95,17 @@
|
||||
return $.map($('#bootstrap-table').bootstrapTable('getSelections'), function (row) {
|
||||
return row[$.table._option.columns[1].field];
|
||||
});
|
||||
},
|
||||
// 回显数据字典
|
||||
selectDictLabel: function(_datas, _value) {
|
||||
var actions = [];
|
||||
$.each(_datas, function(index, dict) {
|
||||
if (dict.dictValue == _value) {
|
||||
actions.push("<span class='badge badge-" + dict.listClass + "'>" + dict.dictLabel + "</span>");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return actions.join('');
|
||||
}
|
||||
},
|
||||
// 表格树封装处理
|
||||
|
463
src/main/resources/static/ruoyi/js/ry-ui.min.js
vendored
463
src/main/resources/static/ruoyi/js/ry-ui.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user