|
|
@ -668,6 +668,10 @@
|
|
|
|
openTab: function (title, url) {
|
|
|
|
openTab: function (title, url) {
|
|
|
|
createMenuItem(url, title);
|
|
|
|
createMenuItem(url, title);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// 关闭选项卡
|
|
|
|
|
|
|
|
closeTab: function () {
|
|
|
|
|
|
|
|
closeItem();
|
|
|
|
|
|
|
|
},
|
|
|
|
// 禁用按钮
|
|
|
|
// 禁用按钮
|
|
|
|
disable: function() {
|
|
|
|
disable: function() {
|
|
|
|
var doc = window.top == window.parent ? window.document : window.parent.document;
|
|
|
|
var doc = window.top == window.parent ? window.document : window.parent.document;
|
|
|
@ -972,7 +976,7 @@
|
|
|
|
} else if ($contentWindow.$.table._option.type == table_type.bootstrapTreeTable) {
|
|
|
|
} else if ($contentWindow.$.table._option.type == table_type.bootstrapTreeTable) {
|
|
|
|
$contentWindow.$.treeTable.refresh();
|
|
|
|
$contentWindow.$.treeTable.refresh();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
closeItem();
|
|
|
|
$.modal.closeTab();
|
|
|
|
} else if (result.code == web_status.WARNING) {
|
|
|
|
} else if (result.code == web_status.WARNING) {
|
|
|
|
$.modal.alertWarning(result.msg)
|
|
|
|
$.modal.alertWarning(result.msg)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|