<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/Reporting.master" AutoEventWireup="true" CodeBehind="Reporting_satisfy.aspx.cs" Inherits="helpdesk.helpdesk.Reporting_satisfy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

 
      
    <div class="alert alert-danger">
    <b>说明：</b>此满意度仅依靠SLA作为依据。
    </div>



    请选择月份 <asp:DropDownList runat="server" ID="ddl_year" CssClass="inline form-control" Width=90px></asp:DropDownList>年 
       <asp:DropDownList runat="server" ID="ddl_month" CssClass="inline form-control" Width=90px></asp:DropDownList>月<asp:Button 
        ID="Button1" runat="server" CssClass="btn btn-primary btn-sm" onclick="Button1_Click" Text="查询" />

    <div style="display:none">
        <asp:Label runat="server" ClientIDMode="Static"  ID="lbl_dt1"></asp:Label>
         <asp:Label runat="server" ClientIDMode="Static"  ID="lbl_dt2"></asp:Label>
         <asp:Label runat="server" ClientIDMode="Static"  ID="lbl_dt3"></asp:Label>

    </div>

    <br />  <br />  <br />


    <b>最近3个月满意度对比图</b>
     <br /> <br />
    <table>
        <tr>
            <td style="width:350px">
 <div id="div_sat_1" style="   width:250px; height:300px;"><img src="Images/loading.gif" />  数据加载中</div>
            </td>

            <td  style="width:350px">
                <div id="div_sat_2" style="   width:250px; height:300px;"><img src="Images/loading.gif" />  数据加载中</div>

            </td>

            <td  style="width:350px">
                <div id="div_sat_3" style="   width:250px; height:300px;"><img src="Images/loading.gif" />  数据加载中</div>

            </td>
        </tr>

    </table>









    <script>

        function strToJson(str) {
            var json = eval('(' + str + ')');
            return json;
        }
      
        var pie3 = strToJson($("#lbl_dt3").html());
        var pie2 = strToJson($("#lbl_dt2").html());
        var pie1 = strToJson($("#lbl_dt1").html());
       
    
         DrawPie(pie3, "div_sat_3", '');
        DrawPie(pie2, "div_sat_2", '');
        DrawPie(pie1, "div_sat_1", '');

    </script>
</asp:Content>
