<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Basic.Master" AutoEventWireup="true" CodeBehind="Qywx_Dept_Users.aspx.cs" Inherits="helpdesk.Admin.Qywx_Dept_Users" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">


     <a href="###" class="mylink" onclick="Pop('UserTb_qywx.aspx',600,500,'把企业微信账户同步到本系统')">一键同步企业微信</a>
    <hr />

    
      关键字：<asp:TextBox runat="server" ID="txt_key" Width="280px"  CssClass="layui-input" style="display:inline-block"></asp:TextBox> 
     
     <asp:Button runat="server" ID="btn_search" Text="查询" CssClass="layui-btn layui-btn-sm" OnClick="btn_search_Click" />

    <hr />

     <asp:ListView ID="ListView1" runat="server"  
          OnPagePropertiesChanging="ListView1_PagePropertiesChanging" 
          
          >
          
     
          
        <LayoutTemplate>
         
                        <table id="tbl_users"  style="font-size:12px; font-family:Verdana" class="layui-table  ">
                            <tr   >
                                  
                          
                                  <th   width="100px" >登录名</th>
                                  <th  width="120px" >显示名</th>
                                  <th  width="130px" >电话</th>
                                  <th   width="150px">邮件</th>  
                                  <th   width="120px" >办公室</th>
                                  <th   width="220px">部门</th> 
                                 
                            </tr>
                            <tr id="itemPlaceholder" runat="server">
                            </tr>
                        </table>
                   
        </LayoutTemplate>
        
         <ItemTemplate>
            <tr   data-id='<%# Eval("username") %>'  >
                 

                <td>
                      <%# Eval("username") %>
                </td>
                <td>
                  <%# Eval("displayname") %>
                </td>

                <td>
                  <%# Eval("tel") %>
                </td>

                
                 
                 

                  

                  <td>
                    <%# Eval("email") %>
                </td>

                  <td>
              
             <%# Eval("office") %>
                </td>

                  <td>
              
             <%# Eval("oudept") %>
                </td>

               
            </tr>
        </ItemTemplate>

         
</asp:ListView>
      
        




    
        

 <div  class="paging"  >

 <asp:DataPager ID="DataPager1" 
      class="layui-box layui-laypage layui-laypage-default"  
       
     PagedControlID="ListView1" runat="server" PageSize=10>
 <Fields>
            
        <asp:NextPreviousPagerField 
                PreviousPageText="上一页" 
                FirstPageText="|<" 
                ShowPreviousPageButton="true"
                ShowFirstPageButton="false" 
                ShowNextPageButton="false" 
                ShowLastPageButton="false"
                ButtonCssClass="btn btn-default" 
                RenderNonBreakingSpacesBetweenControls="false" 
                RenderDisabledButtonsAsLabels="false" />


           <asp:NumericPagerField  
                ButtonType="Link" 
                CurrentPageLabelCssClass="currentpage"  
                RenderNonBreakingSpacesBetweenControls="false" 
              
                ButtonCount="10" 
                NextPageText="..." 
               />

     

     <asp:NextPreviousPagerField  
               NextPageText="下一页" 
               LastPageText=">|" 
               ShowNextPageButton="true"
               ShowLastPageButton="false" 
               ShowPreviousPageButton="false" 
               ShowFirstPageButton="false"
              
               RenderNonBreakingSpacesBetweenControls="false" 
               RenderDisabledButtonsAsLabels="false"/>
      

  </Fields> 
</asp:DataPager>
</div>

  
  
  




     



</asp:Content>
