<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.effectiveness_analysis" Codebehind="effectiveness_analysis.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD id="HEAD1" runat="server">
		<title>效能综合分析</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link href="site_css.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
        <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
        	<script language="javascript">
        	    function setValue(obj) {
        	        var d = new Date();
        	        var timeStr;
        	        var m = (d.getMonth() + 1) + "";
        	        if (m.length == 1)
        	            m = '0' + m;
        	        var _d = (d.getDate()) + "";
        	        if (_d.length == 1)
        	            _d = '0' + _d;

        	        timeStr = d.getYear() + "-" + m + "-" + _d;
        	        obj.value = timeStr
        	    }

        	    function getidate(obj1, obj2) {
        	        if (obj2.value.length == 18) {
        	            obj1.value = obj2.value.substr(6, 4) + "-" + obj2.value.substr(10, 2) + "-" + obj2.value.substr(12, 2)
        	        }
        	    }
        	    function ResetButton() {
        	        var btn = document.getElementById("Button1");
        	        if (btn.disabled == true) {
        	            btn.disabled = false;
        	        }
        	    }
        	    function disableBtn(btn) {
        	        btn.value = '系统正在执行操作...';
        	        btn.disabled = 'disabled';
        	        __doPostBack("Button1", "OnClick");
        	        //doPostBack can now fire serverside event even if button is disabled  
        	    }
        	    function postBackByObject() {
        	        if (document.activeElement.type == "checkbox") {
        	            __doPostBack("", "");
        	        }
        	    }
			</script>
	</HEAD>
	<body>
		<form id="Form1" runat="server">
			<div id="title">
				<table width="100%" border="0" cellspacing="0" cellpadding="5">
					<tr>
						<td height="20" align="center">效能分析 — 效能综合分析</td>
					</tr>
				</table>
			</div>
			<div id="place">
				<table width="100%" border="0" cellspacing="0" cellpadding="5">
					<tr>
						<td height="30">您当前的位置：效能分析 &gt;&gt; 效能综合分析</td>
					</tr>
				</table>
			</div>
			<div id="contentdiv">
				<table class="maintable" width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#ffffff">
					<tr>
						<td width="40%" height="30" align="right" bgcolor="#e0eef5">分析类型：</td>
						<td width="60%" align="left">&nbsp;
							<asp:DropDownList ID="fxlx" runat="server" AutoPostBack="True">
                                <asp:ListItem>个人效能分析</asp:ListItem>
                                <asp:ListItem>员工效能分析</asp:ListItem>
                                <asp:ListItem>部门效能分析</asp:ListItem>
                            </asp:DropDownList>
                        </td>
					</tr>
					<tr id="ygtr" runat="server">
						<td height="33" align="right" bgcolor="#e0eef5">分析员工：</td>
						<td height="33" align="left">&nbsp;
								<STRONG>
                            <asp:TextBox ID="admin" onclick="showDIV(this,admintree);" 
                                    runat="server" ReadOnly="True" Width="89px" style="width:89px;">点击选择</asp:TextBox>
                                </STRONG>
                                
                        </td>
					</tr>
					<tr id="bmtr" runat="server">
						<td height="33" align="right" bgcolor="#e0eef5">分析部门：</td>
						<td height="33" align="left">&nbsp;
								<asp:TextBox ID="dpmid" onclick="showDIV(this,dwtree);" 
                                    runat="server" ReadOnly="True" Width="118px" style="width:118px;"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                                ControlToValidate="dpmid" ErrorMessage="部门必须选择"></asp:RequiredFieldValidator>
                        </td>
					</tr>
					<tr>
						<td height="33" align="right" bgcolor="#e0eef5">分析起始日期：</td>
						<td height="33" align="left">&nbsp;
							<asp:TextBox ID="time1" runat="server" Width="67px" onfocus="WdatePicker();" style="width:67px;"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                                ControlToValidate="time1" ErrorMessage="起始时间必须填写"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator12" runat="server" 
                                ControlToValidate="time1" ErrorMessage="日期格式必须为2009-01-05" 
                                
                                
                                
                                ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:RegularExpressionValidator>
                        </td>
					</tr>
					<tr>
						<td height="30" align="right" bgcolor="#e0eef5">分析截止日期：</td>
						<td height="30" align="left">&nbsp;
							<asp:TextBox ID="time2" runat="server" Width="67px" onfocus="WdatePicker();" style="width:67px;"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                                ControlToValidate="time2" ErrorMessage="截止时间必须填写"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator13" runat="server" 
                                ControlToValidate="time2" ErrorMessage="日期格式必须为2009-01-05" 
                                
                                
                                
                                ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:RegularExpressionValidator>
							</td>
					</tr>
					<tr id="qtxx" runat="server">
						<td height="30" align="right" bgcolor="#e0eef5">其他选项：</td>
						<td height="30" align="left">&nbsp;
							<asp:DropDownList ID="px" runat="server">
                                <asp:ListItem Value="0">默认排序</asp:ListItem>
                                <asp:ListItem Value="zzdf" Selected="True">最终得分排序</asp:ListItem>
                                <asp:ListItem Value="task_zs">工作计划总数排序</asp:ListItem>
                                <asp:ListItem Value="task_wcs">工作计划完成数排序</asp:ListItem>
                                <asp:ListItem Value="task_wcl">工作计划完成率排序</asp:ListItem>
                                <asp:ListItem Value="task_aswcs">工作计划按时完成数排序</asp:ListItem>
                                <asp:ListItem Value="task_aswcl">工作计划按时完成率排序</asp:ListItem>
                                <asp:ListItem Value="task_kfcs">工作计划扣分次数排序</asp:ListItem>
                                <asp:ListItem Value="task_kf">工作计划扣分排序</asp:ListItem>
                                <asp:ListItem Value="task_jfcs">工作计划加分次数排序</asp:ListItem>
                                <asp:ListItem Value="task_jf">工作计划加分排序</asp:ListItem>
                                <asp:ListItem Value="task_zf">工作计划总分排序</asp:ListItem>
                                <asp:ListItem Value="coop_sls">部门协作受理数排序</asp:ListItem>
                                <asp:ListItem Value="coop_bjs">部门协作办理数排序</asp:ListItem>
                                <asp:ListItem Value="coop_bjl">部门协作办结率排序</asp:ListItem>
                                <asp:ListItem Value="beha_kfcs">行为纪录扣分次数排序</asp:ListItem>
                                <asp:ListItem Value="beha_kf">行为记录扣分排序</asp:ListItem>
                                <asp:ListItem Value="beha_jfcs">行为记录加分次数排序</asp:ListItem>
                                <asp:ListItem Value="beha_jf">行为记录加分排序</asp:ListItem>
                                <asp:ListItem Value="beha_zf">行为记录总分排序</asp:ListItem>
                            </asp:DropDownList>
                        &nbsp;
							<asp:CheckBox ID="zs" runat="server" Checked="True" Text="统计直属数据" />
							</td>
					</tr>
					<tr>
						<td height="30" align="right" bgcolor="#e0eef5">相关说明：</td>
						<td height="30" align="left">&nbsp;
							请让您的浏览器允许该系统弹出窗口，否则无法显示报表。&nbsp;</td>
					</tr>
				</table>
			</div>
			<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td height="40" align="center" valign="middle">&nbsp;
						<asp:Button id="Button1" runat="server" Text="生成报表"></asp:Button></td>
				</tr>
			</table>
              <!--隐藏开始-->
			<div class="menudiv" id="dwtree">
            <asp:TreeView ID="fidTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
            <!--隐藏开始-->
			<div class="menudiv" id="admintree">
            <asp:TreeView ID="adminTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True" ShowCheckBoxes="All">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
		</form>
	</body>
</HTML>
