left.jsp
2.99 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/hrm/header.jsp"%>
<!-- Added by wcd 2015-07-03[状态变更流程] -->
<%
String rightStr = strUtil.vString(request.getParameter("rightStr"));
String xmlPath = "/frameleftXML.jsp?rightStr="+rightStr+"&setcom=true";
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/Weaver_wev8.css">
<link rel="stylesheet" type="text/css" href="/css/xtree2_wev8.css">
<script type="text/javascript" src="/js/xtree_wev8.js"></script>
<script type="text/javascript" src="/js/xmlextras_wev8.js"></script>
<script type="text/javascript" src="/js/cxloadtree_wev8.js"></script>
<script type="text/javascript">
if (window.jQuery.client.browser == "Firefox") {
jQuery(document).ready(function () {
jQuery("#deeptree").css("height", jQuery(document.body).height());
});
}
</script>
</head>
<body onload="initTree()">
<form name="SearchForm" style="margin-bottom:0" action="/hrm/pm/hrmStateProcSet/tab.jsp?topage=list" method="post" target="contentframe">
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<script>rightMenu.style.visibility='hidden';</script>
<%@ include file="/systeminfo/leftMenuCommon.jsp" %>
<table cellspacing="0" cellpadding="0" class="flowsTable" style="width:100%;height:100%;">
<tr>
<td class="leftTypeSearch">
<div>
<span class="leftType"><%=SystemEnv.getHtmlLabelName(16455,user.getLanguage())%><span id="totalDoc"></span></span>
<span class="leftSearchSpan"> <input type="text" class="leftSearchInput" style="width:110px;"/></span>
</div>
</td>
</tr>
<tr>
<td style="width:23%;" class="flowMenusTd">
<div id="deeptree" class="cxtree" style="overflow:hidden;" CfgXMLSrc="/css/TreeConfig.xml"/>
</td>
</tr>
</table>
<input type="hidden" name="tabid">
<input type="hidden" name="companyid">
<input type="hidden" name="subcompanyid">
<input type="hidden" name="departmentid">
<input type="hidden" name="nodeid">
</form>
<script type="text/javascript">
function initTree() {
CXLoadTreeItem("", "<%=xmlPath%>");
var tree = new WebFXTree();
tree.add(cxtree_obj);
document.getElementById('deeptree').innerHTML = tree;
cxtree_obj.expand();
}
function showcom(node) {
}
function check(node) {
}
function setCompany(nodeid) {
$GetEle("subcompanyid").value = "0";
document.SearchForm.submit();
}
function setSubcompany(nodeid) {
subid = nodeid.substring(nodeid.lastIndexOf("_")+1);
$GetEle("departmentid").value = "";
$GetEle("subcompanyid").value = subid;
document.SearchForm.submit();
}
function setDepartment(nodeid) {
deptid = nodeid.substring(nodeid.lastIndexOf("_")+1);
$GetEle("departmentid").value = deptid;
$GetEle("subcompanyid").value = "";
document.SearchForm.submit();
}
</script>
</body>
</html>