⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tousu_005fhis_jsp.java

📁 一个简单的java web项目 基于servlet构建
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
package org.apache.jsp.pages.LeftMenu.workflow.tousu;

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 tousu_005fhis_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_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_005fproperty_005fvalue_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fform_005fname_005faction;

  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_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_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fform_005fname_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction.release();
    _005fjspx_005ftagPool_005fs_005fif_005ftest.release();
    _005fjspx_005ftagPool_005fs_005felse.release();
    _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.release();
    _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
    _005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody.release();
    _005fjspx_005ftagPool_005fs_005fform_005fname_005faction.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");

	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<script src=\"");
      out.print(cpath);
      out.write("/js/calendar.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\" type=\"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>\t\t\r\n");
      out.write("\t\t<script src=\"");
      out.print(cpath);
      out.write("/js/ajax.js\"></script>\t\t\r\n");
      out.write("\t</head>\r\n");
      out.write("\r\n");
      out.write("\t<script language=\"JavaScript\">\r\n");
      out.write("\t  $(function(){\r\n");
      out.write("\t  \taddInputEffect();  \t\r\n");
      out.write("\t  });\r\n");
      out.write("\tfunction checkData(){\r\n");
      out.write("\t   if(document.form.acceptbegintime.value!=\"\"&&document.form.acceptendtime.value!=\"\"&&(document.form.acceptbegintime.value > document.form.acceptendtime.value)){\t  \t\r\n");
      out.write("\t\t  \talert(\"受理时间的开始应小于等于其结束时间。\");\r\n");
      out.write("\t\t  \treturn;\r\n");
      out.write("\t\t  }if(document.form.dealbegintime.value!=\"\"&&document.form.dealendtime.value!=\"\"&&(document.form.dealbegintime.value > document.form.dealendtime.value)){\t  \t\r\n");
      out.write("\t\t  \talert(\"处理时间的开始应小于等于其结束时间。\");\r\n");
      out.write("\t\t  \treturn; \r\n");
      out.write("\t\t  }\r\n");
      out.write("\t  else{\r\n");
      out.write("\t  \tgosubmit(document.form);\r\n");
      out.write("\t  \t//document.form.submit()\r\n");
      out.write("\t  }\r\n");
      out.write("\t}\t\r\n");
      out.write("\t\r\n");
      out.write("\tfunction check(){\r\n");
      out.write("      try{\r\n");
      out.write("\t\tif(document.getElementById('returnsign').value==1){\r\n");
      out.write("\t\t\talert(\"添加成功!\");\r\n");
      out.write("\t\t}else if(document.getElementById('returnsign').value==2){\r\n");
      out.write("\t\t\t alert(\"修改成功!\");\r\n");
      out.write("\t\t}else if(document.getElementById('returnsign').value==3){\r\n");
      out.write("\t\t\t alert(\"公告已经有发送对象,不能删除!\");\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\tdocument.getElementById('returnsign').value=-1;\r\n");
      out.write("      }\r\n");
      out.write("      catch(ex){\r\n");
      out.write("          \talert(ex.name+\":\"+ex.message);\r\n");
      out.write("      }\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction del(bulletinId){\r\n");
      out.write("\t\tif(confirm(\"确定要删除吗?\")==false){\r\n");
      out.write("\t\t   return;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\tdocument.pform.action=\"");
      out.print(cpath);
      out.write("/bulletin/delete.action?bulletinId=\"+bulletinId;\r\n");
      out.write("\t\tdocument.pform.submit();\t\r\n");
      out.write("\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction myopenWindows(url,name,id,obj,paid){\r\n");
      out.write("\t  try{\r\n");
      out.write("\t\twindow.top.frames['left'].openWindows(url,name,id,obj,paid); \r\n");
      out.write("\t  }catch(er){\r\n");
      out.write("\t    alert(er.name+\":\"+er.message);\r\n");
      out.write("\t  }\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction checkAll2(){\r\n");
      out.write("\t\t for(var i=0;i<document.form.selItem.length;i++)\r\n");
      out.write("\t\tdocument.form.selItem[i].checked=document.form.checkAll.checked;\r\n");
      out.write("\t }\r\n");
      out.write("\t\r\n");
      out.write("\tfunction batchdel() {   \r\n");
      out.write("\t   var array = new Array();\r\n");
      out.write("\t   var selItem = document.getElementsByName('selItem');\r\n");
      out.write("\t   var i = 0;\r\n");
      out.write("\t   for(var j = 0;j<document.form.selItem.length;j++){\r\n");
      out.write("\t     \tif(document.form.selItem[j].checked==true){\r\n");
      out.write("\t         array[i++]=document.form.selItem[j].value;\r\n");
      out.write("    \t \t}\r\n");
      out.write("  \t\t}\r\n");
      out.write("\t   if(array.length==0){\r\n");
      out.write("\t     alert(\"请至少选择一条\");\r\n");
      out.write("\t     return;\r\n");
      out.write("\t   }\r\n");
      out.write("\t   if(confirm(\"确定要删除吗?\")==false){\r\n");
      out.write("\t      return false;\r\n");
      out.write("\t   }\r\n");
      out.write("\r\n");
      out.write("\t   \tdocument.pform.action=\"");
      out.print(cpath);
      out.write("/bulletin/delete.action?bulletindelete=\"+array;\r\n");
      out.write("\t\tdocument.pform.submit();\t\r\n");
      out.write("\t \r\n");
      out.write("}\r\n");
      out.write("\tfunction goExport(type){  \r\n");
      out.write("\t\t      if(document.form.acceptbegintime.value!=\"\"&&document.form.acceptendtime.value!=\"\"&&(document.form.acceptbegintime.value > document.form.acceptendtime.value)){\t  \t\r\n");
      out.write("\t\t\t  \talert(\"受理时间的开始应小于等于其结束时间。\");\r\n");
      out.write("\t\t\t  \treturn;\r\n");
      out.write("\t\t\t  }if(document.form.dealbegintime.value!=\"\"&&document.form.dealendtime.value!=\"\"&&(document.form.dealbegintime.value > document.form.dealendtime.value)){\t  \t\r\n");
      out.write("\t\t\t  \talert(\"处理时间的开始应小于等于其结束时间。\");\r\n");
      out.write("\t\t\t  \treturn; \r\n");
      out.write("\t\t\t  }else{\r\n");
      out.write("            \tif(document.form.exportExcel!=null&&type==1){\r\n");
      out.write("            \t  document.form.exportExcel.disabled=true;\r\n");
      out.write("            \t}\r\n");
      out.write("            \tif(document.form.exportPdf!=null&&type==2){\r\n");
      out.write("            \t  document.form.exportPdf.disabled=true;\r\n");
      out.write("            \t}\r\n");
      out.write("            \t  document.form.action=\"");
      out.print(cpath);
      out.write("/tousu/exportcomplaintlist.action?expType=\"+type;\r\n");
      out.write("                  document.form.submit();\r\n");
      out.write("            }\r\n");
      out.write("     }\r\n");
      out.write("\t\r\n");
      out.write("\tfunction view(id){\t\r\n");
      out.write("\t\t\tvar url = '");
      out.print(cpath);
      out.write("/tousu/searchBillHis.action?tousuId='+id+\"&windowId=tousu.his\"+id;\r\n");
      out.write("\t\t\twindow.top.frames['left'].openWindows(url,'投诉单处理历史','tousu.his'+id,window);\r\n");
      out.write("\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\tfunction optTousu(id,opt){\r\n");
      out.write("\t\tvar url = '");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -