<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CorporateClientsWiFuTiXingList.aspx.cs" Inherits="CY.WebForm.Pages.business.CorporateClientsWiFuTiXingList" %>
|
<%--20210916 廖军 新增 客户维护提醒 页面,包括 未完结客户一周一次,完结客户 3个月一次,和端午中秋春节维护提醒页面--%>
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head id="Head1" runat="server">
|
|
<title>提醒详情</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div class="box1" paneltitle="功能面板" roller="false">
|
<table class="TableNewStyle">
|
<tr>
|
<td class="ali03">所在区域:
|
</td>
|
<td>
|
<asp:DropDownList ID="selectProvince" runat="server" keepDefaultStyle="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeProvince" Width="70px">
|
</asp:DropDownList>
|
<asp:DropDownList ID="selectCity" runat="server" keepDefaultStyle="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeCity" Width="70px">
|
</asp:DropDownList>
|
<asp:DropDownList ID="selectCounty" runat="server" keepDefaultStyle="true" AutoPostBack="false" Width="70px">
|
</asp:DropDownList>
|
</td>
|
<td class="ali03">
|
提醒类型:
|
</td>
|
<td>
|
<select id="seltixing" runat="server" keepdefaultstyle="true">
|
<option value="">全部</option>
|
<option value="0">已完结客户例行维护</option>
|
<option value="1">未完结客户例行维护</option>
|
<option value="2">节日维护</option>
|
</select>
|
</td>
|
<td class="ali03">
|
客户名称:
|
</td>
|
<td>
|
<input type="text" runat="server" id="txtquery_userName" />
|
</td>
|
<td>
|
<td class="ali03" colspan="3"> </td>
|
<td>
|
<asp:Button CssClass="button" ID="btn_Search" Text="查询" runat="server" padding="0px" OnClick="btn_Search_Click" />
|
<input type="button" onclick="resetSearch()" value="重置" />
|
</td>
|
</td>
|
</tr>
|
</table>
|
</div>
|
<div>
|
<asp:repeater id="RepClientList" runat="server" >
|
<headertemplate>
|
<table class="tableStyle">
|
<tr>
|
<th width="25"></th>
|
<th width="30" style="text-align:center">
|
编号
|
</th>
|
<th style="text-align:center">
|
客户姓名
|
</th>
|
<th style="text-align:center">
|
客户所在区域
|
</th>
|
|
<th style="text-align:center">
|
提醒内容
|
</th>
|
<th style="text-align:center">
|
是否是完结客户
|
</th>
|
|
</tr>
|
</headertemplate>
|
|
|
<ItemTemplate>
|
<tr>
|
<td>
|
<input type="checkbox" class="SelectCheck" value_mobile="<%#Eval("Mobile")%>" value_email="<%#Eval("Email")%>" value_cid="<%#Eval("CustomerId")%>" value_kid="<%#Eval("Keyid")%>" />
|
</td>
|
<td>
|
<%#Eval("CustomerId")%>
|
|
</td>
|
<td>
|
|
<a onclick="onView('<%#Eval("Keyid")%>')" title="点击查看客户资料">
|
<%#Eval("CompanyName")%></a>
|
|
</td>
|
|
|
<td>
|
|
<%#Eval("City").ToString().IndexOf("其他") >= 0 ? Eval("Province") : Eval("City")%><%#Eval("County")%>
|
</td>
|
|
<td >
|
<a class="a_under" style="color: <%#Eval("shifouwanjie").ToString() == "1"? "" : "Red"%>;"title= <%#Eval("shifouwanjie").ToString() == "2"? "合作中客户一周一次的例行维护" : "合作完结客户例行维护"%> onclick="onViewWeihu('<%#Eval("Keyid")%>')">
|
<%#Eval("NeedWiHu").ToString()=="True"?"需要进行例行维护 ":""%>
|
</a>
|
|
<a title="<%=getJieri() %> 快到了,请维护该客户" onclick="onViewWeihuJieRI('<%#Eval("Keyid")%>','<%=getJieri() %> 快到了,请维护该客户')">
|
<%#Eval("JieJiaRiWiHu").ToString()=="True"?"需要进行节日维护":""%>
|
</a>
|
|
|
</td>
|
|
|
|
|
|
<td>
|
<%#Eval("ShifouwanjieName")%>
|
</td>
|
|
</tr>
|
</ItemTemplate>
|
<FooterTemplate>
|
</table>
|
</FooterTemplate>
|
|
|
|
|
</asp:repeater>
|
<div id="page">
|
<uc:UCPager ID="UCPager1" runat="server" />
|
</div>
|
</div>
|
</form>
|
</body>
|
|
<script type="text/javascript">
|
|
|
|
|
//查看
|
function onView(keyid) {
|
top.Dialog.open({ URL: "/Pages/business/CorporateClientsDetail.aspx?Keyid=" + keyid, Title: "查看客户", Width: 900, Height: 750 });
|
}
|
//维护
|
function onViewWeihu(keyid) {
|
top.Dialog.open({ URL: "/Pages/business/CorporateClientsVisit.aspx?Keyid=" + keyid+"&tixingweihu=1", Title: "例行维护与节假日维护", Width: 900, Height: 750 });
|
}
|
//维护
|
function onViewWeihuJieRI(keyid,count) {
|
top.Dialog.open({ URL: "/Pages/business/CorporateClientsVisit.aspx?Keyid=" + keyid + "&JIeriCount=" + count+"&tixingweihu=1", Title: "节假日维护", Width: 900, Height: 750 });
|
|
}
|
|
//删除
|
function onDelete(keyid) {
|
top.Dialog.confirm("确定要删除该客户吗?", function () {
|
window.location = "/Pages/business/CorporateClientsList.aspx?delete=" + keyid;
|
});
|
}
|
|
|
|
|
|
</script>
|
</html>
|