<!--autobom部分-->
|
<div class="errorInfo">
|
<p></p>
|
<p></p>
|
</div>
|
<!--一级弹出所使用的iframe-->
|
<div id="openFrameDiv" class="easyui-window" closed="true" modal="true" title="标题" style="overflow: hidden;">
|
<iframe scrolling="auto" id='openIframe' frameborder="0" src="none.html" style="width: 100%; height: 100%; background-color: #F5F5F5"></iframe>
|
</div>
|
<div id="openActiveDiv" class="easyui-window" closed="true" modal="true" title="标题" style="overflow: hidden;">
|
<iframe scrolling="auto" id='openActiveIframe' frameborder="0" src="none.html" style="width: 100%; height: 100%; background-color: #e6e6e8"></iframe>
|
</div>
|
|
<!--二级弹出所使用的iframe-->
|
<div id="openSubFrameDiv" class="easyui-window" closed="true" modal="true" title="标题" style="overflow: hidden;">
|
<iframe scrolling="auto" id='openSubIframe' frameborder="0" src="none.html" style="width: 100%; height: 100%; background-color: #F5F5F5"></iframe>
|
</div>
|
<div id="openSubActiveDiv" class="easyui-window" closed="true" modal="true" title="标题" style="overflow: hidden;">
|
<iframe scrolling="auto" id='openSubActiveIframe' frameborder="0" src="none.html" style="width: 100%; height: 100%; background-color: #e6e6e8"></iframe>
|
</div>
|
|
<style type="text/css">
|
.errorInfo {
|
border: 0px solid #000;
|
position: absolute;
|
top: 30px;
|
right: 35%;
|
width: 30%;
|
z-index: 10000;
|
color: #fff;
|
line-height: 30px;
|
padding: 0 5px;
|
background: #fd7742;
|
text-align: center;
|
box-shadow: 0 1px 3px rgba(0,0,0,.3);
|
max-height: 95px;
|
overflow: hidden;
|
display: none;
|
font-size: 14px;
|
border-radius: 3px;
|
}
|
</style>
|
|
<link rel="stylesheet" href="~/Content/css/skin/blue/easyui.css">
|
<script src="~/Content/js/pages/jquery.easyui.min.js" type="text/javascript"></script>
|
<script src="~/Content/js/pages/easyui-lang-zh_CN.js" type="text/javascript"></script>
|
<script>
|
function ShowMsg(msg) {
|
$(".errorInfo p:eq(0)").html(msg);
|
$(".errorInfo p:eq(1)").html("");
|
//$(".errorInfo").fadeIn(100);
|
//$(".errorInfo").fadeOut(6000);
|
$(".errorInfo").show().delay(3000).fadeOut(200);
|
}
|
function ShowTowMsg(level1, level2) {
|
$(".errorInfo p:eq(0)").html(level1);
|
$(".errorInfo p:eq(1)").html(level2);
|
//$(".errorInfo").fadeIn(100);
|
//$(".errorInfo").fadeOut(6000);
|
$(".errorInfo").show().delay(3000).fadeOut(200);
|
}
|
function addTab(name, url) {
|
tab.tabAdd({
|
title: name,
|
href: url
|
});
|
}
|
function CloseTabByTitle(t, bt) {
|
tab.tabDeleteRefresh(t, bt);
|
}
|
var getTabContent = function (name) {
|
name = name || wmsAdmin.currentTitle;
|
|
var id = null
|
wmsAdmin.menuTabs.forEach(function (n) {
|
if (n.title == name)
|
id = n.name;
|
});
|
if (id) {
|
id = 'pane-' + id;
|
var iframe = $("#" + id).find('iframe');
|
return iframe[0].contentWindow;
|
} else {
|
wmsAdmin.warning("未找到名称:" + name + "的tab页");
|
return null;
|
}
|
}
|
var existsTab = function (name) {
|
var exists = false;
|
wmsAdmin.menuTabs.forEach(function (n) {
|
if (n.title == name)
|
exists = true;
|
});
|
return exists;
|
}
|
var current_Title = function () {
|
return wmsAdmin.currentTitle;
|
}
|
function Reload(title) {
|
title = title || wmsAdmin.currentTitle;
|
tab.tabDeleteRefresh(null, title);
|
}
|
</script>
|
<!--autobom部分-->
|