<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="m_labplan.aspx.cs" Inherits="Web.sy.show.m_labplan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="/css/popcalendar.js"></script>
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
       <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	   实验室管理
                      	</td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
                <!--栏目开始 -->
            <!--这里添加内容 -->   
            <table >
            <tr>
            <td>
                <asp:CheckBoxList ID="cblLab" runat="server" AutoPostBack="True" 
                    CellSpacing="15" onselectedindexchanged="cblLab_SelectedIndexChanged" 
                    RepeatDirection="Horizontal">
                </asp:CheckBoxList>
                </td>
            <td>
    <asp:RadioButtonList ID="rblDate" runat="server" 
                     CellSpacing="15" RepeatDirection="Horizontal" AutoPostBack="True" 
                    onselectedindexchanged="cblLab_SelectedIndexChanged">
        <asp:ListItem Selected="True">今天</asp:ListItem>
        <asp:ListItem>明天</asp:ListItem>
        <asp:ListItem>指定日期</asp:ListItem>
                 </asp:RadioButtonList></td>
            <td>               
                    <asp:TextBox ID="tbDate" runat="server" Width="100px" 
           onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:TextBox> 
                &nbsp; 
                <asp:Button ID="btCha" runat="server" Text="查询" onclick="btCha_Click" />
                </td>
            </tr>
            </table>
         <div>
             <asp:Label ID="lbDay" runat="server" ></asp:Label>实验安排：</div>
			<asp:GridView ID="GridView1" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                    onrowcreated="GridView1_RowCreated" 
                    onselectedindexchanging="GridView1_SelectedIndexChanging" 
                    onrowdatabound="GridView1_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                  <Columns>
                   <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                   <asp:BoundField DataField="planid" HeaderText="planid" ReadOnly="True" />
                   <asp:BoundField DataField="classid" HeaderText="节次" ReadOnly="True" />
                   <asp:BoundField DataField="labname" HeaderText="实验室" ReadOnly="True" />
                   <asp:BoundField DataField="coursename" HeaderText="学科或社团类别" ReadOnly="True" />
                   <asp:BoundField DataField="grade" HeaderText="年级或社团" ReadOnly="True" />
                    <asp:TemplateField HeaderText="班级">
                          <ItemTemplate>
                              <asp:Label ID="Label1" runat="server" Text='<%# Bind("classname") %>'></asp:Label>
                          </ItemTemplate>
                      </asp:TemplateField>
                   <asp:BoundField DataField="teachername" HeaderText="指导教师" ReadOnly="True" />
                   <asp:BoundField DataField="planname" HeaderText="实验名称" ReadOnly="True" />
                   <asp:BoundField DataField="syzhunbei" HeaderText="实验器材" ReadOnly="True" />
                   <asp:CommandField HeaderText="操作" SelectText="查看" ShowSelectButton="True" />
                          <asp:BoundField DataField="coursecode" HeaderText="学科代码" ReadOnly="True" />
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
            <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0" runat ="server" visible ="false" id ="tbdetails">
            <tr><td class ="td_centernoborder" style =" width :100px;">班级学科</td><td>
                <asp:Label ID="lbGrade" runat="server" ></asp:Label> 年级<asp:Label ID="lbClassid" runat="server" ></asp:Label>班
                <asp:Label ID="lbCourse" runat="server" ></asp:Label>  <asp:Label ID="lbCoursecode" runat="server" Visible ="false"  ></asp:Label>
                <asp:Label ID="lbId" runat="server"  Visible ="false" ></asp:Label>
                <asp:Label ID="lbPlanid" runat="server"  Visible ="false" ></asp:Label>
                  <asp:Label ID="lbPlanclassid" runat="server"  Visible ="false" ></asp:Label>
                  <asp:Label ID="lbLab" runat="server"  Visible ="false" ></asp:Label>
                <asp:Button ID="btQuxiao" runat="server" Text="取消实验" onclick="btQuxiao_Click" />
                <asp:Panel ID="plQuxiao" runat="server" Visible ="false" >
              <div style =" margin-top :10px; margin-bottom :10px">  取消原因：<asp:DropDownList ID="ddlCourse" runat="server">
                        <asp:ListItem>实验室选择错误</asp:ListItem>
                        <asp:ListItem>实验室另有安排</asp:ListItem>
                        <asp:ListItem>仪器不全，返回修改</asp:ListItem>
                        <asp:ListItem>其他</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;补充说明：<asp:TextBox ID="tbQiaoxiaoCourse" runat="server"></asp:TextBox>
                    &nbsp;<asp:Button ID="btQuerenquxiao" runat="server" Text="确认取消" 
                        onclick="btQuerenquxiao_Click" /></div>
                </asp:Panel>
                </td></tr>
            <tr><td  class ="td_centernoborder">实验名称</td><td>    <asp:Label ID="lbPlanname" runat="server" ></asp:Label></td></tr>
            <tr><td class ="td_centernoborder">指导老师</td><td>    <asp:Label ID="lbTeachername" runat="server" ></asp:Label></td></tr>
            <tr><td  class ="td_centernoborder">使用器材</td><td  style ="  height: 14px;">    <asp:Label ID="lbSyzhunbei" runat="server" ></asp:Label></td></tr>
            <tr><td  class ="td_centernoborder">实验评价</td>
            <td>
            <table  style =" height :100px; width :500px;" runat="server" visible ="false" id="tbPingjia">
            <tr>
            <td  style =" width :120px">准时实验：</td>
            <td>
                <asp:RadioButtonList ID="rblZhun" runat="server"
                    RepeatDirection="Horizontal" style="margin-left: 0px">
                    <asp:ListItem Selected="True">是</asp:ListItem>
                    <asp:ListItem>否</asp:ListItem>
                </asp:RadioButtonList>
                </td>
            <td rowspan="4" style =" text-align :center ">
                <asp:Button ID="btpingjia" runat="server" Text="提交评价" 
                    onclick="btpingjia_Click" />
                </td>
            </tr>
            <tr>
            <td>准备充分：</td>
            <td>
                <asp:RadioButtonList ID="rblBei" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True">是</asp:ListItem>
                    <asp:ListItem>否</asp:ListItem>
                </asp:RadioButtonList>
                </td>
            </tr>          
            <tr>
            <td>实验后仪器完好：</td>
            <td>
                <asp:RadioButtonList ID="rblHao" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True">是</asp:ListItem>
                    <asp:ListItem>否</asp:ListItem>
                </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
            <td>缺勤学生名单 ：</td>
            <td>
                <asp:TextBox ID="tbAtt" runat="server" Height="50px" TextMode="MultiLine" 
                    Width="274px"></asp:TextBox>
                </td>
            </tr>
            </table>
            
            </td></tr>
            </table> 
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>
