<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="repairreport.aspx.cs" Inherits="Web.m.wx.repairreport" %>
<!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-10"></div>
        <h2 class="f17 color-black bold lineH22 padLR3">
        <!--此处添加标题（大字）-->
            网络报修
        </h2>
        <div class="padLR3 oh"><span class="fr pointer fontSize" id="fontSize">大字</span></div>
        <article class="newsArticle" id="newsArticle">
            <div class="tc onePic">
          </div>
            <p class="color-black padLR6 marB5">
   <!--此处添加正文-->
                     <asp:Panel ID="Panelview" runat ="server" >
       <asp:Label ID="lbInfo" runat="server" ForeColor="Red"></asp:Label> 
               <asp:DataList ID="DataList1" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333" OnItemCommand="DataList1_ItemCommand" OnItemDataBound="DataList1_ItemDataBound">
                   <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:80px;">提交时间</td>
                   <td class ="rh25 "><asp:Label ID="Labela1" runat="server" Text='<%# Bind("reportdate") %>'></asp:Label>&nbsp;</td>
                   </tr>
                   
                   <tr>
                   <td class ="rh25 ">问题描述</td>
                   <td class ="rh25 "><asp:Label ID="Label12" runat="server" Text='<%# Bind("trouble") %>'></asp:Label>&nbsp;</td>
                   </tr>

                   <tr>
                   <td class ="rh25 ">状态</td>
                   <td class ="rh25 "><asp:Label ID="Label13" runat="server" Text='<%# Bind("repairstate") %>'></asp:Label>&nbsp;</td>
                   </tr>

                   <tr>
                   <td class ="rh25 ">最新更新</td>
                   <td class ="rh25 ">
                                          <asp:Label ID="lbupstaffname" runat="server" Text='<%# Bind("最后更新") %>'></asp:Label>&nbsp;
                                          <asp:Label ID="lbUpdate" runat="server" Text='<%# Bind("更新时间") %>'></asp:Label>
                                          <asp:Label ID="lbupstaffid" runat="server" Text='<%# Bind("upstaffid") %>'  Visible="False"></asp:Label>
                                          <asp:Label ID="lbNew" runat="server" Text='（新）' Font-Bold="True" ForeColor="Red" Visible="False"></asp:Label>


                   </td>
                   </tr>
      
                                      <tr>
                   <td class ="rh25 ">操作</td>
                   <td class ="rh25 "> 
                   <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Select" Text="查看"  ></asp:LinkButton>&nbsp;
                   <asp:Label ID="Label4" runat="server" Text='<%# Bind("id") %>'  Visible ="false"  ></asp:Label>   <asp:Label ID="Label1_ev" runat="server" Text='<%# Bind("evaluate") %>'  Visible ="false"  ></asp:Label>&nbsp;
                   
                   </td>
                   </tr>
                   </table> 
                   <div class ="space-10 "></div>
                       
                   </ItemTemplate>
                   <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                </asp:DataList>


       <div style ="width :100%"> <asp:TextBox ID="TextBox1" runat="server" Width="100%" Rows="5" TextMode="MultiLine"></asp:TextBox></div> 
      <div>    <asp:Label ID="lbNote" runat="server" Text=""></asp:Label></div>
       <div  style ="text-align :center; width :100%; margin-bottom :10px; margin-top :10px; "> 
           <asp:Button ID="btAddGuestbook" runat="server" onclick="btAddGuestbook_Click" Text="提交报修" 
                ValidationGroup="AddJilu" CssClass="rh25" />
        <div  style ="text-align :center; width :100%; margin-bottom :10px; margin-top :10px; "> 
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                              ControlToValidate="TextBox1" Display="Dynamic" 
                            ErrorMessage="内容不能为空。" ValidationGroup="AddJilu" 
                Font-Size="Small" ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" 
                runat="server" ControlToValidate="TextBox1" Display="Dynamic" 
                ErrorMessage="不能超过200个字" Font-Size="Small" 
                ValidationExpression="^[\S\s]{0,200}$" ValidationGroup="AddJilu" 
                    ForeColor="Red"></asp:RegularExpressionValidator></div> 
                    </div> </asp:Panel> 
             <asp:Panel ID ="PanelEdit" runat ="server" Visible ="false" >

                    
      <div  class ="gv2row ">报修编号：<asp:Label ID="lbId" runat="server" ></asp:Label> 报修提交时间：<asp:Label ID="lbDate" runat="server" ></asp:Label>
          <asp:Button ID="btDel" runat="server" Text="删除" OnClick="btDel_Click1"     OnClientClick="if(confirm('你确定要删除此记录吗?')){return true;}else{return false;}"/>
                 </div> 
           <div  class ="gv2row ">报修内容：<asp:Label ID="lbTrouble" runat="server" ></asp:Label> </div>
          <asp:DataList ID="DataList2" runat="server" Width="100%">
                <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></div> 
                </ItemTemplate>
          </asp:DataList>
                       <div style ="text-align :left; margin-bottom :10px; margin-top :10px; ">  <asp:Label ID="lbEvview" runat="server"  ></asp:Label>
                 </div>  
                        <asp:Panel ID="plEv" runat="server" style =" margin-bottom :10px; margin-top :10px; " >
    
              <table  >
                  <tr>
                      <td><asp:RadioButtonList ID="rblEvaluate" runat="server"  
                            RepeatDirection="Horizontal" AutoPostBack="True" 
                            Width="240px" OnSelectedIndexChanged="rblEvaluate_SelectedIndexChanged">
                            <asp:ListItem Selected="True">好评</asp:ListItem>
                            <asp:ListItem>中评</asp:ListItem>
                            <asp:ListItem>差评</asp:ListItem>
                        </asp:RadioButtonList> </td>
                      <td>                 <asp:Button ID="btEvaluate" runat="server" onclick="btEvaluate_Click" Text="提交" />
        <asp:Button ID="btEvaluate_1" runat="server" onclick="btEvaluate_1_Click" Text="提交" Visible="False" />     
          </td>
                  </tr>

              </table>
                                             

         
                        </asp:Panel>
       
            <asp:TextBox ID="tb_Trouble" runat="server"  Width ="100%" Height="160px" 
                TextMode="MultiLine"></asp:TextBox>
                 <div style =" padding-top :10px; padding-bottom :10px; text-align :center ">
                <asp:Button ID="btNext" runat="server" Text="继续提问" 
              onclick="btNext_Click" ValidationGroup="add" />
                     &nbsp;&nbsp;
                     <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" CausesValidation="False" />
                   <div style =" padding-top :10px; padding-bottom :10px; text-align :center "><asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                        ControlToValidate="tb_Trouble" Display="Dynamic" ErrorMessage="请填入内容。" 
                        ForeColor="Red" ValidationGroup="add"></asp:RequiredFieldValidator></div> 
            </div>

                </asp:Panel>

   <!--正文结束-->     
           </p>
        </article>
            <div class="space-20"></div>
        <div class="space-30">
                <div class="mhome">
                    <asp:ImageButton ID="imgBHome" runat="server" ImageUrl="~/m/images/home.png" 
                        Height="30px" Width="30px" onclick="imgBHome_Click"></asp:ImageButton></div>
        <div  class ="mexit">
            <asp:ImageButton ID="imgBExit" runat="server" ImageUrl="~/m/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>