225 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			225 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" CodeFile="ProjectsQuery.aspx.cs" Inherits="ProjectsQuery"   EnableEventValidation = "false"%>
 | |
| <%@ MasterType VirtualPath="~/masterPage.master" %>
 | |
| <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
 | |
| <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
 | |
|     Namespace="System.Web.UI" TagPrefix="asp" %>
 | |
| ¡¡
 | |
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 | |
| <table width="100%" class="Table_NoBorder">
 | |
|     
 | |
|     <tr><td>
 | |
|     <table width="100%"  class="Table_Border" border=0>
 | |
|      <tr>
 | |
|             <td colspan="3">
 | |
|              <table width="90%" class="Table_NoBorder">
 | |
|                     <tr>
 | |
|                         <td colspan="13" align="center">
 | |
|                             <cc1:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" Width="80"
 | |
|                                 TargetControlID="btnYear">
 | |
|                             </cc1:NumericUpDownExtender>
 | |
|                              
 | |
|                         </td>
 | |
|                     </tr>
 | |
|                     <tr>
 | |
|                         <td   nowrap>
 | |
|                             
 | |
|                                 <asp:TextBox id="btnYear"
 | |
|                                     runat="server" AutoPostBack="True" OnTextChanged="TxtBtnYear_TextChanged" Width="1px"></asp:TextBox>
 | |
|                         </td>
 | |
|                         <td>
 | |
|                             <asp:RadioButtonList ID="rdblstMonth" runat="server" RepeatDirection="Horizontal"
 | |
|                                 Width="709px" OnSelectedIndexChanged="rdblstMonth_SelectedIndexChanged" AutoPostBack="True">
 | |
|                                 <asp:ListItem Value="0">È«Äê</asp:ListItem>
 | |
|                                 <asp:ListItem Value="1" Selected="True">1ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="2">2ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="3">3ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="4">4ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="5">5ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="6">6ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="7">7ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="8">8ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="9">9ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="10">10ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="11">11ÔÂ</asp:ListItem>
 | |
|                                 <asp:ListItem Value="12">12ÔÂ</asp:ListItem>
 | |
|                             </asp:RadioButtonList></td>
 | |
|                     </tr>
 | |
|                 </table>
 | |
|                  </td>
 | |
|         </tr>
 | |
|         <tr>
 | |
|         <td colspan="3" class ="ALine"></td>
 | |
|         </tr>
 | |
|         
 | |
|     <tr><td width="50" height="200" align="left"  valign="top">
 | |
|        <!--div   style= "width:200px;height:600px;overflow:scroll "--> 
 | |
|         <asp:TreeView ID="TreeDeptEmp" runat="server" ShowLines="True" OnSelectedNodeChanged="TreeDeptEmp_SelectedNodeChanged" ImageSet="Arrows">
 | |
|             <Nodes>
 | |
|                 <asp:TreeNode Text="WMSÈ«²¿Êý¾Ý" Value="0" Expanded="True" Selected="True"></asp:TreeNode>
 | |
|             </Nodes>
 | |
|             <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" />
 | |
|         </asp:TreeView>
 | |
|       <!--/div-->
 | |
|     </td>
 | |
|     <td class="VLine"  ></td>
 | |
|     <td    align="left" valign="top" width="800"> <!------ THE DATA GRID AREA ------>
 | |
|        
 | |
|        <table width="100%">
 | |
|         <tr>
 | |
|                         <td > ÏîÄ¿»ã×Ü </td>  
 | |
|            </tr>
 | |
|        <tr>
 | |
|        <td>
 | |
|        <asp:GridView id="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
 | |
|             CssClass="DataGrid"  EmptyDataText="ûÓÐÊý¾Ý¡£" OnPageIndexChanging="GridView1_PageIndexChanging"
 | |
|          ¡¡ OnSorting="GridView1_Sorting"
 | |
|          ¡¡ OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
 | |
|          ¡¡ DataKeyNames="ID" 
 | |
|             PagerStyle-HorizontalAlign="Right" PageSize="10" ShowFooter="True" Width="99%">
 | |
|             <selectedrowstyle cssclass="SelectedItemStyle" />
 | |
|             <headerstyle cssclass="HeaderStyle" horizontalalign="Left" />
 | |
|             <rowstyle cssclass="ItemStyle" horizontalalign="left" />
 | |
|             <alternatingrowstyle cssclass="AlternatingItemStyle" />
 | |
|             <columns>
 | |
| 				<asp:BoundField   DataField="ID" HeaderText="empid" Visible="false" >  </asp:BoundField>
 | |
| 		                                                       ¡¡
 | |
| 				
 | |
| 				<asp:BoundField DataField="EM_NAME" HeaderText="ÔðÈÎÈË" SortExpression="EM_NAME"     >
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField><asp:BoundField DataField="dep_name" HeaderText="²¿ÃÅ"  ItemStyle-HorizontalAlign ="Left" SortExpression="dep_name"  >
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
|                 
 | |
|                 
 | |
|                  <asp:BoundField DataField="de_title" HeaderText="Ö°Îñ"  ItemStyle-HorizontalAlign ="Left" SortExpression="de_title"  >
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
|                 
 | |
| 				<asp:BoundField DataField="pd_period" HeaderText="ʱ¼ä"  ItemStyle-HorizontalAlign ="Left" SortExpression="pd_period"  >
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
| 				   
 | |
| 				 
 | |
|               
 | |
| 			 	 <asp:BoundField DataField="total_score" HeaderText="×ܵ÷Ö" SortExpression="total_score"    > <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/></asp:BoundField>
 | |
| 			 
 | |
| 			 
 | |
| 				<asp:CommandField HeaderText="Ïêϸ" ShowDeleteButton="FALSE"  ¡¡
 | |
| 				ShowHeader="True" ShowSelectButton="True" SelectText="<img src=../Images/detail.gif border=0 title=²é¿´ÏîÄ¿  >">
 | |
|                     <HeaderStyle HorizontalAlign="Center"   />
 | |
|                     <ItemStyle HorizontalAlign="Center"   Wrap="False"  />
 | |
|                 </asp:CommandField>
 | |
| 			</columns>
 | |
|             <pagerstyle horizontalalign="Right" />
 | |
|             <emptydatatemplate> ûÓÐÊý¾Ý</emptydatatemplate>
 | |
|              </asp:GridView><asp:Button id="Button1" runat="server" CssClass="Button" onclick="Excel_Click"
 | |
|             Text="µ¼³öExcel" />
 | |
|             
 | |
|        </td>
 | |
|        </tr>
 | |
|        
 | |
|         <tr >
 | |
|        <td class="ALine">
 | |
|        
 | |
|        </td>
 | |
|        </tr>
 | |
|         <tr>
 | |
|                         <td > ÏîÄ¿Ã÷ϸ </td>  
 | |
|            </tr>
 | |
|         <tr>
 | |
|        <td>
 | |
|        
 | |
|             <div runat="Server" id="projectDetail" >
 | |
|          <asp:GridView id="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
 | |
|             CssClass="DataGrid" DataKeyNames="pk_projDetail" EmptyDataText="ûÓÐÊý¾Ý¡£" OnPageIndexChanging="GridView2_PageIndexChanging"
 | |
|              
 | |
|             
 | |
|             PagerStyle-HorizontalAlign="Right" PageSize="10" ShowFooter="True" Width="99%">
 | |
|             <selectedrowstyle cssclass="SelectedItemStyle" />
 | |
|             <headerstyle cssclass="HeaderStyle" horizontalalign="Left" />
 | |
|             <rowstyle cssclass="ItemStyle" horizontalalign="left" />
 | |
|             <alternatingrowstyle cssclass="AlternatingItemStyle" />
 | |
|             <columns>
 | |
| 				<asp:BoundField   DataField="pk_projDetail" HeaderText="pdid"  visible="false">  </asp:BoundField>
 | |
| 		                                                         
 | |
| 				<asp:BoundField DataField="PJ_NAME" HeaderText="ÏîÄ¿Ãû³Æ" SortExpression="PJ_NAME">
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
| 				<asp:BoundField DataField="EM_NAME" HeaderText="ÔðÈÎÈË" SortExpression="EM_NAME"     >
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField><asp:BoundField DataField="dep_name" HeaderText="²¿ÃÅ"  ItemStyle-HorizontalAlign ="Left" SortExpression="dep_name"  >
 | |
|                     <ItemStyle    Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
| 				 
 | |
| 				<asp:BoundField DataField="pd_month" HeaderText="Ô·Ý" SortExpression="pj_planStartDate"  DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False">
 | |
|                     <ItemStyle   Wrap="False" />
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
| 				 
 | |
| 				<asp:BoundField DataField="PJ_PERCENT" HeaderText="ÏîÄ¿È¨ÖØ" SortExpression="PJ_PERCENT">
 | |
|                     <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
| 				<asp:BoundField DataField="pd_percent" HeaderText="ÏîÄ¿½ø¶È" SortExpression="PJ_PROGRESS" >
 | |
|                     <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
| 				<asp:BoundField DataField="pj_finishDate" HeaderText="ʵ¼ÊÍê³Éʱ¼ä" SortExpression="pj_finishDate"  DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False">
 | |
|                     <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                 </asp:BoundField>
 | |
|                   
 | |
| 			 <asp:BoundField DataField="pj_status" HeaderText="ÏîĿ״̬" SortExpression="pj_status"   > <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/></asp:BoundField>
 | |
| 			 	 <asp:BoundField DataField="pd_status" HeaderText="Ô¶È״̬" SortExpression="pd_status"   > <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/></asp:BoundField>
 | |
| 			  <asp:BoundField DataField="pj_score" HeaderText="ÏîÄ¿µÃ·Ö" SortExpression="pd_status"    > <ItemStyle Wrap="False" HorizontalAlign="Center"/>
 | |
|                     <HeaderStyle Wrap="False" HorizontalAlign="Center"/></asp:BoundField>
 | |
| 			 
 | |
| 			 
 | |
| 				
 | |
| 			</columns>
 | |
|             <emptydatatemplate> ûÓÐÊý¾Ý</emptydatatemplate>
 | |
|             <pagerstyle horizontalalign="Right" />
 | |
|         </asp:GridView>
 | |
|         <asp:Button id="Button2" runat="server" CssClass="Button" onclick="Excel_Click2"
 | |
|             Text="µ¼³öExcel" />
 | |
|          </div>
 | |
|        
 | |
|        </td>
 | |
|        </tr>
 | |
|         <tr >
 | |
|        <td class="ALine">
 | |
|        
 | |
|        </td>
 | |
|        </tr>
 | |
|        </table>
 | |
|          
 | |
|             </td>
 | |
|              </tr>
 | |
|           <tr>
 | |
|                         <td colspan="3" class="ALine" />    
 | |
|            </tr>
 | |
|             
 | |
|             <tr>
 | |
|                         <td colspan="3" align="left" valign="top">
 | |
|                               
 | |
|              
 | |
|       
 | |
|        </td></tr>
 | |
|    
 | |
|         
 | |
|    </table>
 | |
|    </td></tr>
 | |
|  </table>   
 | |
|  </asp:Content>
 | |
| 
 |