485 lines
		
	
	
		
			44 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			485 lines
		
	
	
		
			44 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
|  | <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" | |||
|  |     CodeFile="ProjectMain.aspx.cs" Inherits="ProjectMain" 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="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">ȫ<><C8AB></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="1" Selected="True">1<><31></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="2">2<><32></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="3">3<><33></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="4">4<><34></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="5">5<><35></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="6">6<><36></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="7">7<><37></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="8">8<><38></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="9">9<><39></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="10">10<31><30></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="11">11<31><31></asp:ListItem> | |||
|  |                                 <asp:ListItem Value="12">12<31><32></asp:ListItem> | |||
|  |                             </asp:RadioButtonList></td> | |||
|  |                     </tr> | |||
|  |                 </table> | |||
|  |             </td> | |||
|  |         </tr> | |||
|  |         <tr> | |||
|  |             <td> | |||
|  |                 <table width="100%" class="Table_Border"> | |||
|  |                     <tr> | |||
|  |                         <td colspan="3" align="left" valign="top"> | |||
|  |                             <!------ THE DATA GRID AREA ------> | |||
|  |                             <asp:GridView ID="GridView1" CssClass="DataGrid" PageSize="10" PagerStyle-HorizontalAlign="Right" | |||
|  |                                 runat="server" AutoGenerateColumns="False" DataKeyNames="pk_projDetail" OnRowDeleting="GridView1_EditProject" | |||
|  |                                 AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound" | |||
|  |                                 OnSorting="GridView1_Sorting" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" | |||
|  |                                 Width="99%" ShowFooter="True" EmptyDataText='û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>'> | |||
|  |                                 <SelectedRowStyle CssClass="SelectedItemStyle"></SelectedRowStyle> | |||
|  |                                 <HeaderStyle CssClass="HeaderStyle" HorizontalAlign="Left"></HeaderStyle> | |||
|  |                                 <RowStyle CssClass="ItemStyle" HorizontalAlign="left"></RowStyle> | |||
|  |                                 <AlternatingRowStyle CssClass="AlternatingItemStyle"></AlternatingRowStyle> | |||
|  |                                 <Columns> | |||
|  |                                     <asp:BoundField DataField="pk_projDetail" HeaderText="pdid" Visible="false"></asp:BoundField> | |||
|  |                                     <asp:TemplateField> | |||
|  |                                         <HeaderTemplate> | |||
|  |                                             <!--input   id="selectAll"   onclick="SelectAll(this)"   type="checkbox"   value="ȫѡ"   /--> | |||
|  |                                             ѡ<><D1A1> | |||
|  |                                         </HeaderTemplate> | |||
|  |                                         <HeaderStyle HorizontalAlign="Left" Wrap="False" /> | |||
|  |                                         <ItemTemplate> | |||
|  |                                             <input id="checkNews" type="checkbox" runat="server" /> | |||
|  |                                         </ItemTemplate> | |||
|  |                                         <ItemStyle HorizontalAlign="Left" /> | |||
|  |                                     </asp:TemplateField> | |||
|  |                                     <asp:BoundField DataField="PJ_NAME" HeaderText="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>" SortExpression="PJ_NAME"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="EM_NAME" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SortExpression="EM_NAME"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="dep_name" HeaderText="<22><><EFBFBD><EFBFBD>" ItemStyle-HorizontalAlign="Left" | |||
|  |                                         SortExpression="dep_name"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="pd_month" HeaderText="<22>·<EFBFBD>" SortExpression="pj_planStartDate" | |||
|  |                                         DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="PJ_PERCENT" HeaderText="<22><>ĿȨ<C4BF><C8A8>" SortExpression="PJ_PERCENT"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="pd_percent" HeaderText="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>" SortExpression="PJ_PROGRESS"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="pj_finishDate" HeaderText="ʵ<><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>" 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="<22><>Ŀ״̬" SortExpression="pj_status"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="pd_status" HeaderText="<22>¶<EFBFBD>״̬" SortExpression="pd_status"> | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:BoundField DataField="pj_score" HeaderText="<22><>Ŀ<EFBFBD>÷<EFBFBD>" SortExpression="pd_status" | |||
|  |                                     	 > | |||
|  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | |||
|  |                                     </asp:BoundField> | |||
|  |                                     <asp:CommandField HeaderText="<22>ࡡ<EFBFBD><E0A1A1>" ShowDeleteButton="True" DeleteText="<img src=../Images/detail.gif border=0  border=0 title= <20>鿴<EFBFBD><E9BFB4>Ŀ >" | |||
|  |                                         ShowHeader="True" ShowSelectButton="True" SelectText="<img src=../Images/edit.gif border=0 title=<3D><><EFBFBD><EFBFBD>  >"> | |||
|  |                                         <HeaderStyle HorizontalAlign="Center" /> | |||
|  |                                         <ItemStyle HorizontalAlign="Center" Wrap="False" /> | |||
|  |                                     </asp:CommandField> | |||
|  |                                 </Columns> | |||
|  |                                 <EmptyDataTemplate> | |||
|  |                                     û<><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD></EmptyDataTemplate> | |||
|  |                                 <PagerStyle HorizontalAlign="Right" /> | |||
|  |                             </asp:GridView> | |||
|  |                             <asp:Button ID="btn_addNew" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ" CssClass="Button" OnClick="btnAddnew_Click" /> | |||
|  |                             <asp:Button ID="btnPrjToApprove" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>ύ" OnClick="btnToApprove_Click" /> | |||
|  |                             <asp:Button ID="btnpdToApprove" runat="server" CssClass="Button" Text="<22><>Ŀ<EFBFBD>ύ" OnClick="btnpdToApprove_Click" /> | |||
|  |                             <asp:Button ID="Button1" runat="server" CssClass="Button" OnClick="Excel_Click" Text="<22><><EFBFBD><EFBFBD>Excel" />  | |||
|  |                         </td> | |||
|  |                     </tr> | |||
|  |                     <tr> | |||
|  |                         <td colspan="3" class="ALine"> | |||
|  |                         </td> | |||
|  |                     </tr> | |||
|  |                     <tr> | |||
|  |                         <td colspan="3" align="center"> | |||
|  |                             <!------ THE ADD /DELETE AREA ------> | |||
|  |                             <!------ THE ADD /DELETE AREA ------> | |||
|  |                             <table width="100%" class="Table_NoBorder"> | |||
|  |                                 <tr> | |||
|  |                                     <td> | |||
|  |                                         <asp:Panel ID="ProjectDetail" runat="server" Visible="false" align="left" Width="100%"> | |||
|  |                                             <table width="80%" class="Table_NoBorder"> | |||
|  |                                                 <tr> | |||
|  |                                                     <td    > | |||
|  |                                                         <table width="100%" class="Table_NoBorder"> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td nowrap> | |||
|  |                                                                     <asp:Label ID="Label12" runat="server" CssClass="Label" Text="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>"></asp:Label>  | |||
|  |                                                                 </td> | |||
|  |                                                                 <td colspan="3" align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtProjectName" runat="server" CssClass="TextBox_Long" MaxLength="50" | |||
|  |                                                                         Width="534px" CausesValidation="True"></asp:TextBox> | |||
|  |                                                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProjectName" | |||
|  |                                                                         ErrorMessage="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>" ValidationGroup="1"><3E><></asp:RequiredFieldValidator></td> | |||
|  |                                                             </tr> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label13" runat="server" CssClass="Label" Text="<22><>ʼʱ<CABC><CAB1>"></asp:Label></td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:DropDownList ID="drpdProjlisFromYear" CssClass="DropDownList" runat="server" | |||
|  |                                                                         Width="52px" Enabled="False"> | |||
|  |                                                                         <asp:ListItem Selected="True">2009</asp:ListItem> | |||
|  |                                                                         <asp:ListItem Value="2010">2010</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>2011</asp:ListItem> | |||
|  |                                                                     </asp:DropDownList> | |||
|  |                                                                     <20><> | |||
|  |                                                                     <asp:DropDownList ID="drplstProjFromMonth" CssClass="DropDownList" runat="server" | |||
|  |                                                                         Width="32px" Enabled="False"> | |||
|  |                                                                         <asp:ListItem Value="1">1</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>2</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>3</asp:ListItem> | |||
|  |                                                                         <asp:ListItem Value="4">4</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>5</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>6</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>7</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>8</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>9</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>10</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>11</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>12</asp:ListItem> | |||
|  |                                                                     </asp:DropDownList><3E><></td> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label16" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>"></asp:Label></td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:DropDownList ID="drplstProjectToYear" CssClass="DropDownList" runat="server" | |||
|  |                                                                         Width="52px" Enabled="False"> | |||
|  |                                                                         <asp:ListItem Selected="True">2009</asp:ListItem> | |||
|  |                                                                         <asp:ListItem Value="2010">2010</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>2011</asp:ListItem> | |||
|  |                                                                     </asp:DropDownList> | |||
|  |                                                                     <20><> | |||
|  |                                                                     <asp:DropDownList ID="drlstProjToMonth" CssClass="DropDownList" runat="server" Width="32px" Enabled="False"> | |||
|  |                                                                         <asp:ListItem Value="1">1</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>2</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>3</asp:ListItem> | |||
|  |                                                                         <asp:ListItem Value="4">4</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>5</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>6</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>7</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>8</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>9</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>10</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>11</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>12</asp:ListItem> | |||
|  |                                                                     </asp:DropDownList><3E><></td> | |||
|  |                                                             </tr> | |||
|  |                                                              | |||
|  |                                                             <tr> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label9" runat="server" CssClass="Label" Text="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtProjProgress" runat="server" CssClass="TextBox " MaxLength="25" | |||
|  |                                                                         ReadOnly="True" CausesValidation="True">0</asp:TextBox>%  | |||
|  |                                                                     </td> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label10" runat="server" CssClass="Label" Text="ʵ<>ʽ<EFBFBD><CABD><EFBFBD>ʱ<EFBFBD><CAB1>"></asp:Label></td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtPrjActualEndDate" runat="server" CssClass="TextBox " MaxLength="25" | |||
|  |                                                                         ReadOnly="True"></asp:TextBox> | |||
|  |                                                                 </td> | |||
|  |                                                             </tr> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label17" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtProjMaster" runat="server" CssClass="TextBox " MaxLength="25" | |||
|  |                                                                         ReadOnly="true"></asp:TextBox> | |||
|  |                                                                 </td> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label14" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Label> | |||
|  |                                                                 </td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:DropDownList ID="drplstProjDept" CssClass="DropDownList" runat="server"> | |||
|  |                                                                     </asp:DropDownList></td> | |||
|  |                                                             </tr> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="lbproperty" runat="server" CssClass="Label" Text="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>"></asp:Label> | |||
|  |                                                                 </td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:DropDownList ID="drplstProjType" CssClass="DropDownList" runat="server"> | |||
|  |                                                                         <asp:ListItem><3E>ص<EFBFBD><D8B5><EFBFBD>Ŀ</asp:ListItem> | |||
|  |                                                                         <asp:ListItem>һ<><D2BB><EFBFBD><EFBFBD>Ŀ</asp:ListItem> | |||
|  |                                                                         <asp:ListItem><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></asp:ListItem> | |||
|  |                                                                     </asp:DropDownList></td> | |||
|  |                                                                 <td> | |||
|  |                                                                     <asp:Label ID="Label15" runat="server" CssClass="Label" Text="<22><>ĿȨ<C4BF><C8A8>"></asp:Label> | |||
|  |                                                                 </td> | |||
|  |                                                                 <td align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtProjPercent" runat="server" CssClass="TextBox" MaxLength="50" | |||
|  |                                                                         Width="26px" CausesValidation="True">0</asp:TextBox> | |||
|  |                                                                     %<asp:RangeValidator id="RangeValidator3" runat="server" ControlToValidate="txtProjPercent" | |||
|  |                                                             ErrorMessage="<22><>ĿȨ<C4BF><C8A8>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD>0-100<30><30><EFBFBD><EFBFBD><EFBFBD>֡<EFBFBD>" MaximumValue="100" MinimumValue="0" SetFocusOnError="True" ValidationGroup="1" Type="Integer">*</asp:RangeValidator> | |||
|  |                                                                     <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="txtProjPercent" | |||
|  |                                                                         ErrorMessage="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĿȨ<C4BF><C8A8>" ValidationGroup="1">*</asp:RequiredFieldValidator></td> | |||
|  |                                                             </tr> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td > | |||
|  |                                                                     <asp:Label ID="Label18" runat="server" CssClass="Label" Text="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                                                                 <td colspan="3" style="height: 45px" align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtPrjDesc" runat="server" CssClass="TextBox" MaxLength="500" Height="68px" | |||
|  |                                                                         TextMode="MultiLine" Width="542px"> | |||
|  |                                                                     </asp:TextBox> | |||
|  |                                                                 </td> | |||
|  |                                                             </tr> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td nowrap> | |||
|  |                                                                     <asp:Label ID="lbprjmem4Delete" runat="server" CssClass="Label" Text="ɾ<><C9BE><EFBFBD><EFBFBD>Ŀ˵<C4BF><CBB5>" Visible="False"> | |||
|  |                                                                     </asp:Label></td> | |||
|  |                                                                 <td colspan="3" align="left"> | |||
|  |                                                                     <asp:TextBox ID="txtProjMem4delete" runat="server" CssClass="TextBox" MaxLength="500" | |||
|  |                                                                         Height="68px" TextMode="MultiLine" Width="542px" Visible="false"></asp:TextBox> | |||
|  |                                                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtProjMem4delete" | |||
|  |                                                                         ErrorMessage="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>" SetFocusOnError="True" ValidationGroup="3">*</asp:RequiredFieldValidator> | |||
|  |                                                                 </td> | |||
|  |                                                             </tr> | |||
|  |                                                             <tr> | |||
|  |                                                                 <td class="ALine" colspan="4"> | |||
|  |                                                                 </td> | |||
|  |                                                             </tr> | |||
|  |                                                         </table> | |||
|  |                                                         <div id="divEditProject" runat="server" align="Center"> | |||
|  |                                                             <asp:Button ID="btnSaveNewProj" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnProjSubmit_Click" ValidationGroup="1" /> | |||
|  |                                                             <!-- input type="button" id="btnResetNewPrj" onclick="reset()"   class="Button" visible="false" | |||
|  |                                                             value="ȡ<><C8A1><EFBFBD><EFBFBD>" name="ButtonCancel" / --> | |||
|  |                                                               | |||
|  |                                                             <asp:Button ID="btnpj2approve" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>ύ" OnClick="btnpj2approve_Click1" ValidationGroup="1" Visible="False" /> | |||
|  |                                                             <asp:Button ID="btnDelete" runat="server" CssClass="Button" Text="ɾ<><C9BE>" OnClick="btnDelete_Click" ValidationGroup="3" /></div> | |||
|  |                                                     </td> | |||
|  |                                                 </tr> | |||
|  |                                             </table> | |||
|  |                                         </asp:Panel> | |||
|  |                                     </td> | |||
|  |                                 </tr> | |||
|  |                                 <tr> | |||
|  |                                     <td> | |||
|  |                                         <asp:Panel ID="ProjectMonthDetail" runat="server" Width="100%" Visible="false" align="left"> | |||
|  |                                             <table width="80%" class="Table_NoBorder"> | |||
|  |                                                 <tr> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label2" runat="server" CssClass="Label" Text="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdName" runat="server" CssClass="TextBox " MaxLength="25" ReadOnly="True"></asp:TextBox> | |||
|  |                                                     </td> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label21" runat="server" CssClass="Label" Text="<22><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPrjProgress" CssClass="TextBox " runat="server" MaxLength="25" ReadOnly="True"></asp:TextBox> | |||
|  |                                                     </td> | |||
|  |                                                 </tr> | |||
|  |                                                 <tr> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label19" runat="server" CssClass="Label" Text="<22><>ʼʱ<CABC><CAB1>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdStartDate" CssClass="TextBox " runat="server" MaxLength="25" ReadOnly="True"></asp:TextBox></td> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label4" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdEndDate" runat="server" CssClass="TextBox " MaxLength="25" ReadOnly="True"></asp:TextBox></td> | |||
|  |                                                 </tr> | |||
|  |                                                 <tr> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label1" runat="server" CssClass="Label" Text="ʵ<>ʽ<EFBFBD><CABD><EFBFBD>ʱ<EFBFBD><CAB1>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdActualEndDate" runat="server" CssClass="TextBox " MaxLength="25" ReadOnly="True"></asp:TextBox></td> | |||
|  |                                                     <td> | |||
|  |                                                          </td> | |||
|  |                                                     <td> | |||
|  |                                                          </td> | |||
|  |                                                 </tr> | |||
|  |                                                 <tr> | |||
|  |                                                     <td colspan="4" class="ALine"> | |||
|  |                                                     </td> | |||
|  |                                                 </tr> | |||
|  |                                                 <tr> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label11" runat="server" CssClass="Label" Text="<22><><EFBFBD>¼ƻ<C2BC>Ŀ<EFBFBD><C4BF>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdPlanTarget" runat="server" CssClass="TextBox" MaxLength="25"> | |||
|  |                                                         </asp:TextBox></td> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label20" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdFinishTarget" runat="server" CssClass="TextBox" MaxLength="25"> | |||
|  |                                                         </asp:TextBox></td> | |||
|  |                                                 </tr> | |||
|  |                                                 <tr> | |||
|  |                                                     <td> | |||
|  |                                                         <asp:Label ID="Label3" runat="server" CssClass="Label" Text="<22><><EFBFBD>ɰٷֱ<D9B7>"></asp:Label></td> | |||
|  |                                                     <td align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdPercent" runat="server" CausesValidation="True"></asp:TextBox> | |||
|  |                                                         % | |||
|  |                                                          | |||
|  |                                                         <asp:RangeValidator id="RangeValidator1" runat="server" ControlToValidate="txtPdPercent" | |||
|  |                                                             ErrorMessage="<22><><EFBFBD><EFBFBD><EFBFBD>ٷֱ<D9B7>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD>0-100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1" MaximumValue="100" MinimumValue="0" SetFocusOnError="True" ValidationGroup="1" Type="Integer">*</asp:RangeValidator> | |||
|  |                                                         <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="txtPdPercent" | |||
|  |                                                             ErrorMessage="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¶<EFBFBD><C2B6><EFBFBD><EFBFBD>ɰٷֱ<D9B7>" ValidationGroup="1">*</asp:RequiredFieldValidator></td> | |||
|  |                                                     <td align="left" colspan="2"> | |||
|  |                                                          </td> | |||
|  |                                                 </tr> | |||
|  |                                                 <tr> | |||
|  |                                                     <td nowrap> | |||
|  |                                                         <asp:Label ID="lbpdMem" runat="server" CssClass="Label" Text="ִ<><D6B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>"></asp:Label></td> | |||
|  |                                                     <td colspan="3" align="left"> | |||
|  |                                                         <asp:TextBox ID="txtPdMem" runat="server" CssClass="TextBox" Height="159px" MaxLength="500" | |||
|  |                                                             TextMode="MultiLine" Width="614px"> | |||
|  |                                                         </asp:TextBox></td> | |||
|  |                                                        </tr> | |||
|  |                                                         | |||
|  |                                                        <tr> | |||
|  |                                                     <td colspan="4" class="ALine"> | |||
|  |                                                     </td> | |||
|  |                                                 </tr> | |||
|  |                                                     <tr> | |||
|  |                                                         <td> | |||
|  |                                                             <asp:Label ID="Label6" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD> "></asp:Label></td> | |||
|  |                                                         <td align="left"> | |||
|  |                                                             <asp:Button ID="btnFileUpload" runat="server" CssClass="Button" Text="<22>ϴ<EFBFBD>" OnClick="btnFileUpload_Click" /> | |||
|  |                                                             <asp:Button ID="btnFileUploadReferesh" runat="server" CssClass="Button" Text="ˢ<>¸<EFBFBD><C2B8><EFBFBD><EFBFBD>б<EFBFBD>" OnClick="btnFileUploadReferesh_Click1" /></td> | |||
|  |                                                         <td align="left"> | |||
|  |                                                              </td> | |||
|  |                                                         <td> | |||
|  |                                                              </td> | |||
|  |                                                     </tr> | |||
|  |                                                     <tr> | |||
|  |                                                         <td> | |||
|  |                                                             <asp:Label ID="Label7" runat="server" CssClass="Label" Text="<22><><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD>"></asp:Label> </td> | |||
|  |                                                         <td colspan="3" align="left"> | |||
|  |                                                             <asp:GridView ID="GVFiles" CssClass="DataGrid" PagerStyle-HorizontalAlign="Right" | |||
|  |                                                                 runat="server" DataKeyNames="ID" AllowPaging="True" OnSelectedIndexChanged="GVFiles_SelectedIndexChanged" | |||
|  |                                                                 Width="70%" ShowFooter="True" AutoGenerateColumns="False" OnRowDeleting="GVFiles_RowDeleting"> | |||
|  |                                                                 <Columns> | |||
|  |                                                                     <asp:BoundField ReadOnly="True" DataField="ID" SortExpression="ID" | |||
|  |                                                                         HeaderText="<22>ļ<EFBFBD>id" Visible="false"></asp:BoundField> | |||
|  |                                                                     <asp:BoundField DataField="File_Desc" SortExpression="File_Desc" HeaderText="<22>ļ<EFBFBD>˵<EFBFBD><CBB5>"></asp:BoundField> | |||
|  |                                                                     <asp:BoundField DataField="create_time" SortExpression="create_time" HeaderText="<22>ϴ<EFBFBD>ʱ<EFBFBD><CAB1>" | |||
|  |                                                                         DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False"></asp:BoundField> | |||
|  |                                                                     <asp:BoundField DataField="dr" Visible="False" SortExpression="dr" HeaderText="<22><><EFBFBD><EFBFBD>"></asp:BoundField> | |||
|  |                                                                     <asp:CommandField SelectText="<img src=../Images/detail.gif border=0 title=<3D>鿴  >" | |||
|  |                                                                         ShowDeleteButton="True" ShowHeader="True" DeleteText="<img src=../Images/Delete.gif border=0 title=ɾ<><C9BE> onclick='return delete_click()'>" | |||
|  |                                                                         ShowSelectButton="True" HeaderText="<22>ࡡ<EFBFBD><E0A1A1>"> | |||
|  |                                                                         <HeaderStyle Width="15%" HorizontalAlign="Center"></HeaderStyle> | |||
|  |                                                                         <ItemStyle Width="15%" HorizontalAlign="Center"></ItemStyle> | |||
|  |                                                                     </asp:CommandField> | |||
|  |                                                                 </Columns> | |||
|  |                                                                 <RowStyle CssClass="ItemStyle" HorizontalAlign="Center"></RowStyle> | |||
|  |                                                                 <EmptyDataTemplate> | |||
|  |                                                                     û<><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD></EmptyDataTemplate> | |||
|  |                                                                 <SelectedRowStyle CssClass="SelectedItemStyle"></SelectedRowStyle> | |||
|  |                                                                 <PagerStyle HorizontalAlign="Right" /> | |||
|  |                                                                 <HeaderStyle CssClass="HeaderStyle" HorizontalAlign="Center"></HeaderStyle> | |||
|  |                                                                 <AlternatingRowStyle CssClass="AlternatingItemStyle"></AlternatingRowStyle> | |||
|  |                                                             </asp:GridView> | |||
|  |                                                         </td> | |||
|  |                                                     </tr> | |||
|  |                                                     <tr> | |||
|  |                                                         <td colspan="4" class="ALine"> | |||
|  |                                                         </td> | |||
|  |                                                     </tr> | |||
|  |                                                     <tr> | |||
|  |                                                         <td colspan="4" align="center"> | |||
|  |                                                             <div runat="server" id="projMonthDetailEdit"> | |||
|  |                                                                 <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnSubmit_Click" ValidationGroup="1" /> | |||
|  |                                                                 <asp:Button ID="btnpd2approve" runat="server" CssClass="Button" Text="<22>¶<EFBFBD><C2B6>ύ" OnClick="btnpd2approve_Click" ValidationGroup="1" /></div> | |||
|  |                                                         </td> | |||
|  |                                                     </tr> | |||
|  |                                             </table> | |||
|  |                                         </asp:Panel> | |||
|  |                                         <table align="left" > | |||
|  |                                          <tr> | |||
|  |                                         <td   > | |||
|  |                                         <asp:ValidationSummary id="ValidationSummary1" runat="server" ValidationGroup="1" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ"></asp:ValidationSummary><asp:ValidationSummary id="ValidationSummary2" runat="server" ValidationGroup="3" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ"></asp:ValidationSummary> | |||
|  |                                         </td> | |||
|  |                                         </tr> | |||
|  |                                     | |||
|  |                                         </table> | |||
|  |                                         <br /> | |||
|  |                                         <asp:Panel ID="panelApprovelist" runat="server" Width="100%" Visible="false"> | |||
|  |                                             <div style="width: 98%;" align="left"> | |||
|  |                                                 <table width="80%" class="Table_Border" border="0" cellpadding="2" cellspacing="2"> | |||
|  |                                                     <asp:Repeater ID="RepeaterApproveList" runat="server"> | |||
|  |                                                         <ItemTemplate> | |||
|  |                                                                <tr class="HeaderStyle"> | |||
|  |                                                                                                     <td><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td> | |||
|  |                                                                                                     <td><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td> | |||
|  |                                                                                                       | |||
|  |                                                                                                     <td>ϵ<><CFB5></td> | |||
|  |                                                                                                     <td><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1></td> | |||
|  |                                                                                                   </tr>  | |||
|  |                                                                                                   <tr> | |||
|  |                                                                                                     <td><%# FormatShowContent((bool)DataBinder.Eval(Container.DataItem,"PA_PASS")) %></td> | |||
|  |                                                                                                     <td><%# DataBinder.Eval(Container.DataItem,"EM_NAME") %></td> | |||
|  |                                                                                                     <td><%# DataBinder.Eval(Container.DataItem,"PA_SCORE") %> | |||
|  |                                                                                                     | |||
|  |                                                                                                     <td><%# DataBinder.Eval(Container.DataItem,"CREATE_TIME") %></td> | |||
|  |                                                                                                   </tr> | |||
|  |                                                                                                   | |||
|  |                                                                                                   <tr> | |||
|  |                                                                                                     <td class="HeaderStyle"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע</td> | |||
|  |                                                                                                   <td colspan="4"><pre> <%# DataBinder.Eval(Container.DataItem,"PA_MEM") %></pre></td> | |||
|  |                                                                                                   </tr>  | |||
|  |                                                                                                    <tr> | |||
|  |                                                                                                   <td colspan="5" class="ALine"> | |||
|  |                                                                                                   </td> | |||
|  |                                                                                                   </tr> | |||
|  |                                                         </ItemTemplate> | |||
|  |                                                     </asp:Repeater> | |||
|  |                                                 </table> | |||
|  |                                             </div></asp:Panel> | |||
|  |                                     </td> | |||
|  |                                 </tr> | |||
|  |                             </table> | |||
|  |                         </td> | |||
|  |                     </tr> | |||
|  |                 </table> | |||
|  |             </td> | |||
|  |         </tr> | |||
|  |     </table> | |||
|  | </asp:Content> |