953e286e by weimo934

跳转功能完善

1 parent 152bcbf5
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%
String contextPath = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";
pageEncoding="UTF-8" %>
<%
String contextPath = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + contextPath + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-CN">
<head>
<base href="<%=basePath%>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0" />
<title>西安市国土空间规划 “一张图” 实施监督信息系统</title>
<!-- 已整理 -->
<link href="libs/layui/2.2.5/css/layui.css" rel="stylesheet" />
<link href="common/css/common.css" rel="stylesheet" />
<link href="css/index/system-notice/css.css" rel="stylesheet" />
<link rel="shortcut icon" type="image/x-icon" href="image/index/logo5.png" media="screen" />
<link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="css/index/index.css" rel="stylesheet" />
<link href="libs/zTree/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<!-- 滚动条 -->
<link href="libs/jquery/jquery.mCustomScrollbar.css" rel="stylesheet" />
<link href="libs/bootstrap/css/materialize-waves-effect.css" rel="stylesheet" />
<link href="libs/nprogress/nprogress.css" rel="stylesheet" />
<link href="libs/jqueryWeui/weui.min.css" rel="stylesheet" />
<link href="libs/jqueryWeui/jquery-weui.css" rel="stylesheet" />
<link rel="stylesheet" href="libs/element-ui/lib-master/theme-chalk/index.css">
<script type="text/javascript" src="libs/jquery/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="libs/nprogress/nprogress.js"></script>
<script type="text/javascript" src="libs/layer/layer.js"></script>
<script src="libs/zTree/jquery.ztree.core-3.5.min.js"></script>
<script src="libs/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="libs/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="libs/jquery/jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript" src="js/index/rolecotrol.js"></script>
<script src="js/index/calendar.js"></script>
<!-- 系统通知滚动播放 -->
<script type="text/javascript" src="js/index/system-notice/lrtk.js"></script>
<script type="text/javascript" src="libs/bootstrap/js/materialize-waves-effect.js"></script>
<script type="text/javascript" src="libs/nprogress/nprogress.js"></script>
<script type="text/javascript" src="common/js/processBar/js/processBar.js"></script>
<script type="text/javascript" src="common/js/config.js"></script>
<!-- 权限配置js -->
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="./common/js/global/socket.io.js"></script>
<script type="text/javascript" src="./common/js/global/global.websocket.js"></script>
<script type="text/javascript" src="common/js/global/global.localStorage.js"></script>
<script type="text/javascript" src="common/js/resourceAuthory.js"></script>
<script type="text/javascript" charset="utf-8" src="common/js/global/global.modelctls.js"></script>
<script type="text/javascript" charset="utf-8" src="common/js/global/global.js"></script>
<script type="text/javascript" charset="utf-8" src="libs/Base64.js"></script>
<script type="text/javascript" src="common/js/dateformat.js"></script>
<script type="text/javascript" src="common/js/checkfktoen.js"></script>
<script type="text/javascript" src="js/resolutions.js"></script>
<script type="text/javascript" src="libs/jqueryWeui/jquery-weui.js"></script>
<script type="text/javascript" src="libs/layui/2.2.5/layui.js"></script>
<script src="libs/element-vue/vue/vue.js"></script>
<script src="libs/element-vue/lib/index.js"></script>
<script type="text/javascript">
var global = global || {};
global = global || {};
global.contextPath = '<%=contextPath%>';
</script>
<style type="text/css">
#searchButton {
color: white;
float: left;
padding-top: 5px;
background-color: #179bf0;
}
#searchButton button {
color: white;
border: none;
box-shadow: none;
background-color: #179bf0;
}
#searchButton .dropdown-menu {
color: white;
min-width: 50px;
background-color: #179bf0;
}
#searchButton .dropdown-menu a {
color: white;
background-color: #179bf0;
}
#searchButton .dropdown-menu a:hover {
color: white;
background-color: #1c8ac9;
}
.ztree * {
font-size: 14px;
font-family: "雅黑宋体", "微软雅黑", "新宋体", "宋体";
}
#subMenuArchive ul {
padding: 0px;
}
.div-copyrightheader {
text-align: center;
font-size: 16px;
color: #a1a1a1;
}
.fix-div-index {
margin: 0 auto;
position: fixed;
width: 100%;
top: 0; //只有一个导航所以top值固定
left: 0;
right: 0;
z-index: 99999;
}
.SidebarHide {
display: none !important;
}
.MainFill {
width: 100% !important;
margin: 0 !important;
left: 0 !important;
}
.new_iframe {
display: inline-block;
height: 100%;
width: 100%;
border: none;
}
.col-xs-12 {
padding-left: 0;
}
#help {
float: right;
margin-top: 15px;
margin-right: 20px;
cursor: pointer;
}
#help span {
color: white;
font-size: 25px;
}
/* FIXME: 添加 */
.headbg .help-icon {
padding-top: 12px;
float: right;
}
.headbg .help-icon img {
margin-top: 0;
margin-left: 16px;
height: 24px;
display: inline-block;
cursor: pointer;
}
.headbg .help-icon img:first-child {
margin-left: 0;
}
.headbg-logo {
height: 100%;
padding-right: 24px;
}
/* end */
.el-menu-vertical-demo:not(.el-menu--collapse) {
width: 100%;
height: 100%;
overflow-y: auto;
}
.el-menu--collapse {
width: 100% !important;
height: 100%;
overflow-y: auto;
}
.shrinkSubmenu .el-submenu__title {
padding-left: 35px !important;
}
.shrinkSubmenu {
width: 100% !important;
display: inline-flex;
justify-content: center;
align-items: center;
}
.shrinkItem .el-tooltip {
width: 100%;
display: inline-flex !important;
align-items: center;
justify-content: center;
}
.shrinkSubmenu span {
height: 0;
width: 0;
overflow: hidden;
visibility: hidden;
display: inline-block;
}
.el-submenu .el-menu-item {
padding-left: 38px !important;
}
.el-icon-menu {
margin-right: 0px !important;
}
.is-active {
/*background-color: #ecf5ff; */
}
/* .secondMenuItem-image{
height:30px;
margin-left:5px;
} */
/* FIXME: */
/*修改样式和一张蓝图的导航保持一致 2020年6月9日 15点39分 vers*/
.secondMenuItem-image {
width: 22px;
height: 22px;
/* flex: 0 0 24px; */
margin-right: 8px;
position: relative;
/*top: 1px;*/
}
.activedImg {
width: 22px;
height: 22px;
left: -1px;
margin-right: 6px;
}
.secondMenuItem-image.point-image {
width: 22px;
height:22px;
margin-right: 8px;
}
.el-submenu .el-submenu__title {
padding: 0 32px 0 21px !important;
display: flex;
align-items: center;
}
/*批后管理左侧菜单颜色色的更改*/
.el-submenu .el-submenu__title{
color:#00E7FF
}
.el-submenu .el-submenu__title{
/*color:#00E7FF*/
background-color:#384454 !important;
}
.el-menu-vertical-demo .el-submenu .el-submenu__title .el-icon-arrow-down::before {
content: '';
display: block;
width: 12px;
height: 13px;
background: url('/frontweb/image/index/menu_sub.png') center / 6px 11px no-repeat;
}
.el-menu-vertical-demo .el-submenu.is-opened .el-submenu__title .el-icon-arrow-down::before {
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow {
-webkit-transform: rotateZ(0);
transform: rotateZ(0);
}
.el-submenu .el-menu-item {
height: 44px;
line-height: 44px;
}
.user-text{
color:white;
cursor:pointer;
<base href="<%=basePath%>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"/>
<title>西安市国土空间规划 “一张图” 实施监督信息系统</title>
<!-- 已整理 -->
<link href="libs/layui/2.2.5/css/layui.css" rel="stylesheet"/>
<link href="common/css/common.css" rel="stylesheet"/>
<link href="css/index/system-notice/css.css" rel="stylesheet"/>
<link rel="shortcut icon" type="image/x-icon" href="image/index/logo5.png" media="screen"/>
<link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="css/index/index.css" rel="stylesheet"/>
<link href="libs/zTree/zTreeStyle/zTreeStyle.css" rel="stylesheet"/>
<!-- 滚动条 -->
<link href="libs/jquery/jquery.mCustomScrollbar.css" rel="stylesheet"/>
<link href="libs/bootstrap/css/materialize-waves-effect.css" rel="stylesheet"/>
<link href="libs/nprogress/nprogress.css" rel="stylesheet"/>
<link href="libs/jqueryWeui/weui.min.css" rel="stylesheet"/>
<link href="libs/jqueryWeui/jquery-weui.css" rel="stylesheet"/>
<link rel="stylesheet" href="libs/element-ui/lib-master/theme-chalk/index.css">
<script type="text/javascript" src="libs/jquery/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="libs/nprogress/nprogress.js"></script>
<script type="text/javascript" src="libs/layer/layer.js"></script>
<script src="libs/zTree/jquery.ztree.core-3.5.min.js"></script>
<script src="libs/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="libs/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="libs/jquery/jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript" src="js/index/rolecotrol.js"></script>
<script src="js/index/calendar.js"></script>
<!-- 系统通知滚动播放 -->
<script type="text/javascript" src="js/index/system-notice/lrtk.js"></script>
<script type="text/javascript" src="libs/bootstrap/js/materialize-waves-effect.js"></script>
<script type="text/javascript" src="libs/nprogress/nprogress.js"></script>
<script type="text/javascript" src="common/js/processBar/js/processBar.js"></script>
<script type="text/javascript" src="common/js/config.js"></script>
<!-- 权限配置js -->
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="./common/js/global/socket.io.js"></script>
<script type="text/javascript" src="./common/js/global/global.websocket.js"></script>
<script type="text/javascript" src="common/js/global/global.localStorage.js"></script>
<script type="text/javascript" src="common/js/resourceAuthory.js"></script>
<script type="text/javascript" charset="utf-8" src="common/js/global/global.modelctls.js"></script>
<script type="text/javascript" charset="utf-8" src="common/js/global/global.js"></script>
<script type="text/javascript" charset="utf-8" src="libs/Base64.js"></script>
<script type="text/javascript" src="common/js/dateformat.js"></script>
<script type="text/javascript" src="common/js/checkfktoen.js"></script>
<script type="text/javascript" src="js/resolutions.js"></script>
<script type="text/javascript" src="libs/jqueryWeui/jquery-weui.js"></script>
<script type="text/javascript" src="libs/layui/2.2.5/layui.js"></script>
<script src="libs/element-vue/vue/vue.js"></script>
<script src="libs/element-vue/lib/index.js"></script>
<script type="text/javascript">
var global = global || {};
global = global || {};
global.contextPath = '<%=contextPath%>';
</script>
<style type="text/css">
#searchButton {
color: white;
float: left;
padding-top: 5px;
background-color: #179bf0;
}
#searchButton button {
color: white;
border: none;
box-shadow: none;
background-color: #179bf0;
}
#searchButton .dropdown-menu {
color: white;
min-width: 50px;
background-color: #179bf0;
}
#searchButton .dropdown-menu a {
color: white;
background-color: #179bf0;
}
#searchButton .dropdown-menu a:hover {
color: white;
background-color: #1c8ac9;
}
.ztree * {
font-size: 14px;
font-family: "雅黑宋体", "微软雅黑", "新宋体", "宋体";
}
#subMenuArchive ul {
padding: 0px;
}
.div-copyrightheader {
text-align: center;
font-size: 16px;
color: #a1a1a1;
}
.fix-div-index {
margin: 0 auto;
position: fixed;
width: 100%;
top: 0;
/ / 只有一个导航所以top值固定 left: 0;
right: 0;
z-index: 99999;
}
.SidebarHide {
display: none !important;
}
.MainFill {
width: 100% !important;
margin: 0 !important;
left: 0 !important;
}
.new_iframe {
display: inline-block;
height: 100%;
width: 100%;
border: none;
}
.col-xs-12 {
padding-left: 0;
}
#help {
float: right;
margin-top: 15px;
margin-right: 20px;
cursor: pointer;
}
#help span {
color: white;
font-size: 25px;
}
/* FIXME: 添加 */
.headbg .help-icon {
padding-top: 12px;
float: right;
}
.headbg .help-icon img {
margin-top: 0;
margin-left: 16px;
height: 24px;
display: inline-block;
cursor: pointer;
}
.headbg .help-icon img:first-child {
margin-left: 0;
}
.headbg-logo {
height: 100%;
padding-right: 24px;
}
/* end */
.el-menu-vertical-demo:not(.el-menu--collapse) {
width: 100%;
height: 100%;
overflow-y: auto;
}
.el-menu--collapse {
width: 100% !important;
height: 100%;
overflow-y: auto;
}
.shrinkSubmenu .el-submenu__title {
padding-left: 35px !important;
}
.shrinkSubmenu {
width: 100% !important;
display: inline-flex;
justify-content: center;
align-items: center;
}
.shrinkItem .el-tooltip {
width: 100%;
display: inline-flex !important;
align-items: center;
justify-content: center;
}
.shrinkSubmenu span {
height: 0;
width: 0;
overflow: hidden;
visibility: hidden;
display: inline-block;
}
.el-submenu .el-menu-item {
padding-left: 38px !important;
}
.el-icon-menu {
margin-right: 0px !important;
}
.is-active {
/*background-color: #ecf5ff; */
}
/* .secondMenuItem-image{
height:30px;
margin-left:5px;
} */
/* FIXME: */
/*修改样式和一张蓝图的导航保持一致 2020年6月9日 15点39分 vers*/
.secondMenuItem-image {
width: 22px;
height: 22px;
/* flex: 0 0 24px; */
margin-right: 8px;
position: relative;
/*top: 1px;*/
}
.activedImg {
width: 22px;
height: 22px;
left: -1px;
margin-right: 6px;
}
.secondMenuItem-image.point-image {
width: 22px;
height: 22px;
margin-right: 8px;
}
.el-submenu .el-submenu__title {
padding: 0 32px 0 21px !important;
display: flex;
align-items: center;
}
/*批后管理左侧菜单颜色色的更改*/
.el-submenu .el-submenu__title {
color: #00E7FF
}
.el-submenu .el-submenu__title {
/*color:#00E7FF*/
background-color: #384454 !important;
}
.el-menu-vertical-demo .el-submenu .el-submenu__title .el-icon-arrow-down::before {
content: '';
display: block;
width: 12px;
height: 13px;
background: url('/frontweb/image/index/menu_sub.png') center / 6px 11px no-repeat;
}
.el-menu-vertical-demo .el-submenu.is-opened .el-submenu__title .el-icon-arrow-down::before {
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
-webkit-transform: rotateZ(0);
transform: rotateZ(0);
}
.el-submenu .el-menu-item {
height: 44px;
line-height: 44px;
}
.user-text {
color: white;
cursor: pointer;
font-size: 12px;
}
</style>
<script type="text/javascript">
function changeMenu(value) {
$('#searchSelectValue').text(value);
}
</script>
</style>
<script type="text/javascript">
function changeMenu(value) {
$('#searchSelectValue').text(value);
}
</script>
</head>
<body onkeyup="keyupFullScreen()" style="" onUnload="closeNews();">
<div id="scrollDiv" style="position:absolute;top:0px;bottom:0px;width:100%;overflow: auto;display:inline-block;">
<!-- hyh 新增id 让滚动条回到顶部 2017/12/12 -->
<div id="bodyContent" style="position:relative;display:inline-block;width: 100%;">
<div class="container-fluid" style="padding-left: 0px;padding-right: 0px;display:inline-block;">
<div class="headbg row" id="NoRow" style="margin-bottom: 0;left: 15px;position: fixed;width:100%;z-index: 999;min-width: 1480px;">
<!--position: fixed;width: 100%;z-index: 10000;left: 15px; -->
<!-- FIXME: add clearfix -->
<div class="headbg-logo col-xs-12 clearfix">
<div id="HEADERLOGO"></div>
<!-- <div class="div-head-title" id="title-logo" style="cursor:pointer"></div> -->
<div class="menu" id="menuNav"></div>
<!-- FIXME: display:none; -->
<div id="help" title='帮助' style="display:none;">
<span class='glyphicon glyphicon-question-sign'></span>
<div id="scrollDiv" style="position:absolute;top:0px;bottom:0px;width:100%;overflow: auto;display:inline-block;">
<!-- hyh 新增id 让滚动条回到顶部 2017/12/12 -->
<div id="bodyContent" style="position:relative;display:inline-block;width: 100%;">
<div class="container-fluid" style="padding-left: 0px;padding-right: 0px;display:inline-block;">
<div class="headbg row" id="NoRow"
style="margin-bottom: 0;left: 15px;position: fixed;width:100%;z-index: 999;min-width: 1480px;display: none">
<!--position: fixed;width: 100%;z-index: 10000;left: 15px; -->
<!-- FIXME: add clearfix -->
<div class="headbg-logo col-xs-12 clearfix">
<div id="HEADERLOGO"></div>
<!-- <div class="div-head-title" id="title-logo" style="cursor:pointer"></div> -->
<div class="menu" id="menuNav"></div>
<!-- FIXME: display:none; -->
<div id="help" title='帮助' style="display:none;">
<span class='glyphicon glyphicon-question-sign'></span>
</div>
<!-- FIXME: 添加 -->
<div class="help-icon">
<span class="user-text" id="myInfoText"></span>
<img src="image/index/userInfo_0616.png" alt="用户信息" id="myInfromationNew">
<img src="image/index/logout_0616.png" alt="注销" onclick="logoutEvent()">
</div>
<!-- end -->
<%-- <jsp:include page="view/index/indexSearch.jsp"></jsp:include> --%>
</div>
</div>
<!-- FIXME: => width: 186px; -->
<div id="bothleftright">
<!-- FIXME: width: 150px;box-shadow:2px 1px 10px 1px rgb(204, 204, 204) ; => width: inherit;background: #F2F2F2;box-shadow: 0 0 12px 0 rgba(0,0,0,0.34); -->
<!-- 去掉box-shadow属性 2020年6月9日14点52分 vers -->
<!--TODO:小希 去掉头部菜单height:54px改为height:0px-->
<div class="div-leftbg " id="divLeftBG"
style="min-width:186px;margin-left: 0px;height: 100%;position: fixed;top: 0px;z-index: 999;background: #F2F2F2;">
<!--用户信息-->
<!-- FIXME: display none -->
<div class="div-userbg div-left-contentitem" style="display: none;">
<div style="float:right;cursor: pointer;margin-right: 22px;margin-top: 2px;" id="switchover">
<img id="hiddnShow" src="image/index/switchover.png" style="width:18px;height:18px;"></img>
</div>
<div class="div-userphoto" id="loginusersave">
<a id="myInfromation" href="javascript:void(0)">
<img id="imguserphoto" class="img-userphoto"/>
</a>
</div>
<div class="div-userinfo">
<div class="div-username"
style="width: 157px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
<!-- hyh 新增 行内样式 将过长名字用省略号代替 2017、9、22 -->
<!-- 邮箱参数需要 -->
<span id="username" style="font-size: 18px;font-weight: bold;">未登录</span>
<input id="userId" type="hidden"/>
<input id="email" type="hidden"/>
<input id="pwd" type="hidden"/>
</div>
<div style="margin-top: 6px;">
<div id="status"
style="display: block;white-space: nowrap;overflow: hidden;width:157px;height: 21px;font-size:13px;text-overflow: ellipsis;"></div>
</div>
</div>
<div class="smalnotity" id="exist" onclick="logoutEvent()">
<div class="div-userset div-userset-position" title="用户注销">
<span class="glyphiconZX " style="color: #999999;top: 98px;">注销</span>
</div>
</div>
<div class="div-lefttitle"></div>
</div>
<div class="div-left-contentitem" id="divQuickMenu">
<div id="divQuickMenuList" class="div-quickmenu-list">
<div class="div-quickmenu" id="btnCustomQuickMenu">
<div class="waves-effect">
<img src="image/index/quickmenu/menu-blue-add.png"/>
</div>
<span>添加</span>
</div>
</div>
<div class="downloadcenter"
style="position:absolute;bottom:0px;left:0px;width:100%;height: 200px;">
<!-- FIXME: delete width -->
<div style="height: 1px;position: relative;top: 0;background-color:#cfe1fc; margin: 0 auto;"></div>
<div style="text-align: center;position: absolute;left:20px;top:20px; float: left;font-size: 8px;color: #999999;font-weight: 500;cursor: pointer;">
<img alt="" src="image/index/quickmenu/downloadcenter.png" onclick="opendownloadlist()"
style="width: 36px;height:36px;">
<div>下载中心</div>
</div>
</div>
<div class="div-quickmenu-more shadow-z-1" id="divQuickMenuMore" style="display: none;"></div>
</div>
<div class="div-left-contentitem" id="divSystemNotice" style="margin-top: 20px;width: 100%;">
<div class="div-lefttitle" style="display:none;"></div>
<div id="playBox" style="overflow-y:auto;height: 350px;margin-top: 15px;display:none;">
<span id="tadymeaum">系统短讯</span>
<!-- <div class="div-index-more" id="btn-notice-more">
<img id="btnUp" alt="" src="image/index/backend.png">
<img id="btnNext" style="margin-left: 10px" alt="" src="image/index/next.png">
</div> -->
<div id="SystemSmsDetail">
<div class="div-radius-detail">
<label>西安市人民政府关于印发《西安市城镇生活污水处理厂污泥处理处置暂行管理办法》的通知</label>
<label class="div-radius-detail-time">2分钟前</label>
</div>
</div>
</div>
<div class="div-systemnotice-switch" style="display: none;">
<ul id="divSystemNoticeSwitch"></ul>
</div>
<!-- FIXME: 添加 -->
<div class="help-icon">
<span class="user-text" id="myInfoText" ></span>
<img src="image/index/userInfo_0616.png" alt="用户信息" id="myInfromationNew">
<img src="image/index/logout_0616.png" alt="注销" onclick="logoutEvent()">
</div>
<!-- end -->
<%-- <jsp:include page="view/index/indexSearch.jsp"></jsp:include> --%>
</div>
</div>
<!-- FIXME: => width: 186px; -->
<div id="bothleftright">
<!-- FIXME: width: 150px;box-shadow:2px 1px 10px 1px rgb(204, 204, 204) ; => width: inherit;background: #F2F2F2;box-shadow: 0 0 12px 0 rgba(0,0,0,0.34); -->
<!-- 去掉box-shadow属性 2020年6月9日14点52分 vers -->
<div class="div-leftbg " id="divLeftBG" style="min-width:186px;margin-left: 0px;height: 100%;position: fixed;top: 54px;z-index: 999;background: #F2F2F2;">
<!--用户信息-->
<!-- FIXME: display none -->
<div class="div-userbg div-left-contentitem" style="display: none;">
<div style="float:right;cursor: pointer;margin-right: 22px;margin-top: 2px;" id="switchover">
<img id="hiddnShow" src="image/index/switchover.png" style="width:18px;height:18px;"></img>
</div>
<div class="div-userphoto" id="loginusersave">
<a id="myInfromation" href="javascript:void(0)">
<img id="imguserphoto" class="img-userphoto" />
</a>
</div>
<div class="div-userinfo">
<div class="div-username" style="width: 157px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
<!-- hyh 新增 行内样式 将过长名字用省略号代替 2017、9、22 -->
<!-- 邮箱参数需要 -->
<span id="username" style="font-size: 18px;font-weight: bold;">未登录</span>
<input id="userId" type="hidden" />
<input id="email" type="hidden" />
<input id="pwd" type="hidden" />
</div>
<div style="margin-top: 6px;">
<div id="status" style="display: block;white-space: nowrap;overflow: hidden;width:157px;height: 21px;font-size:13px;text-overflow: ellipsis;"></div>
</div>
</div>
<div class="smalnotity" id="exist" onclick="logoutEvent()">
<div class="div-userset div-userset-position" title="用户注销">
<span class="glyphiconZX " style="color: #999999;top: 98px;">注销</span>
</div>
</div>
<div class="div-lefttitle"></div>
</div>
<div class="div-left-contentitem" id="divQuickMenu">
<div id="divQuickMenuList" class="div-quickmenu-list">
<div class="div-quickmenu" id="btnCustomQuickMenu">
<div class="waves-effect">
<img src="image/index/quickmenu/menu-blue-add.png" />
</div>
<span>添加</span>
</div>
</div>
<div class="downloadcenter" style="position:absolute;bottom:0px;left:0px;width:100%;height: 200px;">
<!-- FIXME: delete width -->
<div style="height: 1px;position: relative;top: 0;background-color:#cfe1fc; margin: 0 auto;"></div>
<div style="text-align: center;position: absolute;left:20px;top:20px; float: left;font-size: 8px;color: #999999;font-weight: 500;cursor: pointer;">
<img alt="" src="image/index/quickmenu/downloadcenter.png" onclick="opendownloadlist()" style="width: 36px;height:36px;">
<div>下载中心</div>
</div>
</div>
<div class="div-quickmenu-more shadow-z-1" id="divQuickMenuMore" style="display: none;"></div>
</div>
<div class="div-left-contentitem" id="divSystemNotice" style="margin-top: 20px;width: 100%;">
<div class="div-lefttitle" style="display:none;"></div>
<div id="playBox" style="overflow-y:auto;height: 350px;margin-top: 15px;display:none;">
<span id="tadymeaum">系统短讯</span>
<!-- <div class="div-index-more" id="btn-notice-more">
<img id="btnUp" alt="" src="image/index/backend.png">
<img id="btnNext" style="margin-left: 10px" alt="" src="image/index/next.png">
</div> -->
<div id="SystemSmsDetail">
<div class="div-radius-detail">
<label>西安市人民政府关于印发《西安市城镇生活污水处理厂污泥处理处置暂行管理办法》的通知</label>
<label class="div-radius-detail-time">2分钟前</label>
</div>
</div>
</div>
<div class="div-systemnotice-switch" style="display: none;">
<ul id="divSystemNoticeSwitch"></ul>
</div>
<input id="GetSystemNoticeCount" hidden="hidden" />
<div style="clear: both;"></div>
</div>
<div>
<el-menu :default-active="activeIndex" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" @select="handleSelect"
:unique-opened="false" :collapse="isCollapse" :default-openeds="defaultOpeneds">
<div v-for="(item,itemIndex) in menuList" :key="itemIndex">
<el-submenu :index="item.id" :class="{shrinkSubmenu:isCollapse}" v-if="item.children" :key="item.id">
<template slot="title">
<img :src="item.iconCls" class="secondMenuItem-image">
<!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> -->
<!-- FIXME: -->
<span slot="title" :title="item.alias" style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span>
</template>
<el-menu-item :title="subItem.alias" :index="subItem.id" v-for="(subItem,subItemIndex) in item.children" :key="subItem.id" style="min-width: auto;padding-right: 0;width: 186px;overflow: hidden;">
<img :src="subItem.iconCls" class="secondMenuItem-image point-image"> {{subItem.alias}}
</el-menu-item>
</el-submenu>
<el-menu-item :index="item.id" :class="{shrinkItem:isCollapse}" v-if="!item.children" :key="item.id" style="padding: 0 22px 0 26px;display: flex;align-items: center;">
<img :src="item.iconCls" class="secondMenuItem-image" v-show="activeIndex!==item.id">
<img :src="item.iconActive" class="secondMenuItem-image activedImg" v-show="activeIndex===item.id">
<!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> -->
<!-- FIXME: -->
<span slot="title" :title="item.alias" style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span>
</el-menu-item>
</div>
<div style="height: 190px"></div>
</el-menu>
</div>
</div>
</div>
<!-- FIXME: left: 160px; => left: 186px; ;right: 24px;bottom: 16px; -->
<div class="row" id="divContentRight" style="float: left; box-sizing: border-box;display:inline-block;position: fixed;top: 54px;left: 201px;right: 15px;bottom: 0px;background: #fff;">
<div id="divFrame">
<%--<div class="the_mask" style="height: 100%;position: absolute;width: 100%;background: black;opacity: 0.8;z-index: 5">这个是图层蒙版</div>--%>
<iframe id="iframecontent" name="syiframe" frameborder="0" scrolling="no" class="tabindex-0" marginwidth="0" style="height: 100%;width: 100%; display:inline-block;"></iframe>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/index/index.js"></script>
<input id="GetSystemNoticeCount" hidden="hidden"/>
<div style="clear: both;"></div>
</div>
<div>
<el-menu :default-active="activeIndex" class="el-menu-vertical-demo" @open="handleOpen"
@close="handleClose" @select="handleSelect"
:unique-opened="false" :collapse="isCollapse" :default-openeds="defaultOpeneds">
<div v-for="(item,itemIndex) in menuList" :key="itemIndex">
<el-submenu :index="item.id" :class="{shrinkSubmenu:isCollapse}" v-if="item.children"
:key="item.id">
<template slot="title">
<img :src="item.iconCls" class="secondMenuItem-image">
<!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> -->
<!-- FIXME: -->
<span slot="title" :title="item.alias"
style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span>
</template>
<el-menu-item :title="subItem.alias" :index="subItem.id"
v-for="(subItem,subItemIndex) in item.children" :key="subItem.id"
style="min-width: auto;padding-right: 0;width: 186px;overflow: hidden;">
<img :src="subItem.iconCls" class="secondMenuItem-image point-image">
{{subItem.alias}}
</el-menu-item>
</el-submenu>
<el-menu-item :index="item.id" :class="{shrinkItem:isCollapse}" v-if="!item.children"
:key="item.id"
style="padding: 0 22px 0 26px;display: flex;align-items: center;">
<img :src="item.iconCls" class="secondMenuItem-image"
v-show="activeIndex!==item.id">
<img :src="item.iconActive" class="secondMenuItem-image activedImg"
v-show="activeIndex===item.id">
<!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> -->
<!-- FIXME: -->
<span slot="title" :title="item.alias"
style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span>
</el-menu-item>
</div>
<div style="height: 190px"></div>
</el-menu>
</div>
</div>
</div>
<!-- FIXME: left: 160px; => left: 186px; ;right: 24px;bottom: 16px; -->
<!--TODO:小希 去掉头部菜单height:54px改为height:0px-->
<div class="row" id="divContentRight"
style="float: left; box-sizing: border-box;display:inline-block;position: fixed;top: 0px;left: 201px;right: 15px;bottom: 0px;background: #fff;">
<div id="divFrame">
<%--<div class="the_mask" style="height: 100%;position: absolute;width: 100%;background: black;opacity: 0.8;z-index: 5">这个是图层蒙版</div>--%>
<iframe id="iframecontent" name="syiframe" frameborder="0" scrolling="no" class="tabindex-0"
marginwidth="0" style="height: 100%;width: 100%; display:inline-block;"></iframe>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/index/index.js"></script>
</body>
</html>
\ No newline at end of file
......
......@@ -41,6 +41,7 @@ $(document).ready(function () {
//获取登录信息
getLoginInfo();
//加载权限
loadResources();
// loadAllDucumentCount("all");
......@@ -58,6 +59,28 @@ $(document).ready(function () {
});
//初始化一级菜单
initFirstMenu();
var type = window.location.href.split('?')[1].split('=')[1];
debugger
if(type == 2){
let text = '实施监督预警'
let domId='btnMenuMonitorEvaluate'
checkLocalCache();
parentId='t0109_4028d839708bbb6d01708c957d2e0552';
menuitemChange(text,domId)
}
else if (type == 1){
let text = '规划成果审查'
let domId='btnMenuReviewManage'
parentId='t0109_4028d839708bbb6d01708c4babc70004'
checkLocalCache();
menuitemChange(text,domId)
}else if (type == 3){
let text = '批后监管'
let domId='btnMenupihouguanli'
parentId='t0109_189986fffc7d4f1abfa54bb665f777b5'
checkLocalCache();
menuitemChange(text,domId)
}
$("#txtSearch").val(searchTip);
//显示搜索框
// $("#btnDisplaySearch").click(displaySearchText);
......@@ -80,21 +103,7 @@ $(document).ready(function () {
});
loadpage();
var type = window.location.href.split('?')[1].split('=')[1];
if(type == 2){
var text = '实施监督预警'
var domId='btnMenuMonitorEvaluate'
menuitemChange(text,domId)
}
// else if (type == 1){
// var text = '规划成果审查'
// var domId='btnMenuReviewManage'
// menuitemChange(text,domId)
// }else if (type == 3){
// var text = '批后监管'
// var domId='btnMenupihouguanli'
// menuitemChange(text,domId)
// }
// 默认隐藏菜单
$("#supervisiondoc").css('display', 'none');
$("#managerdoc").css('display', 'none');
......@@ -399,6 +408,8 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) {
}
function initMenu(navigator, divId, nav, id) {
debugger
console.log("initMenu===============================")
if (id) {
parentId = id;
}
......@@ -436,6 +447,7 @@ function initMenu(navigator, divId, nav, id) {
async: false,
data: paraData,
success: function (data) {
debugger
listByRoleIdSucceFunc(data, object, navigator, divId, nav);
if (window.globalLocalCache) {
window.globalLocalCache.AddCache(
......@@ -766,11 +778,11 @@ function menuLoadPage() {
}
function chooseOpreation(obj) {
let types=$(obj).context.innerText;
sessionStorage.setItem('type',types)
/*let types=$(obj).context.innerText;
sessionStorage.setItem('type',types)*/
var text = $(obj).text().trim();
var domId = $(obj).attr("id");
if (domId == "btnMenuOfficialDocument") {
/* if (domId == "btnMenuOfficialDocument") {
//20190503 机要室信息员 部长要求 机要室信息员收文发送提高速度 提前缓存
var userInfo = $.cookie('cookieuser');
userInfo = JSON.parse(userInfo);
......@@ -779,13 +791,13 @@ function chooseOpreation(obj) {
if (username == '机要室信息员') {
swSendJYSXXY();
}
/*console.log(username);
$('#myInfoText').innerText(username);*/
}
/!*console.log(username);
$('#myInfoText').innerText(username);*!/
}*/
checkLocalCache();
isgis = false;
/*isgis = false;*/
parentId = $(obj).attr("value");
// menuitemChange(text, domId);
// /* menuitemChange(text, domId);*/
}
function iframeloadgis() {
......@@ -1544,6 +1556,7 @@ function myInfromation() {
}
//初始化一级菜单
function initFirstMenu() {
debugger
var menuNav = $("#menuNav");
var titleLogo = $("#title-logo");
var fResult = [];
......@@ -2472,6 +2485,8 @@ var vm = new Vue({
});
function spanningTree(data) {
debugger
debugger
var dataList = JSON.parse(JSON.stringify(data));
let formatObj = dataList.reduce((pre, cur) => {
return { ...pre, [cur['id']]: cur }
......