📄 workflowroute_modify.jsp
字号:
<tr bgcolor="#fafafa">
<td width="100"> <font class="strong"> 类型: </font></td>
<td width="456">
<select name="workflowTypeId">
<option value="-1" > 请选择</option>
<%
int typeId = routeValueBean.getWorkflowTypeId();
Hashtable hash = WorkflowLoader.getAllWorkflowType();
Enumeration enum = hash.keys();
if(enum != null)
{
while(enum.hasMoreElements())
{
String key = (String)enum.nextElement();
String s = (String)hash.get(key);
if( Integer.parseInt( key ) == WorkFlowType.CONFERENCE )
continue;
%>
<option value="<%= key%>" <% if ( typeId == Integer.parseInt( key ) ) out.println("selected"); %>><%= s%>
<%}}%>
</select> *
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="100"> <font class="strong"> 创建人: </font>
</td>
<td width="456"><%= FieldUtil.filterScriptTag( BusinessName.getEmpName() ) %> </td>
</tr>
<tr bgcolor="#fafafa">
<td width="100" > <font class="strong"> 创建时间: </font>
</td>
<td width="456"><script language="javascript">
AfineDate=new Date();
Month=AfineDate.getMonth()+1;
document.write ( AfineDate.getYear()+"-"+Month+"-"+AfineDate.getDate() );
</script>
</td>
</tr>
<tr bgcolor="#fafafa">
<td width="100" bgcolor="#e0e0e0"><font class="strong"> 工作流描述:
</font></td>
<td width="456" bgcolor="#e0e0e0">
<textarea name="description" cols="59" rows="5"><%=FieldUtil.filterQuotTag( routeValueBean.getDescription() ) %></textarea>
</td>
</tr>
<tr bgcolor="#fafafa">
<td rowspan="2"><font class="strong"> 上传附件:</font></td>
<td rowspan="2">
<select size="5" name="attachments" style="width:300" class="text">
<workflow:fileList collection="<%=routeValueBean.getRouteFiles()%>">
<workflow:items>
<option value="<workflow:fileAttribute attribute='workflowfile_title' />" >
<workflow:fileAttribute attribute="workflowfile_name"/>
</option>
</workflow:items>
</workflow:fileList>
</select>
<input type="button" name="delete" value="删除" class="file" onClick="deleteDoc( this.form )">
<input type="file" name="file" class="file" size="24">
<input type="button" name="post" value="上传" class="file" onClick="uploadDoc( this.form )">
</td>
</tr>
<tr bgcolor="#e0e0e0"> </tr>
<!-- 6-28 modify begin -->
<tr bgcolor="#e0e0e0">
<td colspan =3 ><font class="strong"> 子任务:</font> * </td>
</tr>
</table>
<table border="0" cellspacing="1" cellpadding="2" width="600" bgcolor="#e0e0e0" class=title>
<tr class="table_row_title">
<td colspan="5" height="30" bgcolor="#fafafa">
<input type="button" name="newSubtask" style="width:70px" value="新建子任务" class="file" onClick="createSubtask( this.form )" >
<input type="button" name="delete" value="删除" class="file" onClick="deleteSubtask( this.form )">
</td>
</tr>
<tr class="table_row_title">
<td align="center" width="7%"><font class="strong">选择</font> </td>
<td width="14%" align="center" nowrap><font class="strong">顺序</font></td>
<td width="33%" align="center" nowrap><font class="strong">名称</font></td>
<td width="27%" align="center" nowrap><font class="strong">执行者</font></td>
<td width="19%" align="center" nowrap><font class="strong">子任务类型</font></td>
</tr>
<workflow:subtaskList routevalue="<%=routeValueBean %>">
<%
int subtaskNum = routeValueBean.getSubtaskNum();
int jj = 0;
%>
<workflow:items>
<tr bgcolor="<vnex:itemsColor />">
<td align="center" width="7%">
<input type="checkbox" name="subtaskIds" value="<workflow:subtaskAttribute attribute='subtask_id' />">
</td>
<td width="14%" align="center">
<select name="stepNos">
<workflow:subtaskAttribute attribute="subtask_stepNo"/>
<% jj = 0;
String stepNo= (String)pageContext.getAttribute("stepNo");
int num = Integer.parseInt( stepNo );
for( int i= 1 ; i <= subtaskNum ; i++ )
{
%>
<option value="<%=i%>"
<% if( i == num )
{
jj++;
%> selected
<%}
%>
> <%=i%>
</option>
<%
}
if( jj == 0 )
{
%>
<option value="<%=num%>" selected ><%=num%></option>
<%
}
%>
</select>
</td>
<td width="33%" align="center">
<a onClick=" modifySubtask( document.forms[0], '<%=pageContext.getAttribute("subId")%>');return false;" href="#" >
<workflow:subtaskAttribute attribute="subtask_name" />
</a></td>
<td width="27%" >
<div align="center"><workflow:subtaskAttribute attribute="executor_names" /> </div>
</td>
<td width="19%">
<div align="center"><workflow:subtaskAttribute attribute="subtask_type" /> </div>
</td>
</tr>
</workflow:items>
<tr bgcolor="#e0e0e0">
<td align="center" width="7%">
<input type="checkbox" name="myAll" onClick="checkAll(this.form.subtaskIds, this.form.myAll)">
</td>
<td colspan="4" >全选</td>
</tr>
</workflow:subtaskList>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td height="30">
<input type="button" name="save" value="保存" class="file" onClick=" saveRoute( this.form )" >
<input type="button" name="cut" value="放弃" class="file" onClick=" cancleCreate( this.form )" >
</td>
</tr>
</table>
</td>
</tr>
</table>
<jsp:include page="/vnex/page/TTOA_HELP.jsp" />
</TD>
</TR>
<jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
</TABLE>
<BR>
<jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
</form></DIV>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -