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

📄 grouplist.vm

📁 负责公文的传输及一些处理功能
💻 VM
字号:
<html>
<head>
<title>单位群组列表</title>
<link rel="stylesheet" href="$request.getContextPath()/csslib/style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="$request.getContextPath()/jslib/function.js">
</script>
<script language="javascript">
function update_onclick(groupID){
  window.navigate("editgroup.jsp?groupId=" + groupID);
}
function del_onclick(){
  if (!confirm("确实要删除该群组吗?")){
    return false ;
  }
  return true ;
}
function viewpsn_onclick(groupID){
  window.navigate("viewgroup.jsp?groupId=" + groupID);
}
function newGroup(){
  thisForm.action="$request.getContextPath()/groupAction.do?method=editGroup&form=no&groupId=";
  thisForm.submit();
}
</script>
</head>
<body scroll=no oncontextmenu="window.event.returnValue=null"><br>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0" background="$request.getContextPath()/image/4_bar.gif">
        <tr height=30>
			 <td>&nbsp;&nbsp;</td>
             <td width="160" colspan=2><font face="宋体, 新宋体">单位群组列表</font></td>
             <td align="right">
				<button onclick="newGroup()" accesskey="Q">新建群组(Q)</button>
             </td>
        </tr>
        <tr><td height=1 bgcolor="#FFFFFF" colspan=10>&nbsp;</td></tr>
</table>
<table width="98%" border="1" align="center" cellpadding="0" cellspacing="0" border="1" bordercolordark="#BEC3ED" bordercolorlight="#BEC3ED">
     <tr height=26 style="background:url($request.getContextPath()/image/table_title.gif)" align="center">
       <td nowrap width=10%><font color=white>序号</font></td>
       <td nowrap width=40%><font color=white>群组名称</font></td>
       <td nowrap width=20%><font color=white>单位个数</font></td>
       <td nowrap width=30%><font color=white>操作</font></td>
    </tr>
      #set ($num = 1)
      #foreach($group in $page.getList())
      <tr height=23 align="center" bgcolor="$page.getOddRowColor()">
         <td>&nbsp;$num</td>
         <td><a href="$request.getContextPath()/groupAction.do?method=viewGroup&groupId=$!group.getGroupId()" title="$!group.getGroupName()">$!group.getGroupName()</a></td>
         <td>&nbsp;$!group.getUnitNum()</td>
         <td>
           <a href="$request.getContextPath()/groupAction.do?method=editGroup&form=no&groupId=$!group.getGroupId()">修改群组</a>&nbsp;
           <a href="javascript:if(del_onclick()) location='$request.getContextPath()/groupAction.do?method=deleteGroup&groupId=$!group.getGroupId()'">删除群组</a>
         </td>
      </tr>
      #set ($num = $num+1)
      #end
</table>
<br>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
  <td align=right>
    <form id=thisForm action="$request.getContextPath()/groupList.do" method="post">
       <input type=hidden name=unitId value="$!userinfo.getUnit().getUnitId()">
       <input type=hidden name=start value="1">
       <input type=hidden name=where value="">
       <input type=hidden name=method value="groupList">
    </form>
    $!page.getPageHeader()
  </td>
</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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