| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExecutionEfficiency.aspx.cs"
- Inherits="HySoft.BaseCallCenter.Web.reportmanage.ExecutionEfficiency" %>
- <!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>
- <script type="text/javascript">
- $(function () {
- setdictionary("txtType", "hiddtype", "bxlx");
- setdictionary("txtLevel", "hiddlevel", "bxjb");
- });
- function setdictionary(obj, resobj, type) {
- $("#" + obj).ligerComboBox({
- isShowCheckBox: true,
- isMultiSelect: true,
- width: 80,
- url: 'ajax/getdictionaryvaluelist.ashx?action=getdictionary&type=' + type,
- valueField: '_f_dictionaryvalueid',
- textField: '_f_name',
- valueFieldID: resobj
- });
- }
- function btnSetValue() {
- $("#hidType").val($("#hiddtype").val());
- $("#hidLevel").val($("#hiddlevel").val());
- }
- function getdictionary(type) {
- var json;
- $.ajax({
- type: "get",
- url: "ajax/getdictionaryvaluelist.ashx?action=getdictionary&type=" + type,
- async: false,
- success: function (data, states) {
- if (states == "success") {
- json = data;
- }
- }
- });
- return json;
- }
- </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">
- <div style="float:left">开始时间:<asp:TextBox ID="txtStartTime" runat="server" CssClass="txtInput" Width="80px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox> </div>
- <div style="float:left">结束时间:<asp:TextBox ID="txtEndTime" runat="server" CssClass="txtInput" Width="80px" onfocus="WdatePicker({skin:'whyGreen'})"></asp:TextBox> </div>
- <div style="float:left"><div style="float:left">报修类型:</div><div style="float:left"><asp:TextBox ID="txtType" runat="server"></asp:TextBox> </div> </div>
- <div style="float:left"><div style="float:left">报修级别:</div><div style="float:left"><asp:TextBox ID="txtLevel" runat="server"></asp:TextBox></div> </div>
- <div style="float:left"><asp:Button ID="btnConfirm" runat="server" class="btnSearch" Text="搜索" OnClientClick="btnSetValue()" OnClick="btnConfirm_Click" /> </div>
- <div style="float:left"><asp:Button ID="btnExport" runat="server" class="btnSearch" Text="导出" onclick="btnExport_Click"/> </div>
- <div style="float:left"><input id="btnPrint" type="button" value="打印" class="btnSearch" onclick="preview();" /> </div>
- </div>
- </div>
- </div>
- <div>
- <%--<%=TableTitle%>
- <br />
- <%=TableOne%>
- <br />
- <h4 style="text-align: center">
- 表 一</h4>
- <br />
- <br />
- <%=TableTwo%>
- <br />
- <h4 style="text-align: center">
- 表 二</h4>
- <br />--%>
- <asp:HiddenField ID="hidType" runat="server" />
- <asp:HiddenField ID="hidLevel" runat="server" />
- <!--startprint-->
- <%=TableHtml %>
- <!--endprint-->
- <br/>
- <h4>
- 注:默认显示当月1号0:00:00至当日23:59:59的数据,查询的工单是在当前时间段已经结单,无论是否派到工程师。</h4>
- </div>
- </form>
- </body>
- </html>
|