<!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: transparent;
|
/*background-color: #C6ECFB;*/
|
font-family: "Roboto", sans-serif !important;
|
color: #fff;
|
}
|
|
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>
|
</body>
|
</html>
|