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

📄 __errordatalist.java

📁 税务端受理系统java版 增值税网上认证
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
                    out.print("\";\r\n   ");                }  //[ /ErrorDataList.jsp; Line: 18]                //[ /ErrorDataList.jsp; Line: 18]                out.print("\r\n  ");                if(request.getAttribute("dfrom") != null){  //[ /ErrorDataList.jsp; Line: 19]                    //[ /ErrorDataList.jsp; Line: 19]                    out.print("\r\n      document.all.dfrom.value =\"");                    out.print(String.valueOf(request.getAttribute("dfrom")));  //[ /ErrorDataList.jsp; Line: 20]                    out.print("\";\r\n\t ");                } //[ /ErrorDataList.jsp; Line: 21]                //[ /ErrorDataList.jsp; Line: 21]                out.print("\r\n   ");                if(request.getAttribute("dto") != null){  //[ /ErrorDataList.jsp; Line: 22]                    //[ /ErrorDataList.jsp; Line: 22]                    out.print("\r\n     document.all.dto.value =\"");                    out.print(String.valueOf(request.getAttribute("dto")));  //[ /ErrorDataList.jsp; Line: 23]                    out.print("\";\r\n\t ");                } //[ /ErrorDataList.jsp; Line: 24]                //[ /ErrorDataList.jsp; Line: 24]                out.print("\r\n}\r\nfunction fetchKey(e)\r\n{\r\n    var kvalue=\"\";\r\n    var whichCode = (window.Event) ? e.which : e.keyCode;\r\n    if(whichCode ==13 || whichCode ==37 || whichCode==39) // the key is Enter、LEFT、RIGHT\r\n        return false;\r\n    else if(whichCode == 8)  // the is Backspace\r\n    {\r\n    \tkvalue = document.all.nsrList.value ;\r\n    \tif(kvalue==\"\")\r\n    \t{\r\n              document.all.nsrName.value=\"\";\r\n\t\t\thideList();\r\n    \t\treturn false;\r\n        }\r\n        if(kvalue.length >=4)\r\n        {\r\n        \thidefrm.fetchData(kvalue);\r\n        }\r\n    }\r\n    else if(whichCode == 40) //the key is downkey\r\n    {\r\n    \tif(document.all.baseLayer.style.visibility==\"hidden\")\r\n    \t\treturn false;\r\n        if(document.all.listJsNsr.options.length!=0)\r\n        {\r\n        \tdocument.all.listJsNsr.focus();\r\n        \tdocument.all.listJsNsr.options[0].selected = true;\r\n        }\r\n        return true;\r\n    }\r\n    else if((whichCode >=45 && whichCode <= 57) || (whichCode >=65 && whichCode <= 90) ||(whichCode >=96 && whichCode <=105))\r\n    {\r\n");                    out.print("    \t// the value between 45~57 is number 0~9,65~90 is char a~z、A~Z , 96~105 is right keyboard number 0~9\r\n\r\n        kvalue = document.all.nsrList.value ;\r\n        if(kvalue.length >=4)\r\n        {\r\n           hidefrm.fetchData(kvalue);\r\n        }\r\n    }\r\n    else event.returnValue = false ;\r\n}\r\nfunction addItems(ss,val)\r\n{\r\n    var choice=document.all.listJsNsr ;\r\n   \tchoice.options[choice.options.length]=new Option(ss,val);\r\n}\r\nfunction oRemove()\r\n{\r\n    var choice=document.all.listJsNsr ;\r\n\r\n    while(choice.options.length)\r\n    {\r\n\t\tchoice.remove(choice.options.length-1);\r\n    }\r\n\r\n}\r\n\r\nfunction filldata(values,val)\r\n{\r\n\taddItems(values,val);\r\n}\r\n\r\nfunction keyFetchVal(e)\r\n{\r\n   \tvar whichCode = (window.Event) ? e.which : e.keyCode;\r\n\r\n   \tif(whichCode == 13) // Enter\r\n   \t{\r\n   \t\tfetchVal();\r\n   \t\tdocument.all.dfrom.focus();\r\n   \t}\r\n   \telse if(whichCode == 38) // upkey\r\n   \t{\r\n   \t\tif(document.all.listJsNsr.selectedIndex ==0)\r\n      \t{\r\n       \t    document.all.nsrList.focus();\r\n       \t}\r\n   \t}\r\n}\r\n\r\nfu");            out.print("nction fetchVal()\r\n{\r\n  if(document.all.baseLayer.style.visibility == \"visible\")\r\n  {\r\n   \tvar choice =document.all.listJsNsr ;\r\n\t\tvar str = choice.options[choice.selectedIndex].text;\r\n   \tdocument.all.nsrList.value = str.substring(0,15) ;\r\n\t\tdocument.all.nsrName.value = str.substring(16,str.length*2);\r\n   \thideList();\r\n  }\r\n}\r\n\r\nfunction hideList()\r\n{\r\n    document.all.baseLayer.style.visibility = \"Hidden\";\r\n}\r\nfunction showList()\r\n{\r\n\tdocument.all.baseLayer.style.pixelLeft = document.all.nsrList.offsetLeft + document.all.nsrList.parentElement.offsetLeft + document.all.tb1.offsetLeft;\r\n\tdocument.all.baseLayer.style.pixelTop = document.all.nsrList.offsetTop + document.all.nsrList.parentElement.offsetTop + document.all.tb1.offsetTop + document.all.nsrList.offsetHeight+1;\r\n    document.all.baseLayer.style.visibility = \"visible\";\r\n}\r\nfunction PrePage()\r\n{\r\n}\r\nfunction NextPage()\r\n{\r\n  mainform.action = \"ErrorDataListServlet?action_type=next\";\r\n   mainform.submit();\r\n}\r\nfunction PrePage()\r\n{\r\n  mainform.action =\"");                out.print("ErrorDataListServlet?action_type=forward\";\r\n  mainform.submit();\r\n}\r\n\r\n\r\n</script>\r\n\r\n</head>\r\n<body topmargin=\"0\" onLoad=\"formInit();\" leftmargin=\"0\" rightmargin=\"0\" >\r\n<form name=\"mainform\" action=\"\" method=\"post\" >\r\n<table width=\"100%\" align=\"center\" id=\"tb1\" cellspacing=\"0\">\r\n<tr >\r\n     <td align=\"left\" class=\"topbg\" colspan=\"5\" ><font size=\"3\">错误信息查询:</font></td>\r\n  </tr>\r\n<tr>\r\n   <td nowrap class=\"table1\">企业识别号:</td>\r\n   <td class=\"table2\" nowrap><input type=\"text\" size=\"25\" maxlength=\"15\" name=\"nsrList\" id=\"nsrList\" onKeyUp=\"fetchKey(event);\">\r\n      <div id=\"baseLayer\" style=\"position:absolute; left:74px; top:99px; width:390px; height:230px; z-index:2; visibility: hidden;\"onDblClick= \"fetchVal()\" onKeyDown= \"keyFetchVal(event)\";>\r\n          <select name=\"listJsNsr\" id=\"listJsNsr\" size=10 style=\"width:390px;height:100%;\" class=\"textbox\">\r\n          </select>\r\n\t\t</div>\r\n\t  </td>\r\n      <td nowrap colspan=\"3\" class=\"table2\">\r\n        企业名称:\r\n        <input type=\"text\" size=\"40\" name=\"nsrName\" id=\"nsrNam");            out.print("e\" class=\"readyOnlyInput\">\r\n   </td>\r\n</tr>\r\n<tr nowrap>\r\n      <td class=\"table3\">开始日期:</td>\r\n\t  <td class=\"table4\">\r\n\t  <input name=\"dfrom\" id=\"dfrom\" value=\"\" >\r\n      </td>\r\n\t  <td class=\"table4\" nowrap>截止日期:</td>\r\n\t  <td class=\"table4\">\r\n\t  <input name=\"dto\" id=\"dto\" value=\"\">\r\n      </td>\r\n\t  <td class=\"table4\" nowrap>\r\n\t  <input name=\"btnsearch\" type=\"button\" value=\"查  询\" onClick=\"btnSearch();\">\r\n\t  <input name=\"btnPrint\" type=\"button\" value=\"打  印\" onClick=\"\">\r\n\t  </td>\r\n</tr>\r\n</table>\r\n<br>\r\n<input type=\"hidden\" name=\"repages\" value=\"/ErrorDataList.jsp\">\r\n<input type=\"hidden\" name=\"totalsize\" value=\"");            out.print(String.valueOf(request.getAttribute("totalsize")));  //[ /ErrorDataList.jsp; Line: 184]            out.print("\">\r\n<input type=\"hidden\" name=\"pageno\" value=\"");            out.print(String.valueOf(request.getAttribute("pageno")));  //[ /ErrorDataList.jsp; Line: 185]            out.print("\">\r\n");            //[ /ErrorDataList.jsp; Line: 186]            SearchListBase slb= (SearchListBase)request.getAttribute("SearchListBase"); //[ /ErrorDataList.jsp; Line: 187]            //[ /ErrorDataList.jsp; Line: 188]            if (slb != null) //[ /ErrorDataList.jsp; Line: 189]            if(slb.size() == 0) { //[ /ErrorDataList.jsp; Line: 190]                //[ /ErrorDataList.jsp; Line: 190]                out.print("\r\n    <font >没有符合当前查询条件的信息</font>\r\n");            }else if (slb.size() !=0) { //[ /ErrorDataList.jsp; Line: 192]                //[ /ErrorDataList.jsp; Line: 192]                out.print("\r\n     <font face=\"Fixedsys\" size=\"4\">共");                out.print(String.valueOf(slb.getTotalSize()));  //[ /ErrorDataList.jsp; Line: 193]                out.print("条 第");                out.print(String.valueOf(slb.getCurrentPageNum()));  //[ /ErrorDataList.jsp; Line: 193]                out.print("页/共");                out.print(String.valueOf(slb.getTotalPages()));  //[ /ErrorDataList.jsp; Line: 193]                out.print("页\r\n        第");                out.print(String.valueOf(slb.getStart()));  //[ /ErrorDataList.jsp; Line: 194]                out.print("条至");                out.print(String.valueOf(slb.getEnd()));  //[ /ErrorDataList.jsp; Line: 194]                out.print("条</font>\r\n");                //[ /ErrorDataList.jsp; Line: 195]                if(slb.getCurrentPageNum()>1) //[ /ErrorDataList.jsp; Line: 196]                { //[ /ErrorDataList.jsp; Line: 197]                    //[ /ErrorDataList.jsp; Line: 198]                    //[ /ErrorDataList.jsp; Line: 198]                    out.print("\r\n        <a href=\"\" onClick=\"PrePage(); return false;\"><font face=\"Fixedsys\" size=\"4\">上一页</font></a>\r\n        ");                    //[ /ErrorDataList.jsp; Line: 200]                } //[ /ErrorDataList.jsp; Line: 201]                if(slb.getCurrentPageNum()<slb.getTotalPages()) //[ /ErrorDataList.jsp; Line: 202]                { //[ /ErrorDataList.jsp; Line: 203]                    //[ /ErrorDataList.jsp; Line: 204]                    //[ /ErrorDataList.jsp; Line: 204]                    out.print("\r\n        <a href=\"\" onClick=\"NextPage(); return false;\"><font face=\"Fixedsys\" size=\"4\">下一页</font></a>\r\n        ");                    //[ /ErrorDataList.jsp; Line: 206]                } //[ /ErrorDataList.jsp; Line: 207]                //[ /ErrorDataList.jsp; Line: 208]                //[ /ErrorDataList.jsp; Line: 208]                out.print("\r\n<table align=\"center\" width=\"760\" cellspacing=\"0\" border=\"0\" >\r\n<tr bgcolor=\"#e8e8e8\" align=\"center\"   >\r\n <td height=\"30\" width=\"100\" class=\"table1\" >企业识别号\r\n </td>\r\n  <td width=\"200\" class=\"table2\">企业名称</td>\r\n  <td width=\"100\" class=\"table2\">日期</td>\r\n  <td width=\"150\" class=\"table2\">文件名</td>\r\n  <td width=\"100\" class=\"table2\">错误类型</td>\r\n</tr>\r\n");                //[ /ErrorDataList.jsp; Line: 218]                for (int i=0;i<slb.size();i++) //[ /ErrorDataList.jsp; Line: 219]                { //[ /ErrorDataList.jsp; Line: 220]                    ErrorInfoDataBean tData = (ErrorInfoDataBean)slb.get(i); //[ /ErrorDataList.jsp; Line: 221]                    out.print("\r\n        <tr ALIGN=\"left\" class=\"tdbg\">\r\n          <td  height=\"12\" nowrap class=\"table3\">&nbsp;");                    out.print(String.valueOf(tData.getUserid()));  //[ /ErrorDataList.jsp; Line: 224]                    out.print("&nbsp;</td>\r\n          <td height=\"20\" nowrap class=\"table4\">&nbsp;");                    out.print(String.valueOf(tData.getUsername()));  //[ /ErrorDataList.jsp; Line: 225]                    out.print("&nbsp;</td>\r\n          <td  height=\"20\" nowrap class=\"table4\">&nbsp;");                    out.print(String.valueOf(tData.getEdate()));  //[ /ErrorDataList.jsp; Line: 226]                    out.print("</td>\r\n          <td height=\"20\" nowrap class=\"table4\">&nbsp;");                    out.print(String.valueOf(tData.getFilename()));  //[ /ErrorDataList.jsp; Line: 227]                    out.print("</td>\r\n          <td height=\"20\" nowrap class=\"table4\">&nbsp;");                    out.print(String.valueOf(tData.getType()));  //[ /ErrorDataList.jsp; Line: 228]                    out.print("</td>\r\n        </tr>\r\n\r\n");                }  //[ /ErrorDataList.jsp; Line: 231]                //[ /ErrorDataList.jsp; Line: 231]                out.print("\r\n");            } //[ /ErrorDataList.jsp; Line: 232]            //[ /ErrorDataList.jsp; Line: 232]            out.print("\r\n      </table>\r\n</table>\r\n</form>\r\n<IFRAME id=\"hidefrm\" marginWidth=0 marginHeight=0 src=\"UseridList.jsp\" frameBorder=0 width=\"100%\" height=\"0\" scrolling=yes BORDERCOLOR=\"#000000\"></IFRAME>\r\n</body>\r\n</html>\r\n\r\n");        } catch (Throwable __ee) {            while (out != null && out != _originalOut) out = pageContext.popBody();            ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee);        }                
        //before final close brace...
    }
    
    
}

⌨️ 快捷键说明

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