WorkflowToModeSetJump.jsp 2.6 KB

<%@page import="com.weaver.formmodel.util.StringHelper"%>
<%@page import="weaver.conn.RecordSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ page import="java.util.*" %>
<%
//actionid="+tempactionid+"&fromintegration="+fromintegration+"&pointid="+tempinterfaceid+"
///servicesetting/actionsettingnew.jsp?fromintegration="+fromintegration+"&pointid="+tempinterfaceid+"
	int actionid = Util.getIntValue(request.getParameter("actionid"),0);
	String fromintegration = Util.null2String(request.getParameter("fromintegration"));
	String pointid = Util.null2String(request.getParameter("pointid"));
	String url = "";
	if(actionid > 0) {
		String sql = "select id, isold from mode_workflowtomodeset where actionid = "+actionid;
		RecordSet rs = new RecordSet();
		rs.executeSql(sql);
		if(rs.next()) {
			int id = Util.getIntValue(rs.getString("id"));
			int isold = Util.getIntValue(rs.getString("isold"),0);
			if(isold == 0) {
				url = "/formmode/interfaces/WorkflowToModeSet.jsp?id="+id;
			}
		}
	}
	if(StringHelper.isEmpty(url)) {
		response.sendRedirect("/servicesetting/actionsettingnew.jsp?fromintegration="+fromintegration+"&pointid="+pointid);
		return;
	}
	String navName = "流程转数据";
%>
<%@ include file="/formmode/checkright4setting.jsp" %>
<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" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<script type="text/javascript">
		$(function(){
		    $('.e8_box').Tabs({
		        getLine:1,
		        iframe:"tabcontentframe",
		        mouldID:"mnav0_wev8.png",
		        staticOnLoad:true,
		        objName:"<%=navName%>"
		    });
		}); 
		
		function closeAndRefreshParent(){
			parent.getDialog(parent).close();
			
		}
	</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>
	    	<div id="rightBox" class="e8_rightBox"></div>
	  	  </div>
		</div>
	  </div>
	  <div class="tab_box">
        <div style="margin-left:15px;">
            <iframe src="<%=url%>" onload="update()" id="tabcontentframe" name="tabcontentframe" class="flowFrame" frameborder="0" height="100%" width="100%;"></iframe>
        </div>
	  </div>
	</div>  
  </body>
</html>