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

<!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" />
</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">
            
            
<!--栏目开始 -->
<div style =" margin-top :20px; margin-bottom :10px">
                           选择考核周期：<asp:DropDownList 
                               ID="ddlDate" runat="server" AutoPostBack="True" 
                               onselectedindexchanged="ddlDate_SelectedIndexChanged">
                        </asp:DropDownList>  &nbsp;查看小结：<asp:DropDownList 
                               ID="ddlStaff" runat="server" AutoPostBack="True" 
                               onselectedindexchanged="ddlStaff_SelectedIndexChanged"> </asp:DropDownList>
                           <br />
                           <table border="1" cellpadding="0" cellspacing="0" class="table " 
                               style=" width :100%">
                               <tr>
                                   <td class="tabletd_right " style=" width:70px">
                                       考核周期</td>
                                   <td class="tabletd_left " style=" width:70px">
                                       <asp:Label ID="lbEvaluationdate" runat="server"></asp:Label>
                                   </td>
                                   <td class="tabletd_right " style=" width:70px">
                                       提交时间</td>
                                   <td class="tabletd_left ">
                                       <asp:Label ID="lbSummarydate" runat="server"></asp:Label>
                                       &nbsp;</td>
                               </tr>
                               <tr>
                                   <td class="tabletd_right ">
                                       小结内容</td>
                                   <td class="tabletd_left " colspan="3">
                                       <asp:Label ID="lbContent" runat="server"></asp:Label>
                                       &nbsp;</td>
                               </tr>
                               <tr>
                                   <td class="tabletd_right ">
                                       附件</td>
                                   <td class="tabletd_left " colspan="3">
                                       <asp:BulletedList ID="BulletedList1" runat="server" DisplayMode="LinkButton" 
                                           onclick="BulletedList1_Click">
                                       </asp:BulletedList>
                                   </td>
                               </tr>
                               <tr>
                                   <td class="tabletd_right ">
                                       &nbsp;</td>
                                   <td class="tabletd_left " colspan="3">
                                       <asp:Button ID="btAdd" runat="server" onclick="btAdd_Click" 
                                           Text="添加到待评价列表" />
                                   </td>
                               </tr>
                           </table>
            </div> 
        <div class ="lanmubiaoti ">考核明细列表</div>  
          
            <!--这里添加内容 -->

                <asp:GridView 
                    ID="GridView1" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv">
                <RowStyle BorderWidth="1px" CssClass="gvrow" />

               
               <HeaderStyle BorderWidth="1px" CssClass="gvhead" /></asp:GridView>

<div style ="margin-top :15px; margin-bottom :15px"> 
                         
                                    <div>待评价员工：
                                        <asp:CheckBoxList ID="cblField" runat="server" RepeatColumns="10" 
                        RepeatDirection="Horizontal"></asp:CheckBoxList><asp:CheckBox ID="cbChoose" runat="server" 
                    AutoPostBack="True" oncheckedchanged="cbChoose_CheckedChanged" Text="全选" /></div>            
             </div>
             <asp:GridView ID="GridView2" runat="server"  
                BorderWidth="1px" CssClass="gv" 
                 cellspacing="1" AutoGenerateColumns="False" 
                    onrowcreated="GridView2_RowCreated">
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
            <Columns>

                <asp:BoundField DataField="字段名称" HeaderText="评价项目" ReadOnly="True" />
                <asp:BoundField DataField="列名" HeaderText="列名" ReadOnly="True" />



               <asp:TemplateField HeaderText="得分">
                  <ControlStyle  />
                  <ItemTemplate>
                  <asp:RadioButtonList ID="RadioButtonList1" runat="server" width="200px"
                                            RepeatDirection="Horizontal" >
                                        <asp:ListItem>5</asp:ListItem>
                                        <asp:ListItem>4</asp:ListItem>
                                        <asp:ListItem>3</asp:ListItem>
                                        <asp:ListItem>2</asp:ListItem>
                                        <asp:ListItem>1</asp:ListItem>
                                        <asp:ListItem>0</asp:ListItem>
                                        </asp:RadioButtonList>


                  </ItemTemplate>
              </asp:TemplateField>
                
                
            </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>

                按百分制计算，所选员工得分为：<asp:Label ID="lbCount" runat="server"></asp:Label>
                等第为：<asp:Label ID="lbLevel" runat="server"></asp:Label>
                        <div style =" margin-top :10px">
                <asp:Button ID="btCount" runat="server" Text="计算" onclick="btCount_Click" />
&nbsp;
                <asp:Button ID="btTiaojiao" runat="server" Text="提交" 
                    onclick="btTiaojiao_Click" />
                    </div> 
                </div>
            </div>
        </form>
    </body>
</html>
