📄 callouttask_005fadd_jsp.java
字号:
package org.apache.jsp.pages.LeftMenu.callouttask;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class callouttask_005fadd_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_005fform_005fname_005fmethod_005faction;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction.release();
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.release();
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_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");
String cpath=request.getContextPath();
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>外拨任务创建</title>\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/layout.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\" type=\"text/css\" />\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<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<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>\t\r\n");
out.write("\t</head>\r\n");
out.write("<script language=\"JavaScript\">\r\n");
out.write("<!--\t\r\n");
out.write("\r\n");
out.write(" $(function(){\r\n");
out.write("\t\t \taddInputEffect();\r\n");
out.write("\t\t });\t\r\n");
out.write("\tString.prototype.Trim = function(){\r\n");
out.write(" \treturn this.replace(/(^\\s*)|(\\s*$)/g, \"\");\r\n");
out.write(" }\r\n");
out.write("function check_Data(){\r\n");
out.write("\tvar para=document.getElementById('type').value\r\n");
out.write("\tif(para==\"1\"){\r\n");
out.write("\t\tparent.document.getElementById('manual').style.display=\"\";\r\n");
out.write("\t\tparent.document.getElementById('auto').style.display=\"none\";\r\n");
out.write("\t\tif(document.getElementById('templateid').value==\"\"){\r\n");
out.write("\t\t\talert(\"请输选择模板!\")\r\n");
out.write(" \treturn;\r\n");
out.write("\t\t}\r\n");
out.write("\t\t//alert(parent.document.getElementById('manual').loaction.href);\r\n");
out.write("\t\tdocument.form.target=\"manualobject\";\r\n");
out.write("\t\tdocument.form.action=\"");
out.print(cpath);
out.write("/callouttask/calloutadd.action?sign=manual\";\r\n");
out.write("\t \tdocument.form.submit();\r\n");
out.write("\r\n");
out.write("\t\r\n");
out.write("\t}\r\n");
out.write("\tif(para==\"2\"){\r\n");
out.write("\t\tparent.document.getElementById('auto').style.display=\"\";\r\n");
out.write("\t \tparent.document.getElementById('manual').style.display=\"none\";\r\n");
out.write("\t\t\r\n");
out.write("\t\tdocument.form.target=\"autoobject\";\r\n");
out.write("\t\tdocument.form.action=\"");
out.print(cpath);
out.write("/callouttask/calloutadd.action?sign=auto\";\r\n");
out.write("\t \tdocument.form.submit();\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t}\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function ItmAction(){\r\n");
out.write("\t\tvar para=document.getElementById('type').value\r\n");
out.write("\t\tif(para==\"1\"){\r\n");
out.write("\t\t\r\n");
out.write("\t\t\tdocument.getElementById('manual').style.display=\"\";\r\n");
out.write("\t\t\tdocument.getElementById('auto').style.display=\"none\";\r\n");
out.write("\t\t}\r\n");
out.write("\t\tif(para==\"2\"){\r\n");
out.write("\t\t\r\n");
out.write("\t\t\tdocument.getElementById('auto').style.display=\"\";\r\n");
out.write("\t\t\tdocument.getElementById('manual').style.display=\"none\";\r\n");
out.write("\t\t\t\r\n");
out.write("\t\t}\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("-->\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("\t<body leftmargin=\"0\" topmargin=\"0\" style=\"width:100%;\">\r\n");
out.write("\t\t");
if (_jspx_meth_s_005fform_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t</body>\r\n");
out.write("</html>\r\n");
out.write("\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_s_005fform_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:form
org.apache.struts2.views.jsp.ui.FormTag _jspx_th_s_005fform_005f0 = (org.apache.struts2.views.jsp.ui.FormTag) _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction.get(org.apache.struts2.views.jsp.ui.FormTag.class);
_jspx_th_s_005fform_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005fform_005f0.setParent(null);
_jspx_th_s_005fform_005f0.setName("form");
_jspx_th_s_005fform_005f0.setMethod("post");
_jspx_th_s_005fform_005f0.setAction("");
int _jspx_eval_s_005fform_005f0 = _jspx_th_s_005fform_005f0.doStartTag();
if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005fform_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005fform_005f0.doInitBody();
}
do {
out.write("\r\n");
out.write("\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;height:100%;\" class=\"bgOffice\">\r\n");
out.write("\t\t\t<tr>\r\n");
out.write("\t\t\t\t<td valign=\"top\" colspan=\"4\" style=\"border:none\">\r\n");
out.write("\t\t\t\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"title\" width=\"100%\">\r\n");
out.write("\t\t\t\t \t<tr>\r\n");
out.write("\t\t\t\t <td style=\"height:25px\">外拨任务添加</td>\r\n");
out.write("\t\t\t\t <td align=\"right\">\r\n");
out.write("\t\t\t\t \t<input type=\"button\" name=\"createbt\" value=\"创 建\" onClick=\"check_Data()\"class=\"input02\" style=\"display:\" />\r\n");
out.write("\t\t\t\t\t\t\t \r\n");
out.write("\t\t\t\t\t\t<input type=\"reset\" value=\"重 置\"class=\"input02\"/>\r\n");
out.write("\t\t\t\t </td>\r\n");
out.write("\t\t\t\t </tr>\r\n");
out.write("\t\t\t\t </table>\r\n");
out.write("\t\t\t\t</td>\t\t\t\t\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t\t<td>\r\n");
out.write("\t\t\t<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table02 inputLine\">\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<td align=\"right\">外拨类别:</td>\r\n");
out.write(" <td align=\"left\" class=\"bgInput\">\r\n");
out.write("\t\t\t\t\t\t<select name=\"calloutTask.type\" id=\"type\" size=\"1\" onChange=\"ItmAction();\">\r\n");
out.write("\t\t\t\t\t\t\t");
if (_jspx_meth_s_005fiterator_005f0(_jspx_th_s_005fform_005f0, _jspx_page_context))
return true;
out.write("\r\n");
out.write("\t\t\t\t\t\t</select>\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t<td align=\"right\">外拨状态:</td>\r\n");
out.write("\t\t\t\t\t<td align=\"left\" class=\"bgInput\">\r\n");
out.write("\t\t\t\t\t\t<select name=\"calloutTask.status\" size=\"1\">\r\n");
out.write("\t\t\t\t\t\t\t");
if (_jspx_meth_s_005fiterator_005f1(_jspx_th_s_005fform_005f0, _jspx_page_context))
return true;
out.write("\r\n");
out.write("\t\t\t\t\t\t</select>\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 id=\"manual\">\r\n");
out.write("\t\t\t\t\t<td align=\"right\">外拨模板:</td>\r\n");
out.write(" <td align=\"left\" class=\"bgInput\">\r\n");
out.write("\t\t\t\t\t\t<select name=\"templateid\" size=\"1\">\r\n");
out.write("\t\t\t\t\t\t\t<option value=\"\">选择</option>\r\n");
out.write("\t\t\t\t\t\t\t");
if (_jspx_meth_s_005fiterator_005f2(_jspx_th_s_005fform_005f0, _jspx_page_context))
return true;
out.write("\r\n");
out.write("\t\t\t\t\t\t</select>\r\n");
out.write("\t\t\t\t\t\t<font color=\"red\">*</font>\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t<td> \r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -