add_property.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:4k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_property.aspx.cs" Inherits="web_approvel_flow_add_property" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
  7.     <script type="text/javascript" language="javascript">
  8.         function selectDepartment()
  9.         {
  10.             var url = "../../personnel/department/department_select_chk.aspx";
  11.             var features = "width=1030,height=720,top=0,left=0,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes";
  12.             var selectDepartment = open(url, 'selectDepartment', features);
  13.             selectDepartment.focus();
  14.         }
  15.     </script>
  16. </head>
  17. <body>
  18.     <form id="form1" runat="server">
  19.     <div><br />
  20.         <center>
  21.         <asp:Table ID="TblFlowMain" runat="server" Style="position: relative" Width="500px">
  22.             <asp:TableHeaderRow runat="server" BackColor="LightGray">
  23.                 <asp:TableHeaderCell ColumnSpan="4" HorizontalAlign="Left" runat="server">添加表單屬性</asp:TableHeaderCell>
  24.             </asp:TableHeaderRow>
  25.             <asp:TableRow runat="server">
  26.                 <asp:TableCell BorderWidth="1px" runat="server">
  27.                     <asp:Label ID="Label2" runat="server" Text="名稱" BorderStyle="None"></asp:Label></asp:TableCell>
  28.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
  29.                     <asp:TextBox ID="TxtName" runat="server" Width="350px"></asp:TextBox>
  30.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="名稱不能為空" ControlToValidate="TxtName"></asp:RequiredFieldValidator></asp:TableCell>
  31.             </asp:TableRow>
  32.             <asp:TableRow runat="server">
  33.                 <asp:TableCell BorderWidth="1px" runat="server">
  34.                     <asp:Label ID="Label3" runat="server" Text="描述" BorderStyle="None"></asp:Label></asp:TableCell>
  35.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
  36.                     <asp:TextBox ID="TxtDescription" runat="server" Width="350px" Rows="3" TextMode="MultiLine"></asp:TextBox></asp:TableCell>
  37.             </asp:TableRow>
  38.             <asp:TableRow>
  39.                 <asp:TableCell BorderWidth="1px">
  40.                     <asp:Label ID="Label5" runat="server" Text="適用類別" BorderStyle="None"></asp:Label></asp:TableCell>
  41.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  42.                     <asp:RadioButtonList ID="RbType" runat="server" RepeatDirection="Horizontal">
  43.                         <asp:ListItem Text="台幹" Value="1" Selected="True"></asp:ListItem>
  44.                         <asp:ListItem Text="中幹" Value="2"></asp:ListItem>
  45.                         <asp:ListItem Text="台幹和中幹" Value="3"></asp:ListItem>
  46.                     </asp:RadioButtonList></asp:TableCell>
  47.             </asp:TableRow>
  48.             <asp:TableRow runat="server">
  49.                 <asp:TableCell BorderWidth="1px" runat="server">
  50.                     <asp:Label ID="Label4" runat="server" Text="適用部門"></asp:Label></asp:TableCell>
  51.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
  52.                     <input type="button" value="選擇" onclick="selectDepartment()" />
  53.                     <asp:Label ID="LblDepartments" runat="server" BorderStyle="None"></asp:Label>
  54.                     <asp:HiddenField ID="DepartmentIds" runat="server" />
  55.                 </asp:TableCell>
  56.             </asp:TableRow>
  57.             <asp:TableRow runat="server">
  58.                 <asp:TableCell BorderWidth="1px" ColumnSpan="2" runat="server">
  59.                     <asp:Button ID="BtnOk" runat="server" Text="儲存" OnClick="BtnOk_Click"/></asp:TableCell>
  60.             </asp:TableRow>
  61.         </asp:Table>
  62.         </center>
  63.     </div>
  64.     </form>
  65. </body>
  66. </html>