<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendAllInt.aspx.cs" Inherits="CY.WebForm.Pages.business.SendAllInt" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head id="Head1" runat="server">
|
<title>员工绩效</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<style type="text/css">
|
.tableStyle .th { text-align: center; }
|
.tableStyle td { text-align: center; }
|
</style>
|
<script type="text/javascript">
|
//打印绩效
|
function PrintSendAllInt() {
|
top.Dialog.open({ URL: "/Pages/business/SendAllIntPrint.aspx", Title: "绩效打印", Width: 1100, Height: 680 });
|
}
|
|
//查看 xx 客户
|
function LookATable(StuffKeyId) {
|
top.Dialog.open({ URL: "/Pages/business/SendAllIntLookATable.aspx?StuffKeyId=" + StuffKeyId, Title: "查看客户", Width: 1100, Height: 680 });
|
}
|
|
//查看 xx 订单
|
function LookBTable(StuffKeyId) {
|
top.Dialog.open({ URL: "/Pages/business/SendAllIntLookBTable.aspx?StuffKeyId=" + StuffKeyId, Title: "查看订单", Width: 1200, Height: 680 });
|
}
|
</script>
|
<script type="text/javascript">
|
$(function () {
|
var value_NowAllCustom = 0;
|
var value_NowAllIntention = 0;
|
var value_NowNupdoor = 0;
|
var value_NowNphone = 0;
|
var value_NowNqq = 0;
|
var value_NowNmessage = 0;
|
var value_NowNDirectMail = 0;
|
var value_NowNemial = 0;
|
var value_NowNall = 0;
|
var value_NowNowMoney = 0;
|
var value_NowOldMoney = 0;
|
var value_NowAllMoney = 0;
|
$(".td_AllCustom").each(function (ii, vv) {
|
value_NowAllCustom += parseInt($(vv).text());
|
});
|
$(".td_AllIntention").each(function (ii, vv) {
|
value_NowAllIntention += parseInt($(vv).text());
|
});
|
$(".td_Nupdoor").each(function (ii, vv) {
|
value_NowNupdoor += parseInt($(vv).text());
|
});
|
$(".td_Nphone").each(function (ii, vv) {
|
value_NowNphone += parseInt($(vv).text());
|
});
|
$(".td_Nqq").each(function (ii, vv) {
|
value_NowNqq += parseInt($(vv).text());
|
});
|
$(".td_Nmessage").each(function (ii, vv) {
|
value_NowNmessage += parseInt($(vv).text());
|
});
|
$(".td_NDirectMail").each(function (ii, vv) {
|
value_NowNDirectMail += parseInt($(vv).text());
|
});
|
$(".td_Nemial").each(function (ii, vv) {
|
value_NowNemial += parseInt($(vv).text());
|
});
|
$(".td_Nall").each(function (ii, vv) {
|
value_NowNall += parseInt($(vv).text());
|
});
|
$(".td_NowMoney").each(function (ii, vv) {
|
value_NowNowMoney += parseFloat($(vv).text());
|
});
|
$(".td_OldMoney").each(function (ii, vv) {
|
value_NowOldMoney += parseFloat($(vv).text());
|
});
|
$(".td_AllMoney").each(function (ii, vv) {
|
value_NowAllMoney += parseFloat($(vv).text());
|
});
|
$("#value_NowAllCustom").html(value_NowAllCustom.toFixed(0));
|
$("#value_NowAllIntention").html(value_NowAllIntention.toFixed(0));
|
$("#value_NowNupdoor").html(value_NowNupdoor.toFixed(0));
|
$("#value_NowNphone").html(value_NowNphone.toFixed(0));
|
$("#value_NowNqq").html(value_NowNqq.toFixed(0));
|
$("#value_NowNmessage").html(value_NowNmessage.toFixed(0));
|
$("#value_NowNDirectMail").html(value_NowNDirectMail.toFixed(0));
|
$("#value_NowNemial").html(value_NowNemial.toFixed(0));
|
$("#value_NowNall").html(value_NowNall.toFixed(0));
|
$("#value_NowNowMoney").html(value_NowNowMoney.toFixed(2));
|
$("#value_NowOldMoney").html(value_NowOldMoney.toFixed(2));
|
$("#value_NowAllMoney").html(value_NowAllMoney.toFixed(2));
|
});
|
</script>
|
<style type="text/css">
|
.StatisticsMoney td { color: #FF5500; }
|
.StatisticsMoney span { color: #FF5500; font-weight: bold; }
|
</style>
|
</head>
|
<body>
|
<div id="scrollContent">
|
<form id="form1" runat="server">
|
<div class="box1" paneltitle="功能面板" roller="false">
|
<table class="TableNewStyle">
|
<tr>
|
<td class="ali03 ">
|
时间:
|
</td>
|
<td>
|
<input type="text" id="txtStartTime" runat="server" class="date w100px" datefmt="yyyy-MM-dd" readonly="readonly" />-
|
<input type="text" id="txtEndTime" runat="server" class="date w100px" datefmt="yyyy-MM-dd" readonly="readonly" />
|
</td>
|
<td>
|
姓名:
|
</td>
|
<td>
|
<input type="text" id="txtMemberName" runat="server" />
|
</td>
|
<td>
|
状态:
|
</td>
|
<td>
|
<select id="selStatus" runat="server" keepdefaultstyle="true">
|
</select>
|
</td>
|
<td>
|
<asp:Button ID="search" runat="server" Text="查询" OnClick="search_Click" />
|
<input type="button" onclick="PrintSendAllInt()" value="打印绩效" />
|
</td>
|
</tr>
|
</table>
|
</div>
|
<div>
|
<table class="tableStyle" useclick="false" usecheckbox="true" sortmode="true">
|
<tr>
|
<th>
|
编号
|
</th>
|
<th>
|
员工
|
</th>
|
<th>
|
新增合作客户
|
</th>
|
<th>
|
新增意向客户
|
</th>
|
<th>
|
上门次数
|
</th>
|
<th>
|
电话次数
|
</th>
|
<th>
|
QQ次数
|
</th>
|
<th>
|
短信次数
|
</th>
|
<th>
|
商函次数
|
</th>
|
<th>
|
Email次数
|
</th>
|
<th>
|
访问总次数
|
</th>
|
<th>
|
新客户产值
|
</th>
|
<th>
|
原客户产值
|
</th>
|
<th>
|
总产值
|
</th>
|
<th>
|
操作
|
</th>
|
</tr>
|
<asp:Repeater ID="RepCustomerList" runat="server">
|
<ItemTemplate>
|
<tr>
|
<td>
|
<%#Container.ItemIndex + 1%>
|
</td>
|
<td>
|
<%#Eval("StuffName")%>
|
</td>
|
<td class="td_AllCustom">
|
<%#Eval("AllCustom") ?? 0%>
|
</td>
|
<td class="td_AllIntention">
|
<%#Eval("AllIntention") ?? 0%>
|
</td>
|
<td class="td_Nupdoor">
|
<%#Eval("Nupdoor")??0%>
|
</td>
|
<td class="td_Nphone">
|
<%#Eval("Nphone")??0%>
|
</td>
|
<td class="td_Nqq">
|
<%#Eval("Nqq")??0%>
|
</td>
|
<td class="td_Nmessage">
|
<%#Eval("Nmessage")??0%>
|
</td>
|
<td class="td_NDirectMail">
|
<%#Eval("NDirectMail")??0%>
|
</td>
|
<td class="td_Nemial">
|
<%#Eval("Nemial")??0%>
|
</td>
|
<td class="td_Nall">
|
<%#Eval("Nall")??0%>
|
</td>
|
<td class="td_NowMoney">
|
<%#string.IsNullOrEmpty(Eval("NowMoney", "{0:F2}")) ? "0" : Eval("NowMoney", "{0:F2}")%>
|
</td>
|
<td class="td_OldMoney">
|
<%#string.IsNullOrEmpty(Eval("OldMoney", "{0:F2}")) ? "0" : Eval("OldMoney", "{0:F2}")%>
|
</td>
|
<td class="td_AllMoney">
|
<%#string.IsNullOrEmpty(Eval("AllMoney", "{0:F2}")) ? "0" : Eval("AllMoney", "{0:F2}")%>
|
</td>
|
<td>
|
<a href="javascript:;" onclick="LookATable('<%#Eval("StuffKeyId")%>')" menu_member_case_id="case_LookATable" menu_member_case_name="查看客户"><span>查看客户</span></a> <a href="javascript:;" onclick="LookBTable('<%#Eval("StuffKeyId")%>')" menu_member_case_id="case_LookBTable" menu_member_case_name="查看订单"><span>查看订单</span></a>
|
</td>
|
</ItemTemplate>
|
</asp:Repeater>
|
<tr class="StatisticsMoney">
|
<td colspan="2" class="ali03">
|
当前页统计:
|
</td>
|
<td>
|
<span id="value_NowAllCustom" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowAllIntention" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNupdoor" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNphone" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNqq" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNmessage" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNDirectMail" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNemial" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNall" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowNowMoney" runat="server"></span>
|
</td>
|
<td>
|
<span id="value_NowOldMoney" runat="server"></span>
|
</td>
|
<td colspan="2">
|
<span id="value_NowAllMoney" runat="server"></span>
|
</td>
|
</tr>
|
<tr class="StatisticsMoney">
|
<td colspan="2" class="ali03">
|
查询项统计:
|
</td>
|
<td>
|
<span id="SumAllCustom" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumAllIntention" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNupdoor" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNphone" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNqq" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNmessage" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNDirectMail" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNemial" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNall" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumNowMoney" runat="server"></span>
|
</td>
|
<td>
|
<span id="SumOldMoney" runat="server"></span>
|
</td>
|
<td colspan="2">
|
<span id="SumAllMoney" runat="server"></span>
|
</td>
|
</tr>
|
</table>
|
<div id="page">
|
<uc:UCPager ID="UCPager1" runat="server" />
|
</div>
|
</div>
|
</form>
|
</div>
|
</body>
|
</html>
|