<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="effectiveness_analysis2.aspx.vb" Inherits="work_plan_web_deploy.effectiveness_analysis2" %>
<%@ Import namespace="work_plan_web_deploy"%>
<%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>
<!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>
						<td height="33" align="right" bgcolor="#e0eef5">分析起止日期：</td>
						<td height="33" align="left">&nbsp;
							<asp:TextBox ID="time1" runat="server" Width="72px" onfocus="WdatePicker();" style="width:72px;"></asp:TextBox>
                            至<asp:TextBox ID="time2" runat="server" Width="72px" onfocus="WdatePicker();" style="width:72px;"></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>
                            <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>
						<td height="33" align="right" bgcolor="#e0eef5">图形选项：</td>
						<td height="33" align="left">&nbsp;大小<asp:TextBox ID="w" runat="server" 
                                Width="53px">500</asp:TextBox>
                            ×<asp:TextBox ID="h" runat="server" Width="53px">500</asp:TextBox>
                            样式<asp:DropDownList ID="ys" runat="server">
                                <asp:ListItem>饼状图</asp:ListItem>
                                <asp:ListItem>柱状图</asp:ListItem>
                                <asp:ListItem>线形图</asp:ListItem>
                            </asp:DropDownList>
                            分析归类<asp:DropDownList ID="gl" runat="server">
                                <asp:ListItem>按数据类型统计</asp:ListItem>
                                <asp:ListItem>按人员或下属部门统计</asp:ListItem>
                                <asp:ListItem>按每天统计</asp:ListItem>
                                <asp:ListItem>按每周（7天）统计</asp:ListItem>
                                <asp:ListItem>按每月统计</asp:ListItem>
                                <asp:ListItem>按每年统计</asp:ListItem>
                            </asp:DropDownList>
                            数据单位<asp:DropDownList ID="dw" runat="server">
                                <asp:ListItem>计分</asp:ListItem>
                                <asp:ListItem>计次</asp:ListItem>
                            </asp:DropDownList>
                        </td>
					</tr>
					<tr>
						<td width="40%" height="30" align="right" bgcolor="#e0eef5">统计数据类型：</td>
						<td width="60%" align="left">&nbsp; <strong>
                            <asp:TextBox ID="classt1" runat="server" 
                                onclick="showDIV(this,taskclasstree);" ReadOnly="True" Width="80px">选择工作类型</asp:TextBox>
                            </strong>&nbsp;<strong><asp:TextBox ID="classt2" runat="server" 
                                onclick="showDIV(this,cooperationclasstree);" ReadOnly="True" Width="80px">选择协作类型</asp:TextBox>
                            &nbsp;<asp:TextBox ID="classt3" runat="server" 
                                onclick="showDIV(this,behaviorclasstree);" ReadOnly="True" Width="80px">选择行为类型</asp:TextBox>
                            </strong>
                        </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="center" colspan="2">
                        
                            <asp:Chart ID="Chart1" runat="server" Visible="False" Height="600px" 
                                    Width="800px">
                                    <Series>
                                        <asp:Series ChartType="Pie" Name="Series1">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                        </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" 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" 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="taskclasstree">
<asp:TreeView ID="taskclass" runat="server" ImageSet="Simple" 
        NodeIndent="15" ShowCheckBoxes="Leaf" ShowExpandCollapse="False"  Font-Overline="False">
           <HoverNodeStyle Font-Underline="True" />
            <NodeStyle ForeColor="Black" 
                HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
            <!--隐藏开始-->
			<div class="menudiv" id="cooperationclasstree">
<asp:TreeView ID="cooperationclass" runat="server" ImageSet="Simple" 
        NodeIndent="15" ShowCheckBoxes="Leaf" ShowExpandCollapse="False"  Font-Overline="False">
           <HoverNodeStyle Font-Underline="True" />
            <NodeStyle ForeColor="Black" 
                HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
            <!--隐藏开始-->
			<div class="menudiv" id="behaviorclasstree">
<asp:TreeView ID="behaviorclass" runat="server" ImageSet="Simple" 
        NodeIndent="15" ShowCheckBoxes="Leaf" ShowExpandCollapse="False"  Font-Overline="False">
           <HoverNodeStyle Font-Underline="True" />
            <NodeStyle ForeColor="Black" 
                HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
		</form>
	</body>
</HTML>