⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 taskcategoryadd.jsp

📁 本人课程设计时做的一个用struts框架实现的基于cmmi2的项目管理系统的原型。还有部分功能尚未实现
💻 JSP
字号:
<jsp:include page="/include/global.jsp"/>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
<head>
<title><bean:message key="global.cmmi2pms"/> <bean:message key="global.version"/></title>
<meta http-equiv="Pragma" content="no-cache">
<link rel="stylesheet" type="text/css" href="../../common/olstyle.css">
<html:javascript formName="taskCategoryForm" dynamicJavascript="true" staticJavascript="false"/>
<script language="JavaScript" src="../../staticJavascript.jsp"></script>
<script  language="JavaScript" src="../../common/meizzDate.js"></script>
<script language="javascript">
function selectUsers(obj) {
    ret = showModalDialog("../../admin/user/userSelectIndex.htm",null,'status:no;scroll:yes;help:no;dialogWidth:400px;dialogHeight:300px');
    if (ret!=null) obj.value=ret;
}
</script>
</head>
<body onload="showErrors();" leftmargin="2" topmargin="5" marginwidth="2" marginheight="2">
<table>
<tr>
<td height="6"></td>
</tr>
<tr>
<td>
<html:form action="/pp/task/taskCategorySave.do" onsubmit="return validateTaskCategoryForm(this);">
<html:hidden property="realStartDateStr"/>
<html:hidden property="checkDateStr"/>
<table width="100%" align="center">
  <tr>
    <td>
<table width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="20" bgcolor="#669999"><div align="center"><font color="#FFFF99">添加新任务</font></div></td>
        </tr>
      </table>
      <table class="dialog" width="100%">
        <!--tr class="inputRow">
          <td align="right" width="80">父 任 务&nbsp;&nbsp;</td>
          <td><font color="#000099"><html:hidden  property="parentCategoryName" write="true"/><html:hidden  property="parentCategoryId"/></font></td>
        </tr--><html:hidden  property="parentCategoryId"/>
        <tr class="inputRow">
          <td align="right" width="80"><bean:message key="global.red_asterisk"/> 任务名称&nbsp;&nbsp;</td>
          <td><html:text  property="name" style="width:90%"/></td>
        </tr>
        <tr class="inputRow">
          <td align="right" width="80"><bean:message key="global.red_asterisk"/> 开始日期&nbsp;&nbsp;</td>
          <td><html:text property="startDateStr" styleClass="inputDate" onclick="setday(this)" style="width:150"/></td>
        </tr>
        <tr class="inputRow">
          <td align="right" width="80"><bean:message key="global.red_asterisk"/> 结束日期&nbsp;&nbsp;</td>
          <td><html:text property="endDateStr" styleClass="inputDate" onclick="setday(this)" style="width:150"/></td>
        </tr>
        <tr class="inputRow">
          <td align="right" width="80">工作人员&nbsp;&nbsp;</td>
          <td><html:text property="members" readonly="true" style="width:85%"/><a class="calButton" href="javascript:void(0)" onclick="selectUsers(document.taskCategoryForm.members);return false;"><img src="../../images/iconGroup.gif" alt="选择工作人员" align="absbottom" border="0"></a></td>
        </tr>
        <tr class="inputRow">
          <td align="right" width="80">工作量估计&nbsp;&nbsp;</td>
          <td><html:text property="workload" style="width:40"/><html:radio property="unitage" value="1"/>人天&nbsp;&nbsp;<html:radio property="unitage" value="2"/>人月&nbsp;&nbsp;<html:radio property="unitage" value="3"/>人年</td>
        </tr>
        <tr class="inputRow">
          <td align="right" width="80">任务描述&nbsp;&nbsp;</td>
          <td><html:textarea property="description" rows="4" style="width:90%"/></td>
        </tr>
      </table>
      <hr>
<TABLE  width="100%" id="idToolbar" cellpadding='0' cellspacing='0'>
  <TR align="left" valign="top">
    <TD width="*" NOWRAP>&nbsp;</TD>
    <TD width="60" NOWRAP> <A class="tbButton" href="#"	title="确定" onclick="if (document.forms[0].onsubmit()) document.forms[0].submit();"><html:img page="/images/dialog-ok.gif" align="absmiddle"  border="0"/> <font color="#0000cc">确定</font></A></td>
	<TD width="10" NOWRAP>&nbsp;</TD>
    <TD width="60" NOWRAP><a class="tbButton" href="#" onclick="history.back()" title="取消"><html:img page="/images/dialog-cancel.gif" align="absmiddle" border="0"/> <font color="#0000cc">取消</font></a></td>
  </tr>
</table>
      <br>
    </td>
  </tr>
</table>
</html:form>
</td>
</tr>
</table>
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../../common/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; left:-500px; top:0px;"></iframe>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -