<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manamger_repairquery.aspx.cs" Inherits="Web.m.wx.manamger_repairquery" %>

<!DOCTYPE html>

<html>
<head id="Head1" runat="server">
    <title>OA标题页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link type="text/css" rel="stylesheet" href="/css/reset.css" />
<link type="text/css" rel="stylesheet" href="/css/base.css" />
<script type="text/javascript" src="/js/jquery.min.js"></script>
<style type="text/css">
   #newsArticle img{width:100%!important;height:auto!important;max-width:640px;}
  </style>
</head>
<body class="bg2">
    <form id="fom" runat="server">
    <section id="container">
    <div class="space-10"></div>
    <section class="bg-fff pad9 marLR9 opacity summary">
      <h3 class="color-black bold lineH17 padLR3"> 
      <!--此处添加标题（小字）-->
      <asp:Label ID="lbbiaoti" runat="server" ></asp:Label> 
      	</h3>
    <div class="space-30"></div>
        <h2 class="f17 color-black lineH22 padLR3">
        <!--此处添加标题（大字）-->
         <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="manager_processing.aspx">业务处理</asp:HyperLink>
                &nbsp; <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="manager_repairreport_staff.aspx" >报修录入</asp:HyperLink>
                &nbsp; <asp:HyperLink ID="HyperLink3" runat="server"  ForeColor="#339966" NavigateUrl="manamger_repairquery.aspx" >查询</asp:HyperLink>
          </h2>
        <div class="padLR3 oh"><span class="fr pointer fontSize" id="fontSize">大字</span></div>
        <article class="newsArticle" id="newsArticle">

            <div class="color-black padLR6 marB5">
   <!--此处添加正文-->
                          <div  class ="rh25 " style ="text-align :left ;">
维修人员：<asp:DropDownList ID="ddlRepairman" runat="server" AutoPostBack="True" 
                          onselectedindexchanged="btnQuery2_Click">
                      </asp:DropDownList> &nbsp;报修人：<asp:TextBox ID="tbStaff" runat="server" ValidationGroup="checked"> </asp:TextBox>
                      <asp:Button ID="btQuery2" runat="server" onclick="btnQuery2_Click" Text="查询" ValidationGroup="cha" />    </div>
   
              <div class ="rh25 " style ="text-align :center ;">
              <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
            ControlToValidate="tbStaff" Display="Dynamic" ErrorMessage="输入的人员编号或姓名不对！" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="num2" ForeColor="Red"></asp:RegularExpressionValidator>
                   <asp:Label ID="lbInfo" runat="server" ForeColor="Red"></asp:Label>
               </div> 
  
                  <asp:Panel ID="Panelview" runat ="server" >
                       <div style ="text-align :center "> </div>
               <asp:DataList ID="DataList1" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333" OnItemCommand="DataList1_ItemCommand">
                   <AlternatingItemStyle BackColor="White" />
                   <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <ItemStyle BackColor="#E3EAEB" />
                   <ItemTemplate>

                   <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
                   <tr>
                   <td class ="rh25 " style =" width:76px;">报修编号</td>
                   <td class ="rh25 "><asp:Label ID="Labela1" runat="server" Text='<%# Bind("id") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   <tr>
                   <td class ="rh25 ">申报人编号</td>
                   <td class ="rh25 "><asp:Label ID="Label12" runat="server" Text='<%# Bind("staffid") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   <tr>
                   <td class ="rh25 ">姓名</td>
                   <td class ="rh25 "><asp:Label ID="Label13" runat="server" Text='<%# Bind("staff") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   <tr>
                   <td class ="rh25 ">部门</td>
                   <td class ="rh25 "><asp:Label ID="Label6" runat="server" Text='<%# Bind("department") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   <tr>
                   <td class ="rh25 ">提交时间</td>
                   <td class ="rh25 "><asp:Label ID="Label7" runat="server" Text='<%# Bind("reportdate") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   <tr>
                   <td class ="rh25 ">问题</td>
                   <td class ="rh25 "><asp:Label ID="Label8" runat="server" Text='<%# Bind("trouble") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   <tr>
                   <td class ="rh25 ">处理状态</td>
                   <td class ="rh25 "><asp:Label ID="Label9" runat="server" Text='<%# Bind("repairstate") %>'></asp:Label>&nbsp;</td>
                   </tr>
                
                   <tr>
                   <td class ="rh25 ">办理人</td>
                   <td class ="rh25 "> <asp:Label ID="Label3" runat="server" Text='<%# Bind("managername") %>'   ></asp:Label>&nbsp;
                       <asp:Label ID="Label1" runat="server" Text='<%# Bind("managerid") %>'   ></asp:Label></td>
                   </tr>

                   <tr>
                   <td class ="rh25 ">操作</td>
                   <td class ="rh25 "> 
                   <asp:Button ID="Button1" runat="server" Text="查看" CausesValidation="False" CommandName="Select"></asp:Button>
                   <asp:Label ID="folder" runat="server" Text='<%# Bind("folder") %>'  Visible ="false"  ></asp:Label>
                   <asp:Label ID="attachment" runat="server" Text='<%# Bind("attachment") %>'  Visible ="false"  ></asp:Label>
                   </td>
                   </tr>
                   </table> 
                   <div class ="space-10 "></div>
                   </ItemTemplate>
                    
                </asp:DataList>
                      </asp:Panel> 

                     <asp:Panel ID ="PanelEdit" runat ="server" Visible ="false" >                          
                     <div  class ="gv2row ">
                         报修编号：<asp:Label ID="lbId" runat="server" ></asp:Label>
                         报修人：   <asp:Label ID="lbStaffname" runat="server"></asp:Label>
                         报修提交时间：<asp:Label ID="lbDate" runat="server" ></asp:Label>
                        <asp:Label ID="lbState" runat="server" Visible ="false" ></asp:Label>
                        <asp:Label ID="lbStaffid" runat="server" Visible="false"></asp:Label>
                        <asp:Label ID="lbRepairmanid" runat="server" Visible="false"></asp:Label>
                        </div> 
                        <div  class ="gv2row ">报修内容：<asp:Label ID="lbTrouble" runat="server" ></asp:Label> </div>
                         <div><asp:Image ID="Imagetitle" runat="server" /></div>

                      <asp:DataList ID="DataList2" runat="server" Width="100%" OnItemDataBound="DataList2_ItemDataBound">
                <AlternatingItemStyle CssClass="gv2row_AlternatingItemStyle" />
              <ItemTemplate>
              <div  class ="gv2row ">
                <div><asp:Label ID="lbDate" runat="server" Text='<%# Bind("repairdate") %>'></asp:Label>&nbsp;
                    <asp:Label ID="Label11" runat="server" Text='<%# Bind("staffname") %>'></asp:Label>：
                    <asp:Label ID="Label13" runat="server" Text='<%# Bind("details") %>'></asp:Label>
                    <asp:Label ID="folder" Visible ="false"  runat="server" Text='<%# Bind("folder") %>'></asp:Label>
                    <asp:Label ID="attachment" runat="server" Visible ="false"  Text='<%# Bind("attachment") %>'></asp:Label>
                </div> 
                  <div><asp:Image ID="Image1" runat="server" /></div>
                </ItemTemplate>
          </asp:DataList>
          <div >
                  <div style ="text-align :center ;padding-right :20px">    <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" CausesValidation="False" /></div>
                </asp:Panel>
       
   <!--正文结束-->     
           </div>
        </article>
            <div class="space-20"></div>
        <div class="space-30">
                <div class="mhome">
                    <asp:ImageButton ID="imgBHome" runat="server" ImageUrl="/css/images/home.png" 
                        Height="30px" Width="30px" onclick="imgBHome_Click"></asp:ImageButton></div>
        <div  class ="mexit">
            <asp:ImageButton ID="imgBExit" runat="server" ImageUrl="/css/images/exit.png" 
                Height="30px" Width="30px" onclick="imgBExit_Click"></asp:ImageButton></div>
        </div>
    
    </section><!--summary end-->
    <div class="space-20"></div>
</section><!--container end-->
<script type="text/javascript" src="/js/base.js"></script>
        </form>
    </body>
</html>
