RequestResourcesTab.jsp
5.07 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
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ page import="java.util.*" %>
<jsp:useBean id="pack" class="weaver.general.ParameterPackage" scope="page"/>
<jsp:useBean id="RecordSet" class="weaver.conn.RecordSet" scope="page" />
<HTML><HEAD>
<%
String f_weaver_belongto_userid=request.getParameter("f_weaver_belongto_userid");//需要增加的代码
String f_weaver_belongto_usertype=request.getParameter("f_weaver_belongto_usertype");//需要增加的代码
user = HrmUserVarify.getUser(request, response, f_weaver_belongto_userid, f_weaver_belongto_usertype) ;//需要增加的代码
int userid=user.getUID();
int usertype = 0 ;
int requestid = Util.getIntValue(request.getParameter("requestid"));
int workflowid = Util.getIntValue(request.getParameter("workflowid"));
int isbill = Util.getIntValue(request.getParameter("isbill"));
int formid = Util.getIntValue(request.getParameter("formid"));
String showupload="";
String showdoc="";
String showworkflow="";
String reportid = Util.null2String(request.getParameter("reportid"));
String isfromreport = Util.null2String(request.getParameter("isfromreport"));
String isfromflowreport = Util.null2String(request.getParameter("isfromflowreport"));
String iswfshare = Util.null2String(request.getParameter("iswfshare"));
String urlparam = "workflowid=" + workflowid + "&requestid=" + requestid + "&isbill=" + isbill + "&formid=" + formid + "&reportid=" + reportid + "&isfromreport=" + isfromreport + "&isfromflowreport=" + isfromflowreport + "&iswfshare=" + iswfshare +"&f_weaver_belongto_userid="+userid+"&f_weaver_belongto_usertype="+usertype;
String navName = "";
/*
String sql="select showuploadtab,showdoctab,showworkflowtab from workflow_base where id="+workflowid+" and formid="+formid+" and isbill="+isbill;
RecordSet.executeSql(sql);
if(RecordSet.next()){
showupload=Util.null2String(RecordSet.getString("showuploadtab"));
showdoc=Util.null2String(RecordSet.getString("showdoctab"));
showworkflow=Util.null2String(RecordSet.getString("showworkflowtab"));
}
*/
%>
<script src="/js/tabs/jquery.tabs.extend_wev8.js"></script>
<link type="text/css" href="/js/tabs/css/e8tabs1_wev8.css" rel="stylesheet" />
<link rel="stylesheet" href="/css/ecology8/request/searchInput_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/searchInput_wev8.js"></script>
<link rel="stylesheet" href="/css/ecology8/request/seachBody_wev8.css" type="text/css" />
<link rel="stylesheet" href="/css/ecology8/request/hoverBtn_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/hoverBtn_wev8.js"></script>
<script type="text/javascript" src="/js/ecology8/request/titleCommon_wev8.js"></script>
<script type="text/javascript">
var parentWin = null;
var dialog = null;
try{
parentWin = parent.getParentWindow(window);
dialog = parent.getDialog(window);
}catch(e){}
$(function(){
$('.e8_box').Tabs({
getLine:1,
mouldID:"<%= MouldIDConst.getID("workflow")%>",
iframe:"tabcontentframe",
staticOnLoad:true
});
});
jQuery(document).ready(function(){ setTabObjName("<%=Util.toScreenForJs(navName) %>"); });
</script>
<style type="text/css">
#reqresnavblock ul li,#reqresnavblock ul li a, #reqresnavblock ul {
height:30px;
line-height:28px;
}
.h24 {
/*
height:24px;
line-height:24px;
*/
}
</style>
<%
String url = "/workflow/request/RequestResources.jsp?tabindex=0&" + urlparam;
int current = Util.getIntValue(request.getParameter("current"), 0);
System.out.println("current = "+current);
%>
</head>
<BODY scroll="no">
<div class="e8_box demo2" id="reqresnavblock">
<ul class="tab_menu" style="" class="h24" >
<li <%if(current==0){%>class="current"<%} %> class="h24" >
<a href="/workflow/request/RequestResources.jsp?tabindex=0&<%=urlparam %>" target="tabcontentframe" class="h24" style="">
<%=SystemEnv.getHtmlLabelName(332,user.getLanguage())%>
</a>
</li>
<li <%if(current==1){%>class="current"<%} %> class="h24" >
<a href="/workflow/request/RequestResources.jsp?tabindex=1&<%=urlparam %>" target="tabcontentframe" class="h24" style="">
<%=SystemEnv.getHtmlLabelName(1044,user.getLanguage())%>
</a>
</li>
<li <%if(current==2){%>class="current"<%} %> class="h24" >
<a href="/workflow/request/RequestResources.jsp?tabindex=2&<%=urlparam %>" target="tabcontentframe" class="h24" style="">
<%=SystemEnv.getHtmlLabelName(857,user.getLanguage())%>
</a>
</li>
<li <%if(current==3){%>class="current"<%} %> class="h24" >
<a href="/workflow/request/RequestResources.jsp?tabindex=3&<%=urlparam %>" target="tabcontentframe" class="h24">
<%=SystemEnv.getHtmlLabelName(22194,user.getLanguage())%>
</a>
</li>
</ul>
<div class="tab_box">
<iframe src="<%=url %>" id="tabcontentframe" name="tabcontentframe" class="flowFrame" frameborder="0" height="100%" width="100%;"></iframe>
</div>
</div>
</body>
</html>