📄 relationmgrlistbyselfdefinition.jsp
字号:
<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)">
<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)">
<option value="0">
请选择...
</option>
</select>
</td>
<td>
<select name="sort3" size="10" style="width: 120px">
<option value="0">
请选择...
</option>
</select>
</td>
<td>
<select name="bigsort" style="display:none">
<option selected value="0">
请选择...
</option>
</select>
</td>
</tr>
</table>
</div>
</td>
</tr>
<input type="hidden" name="callingType" id="callingType" value="0">
<div class="ping1" style="display:inline"></div>
<tr>
<td width="17%" align="right" style="font-weight:bolder;" colspan="2">
<input class="cxan" type="button" value="" style="cursor: hand" onclick="setCallingType('6')">
</td>
</tr>
</table>
</form>
<%
if(custDefinitList != null && custDefinitList.size()>0)
{
%>
<table width=727 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%">
联系电话
</td>
<td style="background-color:#e2e2e2; color:#000000; font-weight:bold; font-size:13px;" align=center width="15%">
建立日期</
</tr>
<%
int i=0;
for (Iterator it = custDefinitList.iterator(); it.hasNext();)
{
HashMap map = (HashMap) it.next();
String obj_cust_id=map.get("obj_cust_id").toString();
String cust_name="";
String relation_type_code="";
String group_contact_phone="";
String start_date="";
String remark="";
String cust_code="";
if(map.get("remark") != null)
{
remark=map.get("remark").toString();
}
if(map.get("develope_man") != null)
{
cust_code=map.get("develope_man").toString();
}
if(map.get("cust_name") != null)
{
cust_name=map.get("cust_name").toString();
}
if(map.get("group_contact_phone") != null)
{
group_contact_phone=map.get("group_contact_phone").toString();
}
if(map.get("relation_type_code") != null)
{
relation_type_code=map.get("relation_type_code").toString();
if(typeMap.get(relation_type_code) !=null)
{
relation_type_code=typeMap.get(relation_type_code).toString();
}
}
if(map.get("start_date") != null)
{
start_date=map.get("start_date").toString();
if(start_date.length()>10)
{
start_date=start_date.substring(0,10);
}
}
%>
<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;" align=center>
<%=relation_type_code%>
</td>
<td style=" color:#000000; padding:2px 5px;" align=left>
<%=group_contact_phone%>
</td>
<td style=" color:#000000;" align=center>
<%=start_date%>
</td>
</tr>
<%i++;
}
%>
<%
}
%>
</table>
<%
if(callingList != null && callingList.size()>0)
{
%>
<table width=727 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%">
联系电话
</td>
<td style="background-color:#e2e2e2; color:#000000; font-weight:bold; font-size:13px;" align=center width="15%">
建立日期</
</tr>
<%
int i=0;
for (Iterator it = callingList.iterator(); it.hasNext();)
{
HashMap map = (HashMap) it.next();
String obj_cust_id=map.get("obj_cust_id").toString();
String cust_name="";
String relation_type_code="";
String group_contact_phone="";
String start_date="";
String remark="";
String cust_code="";
if(map.get("remark") != null)
{
remark=map.get("remark").toString();
}
if(map.get("develope_man") != null)
{
cust_code=map.get("develope_man").toString();
}
if(map.get("cust_name") != null)
{
cust_name=map.get("cust_name").toString();
}
if(map.get("group_contact_phone") != null)
{
group_contact_phone=map.get("group_contact_phone").toString();
}
if(map.get("relation_type_code") != null)
{
relation_type_code=map.get("relation_type_code").toString();
if(typeMap.get(relation_type_code) !=null)
{
relation_type_code=typeMap.get(relation_type_code).toString();
}
}
if(map.get("start_date") != null)
{
start_date=map.get("start_date").toString();
if(start_date.length()>10)
{
start_date=start_date.substring(0,10);
}
}
%>
<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;" align=center>
<%=relation_type_code%>
</td>
<td style=" color:#000000; padding:2px 5px;" align=left>
<%=group_contact_phone%>
</td>
<td style=" color:#000000;" align=center>
<%=start_date%>
</td>
</tr>
<%i++;
}
%>
<%
}
%>
</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 + -