checkruleiframe.jsp 4.89 KB
<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<HTML><HEAD>
<script src="/js/tabs/jquery.tabs.extend_wev8.js"></script>
<link type="text/css" href="/js/tabs/css/e8tabs1_wev8.css" rel="stylesheet" />
<link rel="stylesheet" href="/css/ecology8/request/searchInput_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/searchInput_wev8.js"></script>

<link rel="stylesheet" href="/css/ecology8/request/seachBody_wev8.css" type="text/css" />
<link rel="stylesheet" href="/css/ecology8/request/hoverBtn_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/hoverBtn_wev8.js"></script>
<script type="text/javascript" src="/js/ecology8/request/titleCommon_wev8.js"></script>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page" />
<%
	//判断只有管理员才有权限
	int userid = user.getUID();
	if(userid!=1) {
		response.sendRedirect("/notice/noright.jsp");
	  return;
	}
	String url = "filecheck/BatchInspection.jsp";
	String navName = SystemEnv.getHtmlLabelName(502065,user.getLanguage());

%>
<script type="text/javascript">
$(function(){
    $('.e8_box').Tabs({
        getLine:1,
        iframe:"tabcontentframe",
        mouldID:"<%= MouldIDConst.getID("checkfile")%>",
        staticOnLoad:true,
        notRefreshIfrm:true,
        objName:"<%=navName%>"
    });
});


function change(type,param) {
	$(".tab_menu").find("li").each(function(){
		$(this).removeClass("current")
	});

    if("0" == type){
        $("#tabcontentframe").attr("src","filecheck/BatchInspection.jsp");
        $(".tab_menu").find("li").eq(0).addClass("current");
    }else if("1" == type) {
        $("#tabcontentframe").attr("src","filecheck/WorkflowReport.jsp");
        $(".tab_menu").find("li").eq(1).addClass("current");
    } else if("2" == type) {
		$("#tabcontentframe").attr("src","filecheck/MobileModeReport.jsp");
		$(".tab_menu").find("li").eq(2).addClass("current");
	} else if("3" == type){
		$("#tabcontentframe").attr("src","filecheck/ModeReport.jsp");
		$(".tab_menu").find("li").eq(3).addClass("current");
	} else if("4" == type) {
		$("#tabcontentframe").attr("src","filecheck/PortalReport.jsp");
		$(".tab_menu").find("li").eq(4).addClass("current");
	} else if("5" == type) {
		$("#tabcontentframe").attr("src","filecheck/SpecialFileCheck.jsp");
		$(".tab_menu").find("li").eq(5).addClass("current");
	} else if("6" == type) {
		$("#tabcontentframe").attr("src","filecheck/TempleteSyncTools.jsp");
		$(".tab_menu").find("li").eq(6).addClass("current");
	}
}
</script>

</head>
<BODY scroll="no">
	<form id="myForm" method="post" target="tabcontentframe">
	<input type="hidden" id="tabtype" name="tabtype"/>
	<input type="hidden" id="ishtml" name="ishtml"/>
	<input type="hidden" id="navName" name="navName"/>
	</form>
	<div class="e8_box demo2">
		<div class="e8_boxhead">
			<div class="div_e8_xtree" id="div_e8_xtree"></div>
			<div class="e8_tablogo" id="e8_tablogo"></div>
			<div class="e8_ultab">
				<div class="e8_navtab" id="e8_navtab">
					<span id="objName"></span>
				</div>
				<div>
					<ul class="tab_menu">
						<li class='current' onclick="javascript:change(0,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								<%=SystemEnv.getHtmlLabelName(506300,user.getLanguage())%>
							</a>
						</li>
						<li  onclick="javascript:change(1,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								<%=SystemEnv.getHtmlLabelName(502066,user.getLanguage())%>
							</a>
						</li>
						<li onclick="javascript:change(2,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								<%=SystemEnv.getHtmlLabelName(503821,user.getLanguage())%>
							</a>
						</li>
						<li onclick="javascript:change(3,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								<%=SystemEnv.getHtmlLabelName(503822,user.getLanguage())%>
							</a>
						</li>
						<li onclick="javascript:change(4,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								<%=SystemEnv.getHtmlLabelName(506242,user.getLanguage())%>
							</a>
						</li>
						<li onclick="javascript:change(5,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								<%=SystemEnv.getHtmlLabelName(	503824,user.getLanguage())%>
							</a>
						</li>
						<li onclick="javascript:change(6,'')">
							<a href="#" onclick="return false;" target="tabcontentframe">
								模板同步迁移
							</a>
						</li>
					</ul>
					<div id="rightBox" class=" e8_rightBox"></div>
				</div>
			</div>
		</div>
		<div class="  tab_box">
			<div>
				<iframe src="<%=url%>"  onload="update()" id="tabcontentframe" name="tabcontentframe" class="flowFrame" frameborder="0" height="100%" width="100%;"></iframe>
			</div>
		</div>
	</div>
	<style>
		span .searchImg{
		display:none !important;
	}
	</style>
</body>

</html>