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

📄 mycallin_005fsearch_jsp.java

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

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import cn.aresoft.util.SystemDictUtil;
import cn.aresoft.po.SystemDict;
import cn.aresoft.po.SystemDictId;
import java.util.*;
import cn.aresoft.po.SysUserInfo;
import cn.aresoft.fw.ServiceLocator;
import cn.aresoft.modules.systemmanage.function.FunctionService;

public final class mycallin_005fsearch_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;
  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 = 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.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>\r\n");
      out.write("\t<head>\r\n");
      out.write("\t    <title>我的呼入电话查询</title>\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\" 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\t\r\n");
      out.write("\t\t<script language=\"JavaScript\">\t\r\n");
      out.write("\t $(function(){\r\n");
      out.write("\t  \taddInputEffect();\r\n");
      out.write("\t  });\r\n");
      out.write("\t\t\tfunction dealMyCallIn(callInId){\r\n");
      out.write("\t\t\t\t//alert('/callin/createCallIn.action?callInId='+callInId);\r\n");
      out.write("\t\t\t\tvar url = '");
      out.print(cpath);
      out.write("/callin/createCallIn.action?callInId='+callInId;\r\n");
      out.write("\t\t\t\twindow.top.frames['left'].openWindows(url,'呼入电话处理','mycallin.deal'+callInId);\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\tfunction createMyCallIn(){\r\n");
      out.write("\t\t\t\tvar url = '");
      out.print(cpath);
      out.write("/pages/LeftMenu/mycallin/mycallin_create.jsp';\r\n");
      out.write("\t\t\t\twindow.top.frames['left'].openWindows(url,'呼入电话添加','mycallin.create');\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\tfunction autoSelect(){\r\n");
      out.write("\t\t\t\tvar sel = document.getElementById('FsearchView');\r\n");
      out.write("\t\t\t\tfor(var i = 0;i<sel.options.length;i++){\r\n");
      out.write("\t\t\t\t\tif(sel.options[i].value=='");
      if (_jspx_meth_s_005fproperty_005f0(_jspx_page_context))
        return;
      out.write("'){\r\n");
      out.write("\t\t\t\t\t\tsel.options[i].selected=true;\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script>\r\n");
      out.write(" function validateForm(form){\r\n");
      out.write("\r\n");
      out.write("\t\t\tif(formTrim(form)){\r\n");
      out.write("\t\t\t\tif(!isNum(document.getElementById('Ffundcode').value)){\r\n");
      out.write("\t\t\t\t\talert(\"基金账号必须是数字\");\r\n");
      out.write("\t\t\t\t\tdocument.getElementById('Ffundcode').select();\r\n");
      out.write("\t\t\t\t\tdocument.getElementById('Ffundcode').focus();\r\n");
      out.write("\t\t\t\t\treturn false;\r\n");
      out.write("\t\t\t\t}if(!isTel(document.getElementById('FcallNo').value)){\r\n");
      out.write("\t\t\t\t\talert(\"主叫号码格式不正确 请输入3~18位电话号码\");\r\n");
      out.write("\t\t\t\t\tdocument.getElementById('FcallNo').select();\r\n");
      out.write("\t\t\t\t\tdocument.getElementById('FcallNo').focus();\r\n");
      out.write("\t\t\t\t\treturn false;\r\n");
      out.write("\t\t\t\t}if(!isTel(document.getElementById('FcalledNo').value)){\r\n");
      out.write("\t\t\t\t\talert(\"被叫号码格式不正确 请输入3~18位电话号码\");\r\n");
      out.write("\t\t\t\t\tdocument.getElementById('FcalledNo').select();\r\n");
      out.write("\t\t\t\t\tdocument.getElementById('FcalledNo').focus();\r\n");
      out.write("\t\t\t\t\treturn false;\r\n");
      out.write("\t\t\t\t}if(!isNull(document.getElementById('FbeginDate').value)&&!isNull(document.getElementById('FendDate').value)){\r\n");
      out.write("\t\t\t\t\tif(document.getElementById('FbeginDate').value > document.getElementById('FendDate').value){\r\n");
      out.write("\t\t\t\t\t\talert(\"开始时间应小于等于结束时间!\");\r\n");
      out.write("\t  \t\t\t\t\treturn false;\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t}\t\r\n");
      out.write("\t\t\t}else{\r\n");
      out.write("\t\t\t\treturn false;\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\treturn true;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tfunction fixInfo(){\r\n");
      out.write("\t\t\tdocument.getElementById('PsearchView').value=document.getElementById('FsearchView').value;\r\n");
      out.write("\t\t\tdocument.getElementById('PbeginDate').value=document.getElementById('FbeginDate').value;\r\n");
      out.write("\t\t\tdocument.getElementById('PendDate').value=document.getElementById('FendDate').value;\r\n");
      out.write("\t\t\tdocument.getElementById('PcallNo').value=document.getElementById('FcallNo').value;\r\n");
      out.write("\t\t\tdocument.getElementById('PcalledNo').value=document.getElementById('FcalledNo').value;\r\n");
      out.write("\t\t\tdocument.getElementById('PclientName').value=document.getElementById('FclientName').value;\r\n");
      out.write("\t\t\tdocument.getElementById('Pfundcode').value=document.getElementById('Ffundcode').value;\r\n");
      out.write("\t\t\tdocument.getElementById('PcredId').value=document.getElementById('FcredId').value;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tfunction submitForm(){\r\n");
      out.write("\t\t\tif(validateForm(document.getElementById('kform'))){\r\n");
      out.write("\t\t\t\tfixInfo();\r\n");
      out.write("\t\t\t\tgosubmit(document.getElementById('sform'));\r\n");
      out.write("\r\n");
      out.write("\t \t\t}\r\n");
      out.write("\t \t}\r\n");
      out.write("\t \t\r\n");
      out.write("\t \tfunction doExport(action){\r\n");
      out.write("\t\t\tif(validateForm(document.getElementById('kform'))){\r\n");
      out.write("\t\t\t\tfixInfo();\r\n");
      out.write("\r\n");
      out.write("\t\t\t\tdocument.getElementById('sform').action = action;\r\n");
      out.write("\t\t\t \tdocument.getElementById('sform').submit();\r\n");
      out.write("\t \t\t}\r\n");
      out.write("\t \t}\r\n");
      out.write("\t \t\r\n");
      out.write("\t \t function goExport(type){\r\n");
      out.write("           \r\n");
      out.write("            \tif(document.kform.exportExcel!=null&&type==1){\r\n");
      out.write("            \t  document.kform.exportExcel.disabled=true;\r\n");
      out.write("            \t}\r\n");
      out.write("            \tif(document.kform.exportPdf!=null&&type==2){\r\n");
      out.write("            \t  document.kform.exportPdf.disabled=true;\r\n");
      out.write("            \t}\r\n");
      out.write("            \tdoExport(\"");
      out.print(cpath);
      out.write("/mycallin/exportData.action?expType=\"+type);\r\n");
      out.write("                 \r\n");
      out.write("        }\r\n");
      out.write("\t \t\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t</head>\r\n");
      out.write("<body leftmargin=\"0\" topmargin=\"0\" class=\"bgOffice\" style=\"width:100%;height:100%\">\r\n");
      out.write("<form id=\"kform\" name=\"kform\">\r\n");
      out.write("<input type=\"hidden\" name=\"callin.dealUser\" value=\"");
      if (_jspx_meth_s_005fproperty_005f1(_jspx_page_context))
        return;
      out.write("\"/>\r\n");
      out.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;position: relative;\">\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td valign=\"top\">\r\n");
      out.write("\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" class=\"title\" width=\"100%\">\r\n");
      out.write("\t\t    \t<tr>\r\n");
      out.write("\t\t        <td style=\"height:25px\">我的呼入电话</td>\r\n");
      out.write("\t\t        <td align=\"right\">\r\n");
      out.write("\t\t        \t<input name=\"ok\" type=\"button\" class=\"input02\" value=\"查 询\" onclick=\"submitForm()\"/>\r\n");
      out.write("\t\t\t\t\t&nbsp;\r\n");
      out.write("\t\t\t\t\t");

										SysUserInfo userInfo = (SysUserInfo) session.getAttribute("sysuserinfo");
										String userId=String.valueOf(userInfo.getUserId());
										FunctionService service = (FunctionService) ServiceLocator.getService("functionService");

⌨️ 快捷键说明

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