非常完整的Java开发的网络办公系统

源代码在线查看: regulation_home.jsp

软件大小: 23203 K
上传用户: RR15133422795
关键词: Java 网络
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				function createRegulation()
				{
					 myform.action= "/mainctrl/commoninfo/regulation/createRegulation";
				  myform.submit();
				}
				
				function removeRegulations()
				{
					 if(document.myform.regulationIds==null)
					 {
				    alert("没有要删除的规章制度。");
				    return false;
					 }
					 if( !isChecked(document.myform.regulationIds) )
				  {
				    alert("请选择要删除的规章制度。");
				    return false;
				  }
				  if(!confirm("是否确定删除?"))
				  {
				    return false;
				  }
					 myform.action= "/mainctrl/commoninfo/regulation/removeRegulationSuccess";
				  myform.submit();
				}
				
				function modifyRegulation()
				{
					 if( !isCheckedOne(document.myform.regulationIds) )
				  {
				    alert("请选择一个要修改的规章制度。");
				    return false;
				  }
					 myform.action= "/mainctrl/commoninfo/regulation/modifyRegulation";
				  myform.submit();
				}
				function CheckAll(form)
				{
				  for (var i=0;i				  {
				    var e = form.elements[i];
				    if (e.name != 'chkall')
				       e.checked = form.chkall.checked;
				  }
				}
				
				
				
				
				  
				    
				     
				    
				     
				        
				          
				          
				             
				               
				                
				                   
				                    首页>>办公室管理>>规章制度
				                  
				                
				                
				          
				             
				               
				                  
				                
				              
				            
				             
				              选择
				              名称
				              发布部门
				              发布时间
				            
				
								  Collection coll = regulationProxy.getRegulationList();
				  RegulationValueBean rvb = null;
				  
				  int start = 1;
				  if ( request.getParameter("start") !=null )
				  {
				    start = Integer.parseInt( request.getParameter("start") );
				  }
				  int rowPerPage = com.vnex.intranet.system.loader.ConfigParaLoader.getParameterByInt("rowNum");
				  int size = coll.size(); 
				  String action = "/mainctrl/commoninfo/regulation/getRegulationList?";
				  String nav = NavBar.makeNavbar(start, size, rowPerPage, action);
				
				  int i = 0;
				     if(coll != null && coll.size() != 0)
				    			{
				      			Iterator it = coll.iterator();
				      			int flag = 0;
				      			String bgcolor = null;
				      			while( it.hasNext() && i < size && i < ( start+rowPerPage-1) )
				      			{
				           i++;
				           rvb = (RegulationValueBean)it.next();
				           if ( i < start ) continue;
				           if( flag%2==0 )
				           {
				             bgcolor = "#e0e0e0";
				           }
				           else
				           {
				             bgcolor = "#fafafa";
				           }
				%>
				             
				               
				                
				              
				              
				              
				              
				            
								           flag++;
				         }
				       }
				%>
								  if(size!=0)
				  {
				%>
				             
				               
				                
				                
				                全选
				            
								  }
				%>
				             
				               
				                 
				              
				            
				          
				          
				              
				            
				          
				          
				          
				          
				      
				    
				    
				     
				  
				  
				  
					
				
							

相关资源