|
@@ -155,8 +155,16 @@ var refreshItem = function(){
|
|
|
}
|
|
|
|
|
|
|
|
|
-var closeItem = function(){
|
|
|
+var closeItem = function(dataId){
|
|
|
var topWindow = $(window.parent.document);
|
|
|
+ if($.common.isNotEmpty(dataId)){
|
|
|
+ window.parent.$.modal.closeLoading();
|
|
|
+
|
|
|
+ $('.menuTab[data-id="' + dataId + '"]', topWindow).remove();
|
|
|
+
|
|
|
+ $('.mainContent .RuoYi_iframe[data-id="' + dataId + '"]', topWindow).remove();
|
|
|
+ return;
|
|
|
+ }
|
|
|
var panelUrl = window.frameElement.getAttribute('data-panel');
|
|
|
$('.page-tabs-content .active i', topWindow).click();
|
|
|
if($.common.isNotEmpty(panelUrl)){
|