📄 insert_important_thing.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.NEWeekImportRecordSet,cn.com.aheadsoft.recordset.DetailRecordSet,cn.com.aheadsoft.util.UserInfo,cn.com.aheadsoft.manage.UserPurviewManage" %>
<%
NEWeekImportRecordSet set = (NEWeekImportRecordSet)request.getAttribute("result");
DetailRecordSet dset = (DetailRecordSet) request.getAttribute("detail");
UserInfo userinfo = (UserInfo)session.getAttribute("userinfo");
UserPurviewManage priority = new UserPurviewManage();
int i38 = priority.getUserPopInt(userinfo, "3", "8", "i");
String aserial=(String) request.getAttribute("aserial");
String pserial=(String) request.getAttribute("pserial");
String pcode=(String) request.getAttribute("pcode");
String userid=(String) request.getAttribute("userid");
String tasklevel=(String) request.getAttribute("tasklevel");
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>添加大事记页</title></head>
<script language="JavaScript" type="text/JavaScript">
<!--
function isSubmit(){
isok = false;
if(document.add.N_HappenDate.value == null || document.add.N_HappenDate.value == ""){
alert("至少还有一项没填!");
}else if(document.add.N_Content.value == null || document.add.N_Content.value == ""){
alert("至少还有一项没填!");
}else{
document.add.submit();
}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function isproject(){
if(document.addproject.searchItem2.checked = true){
document.addproject.searchItem3.checked = false;
document.addproject.A_Serial.disabled = false;
document.addproject.P_Serial.disabled = true;
}
if(document.addproject.searchItem3.checked = true){
document.addproject.searchItem2.checked = false;
document.addproject.A_Serial.disabled = true;
document.addproject.P_Serial.disabled = false;
}
}
//-->
</script>
<script src="/krm/jsp/jscript/Calendar.js"></script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form name="add" method="POST" action="/krm/servlet/AttachInfoServlet?module=news<%if(tasklevel!=null){%>&&tasklevel=<%=tasklevel%><%}%><%if(userid!=null){%>&&userid=<%=userid%><%}%><%if(aserial!=null){%>&&aserial=<%=aserial%><%}%><%if(pserial!=null){%>&&pserial=<%=pserial%><%}%><%if(pcode!=null){%>&&pcode=<%=pcode%><%}%>&&status=i">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" >
<tr height="8">
<td class="trA"> 您的位置:任务管理 >> 大事记 >><font class="fontcolor"> 添加大事记</font></td>
</tr>
<tr height="8">
<td></td>
</tr>
<tr>
<td align="center" valign="top">
<table border="0" width="98%" class="collapse">
<tr>
<td height="18" colspan="6" class="tdA" >添加大事记</td></tr>
<tr>
<td width="95" class="common bgcolor"> 日期</td>
<td class="common"> <input type="text" name="N_HappenDate" class="middle" readonly> <a href="javascript:show_calendar('add.N_HappenDate');"><img src="/krm/jsp/image/selectdate.gif" border="0"></a></td>
</tr>
<tr><td class="common bgcolor"> 内容</td>
<td class="common">
<%if(null != set && set.size() != 0){
set.next();%>
<textarea rows="12" style="overflow:auto" name="N_Content"><%=set.getW_Content()%></textarea>
<input name="W_ID" type="hidden" value="<%=set.getW_ID()%>">
<%}else if((null != dset) && (dset.size() != 0)){
dset.next();%>
<textarea rows="12" style="overflow:auto" name="N_Content"><%=dset.getD_Content()%></textarea>
<input name="D_Serial" type="hidden" value="<%=dset.getD_Serial()%>">
<%}else{%>
<textarea rows="12" style="overflow:auto" name="N_Content"></textarea>
<%}%>
</td>
</tr>
<tr>
<td align="center" colspan="3" class="tdC">
<%if(i38 > 0){%>
<input type="button" value="添 加" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="isSubmit();">
<input type="button" value="重 置" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.add.reset();">
<%}%>
<input type="button" value="返 回" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="history.back(1);">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -