更新担保人list页面
This commit is contained in:
parent
d9b35588fa
commit
a8cb0dd4cb
@ -3,6 +3,7 @@
|
||||
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String sTempletNo = CurPage.getParameter("TempletNo");//模板号
|
||||
String FlowName = CurPage.getParameter("FlowName");//流程名称
|
||||
String taskno=CurPage.getParameter("TaskNo");
|
||||
String sProjectId = CurPage.getParameter("ProjectId");
|
||||
String RightType= CurPage.getParameter("RightType");
|
||||
@ -11,18 +12,23 @@
|
||||
RightType = "ReadOnly";
|
||||
}
|
||||
|
||||
//获取页面属性liux系统暂时不支持
|
||||
/* Toolkit toolkit = Toolkit.getDefaultToolkit();
|
||||
Dimension screen = toolkit.getScreenSize(); */
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel("GuarantorList");
|
||||
// doTemp.appendHTMLStyle("FULLNAME","width:"+(int)((screen.getWidth()-(screen.getWidth()*0.108))*0.15)+"px;");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1";
|
||||
dwTemp.setPageSize(20);
|
||||
dwTemp.genHTMLObjectWindow(sFlowUnid);
|
||||
String sButtons[][] =null;
|
||||
if(null!=RightType&&RightType.equals("ReadOnly")){
|
||||
if((null!=RightType&&RightType.equals("ReadOnly")) || "合同制作流程".equals(FlowName)){
|
||||
sButtons=new String[][] {
|
||||
{"true","","Button","详情","详情","viewAndEdit2()","","","","btn_icon_edit"}
|
||||
};
|
||||
} else{
|
||||
} else{
|
||||
sButtons=new String[][]{
|
||||
{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add"},
|
||||
{"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"},
|
||||
@ -32,6 +38,9 @@
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
/* $("#Header_myiframe0_0").css("width",((Width-Width*0.108)*0.15)+"px");
|
||||
$("#background-color:color_zebra0").css("width",((Width*0.108)*0.15)+"px");
|
||||
$("#Right_TD_myiframe0").css("width",(Width-(Width-Width*0.108)*0.15)+"px");*/
|
||||
$("#myiframe0_float_div table").css("width","100%");
|
||||
$("#myiframe0_cells table").css("width","100%");
|
||||
})
|
||||
@ -59,7 +68,7 @@
|
||||
return;
|
||||
}
|
||||
var sUrl = "Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp";
|
||||
var sparam = 'ID='+ID;
|
||||
var sparam = 'ID='+ID+"&FlowUnid="+"<%=sFlowUnid%>";
|
||||
AsControl.OpenView(sUrl,sparam,"_self","");
|
||||
}
|
||||
function viewAndEdit2(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user