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

📄 dang_anmanage.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.RecordGroupInfoRecordSet,java.util.GregorianCalendar,java.util.Calendar,cn.com.aheadsoft.util.StringFormat,cn.com.aheadsoft.util.UserInfo,cn.com.aheadsoft.manage.UserPurviewManage" %>
<%@ page import="cn.com.aheadsoft.business.PersonInfoBusiness,java.util.ArrayList,java.util.List, cn.com.aheadsoft.recordset.PersonInfoRecordSet"%>
<% 
	String libtype=(String)session.getAttribute("lib");
	String grouptype=(String)session.getAttribute("group");
	RecordGroupInfoRecordSet set = (RecordGroupInfoRecordSet)request.getAttribute("result");
	List Count5 = (ArrayList)request.getAttribute("Count5");
	UserInfo userinfo = (UserInfo)session.getAttribute("userinfo");
        UserPurviewManage priority = new UserPurviewManage();
	int knCategoryinsert = priority.getUserPopInt(userinfo, "11", "1", "i");
        int knCategoryupdate = priority.getUserPopInt(userinfo, "11", "1", "u"); 
        int knCategorydelete = priority.getUserPopInt(userinfo, "11", "1", "d"); 

	int inCategoryinsert = priority.getUserPopInt(userinfo, "11", "2", "i");
        int inCategoryupdate = priority.getUserPopInt(userinfo, "11", "2", "u");  
        int inCategorydelete = priority.getUserPopInt(userinfo, "11", "2", "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">
<title>档案管理页</title>
</head>
<SCRIPT language=JavaScript>

	function atDelete() {
		return confirm("删除这个档案类时,该档案下的所有信息都将删除!您确定要删除吗?");
	}
	
	//function change()
	//{  url="/krm/servlet/RecordGroupInfoServlet?module=knowledge&&status=q&&queryterm=lib&&libtype=kn"
    	//window.location = url;	
       // }
</SCRIPT>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form method="post" name="all">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
 <tr >
	<td class="trA">&nbsp;您的位置:知识管理 >> <a href="/krm/servlet/RecordGroupInfoServlet?module=<%=libtype%>&&status=q&&queryterm=lib&&libtype=<%=libtype%>"  target="right" ><%if(libtype.equals("kn")){%>知识库<%}else if(libtype.equals("in")){%> 信息库<%}%></a> >><font class="fontcolor"> <%if(grouptype.equals("1")){%>市场 <%}else if(grouptype.equals("2")){%> 技术<%}else if(grouptype.equals("3")){%> 管理 <%}else if(grouptype.equals("4")){%> 销售 <%}else if(grouptype.equals("5")){%> 资本<%}%></font>
	</td>
 </tr>
  <tr  height="8">
	<td  align="right" > 	 <table border="0" width="98%" align="center"  bordercolor="A1B7DB" class="collapse">
	 <tr><td align="right">      <%if(((knCategoryinsert > 0)&libtype.equals("kn"))||((inCategoryinsert > 0)&libtype.equals("in")))
      {%>
            <input type="button" value="添 加" onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" onClick="javascript:document.location.href='/krm/jsp/knwmanage/knowledge/insert_dang_an_lei.jsp?libtype=<%= libtype %>&grouptype=<%= grouptype %>'">      
      <%}%>	</td></tr></table>
	</td>
 </tr>
 <tr>
       <td  >
        <table border="0" width="98%" align="center"  bordercolor="A1B7DB" class="collapse">		
          <tr > 
            <td class="tdA" colspan="5" >档案管理</td>
          </tr>
          <tr > 
           <td align="center" class="tdB" width="6%"  nowrap>序号</td>
           <td align="center" class="tdB" width="54%" nowrap>目录</td>
           <td align="center" class="tdB" width="12%" nowrap>档案数量</td>
           <td align="center" class="tdB" width="8%" nowrap>修改</td>
           <td align="center" class="tdB" width="8%" nowrap>删除</td>			
          </tr>
         <%
          if((null != set) && (set.size() != 0))
          {
          int i = 0;
          set.beforefirst();
          while(set.next())
          {%>
          <tr <%
		if(i%2!=0){
		%> class="bgcolor"<%}%>> 
            <td align="center" class="common" width="6%" ><%=i+1%></td>
            <td align="center" class="common" width="70%"><a href="/krm/servlet/RecordInfoServlet?module=<%=set.getRGI_CategoryBelong()%>&&status=q&&queryterm=obtain&&topage=1&&id=<%=set.getRGI_CategoryID()%>&&libtype=<%=set.getRGI_CategoryBelong()%>&&back=0"><%=StringFormat.changeHTMLTags(set.getRGI_CategoryName())%></a></td>
            <td align="center" class="common" width="12%"><a href="/krm/servlet/RecordInfoServlet?module=<%=set.getRGI_CategoryBelong()%>&&status=q&&queryterm=obtain&&id=<%=set.getRGI_CategoryID()%>&&libtype=<%=set.getRGI_CategoryBelong()%>&&back=0"><%=(String)Count5.get(i)%></a></td>
            <td align="center" class="common" width="8%"> 
	    <%if( ((knCategoryupdate > 0)&libtype.equals("kn"))||((inCategoryupdate > 0)&libtype.equals("in"))){%>
              <a href="/krm/servlet/RecordGroupInfoServlet?module=<%=set.getRGI_CategoryBelong()%>&&status=u&&queryterm=obtain&&id=<%=set.getRGI_CategoryID()%>&&libtype=<%= libtype %>&grouptype=<%= grouptype %>">修改</a> 
              <%}else{%>
              修改 
              <%}%>
            </td>
            <td align="center" class="common" width="8%">
              <%if(((knCategorydelete > 0)&libtype.equals("kn"))||((inCategorydelete > 0)&libtype.equals("in"))) {%>
			<a href="/krm/servlet/RecordGroupInfoServlet?module=<%=set.getRGI_CategoryBelong()%>&&status=d&&id=<%=set.getRGI_CategoryID()%>&&libtype=<%=set.getRGI_CategoryBelong()%>&&grouptype=<%=set.getRGI_GroupInfo()%>" onclick="return atDelete()">删除</a> 
              <%}else{%>
              删除 
              <%}%>
            </td>			
          </tr>
          <%i++;
          }
         }%>
		<tr><td colspan="5" class="tdC">&nbsp;</td></tr>
		 
        </table>
		<br>
   </td>
</tr>	
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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