EditJump.aspx
资源名称:精品OA.rar [点击查看]
上传用户:xgw_05
上传日期:2009-12-11
资源大小:20208k
文件大小:6k
源码类别:
OA系统
开发平台:
C#
- <%@ Page language="c#" Codebehind="EditJump.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.DocumentFlow.EditJump" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>EditJump</title>
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
- <script language="javascript">
- function delete_confirm(e) {
- if (event.srcElement.outerText == "删除")
- event.returnValue =confirm("您确认要删除?");
- }
- document.onclick=delete_confirm;
- </script>
- </HEAD>
- <body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <TABLE class="gbtext" id="Table2" cellSpacing="1" cellPadding="1" width="100%" border="0">
- <TR>
- <TD style="HEIGHT: 30px" background="../../../Images/treetopbg.jpg" colSpan="2"><FONT face="宋体">步骤跳转:
- <asp:label id="labTitle" runat="server" Width="318px"></asp:label></FONT></TD>
- </TR>
- <TR>
- <TD style="WIDTH: 61px"><FONT face="宋体">条件判断:</FONT></TD>
- <TD><FONT face="宋体"><asp:dropdownlist id="ddFieldName" runat="server" Width="150px" Height="20px"></asp:dropdownlist> <asp:dropdownlist id="ddCompare" runat="server" Width="77px" Height="20px">
- <asp:ListItem Value="1">></asp:ListItem>
- <asp:ListItem Value="2">=</asp:ListItem>
- <asp:ListItem Value="3"><</asp:ListItem>
- <asp:ListItem Value="4">>=</asp:ListItem>
- <asp:ListItem Value="5"><=</asp:ListItem>
- <asp:ListItem Value="6"><></asp:ListItem>
- </asp:dropdownlist> <asp:textbox id="txtContant" runat="server" Width="58px" Height="20px" CssClass="inputcss">0</asp:textbox></FONT></TD>
- </TR>
- <TR>
- <TD style="WIDTH: 61px">
- <P><FONT face="宋体">分支跳转:</FONT></P>
- </TD>
- <TD><FONT face="宋体"><asp:dropdownlist id="ddStep" runat="server" Width="150px" Height="20px"></asp:dropdownlist> 流转规则:
- <asp:dropdownlist id="ddlFlowRule" runat="server" Width="84px">
- <asp:ListItem Value="0">按人员</asp:ListItem>
- <asp:ListItem Value="1">按职位</asp:ListItem>
- <asp:ListItem Value="2" Selected="True">按项目</asp:ListItem>
- </asp:dropdownlist></FONT></TD>
- </TR>
- <TR>
- <TD style="WIDTH: 61px"></TD>
- <TD><asp:button id="cmdInsert" accessKey="a" runat="server" Width="56px" Height="20px" CssClass="buttoncss"
- Text="新增"></asp:button><asp:button id="cmdReturn" accessKey="r" runat="server" Width="60px" CssClass="buttoncss" Text="返回"></asp:button></TD>
- </TR>
- <TR>
- <TD colSpan="2"><FONT face="宋体"><asp:datagrid id="dgJumpList" runat="server" Width="100%" BorderColor="#93BEE2" BorderStyle="None"
- BorderWidth="1px" BackColor="White" CellPadding="3" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanged="DataGrid_PageChanged"
- HorizontalAlign="Center" AllowSorting="True" DataKeyField="Priority" OnEditCommand="MyGrid_Move" OnDeleteCommand="MyGrid_Delete">
- <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
- <AlternatingItemStyle Font-Size="X-Small" HorizontalAlign="Center" BackColor="#E8F4FF"></AlternatingItemStyle>
- <ItemStyle Font-Size="X-Small" HorizontalAlign="Center" ForeColor="#003399" BackColor="White"></ItemStyle>
- <HeaderStyle Font-Size="X-Small" Font-Bold="True" HorizontalAlign="Center" ForeColor="White"
- BackColor="#337FB2"></HeaderStyle>
- <FooterStyle HorizontalAlign="Center" ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
- <Columns>
- <asp:BoundColumn DataField="Priority" HeaderText="优先">
- <HeaderStyle Width="10%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="field_description" HeaderText="字段">
- <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Compare" HeaderText="比较">
- <HeaderStyle Width="10%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="comparevalue" HeaderText="数字">
- <HeaderStyle Width="10%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:TemplateColumn HeaderText="规则">
- <HeaderStyle Width="10%"></HeaderStyle>
- <ItemTemplate>
- <asp:Label runat="server" Text='<%# GetTranslateFlowRule(DataBinder.Eval(Container, "DataItem.Flow_Rule").ToString()) %>'>
- </asp:Label>
- </ItemTemplate>
- <EditItemTemplate>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="step_name" HeaderText="转到步骤">
- <HeaderStyle Width="20%"></HeaderStyle>
- </asp:BoundColumn>
- <asp:ButtonColumn Text="删除" HeaderText="操作" CommandName="Delete">
- <HeaderStyle Width="6%"></HeaderStyle>
- </asp:ButtonColumn>
- <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="位置" CancelText="取消" EditText="上移">
- <HeaderStyle Width="6%"></HeaderStyle>
- </asp:EditCommandColumn>
- </Columns>
- <PagerStyle Font-Size="X-Small" HorizontalAlign="Right" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
- </asp:datagrid></FONT></TD>
- </TR>
- </TABLE>
- </form>
- </body>
- </HTML>