usergroup_list.jsp

来自「Jbuilder2006开发的严格按MVC设计模式组织开发过程」· JSP 代码 · 共 78 行

JSP
78
字号
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<html:html>
  <head>
  <tops:includeCSS fileName="style"/>
  <tops:includeCSS fileName="headstyle"/>
  <tops:includeJs fileName="common"/>
  <tops:includeJs fileName="Table"/>
  </head>
  <body>
  <html:form action="/actTopsSystemUserGroup" method="post">
    <tops:showPageFunction pageFunction="系统维护——组管理 "/>
    <tops:toolbar>
      <tops:toolbutton caption="新增" image="page_add" method="add"/>
      <tops:toolbutton caption="删除" image="page_delete" method="delete"/>
    </tops:toolbar>
    <html:hidden property="method"/>
    <table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
      <tr align="center">
        <td height="20" width="5%" nowrap class="title">
          <tops:selectAllCheckBox/>
        </td>
        <td width="5%" nowrap class="title">序号</td>
        <td width="10%" nowrap class="title">工作组编号</td>
        <td width="8%" nowrap class="title">工作组名称</td>
        <td width="8%" nowrap class="title">备注</td>
        <td width="10%" nowrap class="title">停用时间</td>
        <td width="8%" nowrap class="title">停用人</td>
        <td width="15%" nowrap class="title">操作</td>
      </tr>
      <logic:notEmpty name="objlist">
        <logic:iterate id="obj" name="objlist" indexId="index">
          <tr align="center">
            <td height="20">
              <tops:selectCheckBox/>
            </td>
            <td>
              <tops:tableOrd/>
            </td>
            <td>
              <bean:write name="obj" property="wgId"/>
            </td>
            <td>
              <tops:link action="actTopsSystemUserGroup" caption="" method="modify" argname1="id" argbeanproperty1="page-obj-id" captionbeanproperty="page-obj-wgName"/>
            </td>
            <td>
              <bean:write name="obj" property="wgRemark"/>
            </td>
            <td>
              <bean:write name="obj" property="sd_ZzRemoveDate"/>
            </td>
            <td>
              <bean:write name="obj" property="zzRemoveUser"/>
            </td>
            <td>
              <logic:empty name="obj" property="zzRemoveDate">
                <tops:link action="actTopsSystemUserGroup" confirm="确定停用该用户组吗?一旦停用该组的用户都不能再登陆系统" caption="停用" method="stop" argname1="id" argbeanproperty1="page-obj-id"/>
              </logic:empty>
              <logic:notEmpty name="obj" property="zzRemoveDate">
                <tops:link action="actTopsSystemUserGroup" confirm="确定重新启用该用户组吗?" caption="重新启用" method="reuse" argname1="id" argbeanproperty1="page-obj-id"/>
              </logic:notEmpty>
            </td>
          </tr>
        </logic:iterate>
      </logic:notEmpty>
      <logic:empty name="objlist">
        <tr>
          <td colspan="8" height="20" align="center">没有数据</td>
        </tr>
      </logic:empty>
    </table>
  </html:form>
  </body>
</html:html>

⌨️ 快捷键说明

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