jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!--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部分-->