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

📄 sreach_cust_mess.jsp

📁 电信的网厅的整站代码
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/curstom-tags.tld" prefix="custom" %>
<%
  //author: predan
  request.setCharacterEncoding("GBK");
  com.doone.uurm.WebAuth _uuWebAuth = com.doone.uurm.WebAuth.getInstance(request);
  
  if(!_uuWebAuth.IsAuthed()){
    out.write("<script language=\"javascript\">self.parent.location.replace(\"" 
		       + request.getContextPath() + 
		      "/view/login/login.jsp" + "\");</script>");
	return;  
  }
  String ccit = _uuWebAuth.getCityCode();
  
  /**地区名称*/
  java.util.Map _map = new java.util.HashMap();
  _map.put("CITYCODE",ccit);
  _map.put("FLAG","6");//表示泉州
  pageContext.setAttribute("AREACODE",_map);
  /**业务类型*/
  _map.put("TYPE","2");//业务号码
  pageContext.setAttribute("CUSTLIST",_map);
  
%>
<script language="javascript" id="sreachid" src=""></script>
<script language="javascript">
  function fuc_event_addtion(id){
     //附加信息的选择
     if(id == "单位客户信息"){
		addtion1.style.display = "";
		addtion2.style.display = "none";
		return;
	 }
	 
	 if(id == "住宅客户信息"){
	    addtion1.style.display = "none";
		addtion2.style.display = "";
		return;
	 }
		
  }

  function fuc_event_custtype_change(value){
    
    if(value == "1"){
       custtype_l.innerHTML = "客户类型";
       custnum_l.innerHTML = "客户编号";
       return ;
    }
    if(value == "2"){
       custtype_l.innerHTML = "业务类型";
       custnum_l.innerHTML = "业务号码";
       return ;
    }
    if(value == "3"){
       custtype_l.innerHTML = "客户类型";
       custnum_l.innerHTML = "客户编号";
       return ;
    }
    if(value == "4"){
       custtype_l.innerHTML = "证件类型";
       custnum_l.innerHTML = "证件号码";
       return ;
    }
    if(value == "5"){
       custtype_l.innerHTML = "客户类型";
       custnum_l.innerHTML = "客户编号";
       return ;
    }
    if(value == "6"){
       custtype_l.innerHTML = "客户类型";
       custnum_l.innerHTML = "贵宾卡号";
       return ;
    }
    if(value == "7"){
       custtype_l.innerHTML = "客户类型";
       custnum_l.innerHTML = "客户编号";
       return ;
    }
  }
  
  function fuc_event_sreach(){
    
     if(document.all.custnum_i.value == ""){
        alert("请输入搜索号码。");
        document.all.custnum_i.focus();
        return false;
     }
     var paramSelect = document.all.CUSTLIST.value;
     var paramInput  = document.all.custnum_i.value;
     var paramMethod = document.all.method_radio.value;
     var area        = document.all.AREACODE.value;
     
     var i=0;
     for(;
         i < method_radio.length
         && !method_radio[i].checked;
         i++);
     
     var method = method_radio[i].value;
     sreachid.src    = "<%=request.getContextPath()%>/view/order/common/sreach_result.jsp?type="
                                          +paramSelect
                                          +"&param="
                                          +paramInput
                                          +"&city=<%=ccit%>"
                                          +"&area="+area
                                          +"&method="+method;
  }
</script>
<!--服务类型编码-->
<input type="hidden" name="SERViSERV_TYPE_ID"/>
<!--输入号码-->
<input type="hidden" name="NBR_ID"/>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="InnerTable" id ="basic" >
     <tr>
       <td colspan="2" class="InnerHead">
		 <table width="100%" border="0">
		  <tr>
		    <td width="41%" nowrap="nowrap">
		    <input type="radio" name="method_radio" id="method_radio_1" value="1" onclick="fuc_event_custtype_change(this.value)" disabled="disabled">
		    <label for="method_radio_1">1.客户名称</label></td>
		    <td width="59%" nowrap="nowrap">
		    <input type="radio" name="method_radio" id="method_radio_2" value="2" onclick="fuc_event_custtype_change(this.value)" checked="checked">
		      <label for="method_radio_2">2.业务号码</label></td>
		  </tr>
		  <tr>
		    <td><input type="radio" name="method_radio" id="method_radio_3" value="3" onclick="fuc_event_custtype_change(this.value)" disabled="disabled">
		      <label for="method_radio_3">3.客户简拼</label></td>
		    <td><input type="radio" name="method_radio" id="method_radio_4" value="4" onclick="fuc_event_custtype_change(this.value)" disabled="disabled">
		      <label for="method_radio_4">4.证件号码</label></td>
		  </tr>
		  <tr>
		    <td><input type="radio" name="method_radio" value="5" id="method_radio_5" onclick="fuc_event_custtype_change(this.value)" disabled="disabled">
		      <label for="method_radio_5">5.客户地址</label></td>
		    <td><input type="radio" name="method_radio" value="6" id="method_radio_6" onclick="fuc_event_custtype_change(this.value)" disabled="disabled">
		      <label for="method_radio_6">6.贵宾卡号</label></td>
		  </tr>
		</table>
      </td> 
     </tr>
      <tr>
        <td width="79" class="InnerHead" nowrap="nowrap"><div align="center">地区名称:</div></td> 
        <td width="144" class="InnerHead" nowrap="nowrap"><div align="left">
          <custom:HtmlSelect servicename="com.doone.fj1w.fjmgr.order.list.BssSreachCustImpl" 
                             method="getBssArea"
                             mapName="AREACODE"
                             styleId="AREACODE" 
                             name="AREACODE" 
                             value="33"
                             style="width: 100%" 
                             textFieldName="AREA_INFOINAME" 
                             valueFieldName="AREA_INFOIAREA_ID">
			<custom:HtmlOption value="">请选择</custom:HtmlOption>
		  </custom:HtmlSelect>
        </div>
      </td>
     </tr>
     <tr>
      <td class="InnerHead" nowrap="nowrap">
       <div align="center" id="custtype_l">业务类型:</div>
      </td> 
      <td class="InnerHead" nowrap="nowrap"><div align="left">
        <custom:HtmlSelect servicename="com.doone.fj1w.fjmgr.order.list.BssSreachCustImpl" 
                             method="getOrderList"
                             mapName="CUSTLIST"
                             styleId="CUSTLIST" 
                             name="CUSTLIST" 
                             value="1"
                             style="width: 100%" 
                             textFieldName="SERV_TYPEISERV_TYPE_NAME" 
                             valueFieldName="SERV_TYPEISERV_TYPE_ID">
		  </custom:HtmlSelect>
      </div></td>
     </tr>
     <tr>
      <td class="InnerHead" nowrap="nowrap">
          <div align="center" id="custnum_l">业务号码:</div>
      </td> 
      <td class="InnerHead" nowrap="nowrap">
       <div align="left">
        <input type="text" 
             name="custnum_i" 
             style="width: 100%">
       </div>
      </td>
     </tr>
    <tr>
    <td class="InnerHead">&nbsp;</td> 
    <td class="InnerHead">
      <div align="right"><input type="submit" 
                                name="sreach_i" 
                                class="button" 
                                onclick="fuc_event_sreach()" 
                                value="搜索">
      &nbsp;</div></td>
      </tr>
      <tr>
      <td class="InnerHead" nowrap="nowrap"><div align="center">搜索结果:</div></td> 
      <td class="InnerHead" nowrap="nowrap">
         <select name="RESULT_S" id="RESULT_S" style="width: 100%" onclick="fuc_event_result()">
         </select>
      </td>
	  <tr>
	   <td class="InnerHead" nowrap><div align="center">说明:</div></td>
	   <td class="InnerHead" nowrap><textarea rows="4" style="width: 100%"></textarea></td>
	  </tr>
    </tr>
</table>

⌨️ 快捷键说明

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