| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Urge_Report.aspx.cs" Inherits="Urge_Report"
- ValidateRequest="false" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head id="Head1" runat="server">
- <title>催单统计</title>
- <base target="_self" />
- <link href="../_common/styles/global.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/dialogs.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/select.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/form.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/controls.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/nav.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/menu.css" type="text/css" rel="stylesheet">
- <link href="../_common/styles/tabs.css" type="text/css" rel="stylesheet">
- <script language="javascript" src="../_common/scripts/global.js"></script>
- <script language="javascript" src="../_common/scripts/windowinformation.js"></script>
- <script language="javascript" src="../_common/scripts/Util.js"></script>
- <script language="javascript" src="../_grid/action.js"></script>
- <script src="../_common/scripts/calendar.js" type="text/javascript"></script>
- <script type="text/javascript" language="javascript" src="../_javascripts/globalctrl.js"></script>
- <script src="../_javascripts/JS/print_function.js" type="text/javascript"></script>
- <style type="text/css">
- .wbox
- {
- width: 100%;
- height: 100%;
- border: 1px solid #849bba;
- background: #FFF;
- padding: 1px;
- }
- .lbox
- {
- width: 100%;
- height: 100%;
- padding-bottom: 4px;
- padding-left: 4px;
- padding-right: 4px;
- background: #c6d4e4;
- }
- .tbox
- {
- height: 25px;
- color: #15428b;
- font-size: 14px;
- cursor: move;
- margin: 0px;
- padding: 0px;
- padding-left: 5px;
- line-height: 25px;
- overflow: hidden;
- }
- .tbox img
- {
- float: right;
- margin-right: 3px;
- margin-top: 5px;
- top: -28px;
- position: relative;
- }
- .nrbox
- {
- width: 100%;
- height: auto;
- border: 1px solid #849bba;
- background: #dfe8f6;
- margin: 0px auto;
- }
- .wdate
- {
- border-bottom: #999 1px solid;
- border-left: #999 1px solid;
- background: url(../Scripts/My97DatePicker/skin/datePicker.gif) #fff no-repeat right 50%;
- height: 20px;
- border-top: #999 1px solid;
- border-right: #999 1px solid;
- }
- .ddl
- {
- border-bottom: #999 1px solid;
- border-left: #999 1px solid;
- height: 20px;
- border-top: #999 1px solid;
- border-right: #999 1px solid;
- }
- </style>
- <style type="text/css">
- .formtabletitle
- {
- height: 25px;
- background-color: #D5EDFE;
- border: 1px solid #CCCCCC;
- padding: 3px 3px 3px 3px;
- text-align: center;
- }
- .formtabletitle1
- {
- height: 25px;
- background-color: #D5EDFE;
- border-left: 0px solid #FFFFFF;
- border-right: 1px solid #CCCCCC;
- border-top: 1px solid #CCCCCC;
- border-bottom: 1px solid #CCCCCC;
- padding: 3px 3px 3px 3px;
- text-align: center;
- }
- .formtabletitle2
- {
- height: 25px;
- background-color: #D5EDFE;
- border-left: 0px solid #FFFFFF;
- border-right: 1px solid #CCCCCC;
- border-top: 0px solid #FFFFFF;
- border-bottom: 1px solid #CCCCCC;
- padding: 3px 3px 3px 3px;
- text-align: center;
- }
- .formtabletitle3
- {
- height: 25px;
- background-color: #D5EDFE;
- border-left: 1px solid #CCCCCC;
- border-right: 1px solid #CCCCCC;
- border-top: 0px solid #CCCCCC;
- border-bottom: 1px solid #CCCCCC;
- padding: 3px 10px 3px 2px;
- text-align: center;
- }
- .formtable_td
- {
- border-top: 0px solid #CCCCCC;
- border-bottom: 1px solid #CCCCCC;
- border-left: 1px solid #CCCCCC;
- border-right: 1px solid #CCCCCC;
- padding-left: 2px;
- height: 25px;
- padding-top: 3px;
- padding-bottom: 3px;
- background-color: #ffffff;
- }
- .formtable_td1
- {
- border-top: 0px solid #CCCCCC;
- border-bottom: 1px solid #CCCCCC;
- border-left: 0px solid #CCCCCC;
- border-right: 1px solid #CCCCCC;
- padding-left: 2px;
- height: 25px;
- padding-top: 3px;
- padding-bottom: 3px;
- }
- .formtable_td2
- {
- border-bottom: 1px solid #CCCCCC;
- padding-left: 2px;
- height: 25px;
- padding-top: 3px;
- padding-bottom: 3px;
- }
- </style>
- <script language="javascript" type="text/javascript">
- var divmark = "";
- divmark += "<div id=\"divLock\" style=\"z-index:1;background-color:#AAA;filter:alpha(opacity=50);position: absolute;width:expression(this.parentNode.scrollWidth);top:expression(this.parentNode.scrollTop); left:0; height:100%;right:0; bottom:0; display:none;\"></div>";
- divmark += "<div id=\"divMessageBox\" onmousedown=\"MM_dragLayer('divMessageBox','',0,0,0,0,true,false,-1,-1,-1,-1,false,false,0,'',false,'')\" style=\"display:none;position: absolute;top:expression(this.parentNode.scrollHeight/2-100);left:expression(this.parentNode.scrollWidth/2-100);z-index:2;\">";
- divmark += "<div class=\"wbox\"><div class=\"lbox\"><h1 class=\"tbox\"><span id=\"spanTitle\"></span><img src=\"../_images/dialogclose.gif\" style=\"cursor:hand;\" onclick=\"MessageBoxClose();\" /></h1>";
- divmark += "<div id=\"divContent\" class=\"nrbox\"></div></div></div></div>";
- document.write(divmark);
- </script>
- <script type="text/javascript">
- document.onkeyup = click;
- function click() {
- if (event.keyCode == 13) {
- document.all("btnSelect").click();
- }
- }
- function OpenMessage(strid, strtitle, strmessage, strwidth, btnstyle, _height) {
- var btnstr = "";
- switch (btnstyle) {
- case 0:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();'>确 定</button></div>";
- break;
- case 1:
- btnstr = "<br /><div style='padding-bottom:15px; text-align:center;'><img alt='加载数据中' style='width:180px;' src='../_imgs/inprogress.gif'></div><br />";
- break;
- case 2:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();pagination(1);'>确 定</button></div>";
- break;
- case 3:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();LoadingData();'>确 定</button></div>";
- break;
- case 4:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();DeleteOpt();'>确 定</button> <button style='width: 65px;' onclick='MessageBoxClose();'>取 消</button></div>";
- break;
- default:
- break;
- }
- if (_height != null) {
- strmessage = "<div style='padding:0px;'>" + strmessage + "</div>" + btnstr;
- document.getElementById("divMessageBox").style.height = _height;
- }
- else {
- strmessage = "<div style='padding:10px;'>" + strmessage + "</div>" + btnstr;
- document.getElementById("divMessageBox").style.height = 50;
- _height = 120;
- }
- document.getElementById("spanTitle").innerHTML = strtitle;
- document.getElementById("divContent").innerHTML = strmessage;
- document.getElementById("divMessageBox").style.width = strwidth;
- try {
- document.getElementById("divMessageBox").style.top = (document.body.clientHeight - _height) / 2;
- document.getElementById("divMessageBox").style.left = (document.body.clientWidth - strwidth) / 2;
- }
- catch (e)
- { }
- document.getElementById("divLock").style.display = "block";
- document.getElementById("divMessageBox").style.display = "block";
- }
- function OpenWindowPage(_title, _id, _width, _height, _url) {
- var html = "<iframe id='" + _id + "' src='" + _url + "' style='width:100%; height:" + _height + ";'></iframe>";
- OpenMessage(_id, _title, html, _width, -1, _height);
- }
- function MessageBoxClose() {
- document.getElementById("divLock").style.display = "none";
- document.getElementById("divMessageBox").style.display = "none";
- }
- function CloseWindowPage(type) {
- MessageBoxClose();
- }
-
- </script>
- <script>
- var _searchitems;
- function Init() {
- LoadingData();
- }
- function GetSearchOperationsObj() {
- _searchitems = new Array;
- _searchitems[0] = document.getElementById("txtBeginDate").value;
- _searchitems[1] = document.getElementById("txtEndDate").value;
- _searchitems[2] = document.getElementById("hfQX").value;
- _searchitems[3] = document.getElementById("hfDeptId").value;
- }
- function LoadingData() {
- try {
- GetSearchOperationsObj();
- OpenMessage('framemessage', '加载数据', '正在读取数据...', 220, 1);
- Urge_Report.GetReportTable(_searchitems, DataBand_callback1);
- }
- catch (e) { }
- }
- function DataBand_callback1(res) {
- document.getElementById("divDataItems").innerHTML = res.value;
- document.getElementById("hfInfo").value = res.value;
- res = null;
- MessageBoxClose()
- }
-
-
- </script>
- </head>
- <body onload="Init();">
- <form id="form1" runat="server">
- <asp:HiddenField ID="hfInfo" runat="server" />
- <asp:HiddenField ID="hfQX" runat="server" />
- <asp:HiddenField ID="hfDeptId" runat="server" />
- <table class="stdTable" cellspacing="0" cellpadding="0">
- <colgroup>
- <col width="200">
- <col>
- </colgroup>
- <tbody>
- <tr height="30">
- <td colspan="2">
- <table cellspacing="0" cellpadding="0" width="100%">
- <tbody>
- <tr>
- <td>
- <table class="actionBar" id="mnuBar1" cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <td class="icMenu" nowrap align="left" style="cursor: default; height: 30px;">
- 回访统计
- </td>
- <td width="50%">
- <table class="stdTable">
- <tbody>
- <tr>
- <td class="mnuTitle mnuRight">
- <nobr class="mnuTitle" id="mnuTitle"><object ID='webprint' WIDTH=0 HEIGHT=0 CLASSID='CLSID:8856F961-340A-11D0-A96B-00C04FD705A2'></object>
- <input id="Button1" type="button" value="打印" onClick="do_print();" class="btn" />
-
- <asp:Button ID="btnExtWord" runat="server" Text="导出Excel" CssClass="btn"
- onclick="btnExtWord_Click" />
- </nobr>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr height="100%">
- <td colspan="2">
- <table class="stdTable" style="background-color: #DBEBF8" cellspacing="0" cellpadding="0">
- <colgroup>
- <col width="200">
- <col>
- </colgroup>
- <tbody>
- <tr>
- <td style="padding-right: 1px; border-top: #A0A2AF 1px solid; padding-left: 1px;
- padding-bottom: 1px; border-left: #A0A2AF 1px solid; padding-top: 0px; border-bottom: #A0A2AF 1px solid">
- <table id="main" height="100%" cellspacing="0" cellpadding="1" width="100%">
- <tbody>
- <tr valign="top">
- <td>
- <div class="tab" id="searchDiv" style="display: inline">
- <table cellspacing="3" cellpadding="0" width="100%">
- <tr style="height: 28px;">
- <td>
- 开始日期: <input id="txtBeginDate" class="Wdate" type="text" style="width: 90px;"
- onfocus="calendar();" runat="server" />
- </td>
- </tr>
- <tr style="height: 28px;">
- <td>
- 结束日期: <input id="txtEndDate" type="text" class="Wdate" style="width: 90px;"
- onfocus="calendar();" runat="server" />
- </td>
- </tr>
- <tr style="height: 28px;">
- <td align="right">
- <button title="搜索" style="width: 55px;" onclick="LoadingData();" class="btn" tabindex="5"
- id="btnSelect">
- 搜索</button>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- <td style="padding-right: 1px; border: #A0A2AF 1px solid; padding-left: 1px; padding-bottom: 1px;
- background-color: White; padding-top: 0px;">
- <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
- <tr>
- <td style="height: 100%; overflow-y: auto; scrollbar-face-color: #DBEBFE; scrollbar-shadow-color: #B8D6FA;
- scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #DBEBFE; scrollbar-darkshadow-color: #458CE4;
- scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #458CE4;" valign="top">
- <div style="border-right: #32A7D9 2px solid; border-top: #32A7D9 0px solid; border-left: #32A7D9 2px solid;
- border-bottom: #32A7D9 2px solid; height: 450px; padding: 10px 5px;">
- <div id="tab0" style="display: inline; height: 375px;">
- <div id="Div1" style="width: 100%; height: 375px; text-align: center; cursor: text;
- overflow-y: auto; scrollbar-face-color: #DBEBFE; scrollbar-shadow-color: #B8D6FA;
- scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #DBEBFE; scrollbar-darkshadow-color: #458CE4;
- scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #458CE4;" runat="server">
- <!--startprint-->
- <div id="divDataItems" runat="server">
- </div>
- <!--endprint-->
-
- </div>
- </div>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </form>
- </body>
- </html>
|