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

📄 viewcustinfo.jsp

📁 java阿里巴巴代码
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*"%>
<%@ page import="com.saas.biz.custMgr.Custinfo"%>
<%@ page import="com.saas.biz.serverMgr.ServerInfo"%>
<%@ page import="com.saas.biz.commen.ParamethodMgr"%>
<%@ page import="com.saas.biz.AreaInfoMgr.AreaInfo"%>
<%@ page import="com.saas.biz.userMgr.UserDetailInfo"%>
<jsp:useBean id="bean" class="com.saas.biz.commen.commMethodMgr" scope="page" />
<jsp:useBean id="comm" class="com.saas.biz.commen.ParamethodMgr" scope="page" />
<jsp:useBean id="interf" class="com.saas.biz.rightMgr.TradeInterface" scope="page" />
<link href="/crm/style/css.css" rel="stylesheet" type="text/css">
<link href="/style/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/ext/ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css"/>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/AreaInfo.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>  
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>  
<style type="text/css">
.line6 {width:72spx; width:70spx!important;border:#ffcb99 1px solid;  background-color:#fff8ee; text-align:left; padding-left: 20px;padding-top: 10px;padding-bottom: 10px; color:#000000; margin-top:13px; margin-bottom:13px;}   /*横栏样式6---- 头部提醒1*/
.line6 .img{width:53px; height:53px; float:left; margin-right:20px;}
.line6 .title {font-size:14px; font-weight:bold; color:#ff5400;}
.line1 {border-left:#ff7300 3px solid; background-color:#e2e2e2; color:#333333;text-align:left; font-size:12px;}  /*横栏样式1*/
h1 {float:left;padding-left:8px; font-size:15px; font-weight:bold; padding-top:5px;}
#td{
width:100px;
text-align:right;
margin-left:5px;
height:30px;
line-height:30px;
}
.table_xian {
	border-bottom: #CDD4DA 1px dashed; margin-top:1px
}
.table_left_right_xian {
	border-left: #CDD4DA 1px dashed;border-right: #CDD4DA 1px dashed;
}
.STYLE1 {
	color: #000000;
	font-weight: bold;
}
</style>
 
</head>
<%   
  HttpSession  logsession = request.getSession();     
  String s_cust_id="";
  if (logsession.getAttribute("SESSION_CUST_ID") != null)
  {
        s_cust_id = logsession.getAttribute("SESSION_CUST_ID").toString();
  }
  ArrayList custList=new ArrayList();
  String cust_id="",cust_name="",cust_aim="",fax_nbr="",group_contact_phone="",company_address="",juristic="",
  post_addr="",job="",qq="",home_addr="",blog="",post_code="",local_native_code="",work_name="",eparchy="",province="",
  group_memo="",scope="",website="",user_count="",user_id="",reg_money="";
  String user_count1 = "",calling_type_code="",enterprise_size_code="";
   boolean modify=false;
   if (request.getParameter("user_id") != null){
        user_id=request.getParameter("user_id");
   }
  if (request.getParameter("obj_cust_id") != null)
  {
        cust_id = request.getParameter("obj_cust_id").toString();
        ArrayList servList=new ServerInfo().getCustSerevicByCustId(cust_id);
       if(cust_id ==s_cust_id || cust_id.equals(s_cust_id))
       {
          modify=true;
       }
       else if(servList !=null && servList.size()>0)
       {
          modify=false;
       }
       else
       {
         modify=true;
       }
  }
  String folk_code = "";
  ParamethodMgr paramCom = new ParamethodMgr();
 
  ArrayList degreeList = paramCom.getCompareInfo("CRM", "degree");
  AreaInfo arae=new AreaInfo();
  ArrayList userList=new ArrayList();
  Map country_Map=new HashMap();
  country_Map=arae.getCountryAllByCode("cn");
  try{
  custList=new Custinfo().genSpecCustInfo(cust_id);
  userList=new UserDetailInfo().getUserDetailByUserId(user_id,cust_id);
  }catch(Exception ex){
    out.print(ex.getMessage());
  }
  if(userList !=null && userList.size()>0){
     HashMap u_Map=(HashMap)userList.get(0);
      if(u_Map.get("home_addr")!=null){home_addr=u_Map.get("home_addr").toString();}
      if(u_Map.get("qq")!=null){qq=u_Map.get("qq").toString();}
      if(u_Map.get("blog")!=null){blog=u_Map.get("blog").toString();}
      if(u_Map.get("cust_name")!=null){cust_name=u_Map.get("cust_name").toString();}
      if(u_Map.get("folk_code")!=null){folk_code=u_Map.get("folk_code").toString();}
      if(u_Map.get("post_addr")!=null){post_addr=u_Map.get("post_addr").toString();}
      if(u_Map.get("post_code")!=null){post_code=u_Map.get("post_code").toString();}
      if(u_Map.get("job")!=null){job=u_Map.get("job").toString();}
      //if(map.get("work_name")!=null){work_name=map.get("work_name").toString();}
  }
  if(custList !=null && custList.size()>0)
  {
        HashMap map=(HashMap)custList.get(0);
        if(map.get("cust_name")!=null){cust_name=map.get("cust_name").toString();}
        if(map.get("reg_money")!=null){reg_money=map.get("reg_money").toString();}
        if(map.get("enterprise_size_code")!=null){enterprise_size_code=map.get("enterprise_size_code").toString();}
        if(map.get("calling_type_code")!=null){calling_type_code=map.get("calling_type_code").toString();}
		if(map.get("cust_aim")!=null){cust_aim=map.get("cust_aim").toString();}
		if(map.get("fax_nbr")!=null){fax_nbr=map.get("fax_nbr").toString();}
		if(map.get("group_contact_phone")!=null){group_contact_phone=map.get("group_contact_phone").toString();}
		if(map.get("company_address")!=null){company_address=map.get("company_address").toString();}
		if(map.get("juristic")!=null){juristic=map.get("juristic").toString();}
		if(map.get("group_memo")!=null){group_memo=map.get("group_memo").toString();}
		if(map.get("scope")!=null){scope=map.get("scope").toString();}
		if(map.get("website")!=null){website=map.get("website").toString();}
		if(map.get("user_count")!=null){
			user_count=map.get("user_count").toString();
			if(!user_count.equals("")){
				user_count = comm.getParaCode2ByParaCode1("53",user_count);
			}
		}
		if(map.get("eparchy_code")!=null){eparchy=map.get("eparchy_code").toString();}
		if(map.get("province")!=null){province=map.get("province").toString();}
		eparchy = interf.comCodetoName("AREA_NAME",eparchy);
		province = interf.comCodetoName("AREA_NAME",province);
		
  }
  %>
<font color="#000000"></font>
<body>
   <table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
       <td width="2" background="/images/kehu_list_03.gif" height="8"></td>
       <td width="704" background="/images/kehu_list_04.gif" height="8"></td>
       <td width="2" background="/images/kehu_list_06.gif" height="8"></td>
     </tr>
   </table>
   <table cellspacing="0" cellpadding="0" width="720" border="0" align=center>
     <tr height="30">
       <td height="30"  colspan="3"  align="center" background="/images/xi_06.gif" style="background-color:#e2e2e2; color:#000000;  font-weight:bold; padding-top: 1px;"><font face="宋体" size="4"><%=cust_aim%></font></td>
     </tr>
   </table>
   <table width="720" border="0" cellpadding="0" cellspacing="1" align=center  bgcolor="#e7e7e7">
   	  <tr height="25">
   	  	<td bgcolor="#ffffff">
					<table cellspacing="0" cellpadding="0" width="100%" border="0">	
							<tr>
								<td height="30" align="left" background="/images/xi_06.gif">&nbsp;&nbsp;<span class="STYLE1">企业简介</span></td>
							</tr>
							<tr>
						  	 <td>
						  	 	<div class="table_xian">
										<%=scope%>
							   </div>
						  	 </td>
						  </tr>	
		  </table>
					<br>
					<br>
					
		   <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
		  <tr>
		  <td height="30" align="left" background="/images/xi_06.gif">&nbsp;&nbsp;<span class="STYLE1">详细信息</span></td>
			 </tr>
		  </table>
				<table cellspacing="1" cellpadding="4" width="100%" border="0">
                  <tbody>
                    <tr valign="top" bgcolor="#f6f6f6">
                      <td width="21%" align="right" bgcolor="F9F9F9" class="table_left_right_xian" style="word-break:break-all">企业类型:</td>
                      <td width="29%" align="left" bgcolor="#f6f6f6" class="S" style="word-break:break-all"><span class="S" style="word-break:break-all"><%=interf.codeToName("work_name",work_name)%></span> </td>
                      <td width="20%" align="right" bgcolor="F9F9F9" class="table_left_right_xian" style="word-break:break-all"><span class="S" style="word-break:break-all">行业类别:</span> </td>
                      <td width="30%" align="left" bgcolor="#f6f6f6" class="S" style="word-break:break-all"><span class="S" style="word-break:break-all"> <span class="S" style="word-break:break-all"><%=calling_type_code%></span> </span> </td>
                    </tr>
                    <tr valign="top" bgcolor="#ffffff">
                      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian" style="word-break:break-all">企业规模:</td>
                      <td align="left" class="S" style="word-break:break-all"><span class="S" style="word-break:break-all"><%=enterprise_size_code%></span> </td>
                      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian" style="word-break:break-all"><span class="S" style="word-break:break-all">注册资金: </span> </td>
                      <td align="left" bgcolor="#ffffff" class="S" style="word-break:break-all"><span class="S" style="word-break:break-all"> <span class="S" style="word-break:break-all"><%=reg_money%></span> </span> </td>
                    </tr>
                    <tr valign="top" bgcolor="#f6f6f6">
                      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian" >法人代表:</td>
                      <td align="left" bgcolor="#f6f6f6" class="S" style="word-break:break-all"><span class="S" style="word-break:break-all"><%=juristic%></span> </td>
                      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian" style="word-break:break-all">员工数:</td>
                      <td align="left" bgcolor="#f6f6f6" class="S" style="word-break:break-all"><span class="S" style="word-break:break-all"><%=user_count%></span> </td>
                    </tr>
                  </tbody>
                </table>
				<br>
				<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
		  <tr>
		  <td height="30" align="left" background="/images/xi_06.gif">&nbsp;&nbsp;<span class="STYLE1">详细信息</span></td>
			 </tr>
		  </table>
				<table width=100% border=0 cellpadding=4 cellspacing=1 align=center>
				<tr style="display:none">
					      <td width="21%" align="right" bgcolor="F9F9F9"  class="table_left_right_xian">客户名称:</td>
					      <td width="79%" colspan="2" align="left" bgcolor="#f6f6f6">
					      	<div class="ping1"><%=cust_name%></div>					      </td>
				  </tr>	
						
						<tr style="background-color:#f9f9f9; ">
					      <td  width="18%"  align="right" bgcolor="F9F9F9" class="table_left_right_xian">电话:</td>
					      <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left" width="82%">
					      	<div class="ping1"><%=group_contact_phone%></div>					      </td>
					  </tr>
						<tr style="background-color:#f9f9f9; ">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">传真:</td>
					      <td colspan="2" align="left" bgcolor="#f6f6f6">
					      	<div class="ping1"><%=fax_nbr%></div>					      </td>
				  </tr>
						 <tr style="background-color:#f9f9f9; ">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">联系人:</td>
					      <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left">
					      	<div class="ping1"><%=juristic%></div>					      </td>
				  </tr>
						 <tr style="background-color:#f9f9f9; ">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">邮政编码:</td>
					      <td colspan="2" align="left" bgcolor="#f6f6f6">
					      	<div class="ping1"><%=post_code%></div></td>
						 </tr><tr style="background-color:#f9f9f9; ">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">公司地址:</td>
					      <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left">
					      	<div class="ping1"><%=company_address%></div>					      </td>
						 </tr>
						 <tr style="background-color:#f9f9f9; ">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">公司网站:</td>
					      <td colspan="2" align="left" bgcolor="#f6f6f6">
					      	<div class="ping1"><%=website%></div>					      </td>
						 </tr>
						 <tr style="display:none">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">注册地址:</td>
					       <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left">
					          <div class="ping1">
					          	<a href="http://maps.google.com/?q=<%=province%>" target="_blank"><%=province%></a>
											<a href="http://maps.google.com/?q=<%=eparchy%>"  target="_blank"><%=eparchy%></a>							 </div>					      </td>
						 </tr> 	 
						 
						 
						  
						 <tr style="display:none">
					      <td align="right" bgcolor="F9F9F9" class="table_left_right_xian">经营范围:</td>
					      <td style=" color:#000000;background-color:#FFFFFF" colspan="2" align="left" >
					      	<div class="ping1"><%=group_memo%></div>					      </td>
						 </tr>
						   
						 <tr style="display:none">
					      <td height="40"  colspan="3" bgcolor="#f6f6f6" style="color:#000000;text-align: center;">
					      	<input class="gban" type="button" name="close" value="" onclick="javascript:window.close();">					      </td>
						 </tr>
		  </table>
						<br>
				    <br>
		</td>
	 </tr>
				 
</table>

⌨️ 快捷键说明

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