日期:2014-05-16 浏览次数:20363 次
<%@ taglib uri="http://www.htjs.net" prefix="htjs"%> <%@page contentType="text/html;charset=GBK"%> <head> <link href="/server/hmykt/public/inc/css/stylesheet_hmykt.css" rel="stylesheet" type="text/css"/> <script src="/inc/platform/js/pubjs.js"></script> <script src="/inc/platform/js/qx.js"></script> <script type="text/javascript" src="/server/hmykt/ggxxgl/jmggxx/js/jquery-1.7.1.js"></script> <script type="text/javascript" src="/inc/My97DatePicker/WdatePicker.js"></script> <title>流程定义</title> <script type='text/javascript'> function appendRow(show) { //var tr = $("#mbszlc").clone(true);//克隆一行 //tr.insertBefore("#table2 tr:last");//把这行加到表格的倒数第二行,表格添加完毕 var tr = $(show).parent("td").parent("tr"); var clonetr = tr.clone(true); clonetr.insertAfter(tr); var num = clonetr.find(":input[name='workflowOrderNum']").val(); alert(num); clonetr.find(":input[name='workflowOrderNum']").val(new Number(num)+1); clonetr.find("td :image[name='messageImage']").hide(); } function delRow(rows) { $(rows).parent("td").parent("tr").remove(); } </script> </head> <body> <form name="templateWorkFlowrRelationForm" method="post" action=""> <table id="" width="95%" border="0" cellspacing="0" cellpadding="5" class="tablebgW"> <tr class="content"> <td> 为模板设置流程 </td> </tr> </table> <br /> <table id="table2" width="90%" cellpadding="1" cellspacing="1" align="center" class="tablebgW"> <tr class="tableTitle"> <td align="center" nowrap class="tableCenter"> 选择流程 </td> <td align="center" nowrap class="tableCenter"> 排序号 </td> <td align="center" nowrap class="tableCenter"> 操作 </td> </tr> <tr class="back5" id="mbszlc"> <td class="tableRight" width="40%"> <SELECT name="workflowID" id="workflowID"> <option value="101" selected="selected"> 省级业务办理 </option> <option value="102"> 市级业务办理 </option> <option value="103"> 县级业务办理 </option> <option value="104"> 乡级业务办理 </option> </SELECT> <font color="red">必选</font> </td&g