You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
211 lines
7.0 KiB
211 lines
7.0 KiB
<%@ page import="com.cjy.core.facade.UserAttrFacade" %>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<%@ page language="java" pageEncoding="UTF-8" %>
|
|
<%@ include file="/common/ctx.jsp" %>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<%@taglib prefix="z" uri="http://cjy.jsp/tags" %>
|
|
<%
|
|
String dname = UserAttrFacade.getDeptInfo().getDname();
|
|
request.setAttribute("regionName",dname);
|
|
%>
|
|
<head>
|
|
<!-- <title></title> -->
|
|
<title id="biaoti">旅游产业运行监测与应急指挥平台</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc."/>
|
|
<meta name="author" content="Coderthemes"/>
|
|
<link rel="shortcut icon" href="images/favicon_1.ico"/>
|
|
|
|
<script type="text/javascript" src="${ctx}/hbcyjc/resource/js/jquery-3.7.0.min.js"></script>
|
|
<script type="text/javascript" src="${ctx}/js/layer/layer.js"></script>
|
|
<!-- 自定义样式 -->
|
|
<link type="text/css" rel="stylesheet" href="${ctx}/hbcyjc/resourceNew/css/cjy_style.css"/>
|
|
<link type="text/css" rel="stylesheet" href="${ctx}/hbcyjc/resourceNew/css/cjy_style2.css"/>
|
|
<link type="text/css" rel="stylesheet" href="${ctx}/hbcyjc/resourceNew/css/cjy_zlmxg.css"/>
|
|
|
|
<style type="text/css">
|
|
.home_icon_tdjc {
|
|
position: absolute;
|
|
left: 48px;
|
|
top: 50%;
|
|
margin-top: -18px;
|
|
width: 36px;
|
|
height: 36px;
|
|
overflow: hidden;
|
|
background: url("/hbcyjc/resourceNew/images/home_icon_tdjc.png") no-repeat;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
var time = new Date();
|
|
var mon = time.getMonth() + 1;//月
|
|
var day = time.getDate();//日
|
|
|
|
var now_date = time.getFullYear() + "年" + (mon < 10 ? "0" + mon : mon) + "月" + (day < 10 ? "0" + day : day) + "日";
|
|
$("#now_date").html(now_date);
|
|
|
|
var week = "周" + "日一二三四五六".charAt(new Date().getDay());
|
|
$(".dl_zhou").html(week);
|
|
|
|
showTime();
|
|
middletitle(); //设置中间标题
|
|
});
|
|
|
|
//显示实时时间
|
|
function showTime() {
|
|
var time = new Date();
|
|
|
|
var hour = time.getHours();//时
|
|
var minute = time.getMinutes();//分
|
|
var second = time.getSeconds();//秒
|
|
var nowTime = (hour < 10 ? "0" + hour : hour) + ":" + (minute < 10 ? "0" + minute : minute) + ":" + (second < 10 ? "0" + second : second);
|
|
$(".dl_jtsz").html(nowTime);
|
|
}
|
|
|
|
setInterval("showTime()", 1000);
|
|
|
|
|
|
//退出登录
|
|
function loginOut() {
|
|
layer.confirm('确定退出吗?', {title: ''}, function () {
|
|
window.location.href = "${ctx}/hbcyjclogin/logout.do";
|
|
});
|
|
}
|
|
|
|
$(function(){
|
|
var mmxgts = '${xgts}';
|
|
if(mmxgts!="1"&&mmxgts!=""&&mmxgts!="null"&&mmxgts!=null&&mmxgts!=undefined&&mmxgts!="undefined"){
|
|
mytip(mmxgts); //提示多久没有修改密码了
|
|
}
|
|
})
|
|
|
|
|
|
|
|
//提示
|
|
function mytip(text) {
|
|
layer.open({
|
|
type : 1,
|
|
content : '<div style="padding: 20px 100px;">' + text + '</div>',
|
|
btn : '确定',
|
|
shade: [0.7, '#333'],
|
|
btnAlign : 'c', //按钮居中
|
|
yes : function() {
|
|
parent.layer.closeAll(); //疯狂模式,关闭所有层
|
|
},
|
|
success: function (index, layero) {
|
|
$(':focus').blur();//让按钮失去焦点
|
|
}
|
|
});
|
|
}
|
|
|
|
|
|
//设置中间显示数据
|
|
function middletitle() {
|
|
var titlehtml = "<h3 class=\"home_xtbt\" > ";
|
|
var homename = '${sysUser.homename}';
|
|
if(homename == null || homename == "" || homename == undefined || homename == "undefined"){
|
|
titlehtml += "${regionName}<br/>旅游产业运行监测<br/>与应急指挥平台";
|
|
}else{
|
|
titlehtml += homename;
|
|
}
|
|
titlehtml += "</h3>";
|
|
|
|
var systemname = '${sysUser.systemname}';
|
|
if(systemname != null && systemname != "" && systemname != undefined && systemname != "undefined"){
|
|
titlehtml = "<h3 class=\"home_xtbt\" > "+systemname+"</h3>";
|
|
}
|
|
|
|
$("#lycyjcyyjzhpt").html(titlehtml);
|
|
}
|
|
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="xingk_nr"></div>
|
|
<p class="dl_sj">
|
|
<i id="now_date"></i><span class="dl_zhou"></span><span class="dl_jtsz"></span>
|
|
</p>
|
|
|
|
<div class="home_dtxz">
|
|
<div class="home_dtdq"></div>
|
|
<div class="home_dtwx"></div>
|
|
<div class="home_dtxzn"></div>
|
|
<div class="home_dtxzs"></div>
|
|
</div>
|
|
|
|
<a href="javascript:loginOut();" class="home_tuichu"><span>退出</span></a>
|
|
|
|
<div class="home_btcd">
|
|
<div id="lycyjcyyjzhpt">
|
|
|
|
</div>
|
|
<c:forEach items="${menuList}" var="it" varStatus="flag" >
|
|
|
|
<a href="<z:link name='${it.dicid}' def='${ctx.concat(it.menuurl)}' target="${it.menuurl.startsWith('http')?'_blank':'_self'}" />"
|
|
|
|
<c:choose>
|
|
<c:when test="${(flag.index+1)%2 == 1 }">
|
|
class="home_lbx_right home_lbx${(flag.index)+2}"
|
|
</c:when>
|
|
|
|
<c:otherwise>
|
|
class="home_lbx_left home_lbx${(flag.index)}"
|
|
</c:otherwise>
|
|
</c:choose>
|
|
>
|
|
<span class="${it.menuicon}"></span>
|
|
<p class="home_lbbt">
|
|
<c:if test="${region.dremark == '130000'}">
|
|
|
|
|
|
<c:choose>
|
|
<c:when test="${it.dicname == '旅游地理<br>信息系统'}">
|
|
文旅地理<br>信息系统
|
|
</c:when>
|
|
|
|
<c:when test="${it.dicname == '旅游基础资源<br>维护系统'}">
|
|
文旅基础资源<br>维护系统
|
|
</c:when>
|
|
|
|
<c:otherwise>
|
|
${it.dicname}
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:if>
|
|
|
|
<c:if test="${region.dremark != '130000'}">
|
|
${it.dicname}
|
|
</c:if>
|
|
|
|
</p>
|
|
</a>
|
|
|
|
</c:forEach>
|
|
<!-- 菜单循环结束 -->
|
|
</div>
|
|
|
|
<div class="home_lxy">
|
|
<div class="dt_lxgbdw1">
|
|
<div class="dt_lxgb"></div>
|
|
</div>
|
|
<div class="dt_lxgbdw2">
|
|
<div class="dt_lxgb"></div>
|
|
</div>
|
|
<div class="dt_lxgbdw3">
|
|
<div class="dt_lxgb"></div>
|
|
</div>
|
|
<div class="dt_lxgbdw4">
|
|
<div class="dt_lxgb"></div>
|
|
</div>
|
|
<div class="dt_lxgbdw5">
|
|
<div class="dt_lxgb"></div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
<script type="text/javascript" src="${ctx}/js/gotoTDPage.js"></script>
|
|
</html> |