<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="runqianReport4" prefix="report" %>
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
<%@ page import="cn.myapps.core.user.action.WebUser"%>
<%@ page import="cn.myapps.constans.Web"%>
<%@ page import="com.runqian.report4.usermodel.Context"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>testJsp</title>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<%
String test="test="+request.getParameter("test");
String test1="test1="+request.getParameter("test1");
String Partest=test+";"+test1;
out.println("测试:"+test);
out.println("测试:"+test1);
out.println("测试==============11166667"+Partest+"7764446==================");
WebUser user = (WebUser) session.getAttribute(Web.SESSION_ATTRIBUTE_FRONT_USER);
String name = user.getName();
String deptId = user.getDefaultDepartment();
out.println("AAA测试==============11166667"+name+"7764446==================");
out.println("部门id=============="+deptId+"==================");
%>
<table>
<tr style=" ">
<td>开始时间</td>
<td><input type="text" id="start" name="startid" /></td>
<td>截止时间 </td>
<td><input type="text" id="end" name="endid" /></td>
</tr>
<tr style=" ">
<td>部门</td>
<td>
<select>
<option style="width:200px">1</option>
<option style="width:200px">2</option>
<option style="width:200px">3</option>
<option style="width:200px">4</option>
<option style="width:200px">5</option>
</select>
</td>
<td><input type="text" id="dept" name="deptid" /></td>
</tr>
<tr style=" ">
<td> <input type="submit" value="提交" /></td>
</tr>
</table>
<report:html name="chaproctest" params="<%=Partest %>" needSaveAsExcel = "yes" needPrint = "yes" srcType="file"
reportFileName="chaproctest.raq" saveAsName="chaproctest" />
//reportFileName就是对应您设计好的润乾报表名称
</body>
</html>
|