ExpWorkflowDetailTab.jsp
3.93 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
<%@ 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"/>
<HTML><HEAD>
<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>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page" />
<%
if(!HrmUserVarify.checkUserRight("intergration:expsetting", user)){
response.sendRedirect("/notice/noright.jsp");
return;
}
String navName = "";
String urlType = Util.null2String((String)request.getParameter("urlType"));
String id = Util.null2String((String)request.getParameter("id"));
String queryString=request.getQueryString();
if("".equals(urlType)){
urlType="1";
}
String url = "/integration/exp/ExpWorkflowDetailAdd.jsp?"+queryString;
if("1".equals(urlType))
{
navName = SystemEnv.getHtmlLabelNames("33925,31691,87",user.getLanguage());//归档流程注册信息
url = "/integration/exp/ExpWorkflowDetailAdd.jsp?"+queryString;
}else if("2".equals(urlType))
{
navName = SystemEnv.getHtmlLabelNames("93,33925,31691,87",user.getLanguage());//编辑归档流程注册信息
url = "/integration/exp/ExpWorkflowDetailEdit.jsp?"+queryString;
}
String expLogURL="/integration/exp/ExpWorkflowLogList.jsp?"+queryString;
String expWorkflowFielsMapURL="/integration/exp/ExpWorkflowFieldsXMLMap.jsp?"+queryString;
if(!id.equals(""))
{
String sql="select b.ProType as ProType from exp_workflowDetail a,exp_ProList b where a.expid=b.id and a.id='"+id+"'";
rs.executeSql(sql);
if(rs.next()){
String proType=rs.getString("ProType");
if(proType.equals("1")){
expWorkflowFielsMapURL="/integration/exp/ExpWorkflowFieldsDBMap.jsp?"+queryString;
}
}
}
%>
<script type="text/javascript">
$(function(){
$('.e8_box').Tabs({
getLine:1,
iframe:"tabcontentframe",
mouldID:"<%= MouldIDConst.getID("integration")%>",
staticOnLoad:true,
notRefreshIfrm:true,
objName:"<%=navName%>"
});
});
</script>
</head>
<BODY scroll="no">
<div class="e8_box demo2">
<div class="e8_boxhead">
<div class="div_e8_xtree" id="div_e8_xtree"></div>
<div class="e8_tablogo" id="e8_tablogo"></div>
<div class="e8_ultab">
<div class="e8_navtab" id="e8_navtab">
<span id="objName"></span>
</div>
<div>
<% if("2".equals(urlType)){%>
<ul class="tab_menu">
<li class='current'>
<a href="<%=url %>" target="tabcontentframe">
<%=SystemEnv.getHtmlLabelName(82751,user.getLanguage())%>
</a>
</li>
<li>
<a href="<%=expWorkflowFielsMapURL %>" target="tabcontentframe">
<%=SystemEnv.getHtmlLabelName(125610,user.getLanguage())%><!-- 字段映射 -->
</a>
</li>
<li>
<a href="<%=expLogURL %>" target="tabcontentframe">
<%=SystemEnv.getHtmlLabelName(83255,user.getLanguage())%><!-- 归档日志 -->
</a>
</li>
</ul>
<% }%>
<div id="rightBox" class="e8_rightBox">
</div>
</div>
</div>
</div>
<div class="tab_box">
<div>
<iframe src="<%=url %>" onload="update()" id="tabcontentframe" name="tabcontentframe" class="flowFrame" frameborder="0" height="100%" width="100%;"></iframe>
</div>
</div>
</div>
</body>
</html>