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

📄 topmenu.vm

📁 负责公文的传输及一些处理功能
💻 VM
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>电子公文传输系统</title>
<link href="$request.getContextPath()/csslib/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src='$request.getContextPath()/jslib/date.js'></script>
<script language="javascript">
function init(){
  var val = parent.main.frmright.thisForm.num.value;
  var tdObject = document.getElementById("operate");
  if(val == "21"){
    tdObject.innerHTML = "<a href='#' onclick='javascript:viewfile()'><img src='$request.getContextPath()/image/liulan.gif' height=16 width=16 border=0><font color='#FFFFFF'>浏览</font></a>&nbsp;&nbsp;&nbsp;"
	+"&nbsp;&nbsp;&nbsp;";
  }
  if(val == "22"){
    tdObject.innerHTML = "<a href='#' onclick='javascript:viewfile()'><img src='$request.getContextPath()/image/liulan.gif' height=16 width=16 border=0><font color='#FFFFFF'>浏览</font></a>&nbsp;&nbsp;&nbsp;"
	+"&nbsp;&nbsp;&nbsp;"
  }
  if(val == "23"){
    tdObject.innerHTML = "<a href='#' onclick='javascript:viewfile()'><img src='$request.getContextPath()/image/liulan.gif' height=16 width=16 border=0><font color='#FFFFFF'>浏览</font></a>&nbsp;&nbsp;&nbsp;"
	+"&nbsp;&nbsp;&nbsp;";
  }
}
function viewfile(){
  parent.main.frmright.viewfile();
}
function archive(){
  parent.main.frmright.archive();
}
function del(){
  parent.main.frmright.delete1();
}
</script>
</head>
<body onload="init()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="window.event.returnValue=null">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="$request.getContextPath()/image/topmenu.jpg">
  <tr>
    <td height="25" title="单位:$!userinfo.getUnitName()&#13;&#10部门:$!userinfo.getDeptName()"><font color="ffffff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;〓 用户:$!userinfo.getUserName()</font></td>
    <td id="operate" align=right>&nbsp;
    </td>
    <td width=60>&nbsp;</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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