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

📄 mailorderlist.jsp

📁 电信的网厅的整站代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
			var sURL = "mailresend.jsp";
			
			var oResult = document.all.Result;
			if ( oResult != null && oResult.selectedIndex >= 1 ) {
				//sURL += "?userid=" + oResult.key;
				sURL += "?accountid="+oResult.selectedRow.cells[1].innerText;
				sURL += "&userid="+oResult.selectedRow.cells[0].innerText;
				sURL += "&phonenum="+oResult.selectedRow.cells[2].innerText;
				sURL += "&mailcomm="+oResult.selectedRow.cells[3].innerText;
				sURL += "&email="+oResult.selectedRow.cells[4].innerText;
				sURL += "&time="+time;
//alert("sURL:"+sURL); 
				windowOpen(sURL,400,250,"MailReSend")
			}		
		}
		function fnChanMail() {
		//邮箱重置
/*  			var year = document.getElementById("YEAR");
  			var month = document.getElementById("MONTH");
  			var time = "";
  			if(month.value.length>0 && month.value.length<2){
  				time = 	year.value+"0"+	month.value;
  			}else{
  				time = 	year.value+	month.value;
  			}	
			var sURL = "chanmail.jsp";
			
			var oResult = document.all.Result;
			if ( oResult != null && oResult.selectedIndex >= 1 ) {
				//sURL += "?userid=" + oResult.key;
				sURL += "?accountid="+oResult.selectedRow.cells[1].innerText;
				sURL += "&userid="+oResult.selectedRow.cells[0].innerText;
				sURL += "&phonenum="+oResult.selectedRow.cells[2].innerText;
				sURL += "&mailcomm="+oResult.selectedRow.cells[3].innerText;
				sURL += "&email="+oResult.selectedRow.cells[4].innerText;
				sURL += "&time="+time;
//alert("sURL:"+sURL); 
				windowOpen(sURL,400,250,"ChanMail")
			}*/				
		}				
		function fnToolRecision() {
		}
		
		function fnToolExport() {
		    var reportid = "";
		    var cityCode = "";
		    var areaCode = "";
		    var clientType = "";
		    var applyType = "";
		    var startTime = "";
		    var endTime = "";
		    var hrefid = "";
		    var level = "";
		    		    
		    var qt = document.getElementById("Result");
		    var inputsSimp = qt.getElementsByTagName("INPUT"); 
		    
			for ( var i = 0; i<inputsSimp.length; i++ ) { 
				if(inputsSimp[i].name == "reportid"){
				    reportid = inputsSimp[i].value;
				}
				else if(inputsSimp[i].name == "CITYCODE"){
				    cityCode = inputsSimp[i].value;
				}
				else if(inputsSimp[i].name == "AREA"){
				    areaCode = inputsSimp[i].value;
				}
				else if(inputsSimp[i].name == "CLIENTTYPE"){
				    clientType = inputsSimp[i].value;
				}
				else if(inputsSimp[i].name == "STARTTIME"){
				    startTime = inputsSimp[i].value;
				}
				else if(inputsSimp[i].name == "ENDTIME"){
				    endTime = inputsSimp[i].value;
				} 
				else if(inputsSimp[i].name == "APPLYTYPE"){
				    applyType = inputsSimp[i].value;
				} 
				else if(inputsSimp[i].name == "INDEXCODE"){
				    hrefid = inputsSimp[i].value;
				}
				else if(inputsSimp[i].name == "LEVEL"){
				    level = inputsSimp[i].value;
				}												
			}		
			var sURL = "acceptlog_excel.jsp?reportid="+reportid+
											"&CITYCODE="+cityCode+
											"&AREA="+areaCode+
											"&CLIENTTYPE="+clientType+
											"&STARTTIME="+startTime+
											"&ENDTIME="+endTime+
											"&APPLYTYPE="+applyType+
											"&INDEXCODE="+hrefid+
											"&LEVEL="+level;
									
//alert("sURL:"+sURL);			
			window.location.href =sURL;
		}				
		
		function getSum(){
			try {
			    var qrSimp = document.getElementById("QueryTable");
			    var xmlHttp = new XMLHttpClient("<%= request.getContextPath()%>/XmlHttpService");
					    
				var inputsSimp = qrSimp.getElementsByTagName("INPUT"); 
				var selectsSimp = qrSimp.getElementsByTagName("SELECT"); 
				for ( var i = 0; i<inputsSimp.length; i++ ) { 
					if ( inputsSimp[i].value == "" || inputsSimp[i].name == "" ) continue; 
					xmlHttp.append(inputsSimp[i].name,inputsSimp[i].value);					
				} 
				for ( var i = 0; i<selectsSimp.length; i++ ) { 
					var sValue = selectsSimp[i].value;
					if ( selectsSimp[i].disabled ) {
						for ( var j =0; j<selectsSimp[i].options.length; j++ ) {
							if ( selectsSimp[i].options(j).selected ) {
								sValue=selectsSimp[i].options(j).value;
							} 
						} 
					} 

					if ( sValue == "" || selectsSimp[i].name == "") continue; 
					xmlHttp.append(selectsSimp[i].name,sValue);	
				}
			    var str1 = xmlHttp.submitAsString("AffairAcceptImpl","getSum");
			    var sum = "";
			    if ( str1.substr(0,6) == new String("str-->") ) {
					sum = str1.substr(6,str1.length);
					document.getElementById("acceptLogSum").innerText = sum + "条"; 	  
				}   
	        }
	        catch(ex){}	
		}
</script>

</head>
<body onload="fn_onload();">
	<form name="form1" id="Default" method="post" action="" onsubmit="return fn_OnSubmit(this);">
	  <div onresize="cltScript_Toolbar();" style="width: 100%">
		<div id="divTop" style="overflow: hidden">
		  <table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
						cellpadding="0" width="100%" border="0">
			<tr bgcolor="#efefef" height="33">
			  <td valign="middle" align="center" width="71" 
								onclick="return fnMailReSend();" 
								id="ibtnMailReSend" 
								style="behavior:url(../../common/button.htc)" 
								DefaultClass="btnDefault" 
								OverClass="btnOver" 
								DownClass="btnDown" 
								Enabled="false"
								>邮件重发</td>			
			  <td valign="middle" align="center" width="71" 
								onclick="return fnChanMail();" 
								id="ibtnChanMail" 
								style="behavior:url(../../common/button.htc)" 
								DefaultClass="btnDefault" 
								OverClass="btnOver" 
								DownClass="btnDown" 
								Enabled="false"
								></td>
			  <td>&nbsp;</td>
			</tr>
		  </table>
		  <jsp:include page="../../../common/inc_top.jsp" >
		  <jsp:param name="purvCode" value="<%=sPurvICode%>"/>
		  </jsp:include>
		  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
			<tr>
			  <td width="100%" colspan="2" class="OuterHead" align="left"> <span id="ItemTitle"><font face="webdings">8</font>查询订单:</span>
				  <input type="radio" id="SIMPLEQUERY" name="querymode" <%= isDisabled?"disabled":""%> checked="checked" value="simple" onclick="fnShowSimple();">
				  <label for="SIMPLEQUERY" id="ItemTitle">简单查询</label>
				  &nbsp;
				  <input type="radio" id="QUERYALL" name="querymode" <%= isDisabled?"disabled":""%> value="all" onclick="fnShowAll();">
				  <label for="QUERYALL" id="ItemTitle">复杂查询</label>
			  </td>
			</tr>
			<tr>
			  <td width="100%" colspan="2" class="InnerMain" align="left">
				<table id="QueryTable" border="0" cellspacing="0" cellpadding="0" width="100%">
				  <caption style="display:none;"></caption>
				  <tbody>
					<!--常用简单的查询条件-->
					<tr height="25">
						<td width="100%" align="left">
							<table id="QuerySimp" border="0" width="100%" cellspacing="0"
					    		   cellpadding="0" 
					      		   style="behavior:url(../../../Resource/table.htc)" 					      		   
					      		   DefaultClass="DefaltRow" 
					      		   SelectedClass="SelectedRow" 
					      		   keyName="key" 
					      		   serviceURL="<%=request.getContextPath()%>/XmlHttpService"
					      		   service="JspService"
								   dataService="/view/order/mailorder/simp_param.jsp?type=1" 
					      		   rcService="/view/order/mailorder/simp_param.jsp?type=0" 
					      		   class="InnerTable"
					      		   locked='true'
					      		   >
							</table>
						</td>
					</tr>
				  </tbody>
				  <tbody style="display:none;">
					<!--其它查询条件-->
					<tr>
						<td width="100%" align="left">
							<table id="QueryMore" border="0" width="100%" cellspacing="0" 
								   cellpadding="0" 
								   style="behavior:url(../../../Resource/table.htc)" 
								   DefaultClass="DefaltRow" 
					      		   SelectedClass="SelectedRow" 
								   serviceURL="<%=request.getContextPath()%>/XmlHttpService"
					      		   service="JspService"
								   dataService="/view/order/mailorder/comp_param.jsp?type=1" 
					      		   rcService="/view/order/mailorder/comp_param.jsp?type=0"
								   class="InnerTable"
								   locked="true">
								   <caption style="display:none;">								  	  
								  	  <input type="hidden" name="MONTH" value="200602">
								   </caption>
							</table>
						</td>
					</tr> 
				  </tbody>
			  </table></td>
			</tr>
			<tr class="OuterFoot">
			  <td width="65%" align="left" class="Caption_td">
					<table id="QueryResult" border="0" width="100%" cellspacing="0" 
						   cellpadding="1" 
						   style="behavior:url(../../../common/table.htc)" 
						   ontableload="return onQueryResultLoad();"
						   serviceURL="<%= request.getContextPath() + "/XmlHttpService"%>"
						   service="MAILService"
						   dataService="getMailStatMethod"
						   rcService="getMailStatMethodCount"
						   autoLoad="False"
						   locked="true"
						   class="OuterTable"
						   >
						   <caption style="display:none;"></caption>
						   <tr>
						     <td></td>
						   </tr>
	      			</table>
				</td>			
			  <td align="right" class="Caption_Td" style="padding-right:10px ">
				<input name="submit" type="submit" class="button" <%= isDisabled?"disabled":""%> value="查询" onclick="fResetQuery();">
				<input name="reset" type="reset" class="button" <%= isDisabled?"disabled":""%> value="重填">
			  </td>
			</tr>
			<tr height="3">
			  <td colspan="2"><img src="../../../common/images/spacer.gif"></td>
			</tr>
		  </table>
		</div>
		<div id="divMain" style="overflow: auto">
		  <!--service表的服务名-->
		  <!--dataService表的内容-->
		  <!--rcService表的行数-->
		  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
			<tr class="OuterHead">
			  <td width="100%" class="title_td" align="left">
                <span id="ItemTitle"><font face="webdings">8</font>【<font color="blue" id="RPT_NAME">帐单寄送单</font>】</span>
			  </td>
			</tr>
	      </table>
		  <table id="Result" border="0" width="100%" cellspacing="0" 
						   cellpadding="1" 
						   style="behavior:url(../../../Resource/table.htc)" 
						   DefaultClass="DefaltRow" 
						   keyName="key" 
						   SelectedClass="SelectedRow" 
						   multiple="true" 
						   onselected="return onChoosed();" 
						   onunselected="return onUnChoosed();"
						   ontableload="return onContentLoad();"
						   ondblclick="return fn_dblClick();"
						   serviceURL="<%=request.getContextPath()+"/XmlHttpService"%>"
						   service="MAILService"
						   dataService="getMAILList" 
						   rcService="getMAILCount"
						   pageStyle="0"
						   autoLoad="false"
						   class="OuterTable">
			<caption style="display:none;"></caption>
			<tr key="-1" type="">
			  <td class="InnerHead" style="cursor: default;" onclick=""  colspan="5"><%
			      out.print("没有任何记录信息");
			  %></td>
			</tr>	
			<tfoot>
  				<tr class="OuterFoot">
  				    <td align="left" class="foot_td">
  					  &nbsp;&nbsp;
  					  分页:<span id="pageSet">0</span>&nbsp;&nbsp;
  					</td>
  					<td align="right" class="foot_td" colspan="4">
  					  &nbsp;&nbsp;
  					  &nbsp;<span id="acceptLogSum"></span>&nbsp;&nbsp;
  					</td>
  				</tr>
	        </tfoot>					
		  </table>
		</div>
	  </div>
	</form>
	<IFRAME id="orderAccept" style="display:none;"></IFRAME>
</body>
</html>

⌨️ 快捷键说明

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