市长热线演示版

ExecutionEfficiency.aspx 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExecutionEfficiency.aspx.cs"
  2. Inherits="HySoft.BaseCallCenter.Web.reportmanage.ExecutionEfficiency" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head runat="server">
  6. <title>工单流程执行效率</title>
  7. <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  8. <link href="../../images/style.css" rel="stylesheet" type="text/css" />
  9. <script src="../../scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
  10. <script src="../../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
  11. <script src="../../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
  12. <script type="text/javascript">
  13. $(function () {
  14. setdictionary("txtType", "hiddtype", "bxlx");
  15. setdictionary("txtLevel", "hiddlevel", "bxjb");
  16. });
  17. function setdictionary(obj, resobj, type) {
  18. $("#" + obj).ligerComboBox({
  19. isShowCheckBox: true,
  20. isMultiSelect: true,
  21. width: 80,
  22. url: 'ajax/getdictionaryvaluelist.ashx?action=getdictionary&type=' + type,
  23. valueField: '_f_dictionaryvalueid',
  24. textField: '_f_name',
  25. valueFieldID: resobj
  26. });
  27. }
  28. function btnSetValue() {
  29. $("#hidType").val($("#hiddtype").val());
  30. $("#hidLevel").val($("#hiddlevel").val());
  31. }
  32. function getdictionary(type) {
  33. var json;
  34. $.ajax({
  35. type: "get",
  36. url: "ajax/getdictionaryvaluelist.ashx?action=getdictionary&type=" + type,
  37. async: false,
  38. success: function (data, states) {
  39. if (states == "success") {
  40. json = data;
  41. }
  42. }
  43. });
  44. return json;
  45. }
  46. </script>
  47. <%--wbx 5-7 打印--%>
  48. <script type="text/javascript">
  49. function preview() {
  50. bdhtml = window.document.body.innerHTML;
  51. sprnstr = "<!--startprint-->";
  52. eprnstr = "<!--endprint-->";
  53. prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
  54. prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
  55. window.document.body.innerHTML = prnhtml;
  56. window.print();
  57. window.document.body.innerHTML = bdhtml;
  58. }
  59. </script>
  60. </head>
  61. <body>
  62. <form id="form1" runat="server">
  63. <div class="tools_box">
  64. <div class="tools_bar">
  65. <div class="search_box">
  66. <div style="float:left">开始时间:<asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="80px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp; </div>
  67. <div style="float:left">结束时间:<asp:TextBox ID="txtEndTime" runat="server" CssClass="txtInput" Width="80px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox>&nbsp;&nbsp; </div>
  68. <div style="float:left"><div style="float:left">报修类型:</div><div style="float:left"><asp:TextBox ID="txtType" runat="server"></asp:TextBox> </div>&nbsp;&nbsp; </div>
  69. <div style="float:left"><div style="float:left">报修级别:</div><div style="float:left"><asp:TextBox ID="txtLevel" runat="server"></asp:TextBox></div>&nbsp;&nbsp; </div>
  70. <div style="float:left"><asp:Button ID="btnConfirm" runat="server" class="btnSearch" Text="搜索" OnClientClick="btnSetValue()" OnClick="btnConfirm_Click" />&nbsp;&nbsp; </div>
  71. <div style="float:left"><asp:Button ID="btnExport" runat="server" class="btnSearch" Text="导出" onclick="btnExport_Click"/> </div>
  72. <div style="float:left"><input id="btnPrint" type="button" value="打印" class="btnSearch" onclick="preview();" /> </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div>
  77. <%--<%=TableTitle%>
  78. <br />
  79. <%=TableOne%>
  80. <br />
  81. <h4 style="text-align: center">
  82. 表&nbsp;一</h4>
  83. <br />
  84. <br />
  85. <%=TableTwo%>
  86. <br />
  87. <h4 style="text-align: center">
  88. 表&nbsp;二</h4>
  89. <br />--%>
  90. <asp:HiddenField ID="hidType" runat="server" />
  91. <asp:HiddenField ID="hidLevel" runat="server" />
  92. <!--startprint-->
  93. <%=TableHtml %>
  94. <!--endprint-->
  95. <br/>
  96. <h4>
  97. 注:默认显示当月1号0:00:00至当日23:59:59的数据,查询的工单是在当前时间段已经结单,无论是否派到工程师。</h4>
  98. </div>
  99. </form>
  100. </body>
  101. </html>