去除徐云龙垃圾代码,增加列表页面加载速度
This commit is contained in:
parent
91eafeca85
commit
76fa7132e0
@ -2,7 +2,6 @@
|
||||
String pagesize=CurPage.getParameter("PageSize");
|
||||
if(pagesize==null){pagesize=dwTemp.getPageSize()+"";}
|
||||
dwTemp.setPageSize(Integer.valueOf(pagesize));
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
%>
|
||||
<%@ include file="/Frame/page/jspf/ui/widget/ow/list.jspf"%>
|
||||
<%@page import="com.amarsoft.awe.control.model.Parameter" %>
|
||||
@ -11,12 +10,12 @@ Vector<Parameter> param=CurComp.getParameterList();
|
||||
String newParam="";
|
||||
for(int i=0;i<param.size();i++){
|
||||
if(param.get(i).paraName.equals("ComponentURL")||param.get(i).paraName.equals("TargetWindow")||param.get(i).paraName.equals("PageSize")){
|
||||
|
||||
|
||||
}else{
|
||||
if(newParam.length()>0){newParam+="&";}
|
||||
newParam+=param.get(i).paraName+"="+param.get(i).paraValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
String sourceUrl=CurComp.getAttribute("ComponentURL");
|
||||
String newtarget=CurComp.getAttribute("TargetWindow");
|
||||
%>
|
||||
@ -29,7 +28,7 @@ function pagereload(pagesize){
|
||||
parent.AsControl.OpenView(purl,param,starget);
|
||||
}
|
||||
function pageSizeChange(){
|
||||
var checkText=$("#mySelectPageSize").find("option:selected").text();
|
||||
var checkText=$("#mySelectPageSize").find("option:selected").text();
|
||||
pagereload(checkText);
|
||||
}
|
||||
$(function(){
|
||||
@ -42,4 +41,4 @@ $(function(){
|
||||
options+="<option value='"+pagesize[i]+"'"+selected+" >"+pagesize[i]+"</option>";
|
||||
}
|
||||
$("#Page_myiframe0").append("<div class='list_page_subdiv'><select style='margin-top:10px;' id='mySelectPageSize' onchange='pageSizeChange()'>"+options+"</div>");});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user