EditJump.aspx
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:6k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="EditJump.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.DocumentFlow.EditJump" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>EditJump</title>
  6. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. function delete_confirm(e) {
  13. if (event.srcElement.outerText == "删除")
  14. event.returnValue =confirm("您确认要删除?");
  15. }
  16. document.onclick=delete_confirm;
  17. </script>
  18. </HEAD>
  19. <body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
  20. <form id="Form1" method="post" runat="server">
  21. <TABLE class="gbtext" id="Table2" cellSpacing="1" cellPadding="1" width="100%" border="0">
  22. <TR>
  23. <TD style="HEIGHT: 30px" background="../../../Images/treetopbg.jpg" colSpan="2"><FONT face="宋体">步骤跳转:
  24. <asp:label id="labTitle" runat="server" Width="318px"></asp:label></FONT></TD>
  25. </TR>
  26. <TR>
  27. <TD style="WIDTH: 61px"><FONT face="宋体">条件判断:</FONT></TD>
  28. <TD><FONT face="宋体"><asp:dropdownlist id="ddFieldName" runat="server" Width="150px" Height="20px"></asp:dropdownlist>&nbsp;<asp:dropdownlist id="ddCompare" runat="server" Width="77px" Height="20px">
  29. <asp:ListItem Value="1">&gt;</asp:ListItem>
  30. <asp:ListItem Value="2">=</asp:ListItem>
  31. <asp:ListItem Value="3">&lt;</asp:ListItem>
  32. <asp:ListItem Value="4">&gt;=</asp:ListItem>
  33. <asp:ListItem Value="5">&lt;=</asp:ListItem>
  34. <asp:ListItem Value="6">&lt;&gt;</asp:ListItem>
  35. </asp:dropdownlist>&nbsp;<asp:textbox id="txtContant" runat="server" Width="58px" Height="20px" CssClass="inputcss">0</asp:textbox></FONT></TD>
  36. </TR>
  37. <TR>
  38. <TD style="WIDTH: 61px">
  39. <P><FONT face="宋体">分支跳转:</FONT></P>
  40. </TD>
  41. <TD><FONT face="宋体"><asp:dropdownlist id="ddStep" runat="server" Width="150px" Height="20px"></asp:dropdownlist>&nbsp;流转规则:
  42. <asp:dropdownlist id="ddlFlowRule" runat="server" Width="84px">
  43. <asp:ListItem Value="0">按人员</asp:ListItem>
  44. <asp:ListItem Value="1">按职位</asp:ListItem>
  45. <asp:ListItem Value="2" Selected="True">按项目</asp:ListItem>
  46. </asp:dropdownlist></FONT></TD>
  47. </TR>
  48. <TR>
  49. <TD style="WIDTH: 61px"></TD>
  50. <TD><asp:button id="cmdInsert" accessKey="a" runat="server" Width="56px" Height="20px" CssClass="buttoncss"
  51. Text="新增"></asp:button><asp:button id="cmdReturn" accessKey="r" runat="server" Width="60px" CssClass="buttoncss" Text="返回"></asp:button></TD>
  52. </TR>
  53. <TR>
  54. <TD colSpan="2"><FONT face="宋体"><asp:datagrid id="dgJumpList" runat="server" Width="100%" BorderColor="#93BEE2" BorderStyle="None"
  55. BorderWidth="1px" BackColor="White" CellPadding="3" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanged="DataGrid_PageChanged"
  56. HorizontalAlign="Center" AllowSorting="True" DataKeyField="Priority" OnEditCommand="MyGrid_Move" OnDeleteCommand="MyGrid_Delete">
  57. <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
  58. <AlternatingItemStyle Font-Size="X-Small" HorizontalAlign="Center" BackColor="#E8F4FF"></AlternatingItemStyle>
  59. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center" ForeColor="#003399" BackColor="White"></ItemStyle>
  60. <HeaderStyle Font-Size="X-Small" Font-Bold="True" HorizontalAlign="Center" ForeColor="White"
  61. BackColor="#337FB2"></HeaderStyle>
  62. <FooterStyle HorizontalAlign="Center" ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
  63. <Columns>
  64. <asp:BoundColumn DataField="Priority" HeaderText="优先">
  65. <HeaderStyle Width="10%"></HeaderStyle>
  66. </asp:BoundColumn>
  67. <asp:BoundColumn DataField="field_description" HeaderText="字段">
  68. <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
  69. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  70. </asp:BoundColumn>
  71. <asp:BoundColumn DataField="Compare" HeaderText="比较">
  72. <HeaderStyle Width="10%"></HeaderStyle>
  73. </asp:BoundColumn>
  74. <asp:BoundColumn DataField="comparevalue" HeaderText="数字">
  75. <HeaderStyle Width="10%"></HeaderStyle>
  76. </asp:BoundColumn>
  77. <asp:TemplateColumn HeaderText="规则">
  78. <HeaderStyle Width="10%"></HeaderStyle>
  79. <ItemTemplate>
  80. <asp:Label runat="server" Text='<%# GetTranslateFlowRule(DataBinder.Eval(Container, "DataItem.Flow_Rule").ToString()) %>'>
  81. </asp:Label>
  82. </ItemTemplate>
  83. <EditItemTemplate>
  84. </EditItemTemplate>
  85. </asp:TemplateColumn>
  86. <asp:BoundColumn DataField="step_name" HeaderText="转到步骤">
  87. <HeaderStyle Width="20%"></HeaderStyle>
  88. </asp:BoundColumn>
  89. <asp:ButtonColumn Text="删除" HeaderText="操作" CommandName="Delete">
  90. <HeaderStyle Width="6%"></HeaderStyle>
  91. </asp:ButtonColumn>
  92. <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="位置" CancelText="取消" EditText="上移">
  93. <HeaderStyle Width="6%"></HeaderStyle>
  94. </asp:EditCommandColumn>
  95. </Columns>
  96. <PagerStyle Font-Size="X-Small" HorizontalAlign="Right" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  97. </asp:datagrid></FONT></TD>
  98. </TR>
  99. </TABLE>
  100. </form>
  101. </body>
  102. </HTML>