<%Checklogin()%> 管理区域
<% Act = Request.QueryString("act") Page = Request.QueryString("Page") Set Rs=Server.CreateObject("ADODB.RecordSet") Keys=Server.UrlEnCode(Keys) hrefstr = "?keys="&Keys %>

异常客户

">
序号
客户编号
渠道来源
区域
客户类型
跟进阶段
颜色标记
录入时间
操作
<% sqlStr="Select id,cs_code,cs_from,cs_country,cs_type,cs_deal,cs_addtime,cs_tel,cs_email,cs_whatsapp,cs_wechat,cs_linkedin,cs_facebook,cs_alibaba,colortag,cs_note,cs_claimFrom From customer Where (cs_alibaba='' and (cs_code like '%阿里%' or cs_code like '%1688%') and cs_belong="&Session("employee_id")&" ) or (cs_from=8 and cs_wechat='' and cs_belong="&Session("employee_id")&") Order By colortag DESC,id Desc" Rs.Open sqlStr ,Conn,1,1 If Not Rs.Bof And Not Rs.Eof Then Rs.PageSize = 20 If Page = "" Then Page = 1 If Page = "end" Then Page = Rs.PageCount If Not IsNumeric(Page) Or Page < 1 Then Page = 1 Page = Cint(Page) If Page > Rs.PageCount Then Page = Rs.PageCount Rs.AbsolutePage = Page TempNum = Rs.PageSize * (Page - 1) Set Rs1=Server.CreateObject("ADODB.RecordSet") For i=1 To Rs.PageSize If Rs.Bof Or Rs.Eof Then Exit For TempNum=TempNum+1:classid=Rs(1) %>
">
<%=TempNum%>
<%=Rs("cs_code")%><%If Rs("cs_claimFrom")>0 Then%><%End If%>
<%Rs1.Open "select ch_name from qudao where id="&Rs("cs_from")&"",conn,1,1 IF Not Rs1.bof and Not Rs1.eof Then Response.write Rs1("ch_name") Else Response.write "未填写" End If Rs1.Close %>
<%Rs1.Open "select countryName from country where id="&Rs("cs_country")&"",conn,1,1 IF Not Rs1.bof and Not Rs1.eof Then Response.write Rs1("countryName") Else Response.write "未填写" End If Rs1.Close %>
<%Rs1.Open "select businessType from clientType where id="&Rs("cs_type")&"",conn,1,1 IF Not Rs1.bof and Not Rs1.eof Then Response.write Rs1("businessType") Else Response.write "未填写" End If Rs1.Close %>
<%If Rs("cs_deal")=3 then response.write "成交" elseif Rs("cs_deal")=2 then Response.write "明确需求" elseif Rs("cs_deal")=1 then Response.write "背景调查" else Response.write "无响应" End IF %>
    ">
<%=Rs("cs_addtime")%>
联系方式
<%=Rs("cs_tel")%>
<%=Rs("cs_whatsapp")%>
<%=Rs("cs_wechat")%>
<%=Rs("cs_linkedin")%>
<%=Rs("cs_alibaba")%>
备注
<%=HtmlUnCode(Rs("cs_note"))%>
<% Rs.MoveNext Next Else If Keys="" Then %>
Sorry,当前暂无信息
<% Else %>
Sorry,没有找到“<%=Keyscode%>”相关的信息,点击返回
<% End If End If %>
<% If Rs.PageCount > 1 Then PageName="?Keys="&Keys&urlStr&"&" Pagelen=3 If Page>1 Then Response.Write "首页" Response.Write "上一页" End If If Pagelen*2+1 >= Rs.PageCount Then StartPage=1:EndPage=Rs.PageCount Else If Page<=Pagelen+1 Then StartPage=1 EndPage=Pagelen*2+1 Else StartPage=Page-Pagelen EndPage=Page+Pagelen End If If Page+Pagelen>Rs.PageCount Then StartPage=Rs.PageCount-Pagelen*2:EndPage=Rs.PageCount End If For i = StartPage To EndPage If i = Page Then Response.Write ""&i&"" Else Response.Write ""&i&"" End If Next If Page Pagelen Then Response.Write "..."&Rs.PageCount&"" Response.Write "下一页" Response.Write "尾页" End If End If %>
<%Rs.Close:Set Rs=Nothing:Set Rs1=Nothing:Conn.Close:Set Conn=Nothing%>