📄 report.jsp
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@include file="/common/ValidateJavaScript.jsp"%>
<%@include file="/common/system_perms.jsp"%>
<%@page import="intuitsoft.eclipse.table.system.ModuleFunctionPermissionService"%>
<%@page import="intuitsoft.eclipse.table.system.ModulePermissionService"%>
<%@page import="net.intuitsoft.xeon.table.sale.compare.*"%>
<%@page import="net.intuitsoft.xeon.table.sale.*"%>
<%@page import="intuitsoft.eclipse.table.common.*"%>
<%@page import="net.intuitsoft.xeon.table.common.ItemActionBean"%>
<%@page import="net.intuitsoft.xeon.table.common.ListBean"%>
<%@page import="net.intuitsoft.xeon.table.basic.goodsclass.*"%>
<%@page import="net.intuitsoft.xeon.table.basic.region.*"%>
<%@include file="/common/sales_perms.jsp"%>
<%
ListAdapter listAdapter = (ListAdapter)request.getAttribute("ListAdapter");
if(listAdapter == null) {
listAdapter = new ConcreteListAdapter(loginInfo.getJndiName());
}
SaleCompareAdapter saleCompareAdapter = (SaleCompareAdapter)request.getAttribute("SaleCompareAdapter2");
if(saleCompareAdapter == null) {
saleCompareAdapter = new SaleCompareAdapter(loginInfo.getJndiName());
}
String cond = "";
if(!"".equals(saleCompareAdapter.getRegionID()) ) {
cond += " and a.regionID like '" + saleCompareAdapter.getRegionID() +"%'";
}
%>
<HTML><!-- #BeginTemplate "/Templates/system_nomenu.dwt" --><!-- DW6 -->
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="expires" CONTENT="0">
<TITLE>直觉软件</TITLE>
<!-- #BeginEditable "doctitle" -->
<TITLE>直觉软件</TITLE>
<!-- #EndEditable -->
<LINK REL="stylesheet" HREF="../../css/main.css" TYPE="text/css">
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script>
<!--
function cal() {
var url = "/news/accesscontrolservice?eventCode=" + <%=net.intuitsoft.xeon.table.news.EventCode.REMARK%>;
window.location = url;
}
function news() {
var url = "/news/accesscontrolservice?eventCode=" + <%=net.intuitsoft.xeon.table.news.EventCode.NEWS%>;
window.location = url;
}
function yourMail() {
var url = "/news/accesscontrolservice?eventCode=" + <%=net.intuitsoft.xeon.table.news.EventCode.RINFO%>;
window.location = url;
}
function searchIn() {
alert("正在索引内容.");
}
function basicInfo() {
var url = "/basic/accesscontrolservice?eventCode=<%=net.intuitsoft.xeon.table.basic.EventCode.BASIC%>&intuit=1";
window.location = url;
}
function reportList() {
var url = "/report/accesscontrolservice?eventCode=<%=net.intuitsoft.xeon.table.report.EventCode.REPORT%>&intuit=15";
window.location = url;
}
function quit() {
if(confirm('真的要退出系统?')) {
window.location = '/logoutservlet';
}
}
function helpYou(key) {
var url = "/common/sys_help_frame.jsp?sheetCode=" + key;
showModalDialog(url,'INTUITSOFT','dialogHeight:500px;dialogWidth:520px;status:no;center:yes; help:no;resizable:yes;scroll:no');
}
function czDialog(url){
return showModalDialog(url,'INTUITSOFT','dialogHeight:350px;dialogWidth:520px;status:no;center:yes; help:no;resizable:yes;scroll:no');
}
function czFun() {
var url = "/system/manager/cz/cz_frame.jsp";
czDialog(url);
}
function systemHelp() {
var url = "/system/question/question/index_frame.jsp";
var param = "top=0,left=0,width=1015,height=608,toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=n o, status=no";
var newwin = window.open(url,"商贸平台", param);
newwin.focus();
}
function feedback() {
var url = "http://www.intuitsoft.com/feedback.html";
var param = "top=0,left=0,width=1015,height=608,toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=n o, status=no";
var newwin = window.open(url);
newwin.focus();
}
//-->
</script>
<style type="text/css">
<!--
.STYLE4 {color: #CCCCCC}
-->
</style>
</HEAD>
<BODY background="../../images/bg_000.gif" LEFTMARGIN="0" TOPMARGIN="5" MARGINWIDTH="0" MARGINHEIGHT="0">
<TABLE WIDTH="100%" BORDER="0" align="center" CELLPADDING="0" CELLSPACING="0">
<%
intuitsoft.eclipse.table.system.user.LoginInfo loginInfo8 = (intuitsoft.eclipse.table.system.user.LoginInfo) request.getSession().getAttribute("LoginInfo");
if(loginInfo8 == null) return;
intuitsoft.eclipse.table.system.user.SysUserAdapter sUser = new intuitsoft.eclipse.table.system.user.ConcreteSysUserAdapter(loginInfo8.getJndiName());
sUser.setSysUserCode(loginInfo8.getSysUserCode());
sUser.content();
intuitsoft.eclipse.table.common.ConversionBean cb5 = new intuitsoft.eclipse.table.common.ConversionBean("");
cb5.setSql("select top 1 u.statusAmo from intuitUser u,intuitCustomer c where u.loginID=c.loginID and c.jndiName='"+loginInfo8.getJndiName()+"'");
String memberStatus = cb5.getConversionBean();
%>
<TR>
<TD HEIGHT="25">
<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" align="center" CELLPADDING="0" CELLSPACING="0" bgcolor="#FFFFFF">
<TR>
<TD WIDTH="16" height="25" align="left" valign="top"><div align="left"><img src="../../images/jiao_000.gif" name="Image2" width="8" height="12" id="Image2"></div></TD>
<TD width="322" ><div align="left"><span class="down"><strong><font color="#FF6600"> 欢迎光临:<%=sUser.getName()%> <%=intuitsoft.eclipse.table.common.DateUtilities.getCurDate("yyyy年MM月dd日 E")%></font></strong></span></div></TD>
<TD width="200" ><div align="right"><iframe src="/system/disp_weather.jsp" height="15" width="200" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div></TD>
<TD width="440" >
<div align="right">
<script>
function directP(theField) {
var url = theField.options[theField.selectedIndex].value;
window.location=url + "&flow=" + url;
}
</script>
<%
{
intuitsoft.eclipse.table.common.DropDownListBean dropDownList = new intuitsoft.eclipse.table.common.DropDownListBean(loginInfo8.getJndiName());
dropDownList.setSelectName("a");
dropDownList.setScript("onChange='directP(this);'");
dropDownList.setHasNull(true);
dropDownList.setDefValue ("常用单据");
dropDownList.setWidth("style='width:120'");
dropDownList.setSQL("select a.exec_path,a.name,b.seq from sys_function a,sysDefineSheet b where a.sys_function_code = b.sysFunctionCode and type=1 and b.sysUserCode = "+loginInfo8.getSysUserCode()+" order by b.seq");
out.print(dropDownList.getDropDownList());
}
%>
<%
{
intuitsoft.eclipse.table.common.DropDownListBean dropDownList = new intuitsoft.eclipse.table.common.DropDownListBean(loginInfo8.getJndiName());
dropDownList.setSelectName("b");
dropDownList.setScript("onChange='directP(this);'");
dropDownList.setHasNull(true);
dropDownList.setDefValue("常用报表");
dropDownList.setWidth("style='width:120'");
dropDownList.setSQL("select a.exec_path,a.name,b.seq from sys_function a,sysDefineSheet b where a.sys_function_code = b.sysFunctionCode and type=2 and b.sysUserCode = "+loginInfo8.getSysUserCode()+" order by b.seq");
out.print(dropDownList.getDropDownList());
}
%>
<%
{
String p = request.getParameter("flow");
intuitsoft.eclipse.table.common.DropDownListBean dropDownList = new intuitsoft.eclipse.table.common.DropDownListBean(loginInfo8.getJndiName());
dropDownList.setSelectName("flow");
dropDownList.setDefaultName(p);
dropDownList.setScript("onChange='directP(this);'");
dropDownList.setHasNull(true);
dropDownList.setDefValue("流程导航");
dropDownList.setWidth("style='width:120'");
dropDownList.setSQL("select c.exec_path,c.name,b.module_seq from sys_role_module b, sys_module c,sys_role s where b.sys_module_code=c.sys_module_code and b.sys_role_code=s.sys_role_code and s.name='流程导航'");
out.print(dropDownList.getDropDownList());
}
%>
</div></TD>
<TD width="15" align="right" valign="top"><img src="../../images/jiao_001.gif" width="15" height="12"></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD HEIGHT="30"><TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" align="center" CELLPADDING="0" CELLSPACING="0" bgcolor="#FFFFFF">
<TR>
<TD WIDTH="16" height="30" align="left" valign="top"></TD>
<TD width="519"><div align="left"><img src="../../images/logo-intuit.gif" alt="" width="310" height="31"></div></TD>
<TD width="143"><div align="right"><font color="#FFFFFF"><%=loginInfo8.getComName()%></font><font color="#FF0000"><%=memberStatus%></font></div></TD>
<TD width="314"><div align="right"><a href="javascript:systemHelp();" class="tabcontent">帮助</a><span class="STYLE4">|</span><a href="javascript:feedback();" class="tabcontent">反馈</a><span class="STYLE4">|</span><a href="javascript:czFun();" class="tabcontent">续费</a><span class="STYLE4">|</span><a href="http://www.intuitsoft.com/" class="tabcontent" target="_blank">网站<span class="STYLE4">|</span></a><a href='/logoutservlet' onClick="return confirm('真的要退出系统?');" class="tabcontent">退出 </a><a href="javascript:helpYou('<%=this.getClass().getName()%>');" class="sysHelp">.</a></div></TD>
</TR>
</TABLE></TD>
</TR><TR>
<TD background="../../images/bg_002.gif">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="100%">
<TR>
<TD WIDTH="140" height="18" align="center" background="../../images/bg_003.gif">
<%request.getRequestDispatcher("/expiresmonitorservice").include(request, response);%>
<%request.getRequestDispatcher("/system/rolename").include(request, response);%>
</TD>
<TD height="28">
<% request.getRequestDispatcher("/modulepermissionservice").include(request, response);%> <div align="right"></div></TD>
</TR>
</TABLE></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -