<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CallInPerson.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.reportmanage.dataanalysis.CallInPerson" %>

<!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 runat="server">
    <title>来电人员性质分布</title>
    <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../../images/style.css" rel="stylesheet" type="text/css" />
    <script src="../../scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
    <script src="../../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <%--wbx 5-7 打印--%>
    <script type="text/javascript">
        function preview() {
            bdhtml = window.document.body.innerHTML;
            sprnstr = "<!--startprint-->";
            eprnstr = "<!--endprint-->";
            prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
            prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
            window.document.body.innerHTML = prnhtml;
            window.print();
            window.document.body.innerHTML = bdhtml;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="tools_box">
        <div class="tools_bar">
            <div class="search_box">
                开始时间：<asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="80px"
                    onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp; 结束时间：<asp:TextBox
                        ID="txtEndTime" runat="server" CssClass="txtInput" Width="80px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp;
                <asp:Button ID="btnConfirm" runat="server" class="btnSearch" Text="搜索" OnClick="btnConfirm_Click" />&nbsp;&nbsp;
                <asp:Button ID="btnExport" runat="server" class="btnSearch" Text="导出" OnClick="btnExport_Click" />
                <input id="btnPrint" type="button" value="打印" class="btnSearch" onclick="preview();" />
            </div>
        </div>
    </div>
    <div>
        <!--startprint-->
        <%=TableHtml %>
        <!--startprint-->
        <br />
        <h4>
            注：默认显示当月1号0：00：00至当日23：59：59的数据,查询的工单是在当前时间段创建的工单，如果创建工单时报修人性质选择空，则默认归类到一线技术员</h4>
    </div>
    </form>
</body>
</html>
