?? zuofei.vm
字號:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript" src='$request.getContextPath()/jslib/date.js'></script>
<script Language="JavaScript" src="$request.getContextPath()/jslib/function.js"></script>
<title>發(fā)文作廢</title>
<link rel="stylesheet" href="$request.getContextPath()/csslib/style.css" type="text/css">
<script language="JavaScript">
function rtnSubmit(){
if(trim(form1.reason.value)==""){alert('請輸入發(fā)文作廢原因!');return;}
if(form1.reason.value.length>200){alert('發(fā)文作廢原因字數(shù)過多!');return;}
if(opener){
form1.openerStatus.value = "0";
}else{
form1.openerStatus.value = "1";
}
form1.action="$request.getContextPath()/sendDocAction.do?method=deleteSendDoc";
form1.submit();
alert("文件已成功作廢!");
if(opener){
refreshPage();
}else{
location = "$request.getContextPath()/sendDocAction.do?method=deleteList";
}
}
function quxiao(){
if(opener){
window.close();
}else{
location="$request.getContextPath()/sendDocAction.do?method=viewDoc&docId="+$!docId;
}
}
function init(){
}
function refreshPage(){
opener.refreshPage();
window.close();
}
</script>
</head>
<body onload="init()">
<form name="form1" method="post">
<br><br><br>
<input type=hidden name=docId value="$!docId">
<input type=hidden name=status value="$!status">
<input type=hidden name=openerStatus value="$!openerStatus">
<table width="60%" border="0" align="center">
<tr height=25>
<td><font color=red>請輸入發(fā)文作廢原因:(限200字符)</font></td>
</tr>
<tr>
<td>
<textarea name="reason" cols="70" rows="6" class="unnamed1" ></textarea>
</td>
</tr>
<tr height=25>
<td align=center>
<button onClick="rtnSubmit()">確 定</button>
<button onClick="quxiao()">取 消</button>
</td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -