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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<!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>
    <script th:src="@{'http://www.nmsmp.com/javapubzy/' + 'media/js/jquery-1.11.1.js'}"></script>
    <style>
        body {
            margin: 0;
            background-color: #C6ECFB;
            font-family: "Roboto", sans-serif !important;
        }
 
        a {
            text-decoration: none;
        }
 
        a:link {
            color: black;
        }
 
        a:visited {
            color: black;
        }
 
        .zygongzuotai {
            width: 100%;
            height: 100%;
            background-color: #C6ECFB;
        }
 
        .title {
            display: none;
            width: 100px;
            height: 100%;
            background-color: #95D7F2;
        }
 
        .tongji {
            display: inline-block;
            width: 100%;
            height: 60%;
            padding-left: 12px;
        }
 
        .tongji tr {
            height: 33.3%;
        }
 
        .lianjie {
            display: inline-block;
            width: 100%;
            height: 30%;
        }
 
        .lianjie img {
            margin-right: 10px;
            vertical-align: text-bottom;
        }
 
        .lianjie span {
            cursor: pointer;
            font-size: 15px;
        }
 
        .lianjie td {
            width: 50%;
            height: 50px;
            text-align: center;
        }
 
        .imgdiv {
            display: inline-block;
            text-align: center;
        }
 
        .imgdiv img {
            height: 40px;
            width: 40px;
            display: inline-block;
            text-align: center;
        }
 
        .textdiv {
            display: inline-block;
            text-align: center;
            height: 30px;
        }
 
        .one {
            height: 34px;
            text-align: center;
            cursor: pointer;
            line-height: 34px;
        }
 
        .two {
            height: 23px;
            font-size: 15px;
            text-align: center;
            padding: 2px 0px;
        }
 
        .gongnengimg {
            display: inline-block;
            margin-left: 100px;
        }
 
        .gongnengtext {
            display: inline-block;
            width: 70px;
            height: 37px;
            cursor: pointer;
        }
 
        .hrLine {
            color: #0c59e9;
            width: 35%;
            vertical-align: middle;
            display: inline-block;
        }
 
        .line {
            margin: 0 auto;
            border-bottom: 2px solid #43aff8;
            width: 37.5%;
            display: inline-block;
        }
 
        .line_title {
            color: #43aff8;
            font-size: 15px;
            padding: 2px 0px;
            display: inline-block;
            vertical-align: middle;
        }
    </style>
    <script type="text/javascript" th:inline="javascript">
        var apiServer = [[${apiServer}]];
        var thisServer = [[${thisServer}]];
        var gisPortal = [[${gisPortal}]];
        thisServer = thisServer.substring(0, thisServer.length - 1);
 
        // 暂时没有作用。修改打开新窗口,菜单不自动展开的问题
        function menuItemClick(obj) {
            if (!$("#wrapper").hasClass("enlarged")) {
                //收缩所有菜单
                //$("#sidebar-menu a")
                $("ul", $(obj).parents("ul:first")).slideUp(350);
                $("a", $(obj).parents("ul:first")).removeClass("subdrop");
                //展开当前菜单
                $(obj).next("ul").slideDown(350);
                if ($(obj).parent().hasClass("has_sub")) {
                    //父节点未选中
                    if (!$(obj).parent().hasClass("active")) {
                        $(obj).addClass("subdrop");
                    }
                } else {
                    //子节点点击事件
                    $(".list-unstyled " + "li").removeClass("active");
                    $("#sidebar-menu li.has_sub").removeClass("active");
                    $("#sidebar-menu li.has_sub a.waves-effect").removeClass("active");
                    $(obj).parents("li").addClass("active").removeClass("subdrop");
                    $(obj).removeClass("subdrop");
                    $(obj).parents("li.has_sub").children("a:first").addClass("active");
                }
            }
        }
 
        function openSysWin(url, type) {//type=0为后台
            if (type == 0) {
                url = url.replace("apiServer", apiServer).replace("thisServer", thisServer);
                window.open(url, "_blank");
                // var menuUrl = "#" + url.split("#")[1];
                // console.log(menuUrl);
                // console.log("***************后台***************");
                // url = url + "?shouyeTitle=1";
                // newWin = window.open(url, "newWin");
                // console.log(url);
 
                // $("a[href='"+ "#http://127.0.0.1:8082/res/ResManage/ResRegister/List" +"']").parents("li").addClass("active");
                // var infoWindow = window.open(url, "_blank");
                // menuItemClick("#sidebar-menu a");
                // infoWindow.document.getElementsByTagName("a[href='"+menuUrl+"']").parents("li").addClass("active");
                // infoWindow.document.getElementsByTagName("a[href='"+menuUrl+"']").parents("li").parents("ul").css("display", "block");
            } else {
                window.open(url, "_blank");
            }
        }
        function openNewWinLink(type){
            window.open(gisPortal+type, "_blank");
        }
    </script>
</head>
<body>
<div class="zygongzuotai">
    <div class="title">
        <table style="height: 174px; width: 100%; padding: 7px 0;">
            <tr style="height: 30px;">
                <td>
                    <div style="text-align: right; font-size: 28px;">×</div>
                </td>
            </tr>
            <tr>
                <td>
                    <div style="text-align: center; font-size: 16px; font-weight: bold;">工作台</div>
                </td>
            </tr>
            <tr style="height: 30px;">
                <td>
                    <div style="text-align: center;">更多>></div>
                </td>
            </tr>
        </table>
    </div>
    <div class="tongji">
        <table style="height: 100%; width: 100%; padding: 0px;" cellspacing="0" cellpadding="0">
            <tr>
                <td width="50%" height="90px">
                    <div style="margin-left: 15px;cursor: pointer;"
                         onclick="openSysWin('../ziyuanfabu/index?Menu=ZYZX&menuId=09',1)">
                        <div class="imgdiv">
                            <img src="/image/gongzuotai/WoDeFaBu.png"/>
                        </div>
                        <div class="textdiv">
                            <div style="color: #ff4947; font-size: 24px;" th:text="${Wodefabu}" class="one"></div>
                            <div class="two">我的发布</div>
                        </div>
                    </div>
                </td>
                <td width="50%" height="90px">
                    <div style="margin: auto;cursor: pointer;" onclick="openSysWin('apiServer/lanwebapp/admin/index.html#thisServer/res/manage/audit/index',0)">
                        <div class="imgdiv">
                            <img src="/image/gongzuotai/FaBuShenHe.png"/>
                        </div>
                        <div class="textdiv">
                            <div style="color: #ff4947; font-size: 24px;" th:text="${Shenhe}" class="one"></div>
                            <div class="two">发布审核</div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td width="50%;" height="90px">
                    <div style="margin-left: 15px;cursor: pointer;" onclick="openSysWin('../resActionRecord/ShenQingZiYuanGD?Menu=ZYZX&menuId=07',1)">
                        <div class="imgdiv">
                            <img src="/image/gongzuotai/WoDeShenQing.png"/>
                        </div>
                        <div class="textdiv">
                            <div style="color: #ff4947; font-size: 24px;" th:text="${Wodeshenqing}" class="one"></div>
                            <div class="two">我的申请</div>
                        </div>
                    </div>
                </td>
                <td width="50%" height="90px">
                    <div style="margin: auto;cursor: pointer;" onclick="openSysWin('apiServer/lanwebapp/admin/index.html#thisServer/res/manage/applyrecommend/index',0)">
                        <div class="imgdiv">
                            <img src="/image/gongzuotai/ShenQingPiFu.png"/>
                        </div>
                        <div class="textdiv">
                            <div style="color: #ff4947; font-size: 24px;" th:text="${Shenqing}" class="one"></div>
                            <div class="two">申请批复</div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <!--TODO: 修改图标和数字引用的变量-->
                <td width="50%" height="90px">
                    <div style="margin-left: 15px;cursor: pointer;" onclick="openSysWin('../ZiYuanZhongXin/WoDeShouCangJiaGD?Menu=ZYZX&menuId=07',1)">
                        <div class="imgdiv">
                            <img src="/image/gongzuotai/WoDeShouCang.png"/>
                        </div>
                        <div class="textdiv">
                            <div style="color: #ff4947; font-size: 24px;" th:text="${Shoucang}" class="one"></div>
                            <div class="two">我的收藏</div>
                        </div>
                    </div>
                </td>
                <td width="50%;" height="90px">
                    <div style="margin: auto;cursor: pointer;" onclick="openSysWin('apiServer/lanwebapp/admin/index.html#thisServer/res/manage/subscriptions/index',0)">
                        <div class="imgdiv">
                            <img src="/image/gongzuotai/WoDeDingYue.png"/>
                        </div>
                        <div class="textdiv">
                            <div style="color: #ff4947; font-size: 24px;" th:text="${Dingyue}" class="one"></div>
                            <div class="two">我的订阅</div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div style="width: 100%; text-align: left; padding-left: 5px; margin-top: 8px;">
        <div class="line"></div>
        <div class="line_title">常用菜单</div>
        <div class="line"></div>
    </div>
    <div class="lianjie">
        <table style="height: 100%; width: 100%; padding: 7px;" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <div style="margin-left: -3px;cursor: pointer;" onclick="openSysWin('../ziyuanfabu/index?Menu=ZYZX&menuId=09',1)">
                        <img style="margin-right: 6px;" src="/image/gongzuotai/05.png">
                        <span>资源发布</span>
                    </div>
                </td>
                <td>
                    <div style="margin-left: -15px;cursor: pointer;" onclick="openSysWin('../jichuditu/index?Menu=DTFW&menuId=02',1)">
                        <img style="margin-right: 6px;" src="/image/gongzuotai/06.png">
                        <span>基础底图</span>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div style="margin-left: -3px;cursor: pointer;" onclick="openNewWinLink('leafportal.html')">
                        <img style="margin-right: 6px;" src="/image/gongzuotai/08.png">
                        <span>专题制图</span>
                    </div>
                </td>
                <td>
                    <div style="margin-left: -9px;cursor: pointer;" onclick="openNewWinLink('visualMapViewer.html')">
                        <img style="margin-right: 0px; padding-left: 7px;" src="/image/gongzuotai/07.png">
                        <span style="font-size: 15px; padding-left: 3px;">地图可视化</span>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<!-- 自动登录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></body>
</html>