index.jsp
2.31 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<!-- added by wcd 2014-07-14 [E7 to E8] -->
<%
String cid = Util.null2String(request.getParameter("cid"));
%>
<HTML>
<HEAD>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
</HEAD>
<body scroll="no">
<%@ include file="/systeminfo/leftMenuCommon.jsp" %>
<table cellspacing="0" cellpadding="0" class="flowsTable" style="width:100%;" >
<tr>
<td class="leftTypeSearch">
<div class="topMenuTitle" style="border:none;">
<span class="leftType">
<span><img style="vertical-align:middle;" src="/images/ecology8/request/alltype_wev8.png" width="18"/></span>
<span><%=SystemEnv.getHtmlLabelNames("357",user.getLanguage())%></span>
<span id="totalDoc"></span>
</span>
<span class="leftSearchSpan">
<input type="text" id="leftSearch" class="leftSearchInput" style="width:110px;"/>
</span>
</div>
</td>
<td rowspan="2">
<iframe src="/hrm/HrmTab.jsp?_fromURL=jobactivities" id="contentframe" name="contentframe" class="flowFrame" frameborder="0" height="100%" width="100%;"></iframe>
</td>
</tr>
<tr>
<td style="width:23%;" class="flowMenusTd">
<div class="flowMenuDiv" >
<div style="overflow:hidden;position:relative;" id="overFlowDiv">
<div class="ulDiv" ><iframe src="indexTreeLeft.jsp" id="contentframe1" name="contentframe1" class="" frameborder="0" height="100%" width="100%;" scrolling="no"></iframe></div>
</div>
</div>
</td>
</tr>
</table>
<script type="text/javascript">
jQuery(document).ready(function(){
setTimeout(function(){
document.onkeydown=function(event){
var e = event || window.event || arguments.callee.caller.arguments[0];
if(e && e.keyCode==13){ // enter 键
$("#contentframe1").attr("src","indexTreeLeft.jsp?cid=<%=cid%>&searchStr="+$("#leftSearch").val());
}
};
$(".searchImg").click(function(){
//if($("#leftSearch").val() != ''){
$("#contentframe1").attr("src","indexTreeLeft.jsp?cid=<%=cid%>&searchStr="+$("#leftSearch").val());
//}
});
},1000);
});
function onfouc(){
jQuery("#leftSearch").focus();
}
</script>
</body>
</html>