checkFlowList_.jsp
3.04 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<%@ page language="java" contentType="text/html; charset=GBK" %>
<%@ page import="weaver.general.Util" %>
<%@ page import="weaver.hrm.company.*" %>
<%@ page import="java.util.*" %>
<jsp:useBean id="compInfo" class="weaver.hrm.company.CompanyComInfo" scope="page" />
<jsp:useBean id="subCompInfo" class="weaver.hrm.company.SubCompanyComInfo" scope="page" />
<%@ include file="/systeminfo/init.jsp" %>
<%
String imagefilename = "/images/hdHRM.gif";
String titlename = "";
String needfav ="1";
String needhelp ="";
%>
<%
if(!HrmUserVarify.checkUserRight("CheckFlowInfo:Maintenance", user)){
response.sendRedirect("/notice/noright.jsp");
return;
}
String companyIcon = "/images/treeimages/global16.gif";
%>
<HTML>
<HEAD>
<link href="/css/Weaver.css" type="text/css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="xtree.css">
<style>
TABLE.Shadow A {
COLOR: #333; TEXT-DECORATION: none
}
TABLE.Shadow A:hover {
COLOR: #333; TEXT-DECORATION: none
}
TABLE.Shadow A:link {
COLOR: #333; TEXT-DECORATION: none
}
TABLE.Shadow A:visited {
TEXT-DECORATION: none
}
</style>
<script src="xtree.js"></script>
<script type="text/javascript">
var tree;
</script>
</head>
<body>
<%@ include file="/systeminfo/TopTitle.jsp" %>
<%@ include file="/systeminfo/RightClickMenuConent.jsp" %>
<%
%>
<%@ include file="/systeminfo/RightClickMenu.jsp" %>
<table width=100% height=100% border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="10">
<col width="">
<col width="10">
<tr>
<td height="10" colspan="3"></td>
</tr>
<tr>
<td></td>
<td valign="top">
<TABLE class="Shadow">
<tr>
<td valign="top">
<!--=================================-->
<TABLE class=ListStyle cellspacing=1>
<TR class=Header>
<TH width="50%"><%=SystemEnv.getHtmlLabelName(17871,user.getLanguage())%></TH>
<th width="25%"><%=SystemEnv.getHtmlLabelName(18102,user.getLanguage())%></th>
<th width="25%"><%=SystemEnv.getHtmlLabelName(18103,user.getLanguage())%></th>
</TR>
<TR class=Line>
<TD colSpan=3></TD>
</TR>
<tr>
<td colspan="3" id="treeTD">
<script language="javascript">
if(document.getElementById){
tree = new WebFXTree('<%=compInfo.getCompanyname("1")%>','','','<%=companyIcon%>','<%=companyIcon%>');
tree.setBehavior('classic');
<%=subCompInfo.getSubCompanyTreeJS("0",0)%>
document.write(tree);
tree.expand();
}
</script>
</td>
</tr>
</table>
<!--=================================-->
</td>
</tr>
</TABLE>
</td>
<td></td>
</tr>
<tr>
<td height="10" colspan="3"></td>
</tr>
</table>
</body>
</html>
<script type="text/javascript">
function onShowFlowID(flowType,obj){
var id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/workflow/request/FlowBrowser.jsp?para="+flowType);
if(id==null) return false;
var a = id.toArray();
var arrayObj = obj.split("|");
if(confirm("Ƿͬ¼λ")){
location.href = "checkFlowOperation.jsp?syc=y&flowType="+flowType+"&flowId="+a[0]+"&objId="+arrayObj[0]+"&objType="+arrayObj[1];
}else{
location.href = "checkFlowOperation.jsp?syc=n&flowType="+flowType+"&flowId="+a[0]+"&objId="+arrayObj[0]+"&objType="+arrayObj[1];
}
}
</script>