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

📄 planlist.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page import="cn.com.aheadsoft.recordset.DEPlanRecordSet,cn.com.aheadsoft.util.StringFormat" %>
<%@ page import="cn.com.aheadsoft.recordset.DeInforAttachmentRecordSet,cn.com.aheadsoft.business.DeInforAttachmentBusiness" %>
<%@ page import="cn.com.aheadsoft.util.UserInfo"%>
<jsp:useBean id="userinfo" scope="session" class="cn.com.aheadsoft.util.UserInfo"/>
<jsp:useBean id="upm" scope="session" class="cn.com.aheadsoft.manage.UserPurviewManage"/>
<%
	DEPlanRecordSet set = (DEPlanRecordSet) request.getAttribute("result");
	String D_Serial = (String)request.getAttribute("D_Serial");
	String userID = "";
  	UserInfo userInfo=(UserInfo)session.getAttribute("userinfo") ;
  	userID=userInfo.GetUserID();
	int i39 = upm.getUserPopInt(userinfo,"3","9","i");
	int u39 = upm.getUserPopInt(userinfo,"3","9","u");
	int d39 = upm.getUserPopInt(userinfo,"3","9","d");
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>任务实施计划页</title></head>
<script>
	function openWin(url) {
		window.open(url,'','toolbar=no,location=no,menubar=yes,resizable=1,scrollbars=yes,left=0,top=0,width=600,height=400');
	}	
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="102%" border="0" cellpadding="0" cellspacing="0"  >
  <tr height="8">
    <td></td>
  </tr> 
  <tr>
    <td align="center" valign="top">
      <table border="0" width="100%"  cellpadding="0" cellspacing="0">
	   <tr>
	    <td align="right"> &nbsp; 
	<input type="button" value="添 加" onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" onClick="javascript:document.location.href='/krm/servlet/DetailServlet?module=deplan&&status=i&&queryterm=obtain&&D_Serial=<%=D_Serial%>'">
        </td>
	    </tr>
	   </table>
      <table border="0" width="100%"  class="collapse">
        <tr> 
          <td  colspan="12" class="tdA">&nbsp;实施计划列表
          </td>
        </tr>
        <tr> 
          <td width="5%" height="15" align="center" class="tdB"   nowrap>序号</td>
          <td width="12%" height="15" align="center" class="tdB"  nowrap>计划开始时间</th> 
          <td width="12%" height="15" align="center" class="tdB"  nowrap>计划完成时间</th> 
          <td width="20%" height="15" align="center" class="tdB"  nowrap>实施计划概述</td>
          <td width="8%" height="15" align="left" class="tdB"  nowrap>负责人</td>
          <td width="5%" height="15" align="left" class="tdB"  nowrap>分值</td>
          <td width="5%" height="15" align="left" class="tdB"  nowrap>考核</td>
          <td width="18%" height="15" align="left" class="tdB"  nowrap>ISO9000记录</td>
          <%if((u39 > 0)|(d39 > 0)){%>
		  <td height="15" colspan="3" align="center" nowrap  class="tdB">操作</td>
          <%}%>
        </tr>
        <%int i = 0;%>
        <%if(null != set){
		while(set.next()){%>
        <tr <%
		if((i+1)%2==0){
		%> class="bgcolor"<%}%>> 
          <td width="5%" height="15" align="center" class="common" ><%=i+1%></td>
          <td width="12%" height="15" align="center" class="common" ><%=set.getP_StartDate()%></td>
          <td width="12%" height="15" align="center" class="common" ><%=set.getP_Date()%></td>
          <td width="20%" height="15" align="left" class="common" ><a href="/krm/servlet/DetailServlet?module=deplan&&status=q&&id=<%=set.getP_ID()%>&&D_Serial=<%=D_Serial%>"><%=StringFormat.toOldFormat(set.getP_Brief())%></a></th> 
          <td width="8%" height="15" align="left" class="common" ><%=set.getI_Name()%></td>
          <td width="5%" height="15" align="left" class="common" ><%=set.getP_Grade()%></td>
          <td width="5%" height="15" align="right" class="common" ><%=set.getP_Check()%>%</td>		  
          <td width="18%" height="15" align="left" class="common" ><%=StringFormat.changeHTMLTags(set.getP_Memo())%></td>
      <!--    <td width="20%" height="15" align="left" class="common" > 
            <%/*
	  
        DeInforAttachmentBusiness m_DeInforAttachmentBusiness = new
            DeInforAttachmentBusiness();
        DeInforAttachmentRecordSet m_DeInforAttachmentRecordSet = new
            DeInforAttachmentRecordSet();
        m_DeInforAttachmentBusiness.setQueryWhereID(set.getP_ID());
        int j = m_DeInforAttachmentBusiness.execute("query");
		if (j > 0) {
         DeInforAttachmentRecordSet DeAimAttachSet = m_DeInforAttachmentBusiness.
            getDIRecordSet();
  	  	DeAimAttachSet.beforefirst();
        while(DeAimAttachSet.next()){ 
	     String str =DeAimAttachSet.getDI_AttachmentPath();
         String separator = java.io.File.separator;
	     String uploadpath = str.substring(0,str.indexOf("/"));
	     String FileName = str.substring(str.lastIndexOf("/")+1); 
	     String FileExt =  str.substring(str.lastIndexOf(".")+1); 
             
         String rapath = request.getRealPath(separator + "jsp" + separator + "tskmanage" + separator + "detail" + separator + "upload"); 
         String pathroad=rapath+separator+uploadpath;
	     if(FileExt.equalsIgnoreCase("txt")){
              java.io.File f = new java.io.File(pathroad, FileName);
             if(f.exists()) { //检查是否存在   	
             %>
            [<a href="javascript:openWin('/krm/jsp/tskmanage/detail/upload/<%=DeAimAttachSet.getDI_AttachmentPath()%>');"><%= StringFormat.Source2GB(DeAimAttachSet.getDI_AttachmentName()) %></a>]<br> 
            <%}else{   	
            %>
            [<a href="/krm/jsp/util/info.jsp?msg=对不起,文件可能不存在!"><%= StringFormat.Source2GB(DeAimAttachSet.getDI_AttachmentName()) %></a>]<br> 
            <% }
             %>
            <%}else{%>
            [ 
            <% out.println("<a href=\"/krm/jsp/util/detailattechAccesory.jsp?realpath="+uploadpath+separator+"&filename=" + FileName +"\"\" + target=_blank\">"+StringFormat.Source2GB(DeAimAttachSet.getDI_AttachmentName())+"</a>" );%>
            ]<br> 
            <%
              }
	     }
		 }else{
		 out.print("无");
		 }*/
		 %>
          </td>-->
          <%if(u39 > 0){%>
		  <td width="5%" height="15" align="center" class="common" ><a href="/krm/servlet/DetailServlet?module=deplan&&status=u&&queryterm=obtain&&id=<%=set.getP_ID()%>&&D_Serial=<%=D_Serial%>">修改</a></td>
           <%}if(d39 > 0){%>
          <td width="5%" height="15" align="center" class="common" ><a href="/krm/servlet/DetailServlet?module=deplan&&status=d&&id=<%=set.getP_ID()%>&&D_Serial=<%=D_Serial%>" onclick="return(confirm('确定要删除吗?'))">删除</a></td>
	  <%}%>
	  <td width="5%" height="15" align="center" class="common"><a href="/krm/servlet/DetailServlet?module=deplan&&status=check&&queryterm=obtain&&id=<%=set.getP_ID()%>&&D_Serial=<%=D_Serial%>">考核</a></td>
        </tr>
        <%i++;
		}}%>
      </table>
		<tr><td colspan="6" class="tdC">&nbsp;</td>
		</tr>
		</td>
    </tr>
 </table>
</body>
</html>

⌨️ 快捷键说明

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