📄 callouttemmanage_jsp.java
字号:
package org.apache.jsp.pages.LeftMenu.callouttemplate;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import cn.aresoft.po.SysUserInfo;
import cn.aresoft.fw.ServiceLocator;
import cn.aresoft.modules.systemmanage.function.FunctionService;
public final class CallOutTemManage_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felse;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fif_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005felse = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fs_005fif_005ftest.release();
_005fjspx_005ftagPool_005fs_005felse.release();
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.release();
_005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \r\n");
out.write("\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
String cpath = request.getContextPath();
out.write("\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>外拨模板管理</title>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/page.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/calendar.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/validate.js\"></script>\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/css_common1.css\" rel=\"stylesheet\"\r\n");
out.write("\t\t\ttype=\"text/css\" />\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/mian.css\" rel=\"stylesheet\"\r\n");
out.write("\t\t\ttype=\"text/css\" />\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/page.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/jquery126.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/effect.js\"></script>\r\n");
out.write("\t\t<script language=\"JavaScript\">\t\r\n");
out.write("<!--\r\n");
out.write("$(function(){\r\n");
out.write(" \taddInputEffect();\r\n");
out.write(" });\r\n");
out.write("\r\n");
out.write("function thread_find(){\r\n");
out.write("\tdocument.thread_form.action= \"");
out.print(cpath);
out.write("/callouttemplate/findCallOutTemplate.action\";\r\n");
out.write("\tgosubmit(document.thread_form);\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function thread_create(){\r\n");
out.write("\twindow.top.frames['left'].openWindows(\"");
out.print(cpath);
out.write("/callouttemplate/showAddCallOutTemplate.action?windowId=business.callouttemplateadd\",\"添加外拨模板\",\"business.callouttemplateadd\",window,\"business.callout.template\");\t\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function thread_update(state,templateId){\r\n");
out.write("\tdocument.thread_form.action= \"");
out.print(cpath);
out.write("/callouttemplate/editStateTem.action?state=\"+state+\"&templateId=\"+templateId;\r\n");
out.write("\tgosubmit(document.thread_form);\t\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function thread_head(templateId){\r\n");
out.write("\twindow.top.frames['left'].openWindows(\"");
out.print(cpath);
out.write("/callouttemplate/showAddTemhead.action?windowId=business.callouttemplateheadadd\"+templateId+\"&templateId=\"+templateId,\"添加外拨模板头信息\",\"business.callouttemplateheadadd\"+templateId,window);\t\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function thread_body(templateId){\r\n");
out.write("\twindow.top.frames['left'].openWindows(\"");
out.print(cpath);
out.write("/callouttemplate/showTemBodyMannage.action?windowId=business.callouttemplatebodyadd\"+templateId+\"&templateId=\"+templateId,\"添加外拨模板内容\",\"business.callouttemplatebody\"+templateId,window);\t\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function thread_preview(templateId){\r\n");
out.write("window.top.frames['left'].openWindows(\"");
out.print(cpath);
out.write("/callouttemplate/showTemplatePreview.action?windowId=business.callouttemplatepreview\"+templateId+\"&templateId=\"+templateId,\"外拨模板预览\",\"business.callouttemplatepreview\"+templateId,window);\t\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function goExport(type){\r\n");
out.write(" \tif(document.thread_form.exportExcel!=null&&type==1){\r\n");
out.write(" \t document.thread_form.exportExcel.disabled=true;\r\n");
out.write(" \t}\r\n");
out.write(" \tif(document.thread_form.exportPdf!=null&&type==2){\r\n");
out.write(" \t document.thread_form.exportPdf.disabled=true;\r\n");
out.write(" \t}\r\n");
out.write(" \t document.thread_form.action=\"");
out.print(cpath);
out.write("/callouttemplate/ExportCoutTmp.action?expType=\"+type;\r\n");
out.write(" document.thread_form.submit();\r\n");
out.write(" }\r\n");
out.write("-->\t\r\n");
out.write("</script>\r\n");
out.write("\t</head>\r\n");
out.write("\t<body leftmargin=\"0\" topmargin=\"0\" class=\"bgOffice\" style=\"width: 100%\">\r\n");
out.write("\t\t<form method=\"post\" name=\"thread_form\">\r\n");
out.write("\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"\r\n");
out.write("\t\t\t\tstyle=\"width: 100%; height: 100%;\">\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<td valign=\"top\">\r\n");
out.write("\t\t\t\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" class=\"title\" width=\"100%\">\r\n");
out.write("\t\t\t\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t\t\t\t<td style=\"height: 25px\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t外拨模板管理\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t\t<td align=\"right\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t<input name=\"ok\" type=\"button\" class=\"input02\" value=\"查 询\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\tonclick=\"thread_find()\" />\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
SysUserInfo userInfo = (SysUserInfo) session.getAttribute("sysuserinfo");
String userId=String.valueOf(userInfo.getUserId());
FunctionService service = (FunctionService) ServiceLocator.getService("functionService");
if(service.getHasFunc("system.export.excel","User",userId)){
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t<input name=\"exportExcel\" type=\"button\" class=\"input02\" value=\"导出Excel\" onclick=\"goExport(1)\"/>\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
}
if(service.getHasFunc("system.export.pdf","User",userId)){
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t<input name=\"exportPdf\" type=\"button\" class=\"input02\" value=\"导出PDF\" onclick=\"goExport(2)\"/>\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t<input name=\"cancel\" type=\"reset\" class=\"input02\" value=\"重 置\" />\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t\t\t</table>\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<td class=\"bgOffice\" valign=\"top\" style=\"height: auto;\">\r\n");
out.write("\t\t\t\t\t\t<table width=\"100%\" boder=\"0\" cellpadding=\"0\"\r\n");
out.write("\t\t\t\t\t\t\tcellspacing=\"0\" class=\"table02\">\r\n");
out.write("\t\t\t\t\t\t\t<!-- 注意:此处设置class为bgOffice -->\r\n");
out.write("\t\t\t\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t\t\t\t<td class=\"right\" width=\"30%\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t模板名称:\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t\t<td class=\"bgInput\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t<input type=text name=\"cotem.templateName\" size=\"30\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\tclass=\"input01\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\tvalue=\"");
if (_jspx_meth_s_005fproperty_005f0(_jspx_page_context))
return;
out.write("\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\tmaxlength=\"20\" />\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t\t\t</table>\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t</tr>\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -