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

📄 custnewsindex.jsp

📁 java阿里巴巴代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><!--//重复-->
              <table width="100%" border="0" cellspacing="0" cellpadding="3" class="table_xian">
                <% 
			  	if(custNewOppList!=null && custNewOppList.size()>0){
			  		String obj_cust_id6="",cust_name6="",update_time6="",phone6="",com_addr6="",email6="",start_date6="";
			  		for(int i = 0;i<custNewOppList.size();i++){
			  			HashMap custNewOppMap = (HashMap)custNewOppList.get(i);
			  			if(custNewOppMap.get("cust_id")!=null){obj_cust_id6=custNewOppMap.get("cust_id").toString();}
			  			if(custNewOppMap.get("cust_name")!=null){cust_name6=custNewOppMap.get("cust_name").toString();}
			  			if(custNewOppMap.get("update_time")!=null){update_time6=custNewOppMap.get("update_time").toString();}
			  			if(custNewOppMap.get("group_contact_phone")!=null){phone6=custNewOppMap.get("group_contact_phone").toString();}
			  			if(custNewOppMap.get("email")!=null){email6=custNewOppMap.get("email").toString();}
			  			if(custNewOppMap.get("company_address")!=null){com_addr6=custNewOppMap.get("company_address").toString();}
			  			if(custNewOppMap.get("start_date")!=null){start_date6=custNewOppMap.get("start_date").toString().substring(0,10);}
			  %>
                <tr>
                  <td width="40%">&nbsp;<span class="list_news"><a href="/customerMgr/Custinfo.jsp?obj_cust_id=<%=obj_cust_id6 %>" TARGET=appwin onclick="mydefss()" title="点击查看竞争对手详细资料"><%=cust_name6 %></a></span></td>
                  <td width="20%" align="center" bgcolor="F9F9F9" class="table_left_right_xian"><%=phone6 %></td>
                  <td width="16%" align="center"><%=start_date6 %></td>
                  <td width="24%" align="center" bgcolor="F9F9F9" class="table_left_right_xian"><span  class="shanchu"><a href=mailto:<%=email6 %> title="点击发送邮件"><%=email6 %></a></span></td>
                </tr>
                <%
			  		}
			  	}
			  %>   
              </table>
            <!--重复//-->
          </td>
        </tr>
      </table></td>
  </tr>
</table>

<!--最新客户动态-->
<% 
	ActionMgr action = new ActionMgr();
	ArrayList custActionList = action.getNewAction(cust_id,"1");
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="chag3" style="display: none">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" background="/images/xi_06.gif"><table width="100%" border="0" cellspacing="0" cellpadding="3" >
            <tr>
              <td width="24%">&nbsp;<span class="biaoti">客户名称</span></td>
              <td width="60%" class="table_left_right_xian">&nbsp;<span class="biaoti">标题</span></td>
              <td width="16%" align="center"><span class="biaoti">更新日期</span></td>
            </tr>
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="E8E8E8">
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><!--//重复-->
              <table width="100%" border="0" cellspacing="0" cellpadding="3" class="table_xian">
               <% 
			  	String own_id="",title="",content="",publish_date="",cust_name="",entity_id="";
			  	if(custActionList!=null && custActionList.size()>0){
			  		for(int i = 0;i<custActionList.size();i++){
			  			HashMap custActionMap = (HashMap)custActionList.get(i);
			  			if(custActionMap.get("publish_date")!=null){publish_date=custActionMap.get("publish_date").toString().substring(0,10);}
			  			if(custActionMap.get("content")!=null){content=custActionMap.get("content").toString();}
			  			if(custActionMap.get("title")!=null){title=custActionMap.get("title").toString();}
			  			if(custActionMap.get("entity_id")!=null){entity_id=custActionMap.get("entity_id").toString();}
			  			if(custActionMap.get("own_id")!=null){
			  				own_id=custActionMap.get("own_id").toString();
			  				cust_name = custInfo.getCustNameById(own_id);
			  			}
			  %>
                <tr>
                  <td width="24%"><%=cust_name %></td>
                  <td width="60%" bgcolor="F9F9F9" class="table_left_right_xian">&nbsp;<span class="list_news">
                  			<a href="/actionMgr/disAction.jsp?entity_id=<%=entity_id %>" TARGET=appwin onclick="mydefss()" title="点击查看客户动态内容">
								<%=title %>
							</a></span>
				  </td>
                  <td width="16%" align="center"><%=publish_date %></td>
                </tr>
                <%
			  		}
			  	}
			  %>   
              </table>
            <!--重复//-->
          </td>
        </tr>
      </table></td>
  </tr>
</table>


<!--最新联系人动态-->
<% 
	ArrayList custConList = action.getNewAction(cust_id,"0");
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="chag4" style="display: none">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" background="/images/xi_06.gif"><table width="100%" border="0" cellspacing="0" cellpadding="3" >
            <tr>
              <td width="18%">&nbsp;<span class="biaoti">联系人</span></td>
              <td width="66%" class="table_left_right_xian">&nbsp;<span class="biaoti">标题</span></td>
              <td width="16%" align="center"><span class="biaoti">更新日期</span></td>
            </tr>
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="E8E8E8">
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><!--//重复-->
              <table width="100%" border="0" cellspacing="0" cellpadding="3" class="table_xian">
                <% 
			  	if(custConList!=null && custConList.size()>0){
			  		String own_id1="",title1="",content1="",publish_date1="",cust_name1="",entity_id1="";
			  		for(int i = 0;i<custConList.size();i++){
			  			HashMap custConMap = (HashMap)custConList.get(i);
			  			if(custConMap.get("publish_date")!=null){publish_date1=custConMap.get("publish_date").toString().substring(0,10);}
			  			if(custConMap.get("content")!=null){content1=custConMap.get("content").toString();}
			  			if(custConMap.get("title")!=null){title1=custConMap.get("title").toString();}
			  			if(custConMap.get("entity_id")!=null){entity_id1=custConMap.get("entity_id").toString();}
			  			if(custConMap.get("own_id")!=null){
			  				own_id1=custConMap.get("own_id").toString();
			  				cust_name1 = custConMap.get("rsrv_str10").toString();//custInfo.getCustNameById(own_id1);
			  			}
			  %>
                <tr>
                  <td width="18%">
                  	<%=cust_name1%>
                  </td>
                  <td width="66%" bgcolor="F9F9F9" class="table_left_right_xian">&nbsp;<span class="list_news">
                  		<a href="/actionMgr/disAction.jsp?entity_id=<%=entity_id1 %>" TARGET=appwin onclick="mydefss()" title="点击查看联系人动态内容">
								<%=title1 %>
						</a>
                  	</td>
                  <td width="16%" align="center"><%=publish_date1 %></td>
                </tr>
                <%
			  		}
			  	}
			  %> 
              </table>
            <!--重复//-->
          </td>
        </tr>
      </table></td>
  </tr>
</table>

<!--最新竞争情报-->
<% 
	ArrayList custOppList = action.getNewAction(cust_id,"2");
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="chag5" style="display: none">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" background="/images/xi_06.gif"><table width="100%" border="0" cellspacing="0" cellpadding="3" >
          <tr>
            <td width="24%">&nbsp;<span class="biaoti">竞争对手</span></td>
            <td width="60%" class="table_left_right_xian">&nbsp;<span class="biaoti">标题</span></td>
            <td width="16%" align="center"><span class="biaoti">更新日期</span></td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="E8E8E8">
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><!--//重复-->
            <table width="100%" border="0" cellspacing="0" cellpadding="3" class="table_xian">
             <% 
			  	String own_id2="",title2="",content2="",publish_date2="",cust_name2="",entity_id2="";
			  	if(custOppList!=null && custOppList.size()>0){
			  		for(int i = 0;i<custOppList.size();i++){
			  			HashMap custOppMap = (HashMap)custOppList.get(i);
			  			if(custOppMap.get("publish_date")!=null){publish_date2=custOppMap.get("publish_date").toString().substring(0,10);}
			  			if(custOppMap.get("content")!=null){content2=custOppMap.get("content").toString();}
			  			if(custOppMap.get("title")!=null){title2=custOppMap.get("title").toString();}
			  			if(custOppMap.get("entity_id")!=null){entity_id2=custOppMap.get("entity_id").toString();}
			  			if(custOppMap.get("own_id")!=null){
			  				own_id2=custOppMap.get("own_id").toString();
			  				cust_name2 = custInfo.getCustNameById(own_id2);
			  			}
			  %>
              <tr>
                <td width="24%"><%=cust_name2 %></td>
                <td width="60%" bgcolor="F9F9F9" class="table_left_right_xian">&nbsp;<span class="list_news">
                	<a href="/actionMgr/disAction.jsp?entity_id=<%=entity_id2 %>" TARGET=appwin onclick="mydefss()" title="点击查看竞争情报内容">
						<%=title2 %>
					</a></span></td>
                <td width="16%" align="center"><%=publish_date2 %></td>
              </tr>
             <%
			  		}
			  	}
			  %>   
            </table>
            <!--重复//-->
          </td>
        </tr>
      </table></td>
  </tr>
</table>

</body>
</html>

⌨️ 快捷键说明

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