home.jsp 1.96 KB
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/hrm/header.jsp"%>
<jsp:useBean id="ManageDetachComInfo" class="weaver.hrm.moduledetach.ManageDetachComInfo" scope="page" />
<!-- Added by wcd 2015-07-03[状态变更流程] -->
<%
	if(!HrmUserVarify.checkUserRight("StateChangeProcess:Set", user)) {
		response.sendRedirect("/notice/noright.jsp");
		return;
	}
	String imagefilename = "/images/hdSystem_wev8.gif", needfav = "1", needhelp = "";
	String titlename = SystemEnv.getHtmlLabelName(84790, user.getLanguage());
	
	if(!strUtil.vString(ManageDetachComInfo.getDetachable()).equals("1")) {
		response.sendRedirect("/hrm/pm/hrmStateProcSet/tab.jsp?topage=list");
		return;
	}
%>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="/css/Weaver_wev8.css">
		<script type="text/javascript">
			if (window.jQuery.client.browser == "Firefox") {
				jQuery(document).ready(function () {
					jQuery("#leftframe,#middleframe,#contentframe").height(jQuery("#leftframe").parent().height());
					window.onresize = function () {
						jQuery("#leftframe,#middleframe,#contentframe").height(jQuery("#leftframe").parent().height());
					};
				});
			}

			function jsReloadTree() {
				document.getElementById('leftframe').contentWindow.initTree();
			}
		</script>
	</head>
	<body scroll="no">
		<table width="100%" id="oTable1" height="100%" cellpadding="0px" cellspacing="0px">
			<tbody>
				<tr>
					<td height="100%" id="oTd1" name="oTd1" width="220px">
						<iframe name="leftframe" id="leftframe" src="/hrm/pm/hrmStateProcSet/left.jsp?rightStr=StateChangeProcess:Set" width="100%" height="100%" frameborder="no" scrolling="no"></iframe>
					</td>
					<td height="100%" id="oTd2" name="oTd2" width="*">
						<iframe name="contentframe" id="contentframe" src="/hrm/pm/hrmStateProcSet/tab.jsp?topage=list" width="100%" height="100%" frameborder="no" scrolling="yes"></iframe>
					</td>
				</tr>
			</tbody>
		</table>
	</body>
</html>