📄 document_route_subtask_create.jsp
字号:
<%@ taglib uri="/vnex.tld" prefix="vnex" %>
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
<%@ page import="com.vnex.intranet.workflow.document.value.*" %>
<%@ page import="com.vnex.intranet.util.FieldUtil" %>
<jsp:useBean id="dsvb" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
<%
dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
String current = new java.sql.Date(System.currentTimeMillis()).toString();
%>
<jsp:setProperty name="dsvb" property="*" />
<%
if( request.getParameter("instancyType") != null )
{
String dtype = request.getParameter("instancyType");
dsvb.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
}
if( request.getParameter("securityType") != null )
{
String stype = request.getParameter("securityType");
dsvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
}
session.setAttribute( "document", dsvb );
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<jsp:include page="/vnex/page/FORM_HEAD.jsp" />
<BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
<script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
<SCRIPT>
window.onload=init
</SCRIPT>
<script language="JavaScript" >
function saveSubtask( myform, goon )
{
selectAll( myform.selectedIDList);
if ( !checkSubtask( myform ) )
return false;
if( myform.subPlanEndTimeS.value!= "" && ( "<%=current%>" > myform.subPlanEndTimeS.value) )
{
alert("截止时间必须在本日之后");
return false;
}
myform.action= "/mainctrl/office/document/sentsubtasksave?flag=<%=request.getParameter("isDocCreate")%>&goon=" + goon;
myform.submit();
}
function cancleCreateSubtask( myform )
{
<%
if( request.getParameter("isDocCreate").equals( "docModify" ) )
{
%>
myform.action= "/mainctrl/office/document/sentupdate?comeback=1&flag=routeModify";
<%
}
else
{
%>
myform.action= "/mainctrl/office/document/sentcreate";
<%
}
%>
myform.submit();
}
</script>
<script language="JavaScript" src="/vnex/util/validate.js"></script>
<script language="JavaScript" src="/vnex/intranet/workflow/util/checkSubtask.js"></script>
<script language="JavaScript" src="/vnex/util/popSelect.js"></script>
<script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
<DIV align=center>
<form name="form1" method="post">
<TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
<jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
<TR>
<TD colSpan=3 align="center">
<br><!--个人信息开始 -->
<table width="600" border="1" cellspacing="1" bordercolor="#666666">
<tr bgcolor="#fafafa">
<td bgcolor="#fafafa">
<table class=title width="600" border="0" cellspacing="1" cellpadding="2">
<tr bgcolor="#666666" >
<td colspan="2" height="15"><font class="strongw"> <a href="/mainctrl/system/main"><font color="#FFFFFF">首页</font></a>
>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>>
<a href="/mainctrl/office/document/sentlist"><font color="#FFFFFF">发文管理</font></a>>><font color="#FFFFFF">创建子任务</font>
</font></td>
</tr>
<tr bgcolor="#fafafa">
<td width="100"> <font class="strong"> 顺序:</font> </td>
<td width="456">
<% int subtaskNum = dsvb.getRoute().getSubtaskNum();%>
<select name="subStepNo">
<% for( int i= 1 ; i <= subtaskNum + 1 ; i++ )
{
%>
<option value="<%=i%>" <% if ( i == subtaskNum + 1 ) out.println("selected");%>><%=i%></option>
<% } %>
</select>
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="100"> <font class="strong"> 子任务标题:</font>
</td>
<td width="456">
<input type="text" name="subTitle" size="24" class="file">
* (注:带*为必填内容)</td>
</tr>
<tr bgcolor="#fafafa">
<td width="100"> <font class="strong"> 执行人: </font>
</td>
<td width="456">
<input type="hidden" name="updated" value="false">
<input type="hidden" name="tempHidden" value="">
<select name="selectedIDList" size="4" multiple style="width:260" class="file">
</select>
<input type="button" name="Submit1" style="width:70px" value="按部门选择" class="file" onClick="javascript:addList( selectedIDList )">
<input type="button" name="Submit2" style="width:60px" value="分组选择" class="file" onClick="javascript:addGroupList( selectedIDList )">
<input type="button" name="Submit3" value="删除" class="file" onClick="remove(); return false;"> *
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="100"> <font class="strong"> 类型: </font> </td>
<td width="456">
<select name="subTypeId">
<option value="-1" SELECTED > 请选择</option>
<option value= 1 >审批</option>
<option value= 2 >执行</option>
<option value= 3 >传阅</option>
</select> *
</td>
</tr>
<tr bgcolor="#fafafa">
<td width="100"> <font class="strong"> 截止时间:</font>
</td>
<td width="456">
<input type="text" name="subPlanEndTimeS" readonly size="24" class="file" >
<img src="/vnex/intranet/calendar/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(subPlanEndTimeS);return false">
<select name="hourS">
<vnex:hourTag />
</select>时
</td>
</tr>
<tr >
<td width="100" bgcolor="#e0e0e0"><font class="strong"> 子任务描述:
</font></td>
<td width="456" bgcolor="#e0e0e0">
<textarea name="subDescription" cols="59" rows="5"></textarea>
</td>
</tr>
<tr bgcolor="#fafafa" align="center">
<td colspan="3" height="30">
<input type="hidden" name="isNew" value="true">
<input type="button" name="Submit4" style="width:60px" value="继续增加" class="file" onClick="saveSubtask( this.form, 'true' )">
<input type="button" name="submit5" value="保存" class="file" onClick="saveSubtask( this.form, 'false' )">
<input type="reset" name="submit6" value="放弃" class="file" onClick="cancleCreateSubtask( 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 + -