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

📄 prodfunlogmodal.jsp

📁 电信的网厅的整站代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
				if(inputsSimp[i].name == "pageSize"){
				    inputsSimp[i].value = "20";
				}
				if(inputsSimp[i].name == "currentPage"){
				    inputsSimp[i].value = "0";
				}				
			} 
		}
		
		function getLog(time,progressstate,funType,prodfun){
		    setOldParam();
	        var count = parseInt(document.all.count.value);
	        count++;
	        document.all.count.value = count;
		    var qtSimp = document.getElementById("Result");
		    setDefaultValue("TIME",time);
		    setDefaultValue("queryType",progressstate);
		    setDefaultValue("PRODFUN",prodfun);
			var oForm = document.getElementById("Default");

			if(progressstate == "4"){
			    if(funType == "C"){
					document.all.title.innerHTML = "程控功能失败原因";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "套餐失败原因";
				}
			}
			else if(progressstate == "3"){
			    if(funType == "C"){
					document.all.title.innerHTML = "受理成功的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "受理成功的套餐";
				}
			}
			else if(progressstate == "2"){
				if(funType == "C"){
					document.all.title.innerHTML = "受理中的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "受理中的套餐";
				}
			}
			else if(progressstate == "1"){
				if(funType == "C"){
					document.all.title.innerHTML = "等待受理的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "等待受理的套餐";
				}
			}
			else if(progressstate == "1"){
				if(funType == "C"){
					document.all.title.innerHTML = "等待受理的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "等待受理的套餐";
				}
			}
			else if(progressstate == "ohter"){
				if(funType == "C"){
					document.all.title.innerHTML = "全部受理的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "全部受理的套餐";
				}
			}
			else if(progressstate == "every"){
				if(funType == "C"){
					document.all.title.innerHTML = "受理无效的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "受理无效的套餐";
				}
			}
			else if(progressstate == "apply"){
				if(funType == "C"){
					document.all.title.innerHTML = "新申请的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "新申请的套餐";
				}
			}
			else if(progressstate == "cancel"){
				if(funType == "C"){
					document.all.title.innerHTML = "取消的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "取消的套餐";
				}
			}
			else if(progressstate == "close"){
				if(funType == "C"){
					document.all.title.innerHTML = "关闭的程控功能";
				}
				else if(funType == "T"){
					document.all.title.innerHTML = "关闭的套餐";
				}
			}
			fn_Submit(oForm);
			document.getElementById("ibtnBack").Enabled = true;
		}
		
		function fn_dblClick(){
			var count = parseInt(document.all.count.value);
			if(count != 0) return;
			var qtSimp = document.getElementById("Result");
			setOldParam();
			var progressstate = "every";
			var time = qtSimp.selectedCells[0];
	        count++;
	        document.all.count.value = count;
		    setDefaultValue("TIME",time);
		    setDefaultValue("queryType",progressstate);
			var oForm = document.getElementById("Default");
			document.all.title.innerHTML = "全部的"+document.all.title.innerHTML;
			fn_Submit(oForm);
			document.getElementById("ibtnBack").Enabled = true;
		}
		
		//
		function fnShowSimple() {
			
			QueryTable.tBodies[1].style.display='none';
			
			window.setTimeout("cltScript_Toolbar();",30);
		}
		
		//
		function fnShowAll() {
			
			QueryTable.tBodies[1].style.display='block';
			
			window.setTimeout("cltScript_Toolbar();",30);
		}	

		function onChoosed() {    
		}
		
		function onUnChoosed(){
		}
		
		function onContentLoad(){
		}
			
		function fnToolOrderAccept(){
		}
		
		function fnToolRecision() {
		}
		
		function loadParamAll() {
		}
		
		function fCityCode_OnChange(that) {
			try {
				var boardId = document.getElementById("BOARDID").value;
        		var cityCode = that.value;
        		 // 重新加载菜单,如果该页面包含多个菜单项,则可以??过idx加载指定顺序的菜单。
	            var xmlHttp = new XMLHttpClient("<%= request.getContextPath()%>/XmlHttpService");
	            xmlHttp.append("CITYCODE",cityCode);
	            xmlHttp.append("BOARDID",boardId);
	            var str = xmlHttp.submitAsString("SelectServiceList","get_prodfun");

	            if ( str.substr(0,6) == new String("xml-->") ) {
	            	try {
						var xmlDoc = new ActiveXObject("Msxml.DOMDocument");
						xmlDoc.loadXML(str.substr(6));

						if (xmlDoc.parseError.errorCode != 0) {
							var myErr = xmlDoc.parseError;
							throw myErr;
						}
						else {
						    var postElt = document.getElementById("PRODFUN");
							while ( postElt.options.length > 0 ) {
								postElt.options.remove(0);
								postElt = document.getElementById("PRODFUN");
							}

							var root = xmlDoc.documentElement;
							var oList = root.selectNodes("//body");
							if ( oList.length != 1 ) throw "返回格式不正确。"
							
							var xmlStr = oList.item(i).text;
							xmlDoc.loadXML(xmlStr);
							
							var oFirstOption = document.createElement("OPTION");
							oFirstOption.text = "全部";
							oFirstOption.value = "0";
							postElt.add(oFirstOption);
							oList = xmlDoc.documentElement.selectNodes("//TD_PRODFUN");
							for ( var i=0; i<oList.length; i++ ) {
								var valueNode = oList.item(i).selectSingleNode("PRODFUNID");
								var textNode = oList.item(i).selectSingleNode("FUNNAME");
								
								if ( valueNode != null && textNode != null ) {
									var oOption = document.createElement("OPTION");
									oOption.text = textNode.text;
									oOption.value = valueNode.text;
									postElt.add(oOption);
								}
							}
						}
					} catch(ex) {
						throw ex;
					}
	            }
	            else {
	            	alert("加载地区信息失败。");
	            }
	        }
            catch(ex) {
            	return false;
            }
            
            return true;
		}
		
</script>

</head>
<body onload="fn_onload();">
	<form id="Default" method="post" action="" onsubmit="return fn_OnSubmit(this);">
	<input type="hidden" id="isOpen" value="0">
	<input type="hidden" name="count" value="0">
	  <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="91" 
							onclick="back();" 
							id="ibtnBack" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown">返回</td>
			  <td valign="middle" align="center" width="91"
							onclick="execl()" 
							id="ibtnExport" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown" 
							title="将列表的内容导出到Excel中">导出Excel</td>
							<td>&nbsp; &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;">								  	  							  	  
			  	    <input type="hidden" id="queryType" name="queryType" value="0">
			  	    <input type="hidden" id="TIME" name="TIME" value="">
			  	    <input type="hidden" id="BOARDID" name="BOARDID" value="<%=sBoardId%>">
				  </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/rpt/common/rpt_fixparam.jsp?type=1&page=fun" 
					      		   rcService="/view/rpt/common/rpt_fixparam.jsp?type=0&page=fun"
					      		   class="InnerTable"					      		   				      		   					      		   
					      		   locked='true'>
					      		   <!--
					      		   <caption style="display:none"><input name="CITYCODE" value="<%=_citycode%>"></caption>
					      		   -->								   								   
							</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="<%= sPattern%>?type=1" 
					      		   rcService="<%= sPattern%>?type=0"
								   class="InnerTable"
								   locked="true">
								   <caption style="display:none;">
								   <input type="hidden" name="reportid" value="<%= lReportId%>">
								   </caption>								   
							</table>
							 
						</td>
					</tr>
				  </tbody>
			  </table></td>
			</tr>
			<tr class="OuterFoot">
			  <td align="right" class="Caption_Td" style="padding-right:10px ">
				<input name="submit" type="submit" class="button" <%= isDisabled?"disabled":""%> value="查询">
				<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"><span id="title"></span></font>】</span>
			  </td>
			</tr>
	      </table>
		  <table id="Result" border="0" width="100%" cellspacing="0" 
						   cellpadding="1"
						   pageSize="21" 
						   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="<%= sService%>"
						   dataService="<%= sDataService%>" 
						   rcService="<%= sCountService%>"
						   pageStyle="0"
						   refresh = "true"
						   autoLoad="false"
						   class="OuterTable">
			<caption style="display:none;"></caption>
			<tr key="-1" type="">
			  <td class="InnerHead" style="cursor: default;" onclick="" colspan="10"><%
			  if ( sState.equalsIgnoreCase("D") ){
			      out.print("该报表已经失效不能再查询");
			  }
			  else {
			      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="9">
  					  总受理数量:&nbsp;&nbsp;
  					  &nbsp;<span id="accessLogSum"></span>&nbsp;&nbsp;
  					</td>
  				</tr>
	        </tfoot>			
		  </table>
		  <table id="oldParam" cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
		    <caption style="display:none;"></caption>
		  </table>
		</div>
	  </div>
	</form>
	<IFRAME id="orderAccept" style="display:none;"></IFRAME>
</body>
</html>

⌨️ 快捷键说明

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