📄 postil.asp
字号:
<!--#include file="../../includes/keepHouse.asp"-->
<%
call insureID()
if session("POSITION_ID")<>4 and session("POSITION_ID")<>1 then
call noRight()
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
<script language="JavaScript">
function validate(){
var POSTIL_CONTENT = document.FormPostil.POSTIL_CONTENT.value;
if ( POSTIL_CONTENT==""){
alert("批示内容不能为空!");
return false;
}
}
</script>
</head>
<body>
<center>
<%
dim SUMMPLAN_ID
dim SUMMPLAN_TITLE
dim SUMM_CONTENT
dim PLAN_CONTENT
dim POSTIL_CONTENT
SUMMPLAN_ID=request("SUMMPLAN_ID")
if SUMMPLAN_ID="" then
call trigErr()
end if
sql="SELECT PersonalSummPlan.*, Personnel.PERSONNEL_ID AS PersonnelId, " _
&"Personnel.PERSON_NAME AS PersnoName " _
&"FROM PersonalSummPlan INNER JOIN Personnel " _
&"ON PersonalSummPlan.PERSONNEL_ID = Personnel.PERSONNEL_ID " _
&"WHERE PersonalSummPlan.SUMMPLAN_ID = "&SUMMPLAN_ID
call openDB()
rs.open sql,conn,1,1
if session("PERSONNEL_ID")=rs("PersonnelId") then
call closeDB()
call noRight()
end if
SUMMPLAN_TITLE=rs("SUMMPLAN_TITLE")
SUMM_CONTENT=rs("SUMM_CONTENT")
PLAN_CONTENT=rs("PLAN_CONTENT")
SUMMPLAN_TITLE = replaceBack(SUMMPLAN_TITLE)
SUMM_CONTENT=replaceBack(SUMM_CONTENT)
PLAN_CONTENT=replaceBack(PLAN_CONTENT)
if rs("POSTILED")=1 then
call trigErr()
end if
call closeDB()
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="50">
<tr>
<td width="100%"> </td>
</tr>
</table>
<form name="FormPostil" method="POST" action="saveCEPS.asp" onSubmit="javaScript:return validate()">
<table border="0" width="75%" cellspacing="0" cellpadding="0">
<tr>
<td width="5%" bgcolor="#0000FF" height="35" align=left><img border="0" src="../../images/back.gif"></td>
<td width="65%" bgcolor="#0000FF" height="35" align=center>
<b><font color="#FFFFFF"><%=session("PERSON_NAME")%>提交的个人总结与计划</font></b></td>
<td width="5%" bgcolor="#0000FF" height="35" align=right><img border="0" src="../../images/Close2.gif"></td>
</tr>
</table>
<table border="1" width="75%" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#FCFCFC" >标题:</td>
<td width="55%" bgcolor="#FCFCFC"><%=SUMMPLAN_TITLE%>
</td>
</tr>
<tr>
<td width="20%" bgcolor="#FCFCFC" valign=top>总结:
</td>
<td width="55%" bgcolor="#FCFCFC"><%=SUMM_CONTENT%>
</td>
</tr>
<tr>
<td width="20%" bgcolor="#FCFCFC" valign=top>计划:
</td>
<td width="55%" bgcolor="#FCFCFC"><%=PLAN_CONTENT%>
</td>
</tr>
<tr>
<td width="20%" bgcolor="#FCFCFC" valign=top>批示:
</td>
<td width="55%" bgcolor="#FCFCFC">
<textarea rows="5" name="POSTIL_CONTENT" cols="60"></textarea>
</td>
</tr>
<tr>
<td width="75%" bgcolor="#EFEFEF" colspan="2" height="50" align=center>
<input type="hidden" value="Postil" name="action">
<input type="hidden" value="<%=SUMMPLAN_ID%>" name="SUMMPLAN_ID">
<input type="submit" value="提 交" name="Submit" class="buttonface">
<input type="reset" value="重 写" name="Clear" class="buttonface">
<input type="button" value="返 回" name="Back" class="buttonface" onClick="javascript:history.back()">
</td>
</tr>
</table>
</form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -