2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title th:text="${systemName}"></title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
 
    <link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/assets/css/style.css'}" />
    <link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/expand/css/bootstrap-extract.css'}" />
    <link th:href="@{${pubzyWebRoot} + 'media/css/landtool.css'}" rel="stylesheet" type="text/css" id="style_color" />
    <link rel="shortcut icon" th:href="@{${pubzyWebRoot} + 'media/image/favicon.ico'}" />
    <script th:src="@{${pubzyWebRoot} + 'media/js/jquery-1.11.1.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/expand/plugins/layer/layer.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/tether.min.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/bootstrap.min.js'}"></script>
    <style>
 
        body {
            background-color: white !important;
            font-family: "Microsoft Yahei", '微软雅黑', "Roboto", sans-serif !important;
            overflow-x: auto !important;
        }
        .DTFW_smenu {
            width: 75px;
            height: 91px;
            /*line-height: 91px;*/
            float: left;
            box-sizing: content-box;
            margin: 12px 40px;
            padding: 0 5px;
            color: #ffffff;
            font-weight: 600;
            margin-right: 0;
        }
 
        .DTFW_smenu img {
            width: 52px;
            height: 58px;
            margin: 0 10px;
            margin-top: 8px;
        }
 
        .ZYZX_smenu {
            width: 75px;
            height: 91px;
            /*line-height: 91px;*/
            float: left;
            box-sizing: content-box;
            margin: 12px 40px;
            /*padding: 0 5px;*/
            color: #ffffff;
            font-weight: 600;
            margin-right: 0;
        }
 
        .ZYZX_smenu img {
            width: 52px;
            height: 58px;
            margin: 0 10px;
            margin-top: 8px;
        }
 
        #menu a {
            margin: 0;
            padding-left: 0px;
            padding-right: 0px;
        }
 
        @media (max-width: 1279px) {
            #menu_aqtc {
                display: none;
            }
 
            #menu_xtsz {
                display: none;
            }
        }
 
        .header.navbar-fixed-top {
            z-index: 2 !important;
        }
 
        /*底部边距(原版权区域)*/
        .page-footer-fixed .page-container {
            margin-bottom: 0 !important;
        }
 
        body {
            padding-bottom: 0px !important;
        }
 
        #bts_pagebody,#rapp {
            width: 1420px;
            margin: 0 auto !important;
        }
 
        #wrapper {
            position: relative;
        }
        
        #div_foot {
            height: 50px;
            line-height: 50px;
            background-color: #107CE1;
            color: #fff;
            font-size: 15px;
            margin-top: 55px;
        }
    </style>
</head>
<body class="page-header-fixed page-sidebar-fixed page-footer-fixed">
<div id="wrapper" style="min-width: 1420px;">
<div class="header navbar navbar-inverse " style="border:none;padding: 0;">
    <div th:replace="MasterPage/CommonPage/Header :: TopMenu"></div>
</div>
<div id="pagebody" style="width: 100%;position: absolute;top: 115px;background-color: white;">
    <div id="bts_pagebody" class="page-container row" layout:fragment="content">
    </div>
    <div id="div_foot" style="width:100%; text-align:center;">
        <div th:replace="MasterPage/New/footer :: copyright"></div>
    </div>
</div>
 
</div>
<script th:inline="javascript">
    /*<![CDATA[*/
    var backstageWebRoot = [[${backstageWebRoot}]];
    var gisPortal = [[${gisPortal}]];
    var staticFileRoot = "";
    var resizefunc = [];
    var curMenu = "";
 
    jQuery(document).ready(function () {
        // initiate layout and plugins
        try {
            var param = window.location.search;//获取地址参数
            var arr = param.replace("?", "").split('&');
            for (var i = 0; i < arr.length; i++) {
                if(arr[i].indexOf("Menu=") > -1) {
                    if (arr[i].indexOf("Menu=ZYZX")>-1) {
                        $("#Menu_DTFW").css("display", "none");
                        $("#Menu_ZYZX").css("display", "");
                        // if(param.indexOf("title=ZYZX")>-1) {
                        //     $("#logo_Img").attr("src", "/image/TopMenu/CommonMenu/ziyuanzhongxintitle.png");
                        // }
                        // if(param.indexOf("title=ZYFB")>-1) {
                        //     $("#logo_Img").attr("src", "/image/TopMenu/CommonMenu/ziyuanfabutitle.png");
                        // }
                        // if(param.indexOf("title=ZYML")>-1) {
                        //     $("#logo_Img").attr("src", "/image/TopMenu/CommonMenu/ziyuanmulutitle.png");
                        // }
                    } else {
                        $("#Menu_DTFW").css("display", "");
                        $("#Menu_ZYZX").css("display", "none");
                        // if(param.indexOf("title=DTFW")>-1) {
                        //     $("#logo_Img").attr("src", "/image/TopMenu/CommonMenu/ditufuwutitle.png");
                        // }
                        // if(param.indexOf("title=JCDT")>-1) {
                        //     $("#logo_Img").attr("src", "/image/TopMenu/CommonMenu/jichuditutitle.png");
                        // }
                    }
                    break;
                }else{
                    // $("#logo_Img").attr("src", "/image/TopMenu/CommonMenu/commontitle.png");
                    $("#Menu_DTFW").css("display", "none");
                    $("#Menu_ZYZX").css("display", "none");
                }
            }
        }
        catch (e) {
 
        }
    });
 
    $(function () {
        // NewTimer();
 
        //获取登录用户中文名
        $.ajax({
            url: '/sys/user/getUserName',
            type: "GET",
            dataType: 'jsonp',
            callback: "callback",
            data: { },
            success: function(data) {
                $("#UserName").text(data.msg);
            },
            error: function (e) {
                alert("获取登录用户信息失败!");
            }
        });
 
    });
 
    function SetMenu(obj, flag) {
        var menuType = "";
        var imgUrl = "";
        if(obj.className.indexOf("DTFW_") > -1) {
            menuType = "DTFW_";
        } else if(obj.className.indexOf("ZYZX_") > -1){
            menuType = "ZYZX_";
        }
        // if (flag == "over") {
        //     // obj.className = menuType + "smenu_active";
        //     imgUrl = $(obj).children().find("img").attr("src");
        //     if($(obj).children().find("img").attr("src").indexOf("_on.png") < 0) {
        //         $(obj).children().find("img").attr("src", imgUrl.replace(".png", "_on.png"));
        //     }
        // }
        // else {
        //     if (curMenu != undefined) {
        //         if (($(obj).find("span").text())!=(curMenu)) {
        //             obj.className = menuType + "smenu";
        //             imgUrl = $(obj).children().find("img").attr("src");
        //             $(obj).children().find("img").attr("src", imgUrl.replace("_on.png", ".png"));
        //         }
        //     }
        // }
    }
 
    function openlinks(url, id) {
        var linkurl = url.replace("~/", "") + '?menuId=' + id;
        var ms = '~/' + linkurl;
        parent.window.location.href = ms;
    }
 
    //获取参数值
    function GetArgument(argu, filed) {
        var result = "";
        var arr = argu.split('&');
        for (var i = 0; i < arr.length; i++) {
            if (arr[i].indexOf(filed) > -1) {
                result = arr[i].split('=')[1];
            }
        }
        return result;
    }
 
    //跳转链接
    function OpenLink(url) {
        window.location.href = url;
    }
 
    var slidint;
 
    // function NewTimer() {
    //     try {
    //         stopit();
    //         var today;
    //         today = new Date();
    //         document.getElementById("NowTimer").innerHTML = today.getFullYear() + "-" + (today.getMonth() + 1) + "-" + today.getDate() +  "   " + week() + "   " + today.toLocaleTimeString();
    //         slidint = setTimeout(NewTimer, 1000);
    //     }
    //     catch (ex) {
    //         alert(ex);
    //     }
    // }
 
    function stopit() {
        clearTimeout(slidint);
    }
 
    function week() {
        var d, day, x, s = " ";
        x = new Array("星期日", "星期一", "星期二");
        x = x.concat("星期三", "星期四", "星期五");
        x = x.concat("星期六");
        d = new Date();
        day = d.getDay();
        return (s += x[day]);
    }
 
    //弹出修改密码窗口
    function openPasswordChangeLayer(){
        layer.open({
            type: 2,
            skin: 'layui-layer-molv',
            title: "修改密码",
            shadeClose: true,
            shade: false,
            area: ["550px", "270px"],
            content: backstageWebRoot + "lanwebapp/admin/modifypassword.html"
        });
    }
 
    //弹出修改个人信息窗口
    function openUserInfoChangeLayer(){
        window.open(backstageWebRoot + "lanwebapp/admin/userinfo_edit.html", "_blank");
    }
 
    function openNewWinLink(type){
        window.open(gisPortal+type, "_blank");
    }
    /*]]>*/
</script>
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/detect.js'}"></script>
<!-- jQuery.browser.mobile will be true if the browser is a mobile device -->
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/fastclick.js'}"></script>
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/jquery.slimscroll.js'}"></script>
 
<!-- App js -->
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/jquery.app.js'}"></script>
<!-- 自动登录Portal地图服务  lxb -->
<!-- <iframe src="https://gis.nmsmp.com/arcgis/ltGisPortal/viewer/sso_auth.html?redirectUrl=http%3A%2F%2Fgis.nmsmp.com%2Farcgis%2FltGisPortal%2Fviewer%2FloginSucced.html" style="visibility: hidden;position: absolute;  z-index: 1"></iframe>
 -->
  <iframe src="https://localhost:8080/viewer/sso_auth.html?redirectUrl=http%3A%2F%2Flocalhost:8080%2Fviewer%2FloginSucced.html" style="visibility: hidden;position: absolute;  z-index: 1"></iframe>
 
 </body>
</html>