add_flow.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:8k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_flow.aspx.cs" Inherits="web_approvel_flow_add_flow" %>
- <!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 language="javascript" type="text/javascript">
- function SelectEmployee()
- {
- var url = "../../personnel/curricula_vitae/employee_select_single_index.aspx";
- var features = "width=500,height=400,top=100,left=200,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes";
- var selectEmployee = open(url, 'selectEmployee', features);
- selectEmployee.focus();
- }
- function setValue(value, text)
- {
- document.all.TxtOperator.value=text;
- document.all.OperatorId.value=value;
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <center>
- <table>
- <tr>
- <td valign="top">
- <asp:Panel ID="Panel1" runat="server">
- <asp:Table ID="TblFlow" runat="server" Width="550px">
- <asp:TableHeaderRow runat="server">
- <asp:TableHeaderCell HorizontalAlign="Left" runat="server" BackColor="lightGray" ColumnSpan="2">流程表單</asp:TableHeaderCell>
- </asp:TableHeaderRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label1" runat="server" Text="流程名稱"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtName" runat="server"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
- ErrorMessage="名稱不能為空" ControlToValidate="TxtName" Display="None"></asp:RequiredFieldValidator>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label2" runat="server" Text="類別"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:DropDownList ID="DdlType" runat="server">
- <asp:ListItem Text="會簽" Value="1"></asp:ListItem>
- <asp:ListItem Text="審批" Value="2" Selected="True"></asp:ListItem>
- </asp:DropDownList>
- </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">
- <asp:TextBox ID="TxtNumber" runat="server"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
- ErrorMessage="編號不能為空" ControlToValidate="TxtNumber" Display="None"></asp:RequiredFieldValidator>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label5" runat="server" Text="辦理人"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtOperator" runat="server" Enabled="False"></asp:TextBox>
- <asp:HiddenField ID="OperatorId" runat="server" />
- <input type="button" value="選擇" onclick="SelectEmployee()" />
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label6" runat="server" Text="下一步編號"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtNextNumber" runat="server"></asp:TextBox>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label7" runat="server" Text="最大天數"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtLargerThan" runat="server"></asp:TextBox>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell BorderWidth="1px" runat="server">
- <asp:Label ID="Label3" runat="server" Text="超過最大天數跳轉編號"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="Left" runat="server">
- <asp:TextBox ID="TxtLargerNext" runat="server"></asp:TextBox>
- </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:Button ID="BtnCancel" runat="server" Text="取消" OnClick="BtnCancel_Click" />
- </asp:TableCell>
- </asp:TableRow>
- </asp:Table><br />
- <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
- </asp:Panel>
- </td>
- </tr>
- </table><br />
- <asp:Table ID="TblFlowList" runat="server" style="position: relative;" Width="550px">
- </asp:Table>
- </center>
- </div>
- </form>
- </body>
- </html>