<%@ 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>无标题页</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 style ="width :720px; height :34px;  background-image: url('../../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    部门考核评价
                      	
                	</div></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>
            </div> 
            <table style ="width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                        考核明细列表
                    
                     &gt;&gt;</td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :103px"></td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :64px"></td>
                    <td  style ="background-image: url('../../css/images/asdfrsg.png'); width :76px" ></td>
                </tr>
                <tr>
                    <td height="10" colspan="4" style="font-weight:bolder;"></td>
                </tr>
            </table>
            <!--这里添加内容 -->





                <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>
