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

📄 recommandproductlist.jsp

📁 电信的网厅的整站代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
								sValue=selects[i].options(j).value;
							}
						}
					}
					if ( sValue == "" || selects[i].name == "") continue;
					
					// TODO 扩展支持允许多选的操作
					var newInput = document.createElement("<INPUT NAME='" + selects[i].name + "'>");
					newInput.value = selects[i].value;
					qr.caption.appendChild(newInput);
				}
				qr.reload();
			//}
			//catch(ex){
			//	alert(ex.description);
			//}
			return false;
		}
		
		//修改指定的推荐信息
		function fuc_event_modify(){
			//var Result = document.getElementById("Result");
			if(Result!=null){
				if(Result.selectedAllIndexs.length>1){
					alert("不支持同时修改多项推荐信息,请仅选择一项!");
					return false;
				}else if(Result.selectedIndex<0){
					alert("您未选中一项要修改的推荐信息,请选择...");
					return false;
				}
				if (Result.selectedIndex >= 0 ){
	  				var sUrl="recommandmain.jsp?todo=want2modify&id="+Result.key;
					window.open(sUrl,"修改产品推荐信息","height=600,width=950,scrollbars=yes,top=1");
				}
			}
		}
		
		//查看指定的推荐信息明细
		function fuc_event_view(){
			var Result = document.getElementById("Result");
			if (Result!=null && Result.selectedIndex >= 0 ){
				
  				var sUrl="recommandmain.jsp?todo=view&id="+Result.key;
  				window.open(sUrl,"推荐产品信息明细","height=600,width=950,scrollbars=yes,top=1");
			}
		}
		
		//双击表格行事件,查看明细
		function fn_dblClick(){
			fuc_event_view();
		}
				
	</script>
	
	
	<meta name="Microsoft Theme" content="compass 1011, default">
	<meta name="Microsoft Border" content="tlb, default">
	
</head>

<body onload="fn_onload();">
    <script id="event_id"></script>
	<form id="Default" method="post" action="" onsubmit="return fn_OnSubmit(this);">
		<INPUT type="hidden" name="START" value="">
		<INPUT type="hidden" name="END" value="">
		<input type="hidden" id="ACTION" name="ACTION" value="special"/>
		<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 fuc_event_add();" 
							id="ibtnadd" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown" 
							title="增加推荐产品">增加</td>
						<td valign="middle" align="center" width="71" 
							onclick="return fuc_event_delete();" 
							id="ibtndelete" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown" 
							title="删除选中的推荐产品">删除</td>
					    <td valign="middle" align="center" width="71" 
							onclick="return fuc_event_modify();" 
							id="ibtnmodify" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown" 
							title="修改选中的推荐产品">修改</td>
						<td>&nbsp;</td>
					</tr>
				</table>

				<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" checked="checked" value="simple" onclick="fnShowSimple();"><label for="SIMPLEQUERY" id="ItemTitle">简单查询</label>&nbsp;
				    	<input type="radio" id="QUERYALL" name="querymode" 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>
					  				<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">开始时间</td>
					  				<td width="10%" class="body_td"    align="left" nowrap="nowrap">
					  					<input type="text" name="STARTTIME" id="STARTTIME" title="双击清空。" ondblclick="this.value='';" size="19" readonly="readonly" /><span style="cursor:hand" 
					  						   onclick="return showCalendar('STARTTIME', '%Y-%m-%d', '24', true);">
										<img border="0" src="../calendar/date_botton.gif" width="18" height="14"></td>
									
					  				<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">结束时间</td>
					  				<td width="10%" class="body_td"    align="left" nowrap="nowrap">
					  					<input type="text" name="ENDTIME" id="ENDTIME" title="双击清空。" ondblclick="this.value='';" size="19" readonly="readonly" /><span style="cursor:hand" 
					  						   onclick="return showCalendar('ENDTIME', '%Y-%m-%d', '24', true);">
										<img border="0" src="../calendar/date_botton.gif" width="18" height="14"></td>
											
					  				
					  				<td class="Caption_Td" width="8%" align="right" nowrap="nowrap">地区</td>
					  				<td class="body_td"  width="10%" align="left" nowrap="nowrap">
						  				<custom:HtmlSelect name="CITY" style="width:100%" styleId="CITY" dataSource="CITY"
						  								  textFieldName="CITYNAME" valueFieldName="CITYCODE"
						  				                  disabled='<%=(controller.getCityCode()!=null && !controller.getCityCode().equals("0590"))?"true":"false"%>'
						  				                  value='<%=controller.getCityCode()%>'>
						  					<custom:HtmlOption value="0590">全省</custom:HtmlOption>
						  				</custom:HtmlSelect>
					  				</td>
					  				<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">业务类别</td>
					  				<td width="15%" class="body_td" nowrap="nowrap">
										<custom:HtmlSelect name="PRODUCT" style="width:80%" styleId="PRODUCT" 
					  						   dataSource="PRODUCT" textFieldName="PRODUCTNAME" valueFieldName="PRODUCTID">
					  				   	   <custom:HtmlOption value="0">--请选择--</custom:HtmlOption>
					  				   </custom:HtmlSelect>
					  				</td>
					  				<td width="7%" class="Caption_Td" align="right" nowrap="nowrap">状态</td>
					  				<td width="10%" class="body_td" nowrap="nowrap">
					  					<select name=STATE>
						  					<option value="A" selected >全部</option>
					  						<option value="E">可用</option>
					  						<option value="D">禁用</option>
					  					</select>
					  				</td>
					  			</tr>
				  			</tbody>
				  			<tbody style="display:none;">
				  				<!--其它查询条件-->
					  			<tr">
					  				<td class="Caption_Td" align="right" nowrap="nowrap" >标题</td>
					  				<td class="body_td" nowrap="nowrap" colspan="3">
					  					<input type="text" size="60" id="CUSTNAME" name="TITLE" style="width: 100%;"></td>
					  				<td class="Caption_Td" align="right" nowrap="nowrap">摘要</td>
					  				<td class="body_td" nowrap="nowrap" colspan="5">
					  					<input type="text" size="60"  id="CUSTNAME" name="ABSTRACT" style="width: 100%;"></td>
					  			</tr>
				  			</tbody>
				  		</table>
				    </td>
				  </tr>
				  <tr class="OuterFoot"> 
					<td width="15%" align="left" class="Caption_Td">
						<input type="submit" class="button" value="查询">
						<input type="reset" class="button" value="重填">
					</td>
				  	<td width="85%" align="left" class="Caption_td">
						<table id="MethodTable" border="0" width="100%" cellspacing="0" 
							   cellpadding="1" 
							   style="behavior:url(../../common/table.htc)" 
							   ontableload="return onMethodTableLoad();"
							   serviceURL="<%= request.getContextPath() + "/XmlHttpService"%>"
							   service="RMRecommandProductService"
							   dataService="getRecommandProductMethod"
							   rcService="getRecommandProductMethodCount"
							   autoLoad="False"
							   locked="true">
							   <caption style="display:none;"></caption>
							   <tr>
							     <td></td>
							   </tr>
		      			</table>
					</td>
				  </tr>
				  <tr height="5"><td colspan="2"><img src="../../common/images/spacer.gif"></td></tr>
				</table>
			</div>
			<div id="divMain" style="overflow: auto">
			     <!--service表的服务名--><!--dataService表的内容--><!--rcService表的行数-->
				<table id="Result" border="0" width="100%" cellspacing="0" 
					   cellpadding="1" 
					   style="behavior:url(../../common/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="RMRecommandProductService"
					   dataService="getRecommandProductList" 
					   rcService="getRecommandProductCount"
					   pageStyle="0"
					   autoLoad="false"
					   class="OuterTable">
					   <thead>
						<tr class="OuterHead" style="cursor: none;">
							<TD class="title_td" align="center" width="20%"><b>标题</b></TD>
							<TD class="title_td" align="center" width="30%"><b>摘要</b></TD>
							<TD class="title_td" align="center" width="10%"><b>开始时间</b></TD>
							<TD class="title_td" align="center" width="10%"><b>结束时间</b></TD>
							<TD class="title_td" align="center" width="10%"><b>地市名称</b></TD>
							<TD class="title_td" align="center" width="10%"><b>级别指数</b></TD>
							<TD class="title_td" align="center" width="10%"><b>状态</b></TD>
						</tr>
					   </thead>
					   <caption style="display:none;"></caption>
					   <tr key="-1" type="" >
					       <td class="InnerHead" colspan="6" style="cursor: default;" onclick="" colspan="10">没有任何记录信息</td>
					   </tr>
					   <tfoot>
		      				<tr class="OuterFoot">
		      					<td align="right" class="foot_td" width="100%" colspan="10">
		      					  &nbsp;&nbsp;分页:<span id="pageSet"></span>&nbsp;&nbsp;
		      					</td>
		      				</tr>
					   </tfoot>
					   </tbody>
      			</table>
      			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
      			</table>
			</div>
		</div>
	</form>
	</body>
</html>

⌨️ 快捷键说明

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