ProgramFrame.jsp
2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/systeminfo/init_wev8.jsp"%>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page" />
<%
//是否含有下属人员
int hassub = weaver.workrelate.util.TransUtil.hassub(user.getUID()+"");
String resourceid = Util.null2String(request.getParameter("resourceid"));
String programtype = Util.null2String(request.getParameter("programtype"));
int showsub = Util.getIntValue(request.getParameter("showsub"),1);
if(showsub==1) showsub = hassub;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<title>计划报告模板</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET />
<%@ include file="/secondwev/common/head.jsp" %>
</head>
<body style="overflow: hidden;" id="bodyId">
<div id="dLeft" style="width:180px;height:100%;background: #fff;float:left;">
<iframe name="pageLeft" src="../util/CommOrg.jsp?type=1&hassub=<%=hassub %>" style="width: 100%;height:100%;" scrolling="auto" frameborder="0"></iframe>
</div>
<div id="dCenter" style="width:8px;height:100%;background: #fff;float:left;">
<iframe name="pageCenter" src="../util/Toggle.jsp?iframeset=1&hassub=<%=showsub %>" style="width: 100%;height:100%;" scrolling="auto" frameborder="0"></iframe>
</div>
<div id="dRight" style="height:100%;background: #fff;float:right;">
<iframe name="pageRight" src="ProgramView.jsp?resourceid=<%=resourceid%>&programtype=<%=programtype %>&<%=TimeUtil.getOnlyCurrentTimeString() %>" style="width: 100%;height:100%;" scrolling="auto" frameborder="0"></iframe>
</div>
<script type="text/javascript">
$(document).ready(function(){
if(<%=hassub%>==1 && <%=showsub%>==1){
$("#dLeft").width("180px");
}else{
$("#dLeft").width("0px");
}
$("#dRight").width($("BODY").width()-$("#dCenter").width()-$("#dLeft").width()-10);
$(window).resize(function(){
$("#dRight").width($("BODY").width()-$("#dCenter").width()-$("#dLeft").width()-10);
});
});
</script>
</body>
</html>