|
|
|
@ -399,6 +399,13 @@ $(function() {
|
|
|
|
|
target.attr('src', url).ready();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 页签全屏
|
|
|
|
|
function fullScreenTab() {
|
|
|
|
|
var currentId = $('.page-tabs-content').find('.active').attr('data-id');
|
|
|
|
|
var target = $('.RuoYi_iframe[data-id="' + currentId + '"]');
|
|
|
|
|
target.fullScreen(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 关闭当前选项卡
|
|
|
|
|
function tabCloseCurrent() {
|
|
|
|
|
$('.page-tabs-content').find('.active i').trigger("click");
|
|
|
|
@ -432,9 +439,12 @@ $(function() {
|
|
|
|
|
$(document).toggleFullScreen();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 刷新按钮
|
|
|
|
|
// 页签刷新按钮
|
|
|
|
|
$('.tabReload').on('click', refreshTab);
|
|
|
|
|
|
|
|
|
|
// 页签全屏按钮
|
|
|
|
|
$('.tabFullScreen').on('click', fullScreenTab);
|
|
|
|
|
|
|
|
|
|
// 双击选项卡全屏显示
|
|
|
|
|
$('.menuTabs').on('dblclick', '.menuTab', activeTabMax);
|
|
|
|
|
|
|
|
|
|