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




 









    
    <style>
        .rpt td {
         margin:5px; padding:5px; text-align:center
        }
    </style>
    
    <table class="rpt"  cellpadding="50px" cellspacing="5px" >
        <tr>
            <td>

<div class="thumbnail"   >

        <b>机器用途比</b>

        <div id="usetype" style="width:250px; height:250px; margin-left:50px; margin-top:50px;">
            <img src="images/loading.gif" />
        </div>
               </div>

            </td>



            <td>

<div class="thumbnail"   >

        <b>使用状态比</b>

        <div id="usestatus" style="width:250px; height:250px; margin-left:50px; margin-top:50px;">
            <img src="images/loading.gif" />
        </div>
               </div>

            </td>




            <td>




                <div class="thumbnail"   >

        <b>所属组织</b>

        <div id="belongto" style="width:250px; height:250px; margin-left:50px; margin-top:50px;">
            <img src="images/loading.gif" />
        </div>
               </div>




            </td>



        </tr>










         <tr>
            <td>

<div class="thumbnail"   >

        <b>各部门PC比</b>

        <div id="dept" style=" width:350px; height:250px;   margin-top:20px; ">
            <img src="images/loading.gif" />
        </div>
               </div>

            </td>



            <td>

<div class="thumbnail"   >

        <b>操作系统比</b>
     <div id="os" style=" width:350px; height:250px;   margin-top:20px;">
              <img src="images/loading.gif" />
        </div>
               </div>

            </td>




            <td>




                <div class="thumbnail"   >

        <b>Office版本比</b>

        <div id="office" style=" width:350px; height:250px;   margin-top:20px;">
            <img src="images/loading.gif" />
        </div>
               </div>




            </td>



        </tr>
















    </table>


 

           
 






    
    <script>

        $(document).ready( 
            function ()
            { 
                $.ajax({
                    url: "ajax/ajax_pc_reports_data.aspx",
                    data: { types: "usetype" },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) {                        
                        DrawPie(data, "usetype", "机器用途比")
                    }
                });
                  



                $.ajax({
                    url: "ajax/ajax_pc_reports_data.aspx",
                    data: { types: "usestatus" },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) {
                        DrawPie(data, "usestatus", "使用状态比")
                    }
                });



                $.ajax({
                    url: "ajax/ajax_pc_reports_data.aspx",
                    data: { types: "belongto" },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) {
                        DrawPie(data, "belongto", "所属组织比")
                    }
                });






                $.ajax({
                    url: "ajax/ajax_pc_reports_data.aspx",
                    data: { types: "dept" },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) {
                        DrawBars(data, "dept", "部门比率", true,false,"bar");
                     
                    }
                });




                $.ajax({
                    url: "ajax/ajax_pc_reports_data.aspx",
                    data: { types: "os" },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) {
                        DrawBars(data, "os", "操作系统比", true, false, "bar");
                        
                    }
                });

              
                


                $.ajax({
                    url: "ajax/ajax_pc_reports_data.aspx",
                    data: { types: "office" },
                    cache: false,
                    async: false,
                    dataType: 'json',
                    success: function (data) {
                        DrawBars(data, "office", "office版本比", true, false, "bar");

                    }
                });


            }

             

            );


    </script>
















     

















</asp:Content>
