<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendAllIntPrint.aspx.cs" Inherits="CY.WebForm.Pages.business.SendAllIntPrint" %>
|
|
<!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 PrintCheckStaffsList() {
|
var keyid = "";
|
$(".SelectCheck:checked").each(function (ii, vv) {
|
keyid = keyid + "," + $(vv).attr("value_cid");
|
});
|
if (keyid == "")
|
alertMsg("未选中任何员工");
|
else {
|
openWindowTransferData("/Pages/business/SendAllIntHtml.aspx", "Keyid", keyid);
|
}
|
}
|
$(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="PrintCheckStaffsList()" value="打印绩效" />
|
</td>
|
</tr>
|
</table>
|
</div>
|
<div>
|
<table class="tableStyle" useclick="false" usecheckbox="true" sortmode="true">
|
<tr>
|
<th width="25">
|
</th>
|
<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>
|
</tr>
|
<asp:Repeater ID="RepCustomerList" runat="server">
|
<ItemTemplate>
|
<tr>
|
<td>
|
<input type="checkbox" class="SelectCheck" value_cid="<%#Eval("StuffKeyId")%>" />
|
</td>
|
<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>
|
</ItemTemplate>
|
</asp:Repeater>
|
<tr class="StatisticsMoney">
|
<td colspan="3" 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>
|
<span id="value_NowAllMoney" runat="server"></span>
|
</td>
|
</tr>
|
<tr class="StatisticsMoney">
|
<td colspan="3" 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>
|
<span id="SumAllMoney" runat="server"></span>
|
</td>
|
</tr>
|
</table>
|
</div>
|
</form>
|
</div>
|
</body>
|
</html>
|