add_property.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:4k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_property.aspx.cs" Inherits="web_approvel_flow_add_property" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" language="javascript">
- function selectDepartment()
- {
- var url = "../../personnel/department/department_select_chk.aspx";
- var features = "width=1030,height=720,top=0,left=0,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes";
- var selectDepartment = open(url, 'selectDepartment', features);
- selectDepartment.focus();
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div><br />
- <center>
- <asp:Table ID="TblFlowMain" runat="server" Style="position: relative" Width="500px">
- <asp:TableHeaderRow runat="server" BackColor="LightGray">
- <asp:TableHeaderCell ColumnSpan="4" HorizontalAlign="Left" runat="server">添加表單屬性</asp:TableHeaderCell>
- </asp:TableHeaderRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label2" runat="server" Text="名稱" BorderStyle="None"></asp:Label></asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtName" runat="server" Width="350px"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="名稱不能為空" ControlToValidate="TxtName"></asp:RequiredFieldValidator></asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label3" runat="server" Text="描述" BorderStyle="None"></asp:Label></asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtDescription" runat="server" Width="350px" Rows="3" TextMode="MultiLine"></asp:TextBox></asp:TableCell>
- </asp:TableRow>
- <asp:TableRow>
- <asp:TableCell BorderWidth="1px">
- <asp:Label ID="Label5" runat="server" Text="適用類別" BorderStyle="None"></asp:Label></asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
- <asp:RadioButtonList ID="RbType" runat="server" RepeatDirection="Horizontal">
- <asp:ListItem Text="台幹" Value="1" Selected="True"></asp:ListItem>
- <asp:ListItem Text="中幹" Value="2"></asp:ListItem>
- <asp:ListItem Text="台幹和中幹" Value="3"></asp:ListItem>
- </asp:RadioButtonList></asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label4" runat="server" Text="適用部門"></asp:Label></asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <input type="button" value="選擇" onclick="selectDepartment()" />
- <asp:Label ID="LblDepartments" runat="server" BorderStyle="None"></asp:Label>
- <asp:HiddenField ID="DepartmentIds" runat="server" />
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" ColumnSpan="2" runat="server">
- <asp:Button ID="BtnOk" runat="server" Text="儲存" OnClick="BtnOk_Click"/></asp:TableCell>
- </asp:TableRow>
- </asp:Table>
- </center>
- </div>
- </form>
- </body>
- </html>