username@email.com
2025-04-27 15eb82df2d6ec539e9d4245bfe08d531e8eb6379
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
@using zhengcaioa.Models;
@{
    string FlowLink = string.Empty;
    string FlowLinkName = string.Empty;
   
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>@SiteConfig.SiteName</title>
    <meta name="keywords" content="@SiteConfig.Keywords">
    <meta name="description" content="@SiteConfig.Description">
    <meta name="author" content="@SiteConfig.Author">
    <link rel="icon" type="image/x-icon" href="@SiteConfig.ShortcutIcon">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <link href="~/css/bootstrap.min.css" rel="stylesheet">
    <link href="~/css/font-awesome.min.css" rel="stylesheet">
    <link href="~/css/animate.min.css" rel="stylesheet">
    <link href="~/css/style.min.css?v=6" rel="stylesheet">
    <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow: hidden">
    <div id="wrapper">
        @{
            Html.RenderPartial("_Layout_Left");
        }
        @*@{Html.RenderPartial("_Layout_Left", ViewData["lstMune"]);}*@
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            @{
                Html.RenderPartial("_Layout_Header");
            }
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" width="100%" height="100%" src="/Home/HomeIndex" data-id="/Home/HomeIndex"
                        name="iframe0" frameborder="0" seamless></iframe>
            </div>
            @*@RenderPage("_Layout_Footer.cshtml")*@
            @RenderBody()
        </div>
 
        <a id="aFlowLink" class="J_menuItem" href="" data-index="0" style="display:none;"></a>
 
 
 
    </div>
    <script src="~/js/jquery.min.js" type="text/javascript"></script>
    <script src="~/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="~/js/plugins/metisMenu/jquery.metisMenu.js" type="text/javascript"></script>
    <script src="~/js/plugins/slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
    <script src="~/js/plugins/layer/layer.js" type="text/javascript"></script>
    <script src="~/js/hplus.min.js" type="text/javascript"></script>
    <script src="~/js/contabs.min.js" type="text/javascript"></script>
    <script src="~/js/plugins/pace/pace.min.js" type="text/javascript"></script>
    <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script>
    <script src="~/js/common-layout.js" type="text/javascript"></script>
    <script src="~/js/datehelper.js"></script>    
 
    <script type="text/javascript">
 
    </script>
    <script language="javascript" type="text/javascript">
 
 
        function _CloseTab(taburl) {
            taburl = decodeURIComponent(taburl);
            var isclose = false;
            var lastid = "";
            $(".J_menuTab").each(function () {
                if ($(this).data("id") == taburl) {
                    console.log("关闭");
 
                    isclose = true;
                    $(".page-tabs-content a[data-id='" + taburl + "']").remove();
                    $("#content-main").find("iframe[data-id='" + taburl + "']").remove();
 
                }
                else {
                    lastid = $(this).data("id");
                }
            });
            if (isclose) {
                $('.J_iframe[data-id="' + lastid + '"]').show();
                $(".page-tabs-content a[data-id='" + lastid + "']").addClass("active")
            }
 
        }
 
        function _RefreshTab(taburl) {
            taburl = decodeURIComponent(taburl);
 
            var isclose = false;
            var lastid = "";
            $(".J_menuTab").each(function () {
                if ($(this).data("id") == taburl) {
                    var child = $("#content-main").find("iframe[data-id='" + taburl + "']");
                    if (child.length > 0) {
                        $(child[0]).attr("src", $(child[0]).attr('src'));
                    }
                }
 
            });
 
 
        }
 
        var timerId; // 定时器id
        var isLock = false; // 是否锁定
 
 
        // 退出
        var logout = function () {
            if (isLock) {
                return;
            }
            //clearInterval(timerId);
            setTimeout(function () {
                location.href = "/uc/logout";
            }, 400);
        }
 
        //clearInterval(timer);
        timerId = function () {
            $.ajax({
                type: "POST",
                url: "/DailyManagement/CountRemindRecord",
                dataType: "json",
                global: false,
                async: false,
                //data: $('form').serializeArray(),
                success: function (data) {
                    // console.log(data);
                    $("#RemindCount").text(data);
                    if (parseInt(data) > 0) {
                        $("#imgRemindCount").attr("style", 'font-size:18px; color:#0d9c63;');
                    }
                    else {
                        $("#imgRemindCount").attr("style", 'font-size: larger;');
                    }
                },
                error: function () {
                    parent.layer.msg('失败', { icon: 5 });
                }
            });
 
 
            $.ajax({
                type: "POST",
                url: "/WorkFlowTask/CountRemindRecord",
                dataType: "json",
                global: false,
                async: false,
                //data: $('form').serializeArray(),
                success: function (data) {
                    // console.log(data);
                    $("#wfmsgcount").text(data);
                    if (parseInt(data) > 0) {
                        $("#showmsgcounts").attr("style", 'font-size:18px; color:#0d9c63;');
                    }
                    else {
                        $("#showmsgcounts").attr("style", 'font-size: larger;');
                    }
                },
                error: function () {
                    parent.layer.msg('失败', { icon: 5 });
                }
            });
 
        };
 
        timerId();
        setInterval(timerId, 1000 * 60 * 2);
        window.addEventListener("load", function () {
            window.addEventListener("message", function (message) {
                if (message.data == "ClosePage") {
                    //添加关闭页面逻辑
                    $(".page-tabs-content a").each(function () {
 
                        if ($(this).hasClass("active")) {
                            var urlll = $(this).attr("data-id");
                            _CloseTab1(urlll);
 
                        }
                    });
                }
            })
        })
 
 
 
 
 
        function _CloseTab1(taburl) {
            //taburl = decodeURIComponent(taburl);
            var isclose = false;
            var lastid = "";
            $(".J_menuTab").each(function () {
                if ($(this).data("id") == taburl) {
                    console.log("关闭");
 
                    isclose = true;
                    $(".page-tabs-content a[data-id='" + taburl + "']").remove();
                    $("#content-main").find("iframe[data-id='" + taburl + "']").remove();
 
                }
                else {
                    lastid = $(this).data("id");
                }
            });
            if (isclose) {
                $('.J_iframe[data-id="' + lastid + '"]').show();
                $(".page-tabs-content a[data-id='" + lastid + "']").addClass("active")
            }
 
        }
 
 
    </script>
 
</body>
</html>