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

📄 getcustdefinit.jsp

📁 java阿里巴巴代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
                      			<option value="">请选择..</option>
            	 	  		</select>
            	 	  	</div>
            	 	</td>
            	 	<td width="50"></td>
          </tr><tr>
              		<td align="right" bgcolor="#f5f5f5" style="font-weight:bolder;">区/县:</td>
              		<td colspan="3" align="left" bgcolor="#FFFFFF">
              		<div class="ping" style="display:inline;">
            	 	<select name="city_code" id="city" style="display:inline">
                    <option value="">请选择..</option>
                 	</select>
                 	</div>
                 	</td>
		</tr>
				<tr>
					<td width="17%" align="right" style="font-weight:bolder;" colspan="2">
						<input class="cxan" type="button" value="" style="cursor: hand" onclick="setCodeValue('5')">
					</td>
				</tr>
				
			</table>
			<table><tr><td height="20"></td></tr></table>
			<table width="100%" border="0" cellspacing="1" cellpadding="0">
				<tr>
					<td width="17%" align="right" bgcolor="#f5f5f5" style="font-weight:bolder;">
						主营行业:
					</td>
					<td colspan="3" align="left" bgcolor="#FFFFFF">
						<div class="ping1">
							<table align="left">
								<tr style="display:inline;float:left;">
									<td>
										<select name="sort1" size="10" style="width: 120px" onChange="this.form.sort2.options.length=0;this.form.sort3.options.length=0;getSubitems(this.form.sort2, this.value)" onclick="setClassId(this.value)">
											<option selected value="0">
												请选择...
											</option>
										</select>
									</td>
									<td>
										<select name="sort2" size="10" style="width: 120px" onChange="this.form.sort3.options.length=0;getSubitems(this.form.sort3, this.value)" onclick="setClassId(this.value)">
											<option value="0">
												请选择...
											</option>
										</select>
									</td>
									<td>
										<select name="sort3" size="10" style="width: 120px" onclick="setClassId(this.value)">
											<option value="0">
												请选择...
											</option>
										</select>
									</td>
									<td>
										<select name="bigsort" style="display:none">
											<option selected value="0">
												请选择...
											</option>
										</select>
									<br></td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
			
			<input type="hidden" name="class_id" id="class_id" value="">
			<div class="ping1" style="display:inline"></div>
			<tr>
				<td width="15"></td>
				<td width="17%" align="left" style="font-weight:bolder;" colspan="2">
					<input class="cxan" type="button" value="" style="cursor: hand" onclick="searchByClass()">
				</td>
			</tr>
			</table>

		</form>
		
		<table width=100% border=0 cellpadding=2 cellspacing=1 align=center bgcolor="#e7e7e7">
			<tr>
				<td class="line1" style="background-color:#e2e2e2; color:#000000;  font-weight:bold; font-size:13px;" align=center width="35%">
					客户名称
				</td>
				
				<td style="background-color:#e2e2e2; color:#000000;  font-weight:bold; font-size:13px;" align=center width="15%">
					联系电话
				</td>
				<td style="background-color:#e2e2e2; color:#000000;  font-weight:bold; font-size:13px;" align=center width="15%">
					Email
				</td>
			</tr>

		<%
		            if(callingList != null && callingList.size()>0)
		            {
		                int i=0;
		              	 for (Iterator it = callingList.iterator(); it.hasNext();)
		                  {
						        HashMap map = (HashMap) it.next();
						        String obj_cust_id="";
						        String cust_name="";
						        String group_contact_phone="";
						        String email = "";
						        if(map.get("cust_id") != null)
						        {
						           obj_cust_id=map.get("cust_id").toString();
						        }
						        if(map.get("email") != null)
						        {
						           email=map.get("email").toString();
						        }
						        if(map.get("cust_name") != null)
						        {
						           cust_name=map.get("cust_name").toString();
						        }
						        if(map.get("group_contact_phone") != null && !map.get("group_contact_phone").equals(""))
						        {
						           group_contact_phone=map.get("group_contact_phone").toString();
						        }
						      
		 %>

			<tr style="background-color:#f9f9f9; " id="changcolor_tr<%=i%>" onmouseover="MM_changeProp('changcolor_tr<%=i%>','','backgroundColor','#ffffff','DIV')" onmouseout="MM_changeProp('changcolor_tr<%=i%>','','backgroundColor','#f9f9f9','DIV')">
				<td style=" color:#000000; padding:2px 5px;" align=left>
					<a href="Custinfo.jsp?obj_cust_id=<%=obj_cust_id%>&user_id=" TARGET=appwin onclick="mydefss()"><%=cust_name%> </a>
				</td>
				<td style=" color:#000000; padding:2px 5px;" align=left>
					<%=group_contact_phone%>
				</td>
				<td style=" color:#000000;" align=center>
					<%=email%>
				</td>
			</tr>

			<%
			i++;
			}
		    %>
		    <tr>

																		<td  align="left" colspan="2" style="font-weight:normal; padding:2px 5px;">共<%=counter2%>条 &nbsp;第<%=Integer.parseInt(iStart2)+1 %>页&nbsp;&nbsp;共<%=pages2%>页</td>
											
																		<td  align="right" colspan="3"  style=" padding:2px 5px;">
																		<a href="clientViewBySelfdefinition.jsp?iStart2=0&code=<%=code%>&cust_id=<%=cust_id %>&class_id=<%=class_id %>">首页 </a>&nbsp; &nbsp;
																		<% 
																			if(Integer.parseInt(iStart2)>0){
																		%>
																			<a href="clientViewBySelfdefinition.jsp?iStart2=<%=pageUp2%>&code=<%=code%>&cust_id=<%=cust_id %>&class_id=<%=class_id%>">上一页</a> &nbsp;
																		<%
																			}
																			if(Integer.parseInt(iStart)<pages2-1){
																		%>
																			<a href="clientViewBySelfdefinition.jsp?iStart2=<%=pageDown2%>&code=<%=code%>&cust_id=<%=cust_id %>&class_id=<%=class_id%>">下一页 </a>&nbsp; 
																		<%
																			}
																		%>
																		<a  href="clientViewBySelfdefinition.jsp?iStart2=<%=pages2-1%>&code=<%=code%>&cust_id=<%=cust_id %>&class_id=<%=class_id%>">尾页</a></td>
											
															         </tr>
		    
		   		   
		   	<% 
		     }
		    %>
		    
		    <%
		            if(custDefinitList != null && custDefinitList.size()>0)
		            {
		                int i=0;
		              	 for (Iterator it = custDefinitList.iterator(); it.hasNext();)
		                  {
						        HashMap map = (HashMap) it.next();
						        String obj_cust_id="";
						        String cust_name="";
						        String group_contact_phone="";
						        String email = "";
						        if(map.get("cust_id") != null && !map.get("cust_id").equals(""))
						        {
						           obj_cust_id=map.get("cust_id").toString();
						        }
						        if(map.get("email") != null && !map.get("email").equals(""))
						        {
						           email=map.get("email").toString();
						        }
						        if(map.get("cust_name") != null && !map.get("cust_name").equals(""))
						        {
						           cust_name=map.get("cust_name").toString();
						        }
						        if(map.get("group_contact_phone") != null && !map.get("group_contact_phone").equals(""))
						        {
						           group_contact_phone=map.get("group_contact_phone").toString();
						        }
						      
		 	%>

			<tr style="background-color:#f9f9f9; " id="changcolor_tr<%=i%>" onmouseover="MM_changeProp('changcolor_tr<%=i%>','','backgroundColor','#ffffff','DIV')" onmouseout="MM_changeProp('changcolor_tr<%=i%>','','backgroundColor','#f9f9f9','DIV')">
				<td style=" color:#000000; padding:2px 5px;" align=left>
					<a href="Custinfo.jsp?obj_cust_id=<%=obj_cust_id%>&user_id=" target="_blank"><%=cust_name%> </a>
				</td>
				<td style=" color:#000000; padding:2px 5px;" align=left>
					<%=group_contact_phone%>
				</td>
				<td style=" color:#000000;" align=center>
					<%=email%>
				</td>
			</tr>
			<%
			i++;
			}
		     %>
		     <tr>

																		<td  align="left" colspan="2" style="font-weight:normal; padding:2px 5px;">共<%=counter%>条 &nbsp;第<%=Integer.parseInt(iStart)+1 %>页&nbsp;&nbsp;共<%=pages%>页</td>
											
																		<td  align="right" colspan="3"  style=" padding:2px 5px;">
																		<a href="clientViewBySelfdefinition.jsp?iStart=0&code=<%=code%>&cust_id=<%=cust_id %>&user_name=<%=user_name %>&phone=<%=phone %>&province=<%=province %>&eparchy_code=<%=eparchy_code %>&city_code=<%=city_code %>">首页 </a>&nbsp; &nbsp;
																		<% 
																			if(Integer.parseInt(iStart)>0){
																		%>
																			<a href="clientViewBySelfdefinition.jsp?iStart=<%=pageUp%>&code=<%=code%>&cust_id=<%=cust_id %>&user_name=<%=user_name %>&phone=<%=phone %>&province=<%=province %>&eparchy_code=<%=eparchy_code %>&city_code=<%=city_code %>">上一页</a> &nbsp;
																		<%
																			}
																			if(Integer.parseInt(iStart)<pages-1){
																		%>
																			<a href="clientViewBySelfdefinition.jsp?iStart=<%=pageDown%>&code=<%=code%>&cust_id=<%=cust_id %>&user_name=<%=user_name %>&phone=<%=phone %>&province=<%=province %>&eparchy_code=<%=eparchy_code %>&city_code=<%=city_code %>">下一页 </a>&nbsp; 
																		<%
																			}
																		%>
																		<a  href="clientViewBySelfdefinition.jsp?iStart=<%=pages-1%>&code=<%=code%>&cust_id=<%=cust_id %>&user_name=<%=user_name %>&phone=<%=phone %>&province=<%=province %>&eparchy_code=<%=eparchy_code %>&city_code=<%=city_code %>">尾页</a></td>
											
															         </tr>
		     
		   
		     <%         	 
		     }
		    %>
		    
		</table>

<script language="jscript" type="text/jscript">
	getSubitems(document.NewRegisterForm.bigsort, "", "请选择...", "");
	getSubitems(document.NewRegisterForm.sort1, "");
</script>
	</body>
</html>

⌨️ 快捷键说明

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