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

📄 department_config_list.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.AuthorizationRecordSet,cn.com.aheadsoft.recordset.DeptInfoRecordSet,cn.com.aheadsoft.recordset.PersonInfoRecordSet,cn.com.aheadsoft.util.UserInfo,cn.com.aheadsoft.manage.UserPurviewManage" %>
<%
	AuthorizationRecordSet set = (AuthorizationRecordSet)request.getAttribute("result");
	/**DeptInfoRecordSet deptset = (DeptInfoRecordSet)request.getAttribute("dept");
	PersonInfoRecordSet[] nowork = (PersonInfoRecordSet[])request.getAttribute("nowork");
	PersonInfoRecordSet[] work = (PersonInfoRecordSet[])request.getAttribute("work");
	PersonInfoRecordSet[] career = (PersonInfoRecordSet[])request.getAttribute("career");
	PersonInfoRecordSet[] admin = (PersonInfoRecordSet[])request.getAttribute("admin");*/
	
	
	UserInfo userinfo = (UserInfo)session.getAttribute("userinfo");
        UserPurviewManage priority = new UserPurviewManage();
        /*int authinsert = priority.getUserPopInt(userinfo, "4", "6", "i");
        int authupdate = priority.getUserPopInt(userinfo, "4", "6", "u");
        int authdelete = priority.getUserPopInt(userinfo, "4", "6", "d");*/

        int authinsert = priority.getUserPopInt(userinfo, "4", "1", "i");
        int authupdate = priority.getUserPopInt(userinfo, "4", "1", "u");
        int authdelete = priority.getUserPopInt(userinfo, "4", "1", "d");
        
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr height="8" class="trA">
    <td>&nbsp;您的位置:人事管理 >> 部门管理 >> <font class="fontcolor">部门编制</font></td>
 <%if(authinsert > 0){%>
  <tr>
    <td align="right">
     <input type="button" value="添 加" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="javascript:window.location.href='/krm/servlet/DeptServlet?module=auth&&status=i&&queryterm=obtain'">&nbsp;</td>
	</tr>
<%}%>
	  <tr><td>
<table border="0" width="98%"  align="center" class="collapse">
		  <tr>             
          <td  class="tdA" colspan="9" align="center"><div align="left">部门编制信息</div></td>
          </tr>
            <tr> 
              <td width="25%" class="tdB" align="center">部门名</td>
              <td width="25%" class="tdB" align="center">编制名</td>
              <td width="25%" class="tdB" align="center">编制数目</td>
              <td width="25%" colspan="2" align="center" class="tdB">操作</td>
            </tr>
            <%if(null != set){
int i = 0;
while(set.next()){%>
            <tr > 
              <td width="25%" class="common" align="center">&nbsp;<%=set.getD_Name()%></td>
              <td width="25%" class="common" align="center">&nbsp;<%=set.getA_Name()%></td>
              <td width="25%" class="common" align="center">&nbsp;<%=set.getA_Admin()%></td>
              <%if(authupdate > 0){%>
              <td  class="common" align="right">&nbsp;<a href="/krm/servlet/DeptServlet?module=auth&&status=u&&queryterm=obtain&&id=<%=set.getA_ID()%>">修改</a></td>
              <%}else{%>
              <td  class="common" align="right">&nbsp;修改</td>
              <%}%>
              <%if(authdelete > 0){%>
              <td  class="common" align="left">&nbsp;<a href="/krm/servlet/DeptServlet?module=auth&&status=d&&id=<%=set.getA_ID()%>" onclick="return(confirm('确定要删除吗?'))">删除</a></td>
              <%}else{%>
              <td  class="common" align="left">删除</td>
              <%}%>
            </tr>
            <%i++;
}}%>
<tr><td colspan="6" class="tdC" align="center">
        <input type="button" value="返 回" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="history.back(-1);"> 
</td></tr>
          </table></td></tr>
  <tr>
    <td></td>
  </tr>
</table>

</body>
</html>

⌨️ 快捷键说明

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