<%@ 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" %>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
        <style type="text/css">

			    .STYLE1 { COLOR: #999999 }
			    .STYLE2 { COLOR: #ff0000 }
			    </style>
                <!-- 配置文件 -->
<script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
<!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
<script type="text/javascript" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
			<script language="javascript">
			    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 class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    
<div class="btn-toolbar">
    <asp:button id="Button1" runat="server" Text="生成图形(ALT+S)" AccessKey="s" 
        class="btn"></asp:button>
    </div>
<div class="btn-group"></div>
<div class="well">


<table class="table" width="100%">
					<tr>
						<td class="td_a">分析类型：</td>
						<td class="td_b">
                            <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="dpmidxztr" runat="server">
						<td class="td_a">统计部门限制：</td>
						<td class="td_b">
                            <asp:TextBox ID="dpmid_xz" runat="server" onclick="showDIV(this,dwtree_xz);" 
                                ReadOnly="True" style="width:118px;" Width="118px"></asp:TextBox>
                            </td>
					</tr>
					<tr>
						<td class="td_a">分析起止日期：</td>
						<td class="td_b">
                            <asp:TextBox ID="time1" runat="server" onfocus="WdatePicker();" 
                                style="width:90px;" Width="90px"></asp:TextBox>
                            至<asp:TextBox ID="time2" runat="server" onfocus="WdatePicker();" 
                                style="width:90px;" Width="90px"></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 class="td_a">图形选项：</td>
						<td class="td_b">
                            大小<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: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 class="td_a">统计数据类型：</td>
						<td class="td_b">
                            <strong>
                            <asp:TextBox ID="classt1" runat="server" onclick="showDIV(this,taskclasstree);" 
                                ReadOnly="True" Width="90px">选择工作类型</asp:TextBox>
                            </strong>&nbsp;<strong><asp:TextBox ID="classt2" runat="server" 
                                onclick="showDIV(this,cooperationclasstree);" ReadOnly="True" Width="90px">选择协作类型</asp:TextBox>
                            &nbsp;<asp:TextBox ID="classt3" runat="server" 
                                onclick="showDIV(this,behaviorclasstree);" ReadOnly="True" Width="90px">选择行为类型</asp:TextBox>
                            </strong></td>
					</tr>
					<tr id="ygtr" runat="server">
						<td class="td_a">分析<%=ConfigurationManager.AppSettings.Item("staffstr")%>：</td>
						<td class="td_b">
                            <strong>
                            <asp:TextBox ID="admin" runat="server" onclick="showDIV(this,admintree);" 
                                ReadOnly="True" style="width:89px;" Width="89px">点击选择</asp:TextBox>
                            </strong></td>
					</tr>
					<tr id="bmtr" runat="server">
						<td class="td_a">分析部门：</td>
						<td class="td_b">
                            <asp:TextBox ID="dpmid" runat="server" onclick="showDIV(this,dwtree);" 
                                ReadOnly="True" style="width:118px;" Width="118px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                                ControlToValidate="dpmid" ErrorMessage="部门必须选择"></asp:RequiredFieldValidator>
                        </td>
					</tr>
					<tr>
						<td colspan="2">
                            <asp:Chart ID="Chart1" runat="server" Height="600px" Palette="Pastel" 
                                Visible="False" Width="800px">
                                <Series>
                                    <asp:Series ChartType="Pie" Font="Microsoft Sans Serif, 14.25pt" Name="Series1" 
                                        Palette="Pastel">
                                    </asp:Series>
                                </Series>
                                <ChartAreas>
                                    <asp:ChartArea Name="ChartArea1">
                                        <AxisX IntervalAutoMode="VariableCount" IsLabelAutoFit="False">
                                        </AxisX>
                                    </asp:ChartArea>
                                </ChartAreas>
                            </asp:Chart>
                        </td>
					</tr>
					</table>



</div>
                  
            </div>
        </div>
    </div>
            <!--隐藏开始-->
			<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="dwtree_xz">
            <asp:TreeView ID="fidTreeView_xz" 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>